Skip to main content
POST
Count spans

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Request body schema.

executionStartedAfter
string
required

Include spans whose execution started after this timestamp (ISO string). Required.

workflowUuid
string<uuid>

When set, restrict spans to this workflow. Omit to search across workflows in the workspace.

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-4[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$
userUuid
string<uuid>

User identifier to filter by.

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-4[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$
batchUuid
string<uuid>

Batch identifier to filter by.

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-4[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$
runUuid
string<uuid>

Run identifier to filter by.

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-4[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$
recordId
string

Record ID to filter by.

recordTitle
string

Record title to filter by (SQL ilike).

recordTitleOrId
string

Match record id or record title (each SQL ilike); same pattern as run list.

parentRunUuid
string<uuid>

Parent run identifier to filter by.

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-4[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$
parentNodeUuid
string<uuid>

Filter by parent node UUID on the run.

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-4[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$
parentAgentUuid
string<uuid>

When set, restrict spans to rows whose parent agent matches this UUID.

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-4[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$
nodeUuid
string<uuid>

Node identifier to filter by.

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-4[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$
nodeKind
enum<string>

Filter by node kind (native, connector, tool, agent).

Available options:
native,
connector,
tool,
agent
nodeSlug
string

Filter by workflow node slug (exact match).

nodeIntegrationSlug
string

Filter by connector integration slug (exact match).

nodeConnectorUuid
string<uuid>

Filter by connector UUID.

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-4[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$
nodeActionSlug
string

Filter by node action slug (exact match).

nodeToolUuid
string<uuid>

Filter by tool node UUID.

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-4[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$
nodeAgentUuid
string<uuid>

Filter by agent node UUID.

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-4[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$
nodeReleaseUuid
string<uuid>

Filter by release UUID referenced on the node.

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-4[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$
executionTitle
string

Filter by execution title (SQL ilike).

executionStatuses
enum<string>[]

Execution statuses to include.

Available options:
pending,
success,
error
executionStartedBefore
string

Include spans whose execution started on or before this timestamp (ISO string).

Response

Successful response

count
number
required

Number of spans matching the filter.