Inspector API reference
Generated list of every Inspector API endpoint, with its version and authentication.
The Inspector API is a versioned development protocol. The bundled Inspector UI uses it, and so can other clients, such as relkit mcp. It runs only in development: production builds do not start the bridge.
A running relkit dev session writes a private descriptor to .relkit/connections in the project. The descriptor holds the bridge address (endpoint), projectId, sessionId and a random token. A client reads it, calls the handshake, and then calls the endpoints below through the bridge. Send x-relkit-api-version: 1 to pin the version; a different version fails with RELKIT_INSPECTOR_API_VERSION_UNSUPPORTED.
Authentication
Authorization: Bearer <session token>withx-relkit-project-idandx-relkit-session-id, read from the session’s private descriptor under.relkit/connections.- Through the bridge:
Authorization: Bearer <session token>withx-relkit-project-idandx-relkit-session-id; the bridge forwards the session token to the application. Changes also sendx-relkit-generation-id. - Served by the Inspector from its local history; the bridge refuses these paths, so only the Inspector’s own server can call them.
Endpoints
| Method | Path | Version | Server | Authentication | Description |
|---|---|---|---|---|---|
| POST | /_relkit/bridge/v1/ack |
protocol 1 | Bridge | [1] | Acknowledge records through a cursor so the buffer can release them |
| GET | /_relkit/bridge/v1/handshake |
protocol 1 | Bridge | [1] | Prove the session’s project, session and generation identity |
| GET | /_relkit/bridge/v1/records |
protocol 1 | Bridge | [1] | Read buffered logs, requests and spans after a cursor (?after=) |
| GET | /_relkit/v1 |
v1 | Application | [2] | List the API’s capabilities and endpoint paths |
| POST | /_relkit/v1/actions/events/:id/cancel |
v1 | Application | [2] | Cancel a pending event delivery |
| POST | /_relkit/v1/actions/events/:id/publish |
v1 | Application | [2] | Publish an event with a payload |
| POST | /_relkit/v1/actions/events/:id/replay |
v1 | Application | [2] | Deliver a recorded publication to its consumers again |
| POST | /_relkit/v1/actions/events/:id/retry |
v1 | Application | [2] | Retry a dead-lettered event delivery |
| POST | /_relkit/v1/actions/functions/:id/invoke |
v1 | Application | [2] | Invoke a function with an input |
| POST | /_relkit/v1/actions/jobs/:id/cancel |
v1 | Application | [2] | Cancel a job instance |
| POST | /_relkit/v1/actions/jobs/:id/retry |
v1 | Application | [2] | Retry a dead-lettered job instance |
| POST | /_relkit/v1/actions/jobs/:id/trigger |
v1 | Application | [2] | Start a run of a job with an input |
| POST | /_relkit/v1/actions/tools/:id/approval |
v1 | Application | [2] | Approve or deny a pending tool call |
| POST | /_relkit/v1/actions/tools/:id/approve |
v1 | Application | [2] | Approve a pending tool call |
| POST | /_relkit/v1/actions/tools/:id/deny |
v1 | Application | [2] | Deny a pending tool call |
| GET | /_relkit/v1/agents |
v1 | Application | [2] | List agents |
| GET | /_relkit/v1/agents/:agentId/workflow |
v1 | Application | [2] | Read an agent’s workflow graph |
| GET | /_relkit/v1/agents/:id |
v1 | Application | [2] | Read one of agents by :id |
| GET | /_relkit/v1/buckets |
v1 | Application | [2] | List buckets |
| GET | /_relkit/v1/buckets/:id |
v1 | Application | [2] | Read one of buckets by :id |
| GET | /_relkit/v1/cache |
v1 | Application | [2] | List cache |
| GET | /_relkit/v1/cache/:id |
v1 | Application | [2] | Read one of cache by :id |
| GET | /_relkit/v1/channels |
v1 | Application | [2] | List channels |
| GET | /_relkit/v1/channels/:id |
v1 | Application | [2] | Read one of channels by :id |
| GET | /_relkit/v1/descriptors |
v1 | Application | [2] | List descriptors |
| GET | /_relkit/v1/descriptors/:id |
v1 | Application | [2] | Read one of descriptors by :id |
| GET | /_relkit/v1/diagnostics |
v1 | Application | [2] | Read the active generation’s diagnostics |
| GET | /_relkit/v1/env |
v1 | Application | [2] | Read environment variable declarations and their status, without values |
| GET | /_relkit/v1/errors |
v1 | Application | [2] | List errors |
| GET | /_relkit/v1/errors/:id |
v1 | Application | [2] | Read one of errors by :id |
| GET | /_relkit/v1/events |
v1 | Application | [2] | List events |
| GET | /_relkit/v1/events/:id |
v1 | Application | [2] | Read one of events by :id |
| GET | /_relkit/v1/functions |
v1 | Application | [2] | List functions |
| GET | /_relkit/v1/functions/:id |
v1 | Application | [2] | Read one of functions by :id |
| GET | /_relkit/v1/graph |
v1 | Application | [2] | Read the whole application graph |
| GET | /_relkit/v1/graph/descriptors |
v1 | Application | [2] | List graph descriptors |
| GET | /_relkit/v1/graph/descriptors/:id |
v1 | Application | [2] | Read one of graph descriptors by :id |
| GET | /_relkit/v1/graph/source/:id |
v1 | Application | [2] | Read the source of a declaration |
| GET | /_relkit/v1/health/live |
v1 | Application | [2] | Report whether the application answers |
| GET | /_relkit/v1/health/ready |
v1 | Application | [2] | Report whether a generation is active, with its generation ID and graph hash |
| GET | /_relkit/v1/jobs |
v1 | Application | [2] | List jobs |
| GET | /_relkit/v1/jobs/:id |
v1 | Application | [2] | Read one of jobs by :id |
| GET | /_relkit/v1/jobs/definitions |
v1 | Application | [2] | List jobs definitions |
| GET | /_relkit/v1/jobs/definitions/:id |
v1 | Application | [2] | Read one of jobs definitions by :id |
| GET | /_relkit/v1/jobs/runs |
v1 | Application | [2] | List jobs runs |
| GET | /_relkit/v1/jobs/runs/:id |
v1 | Application | [2] | Read one of jobs runs by :id |
| POST | /_relkit/v1/jobs/runs/:id/cancel |
v1 | Application | [2] | Cancel a job run |
| POST | /_relkit/v1/jobs/runs/:id/retry |
v1 | Application | [2] | Retry a job run |
| GET | /_relkit/v1/jobs/schedules |
v1 | Application | [2] | List jobs schedules |
| POST | /_relkit/v1/jobs/schedules |
v1 | Application | [2] | Create or update a job schedule |
| DELETE | /_relkit/v1/jobs/schedules/:id |
v1 | Application | [2] | Delete a job schedule |
| GET | /_relkit/v1/jobs/schedules/:id |
v1 | Application | [2] | Read one of jobs schedules by :id |
| POST | /_relkit/v1/jobs/schedules/:id/pause |
v1 | Application | [2] | Pause a job schedule |
| POST | /_relkit/v1/jobs/schedules/:id/resume |
v1 | Application | [2] | Resume a job schedule |
| GET | /_relkit/v1/jobs/services |
v1 | Application | [2] | List jobs services |
| GET | /_relkit/v1/jobs/services/:id |
v1 | Application | [2] | Read one of jobs services by :id |
| GET | /_relkit/v1/jobs/tasks/:id |
v1 | Application | [2] | Read one of jobs tasks by :id |
| GET | /_relkit/v1/logs |
v1 | Inspector | [3] | List logs |
| GET | /_relkit/v1/logs/:cursor |
v1 | Inspector | [3] | Read one of logs by :cursor |
| GET | /_relkit/v1/middlewares |
v1 | Application | [2] | List middlewares |
| GET | /_relkit/v1/middlewares/:id |
v1 | Application | [2] | Read one of middlewares by :id |
| GET | /_relkit/v1/providers |
v1 | Application | [2] | List providers |
| GET | /_relkit/v1/providers/:id |
v1 | Application | [2] | Read one of providers by :id |
| GET | /_relkit/v1/requests |
v1 | Inspector | [3] | List requests |
| GET | /_relkit/v1/requests/:requestId |
v1 | Inspector | [3] | Read one of requests by :requestId |
| GET | /_relkit/v1/routes |
v1 | Application | [2] | List routes |
| GET | /_relkit/v1/routes/:id |
v1 | Application | [2] | Read one of routes by :id |
| GET | /_relkit/v1/runtime |
v1 | Application | [2] | Read the runtime summary |
| GET | /_relkit/v1/runtime/agents |
v1 | Application | [2] | List runtime agents |
| GET | /_relkit/v1/runtime/agents/:agentId/executions |
v1 | Application | [2] | List an agent’s recorded executions |
| GET | /_relkit/v1/runtime/agents/:id |
v1 | Application | [2] | Read one of runtime agents by :id |
| GET | /_relkit/v1/runtime/buckets |
v1 | Application | [2] | List runtime buckets |
| GET | /_relkit/v1/runtime/buckets/:id |
v1 | Application | [2] | Read one of runtime buckets by :id |
| GET | /_relkit/v1/runtime/buckets/:id/objects |
v1 | Application | [2] | Read one of runtime buckets objects by :id |
| GET | /_relkit/v1/runtime/buckets/:id/objects/preview |
v1 | Application | [2] | Read one of runtime buckets objects preview by :id |
| GET | /_relkit/v1/runtime/cache |
v1 | Application | [2] | List runtime cache |
| GET | /_relkit/v1/runtime/cache/:id |
v1 | Application | [2] | Read one of runtime cache by :id |
| GET | /_relkit/v1/runtime/cache/:id/keys |
v1 | Application | [2] | Read one of runtime cache keys by :id |
| GET | /_relkit/v1/runtime/cache/:id/keys/value |
v1 | Application | [2] | Read one of runtime cache keys value by :id |
| GET | /_relkit/v1/runtime/events |
v1 | Application | [2] | List runtime events |
| GET | /_relkit/v1/runtime/events/:id |
v1 | Application | [2] | Read one of runtime events by :id |
| GET | /_relkit/v1/runtime/functions |
v1 | Application | [2] | List runtime functions |
| GET | /_relkit/v1/runtime/functions/:id |
v1 | Application | [2] | Read one of runtime functions by :id |
| GET | /_relkit/v1/runtime/jobs |
v1 | Application | [2] | List runtime jobs |
| GET | /_relkit/v1/runtime/jobs/:id |
v1 | Application | [2] | Read one of runtime jobs by :id |
| GET | /_relkit/v1/runtime/state |
v1 | Application | [2] | Read runtime state for every collection |
| GET | /_relkit/v1/runtime/tools |
v1 | Application | [2] | List runtime tools |
| GET | /_relkit/v1/runtime/tools/:id |
v1 | Application | [2] | Read one of runtime tools by :id |
| GET | /_relkit/v1/services |
v1 | Application | [2] | List services |
| GET | /_relkit/v1/services/:id |
v1 | Application | [2] | Read one of services by :id |
| GET | /_relkit/v1/source/:id |
v1 | Application | [2] | Read the source of a declaration |
| GET | /_relkit/v1/stream |
v1 | Inspector | [3] | Stream new logs, requests and spans as server-sent events |
| GET | /_relkit/v1/tools |
v1 | Application | [2] | List tools |
| GET | /_relkit/v1/tools/:id |
v1 | Application | [2] | Read one of tools by :id |
| GET | /_relkit/v1/traces |
v1 | Inspector | [3] | List traces |
| GET | /_relkit/v1/traces/:traceId |
v1 | Inspector | [3] | Read one of traces by :traceId |