Rensei docs
API ReferenceWorker Protocol

Post security scan event

Post security scan event - Rensei REST API operation reference.

POST
/api/sessions/{id}/security-scan

Authorization

headerAuthorizationBearer <JWT>

Short-lived worker runtime JWT minted by the platform. Claims bind the worker, project, organization, registration, and scopes.

Path Parameters

id*string

Request Body

application/json
  1. body
workerId*string
event*

SecurityScanEvent shape validated by Zod schema.

Response Body

Scan event stored.

application/json
  1. response
stored?boolean
Example Request
curl -X POST 'https://app.rensei.ai/api/sessions/string/security-scan' \  -H 'Content-Type: application/json' \  -d '{  "workerId": "string",  "event": {}}'
Example Response
{  "stored": true}