Base URL and authentication
All public endpoints use this prefix:/openapi/v1.
The machine-readable OpenAPI 3.0 document is available without authentication
at https://api.lynxops.co/openapi.json. See OpenAPI schema
for code generation guidance.
Send the workspace API key in every request:
Endpoints
Minimal request
Build another language SDK
A production integration should contain these components:- A run context that propagates
runId,sessionId,spanId, andparentSpanId. - A bounded in-memory or durable queue.
- A background batch sender with a short timeout.
- Retry handling based on
retryableEventIds. - Permanent removal of
rejectedEventIds. - Stable
eventIdandclientRecordIdvalues across retries. - A runtime configuration cache that uses
ETag. - Local policy evaluation before a tool executes.
- A bounded approval flow for
REQUIRE_APPROVALdecisions. flushandshutdownoperations for graceful process exit.
REQUIRE_APPROVAL, create one request with a stable
clientRequestId, poll only until the configured deadline, and execute the
protected tool only after an APPROVED response. Network failures, invalid
responses, rejection, and expiration must not implicitly allow execution.
Common HTTP behavior
400means the request does not match the public contract.401meansX-API-Keyis missing or invalid.403means the key does not have the required scope.413means the request body is too large.429means the rate limit was exceeded. RespectRetry-After.5xxerrors are temporary unless your application has stronger evidence.
429, and 5xx responses. Set a maximum queue size so an extended outage cannot consume unbounded memory.
Next steps
Download the OpenAPI schema
Generate an HTTP client from the public machine-readable contract.
Record events
Define the event envelope, batching, and retry behavior.
Load runtime config
Cache prompt versions and policies for local use.
Request firewall approval
Pause a protected tool call until an operator decides.
Report issue candidates
Submit detections without blocking agent execution.
Read runs
Inspect runs and page through their event timelines.