Detectors
Create a detector
Create a detector in a project the authenticated user can write to.
Requires MEMBER role or higher in the project's workspace (the write service decides). Idempotent on the detector name within the project.
Args: request (Request): Incoming request (rate-limit plumbing). response (Response): Outgoing response (rate-limit plumbing). auth (AccountStampedAuth): Account-scope user auth (session token or CLI access JWT); its resolved user_id becomes the actor. payload (CreateDetectorRequest): The detector to create. _live (None): Write-path liveness gate (blocks a revoked JWT session).
Returns: CreateDetectorResponse: The created (or matched) detector.
post/api/v1/public/detectors
Request
- Base URLhttps://app.traceroot.ai
- URLhttps://app.traceroot.ai/api/v1/public/detectors
- AuthHTTP bearer
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.