Counts from the server, never from a page: per group, how many runs failed, when the first and the latest failed in the window, and the latest run. People’s decisions (hitl-*: an approval rejected, cancelled or timed out) come apart as outcomes, never as failures. Runs that failed before their cause was recorded come apart as unrecorded, by subject and version only. Replays, test runs’ runs and dry runs aren’t counted; a child run counts under its own agent or flow. Failed runs go with their retention, so a window can hold fewer than happened. Needs read on the project.
One group of failed runs: the same cause, subject and version.
object
code
The failure’s code (Run.failure.code). Absent when not grouped by code, and in unrecorded.
string
reason
The failure’s reason (Run.failure.reason), when it gives one: a hitl-* outcome’s, e.g. timeout; a tool-failed failure’s tool code, e.g. order-not-found.
string
subject
required
Whose runs a failure group counts: an agent’s turns, or a flow’s runs.
object
kind
required
string
Allowed values: agentflow
id
required
string
version
The agent’s or flow’s version. Absent when not grouped by version, or not recorded for the run.
string
count
required
integer
>= 1
firstSeen
required
When the first of them failed, in the window.
stringformat: date-time
lastSeen
required
When the latest of them failed, in the window.
stringformat: date-time
exampleRunId
required
The group’s most recent run.
stringformat: uuid
outcomes
required
People’s decisions, never errors: hitl-* codes (an approval rejected, cancelled or timed out), the most first.
Array<object>
One group of failed runs: the same cause, subject and version.
object
code
The failure’s code (Run.failure.code). Absent when not grouped by code, and in unrecorded.
string
reason
The failure’s reason (Run.failure.reason), when it gives one: a hitl-* outcome’s, e.g. timeout; a tool-failed failure’s tool code, e.g. order-not-found.
string
subject
required
Whose runs a failure group counts: an agent’s turns, or a flow’s runs.
object
kind
required
string
Allowed values: agentflow
id
required
string
version
The agent’s or flow’s version. Absent when not grouped by version, or not recorded for the run.
string
count
required
integer
>= 1
firstSeen
required
When the first of them failed, in the window.
stringformat: date-time
lastSeen
required
When the latest of them failed, in the window.
stringformat: date-time
exampleRunId
required
The group’s most recent run.
stringformat: uuid
unrecorded
required
Runs that failed before their cause was recorded (a runtime from before this): by subject and version only, never by code.
Array<object>
One group of failed runs: the same cause, subject and version.
object
code
The failure’s code (Run.failure.code). Absent when not grouped by code, and in unrecorded.
string
reason
The failure’s reason (Run.failure.reason), when it gives one: a hitl-* outcome’s, e.g. timeout; a tool-failed failure’s tool code, e.g. order-not-found.
string
subject
required
Whose runs a failure group counts: an agent’s turns, or a flow’s runs.
object
kind
required
string
Allowed values: agentflow
id
required
string
version
The agent’s or flow’s version. Absent when not grouped by version, or not recorded for the run.
string
count
required
integer
>= 1
firstSeen
required
When the first of them failed, in the window.
stringformat: date-time
lastSeen
required
When the latest of them failed, in the window.
stringformat: date-time
exampleRunId
required
The group’s most recent run.
stringformat: uuid
total
required
Every failed run in the window, across the three lists.
rate-limit-exceeded with details.limit: "api-requests", on a runtime that sets workspace limits (Kindgi Cloud): this workspace’s limit on API requests a minute is reached, so the request wasn’t run; Retry-After says when to send it again.
Media typeapplication/json
object
error
required
object
code
required
Stable machine-readable discriminant. Values match domain error codes (see docs/API-ROUTE-CONVENTIONS.md §4.3).
string
message
required
string
details
Optional, kind-specific.
object
key
additional properties
any
requestId
required
Server-assigned request id; also echoed via X-Request-Id header.
The database was too busy to answer in time (database-busy), or the authorization store couldn’t be reached (authz-backend-unavailable); Retry-After (whole seconds) says when to try again.
Media typeapplication/json
object
error
required
object
code
required
Stable machine-readable discriminant. Values match domain error codes (see docs/API-ROUTE-CONVENTIONS.md §4.3).
string
message
required
string
details
Optional, kind-specific.
object
key
additional properties
any
requestId
required
Server-assigned request id; also echoed via X-Request-Id header.