Operations
List the Operation Runs of the instance, newest first
Section titled “List the Operation Runs of the instance, newest first”GET /api/v1/operations/runs
- Operation
operations.list_runs- Accepts
sessionCookie,sessionToken,accessToken- Scope
governance:read- Rights
audit.view- Effect
- reading
- Rate class
- read
Parameters
limitinteger in query, optional, default50, minimum1, maximum200cursorstring in query, optional, minLength1operationstring in query, optional, minLength1statusOperationRunStatus in query, optionalactorstring in query, optional, minLength1origin"agent"|"user"|"cli"|"mcp"|"app"|"workflow"|"schedule"in query, optionalworkspaceIdstring in query, optional, minLength1sinceTimestamp in query, optional
Answers
200One page of the listapplication/json: objectitemsarray of OperationRun requirednextCursorstring optional
400BAD_REQUEST: The request cannot be read.401UNAUTHENTICATED: No credential was presented, or the credential is not valid.403FORBIDDEN: The caller lacks the scope or the right this operation requires.422VALIDATION_FAILED: Path, query or body do not match the operation's schema.429RATE_LIMITED: The caller sent too many requests of this operation's rate class.details.retryAfterSecondsand theRetry-Afterheader give the seconds to wait. The numbers are the instance's, set underrateLimitsin its release config.500INTERNAL: The instance failed. The message never carries details.
Read one Operation Run: your own, or any with the right to view the audit log
Section titled “Read one Operation Run: your own, or any with the right to view the audit log”GET /api/v1/operations/runs/{runId}
- Operation
operations.get_run- Accepts
sessionCookie,sessionToken,accessToken- Scope
governance:read- Effect
- reading
- Rate class
- read
Parameters
runIdstring in path, required
Answers
200The resultapplication/json: OperationRun400BAD_REQUEST: The request cannot be read.401UNAUTHENTICATED: No credential was presented, or the credential is not valid.403FORBIDDEN: The caller lacks the scope or the right this operation requires.404NOT_FOUND: The resource does not exist, is not visible to the caller, or the instance runs without this operation.422VALIDATION_FAILED: Path, query or body do not match the operation's schema.429RATE_LIMITED: The caller sent too many requests of this operation's rate class.details.retryAfterSecondsand theRetry-Afterheader give the seconds to wait. The numbers are the instance's, set underrateLimitsin its release config.500INTERNAL: The instance failed. The message never carries details.