Documentation Index
Fetch the complete documentation index at: https://docs.nusomi.com/llms.txt
Use this file to discover all available pages before exploring further.
/v1/sessions is the entry point to everything. A session is one recorded run of a workflow.
Create a session
Body
| Field | Type | Required | Notes |
|---|---|---|---|
workflow | string | yes | Slug. ^[a-z0-9_]{2,64}$. |
metadata | object | no | Arbitrary JSON. ≤16 KB total. |
actor | object | no | { id, kind }. kind is human | model | script. |
start | bool | no | If true, immediately enter recording. Default false. |
idempotency_key | string | no | Pass via header Idempotency-Key: instead. |
Response 201
Start a session
status: "recording".
Stop a session
status: "stopped" (transitions to sealed once indexing finishes — typically within seconds).
Tag a session
Get a session
?include=events,tags,frames_summary to embed related data.
List sessions
Query
| Param | Notes |
|---|---|
workflow | Filter to one or more slugs. Repeat the param for multiple. |
status | created | recording | stopped | sealed. |
outcome | success | error | abandoned. Derived from tags + detected events. |
actor.kind | human | model | script. |
since | ISO timestamp or relative duration (30d, 1h). |
until | ISO timestamp. |
tag | Sessions carrying a specific tag. |
limit | 1–500. Default 100. |
cursor | From the previous response’s next_cursor. |
Response 200
Delete a session
admin scope.