Skip to main content
GET
Search traces

Authorizations

Authorization
string
header
required

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

Query Parameters

agent_name
string

Return only invocations of this agent (e.g. "support-triage"). Invocations with no recorded agent name are not matched.

Maximum string length: 255
agent_revision
string

Return only invocations of this exact agent revision (e.g. "a1b2c3d4"). Combines with agent_name. Invocations with no recorded revision are not matched.

Maximum string length: 255
status
enum<string>

Return only invocations with this outcome. An invocation whose spans have aged out is still matched by the outcome it recorded.

How an invocation or one of its attempts ended, or RUNNING while it is still in flight.

Available options:
RUNNING,
SUCCEEDED,
FAILED
session_id
string

Return only invocations of this session — the session identifier you ran it with. A session you do not have is a 404.

Required string length: 2 - 100
Pattern: ^[0-9a-zA-Z._:-]+$
since
string<date-time>

Return only invocations that started at or after this time. Defaults to 31 days ago; pass it to search further back.

until
string<date-time>

Return only invocations that started at or before this time. Defaults to now, and must be after since; an earlier until is a 400.

after
string

Opaque pagination cursor. Return only items positioned after it; pass a value obtained from a previous page to fetch the next one.

limit
integer
default:10

Maximum number of traces to return. A page can be shorter, so page while next_cursor is present.

Required range: 1 <= x <= 100

Response

OK

traces
object[]
required

This page of invocations, newest first. It can hold fewer than limit, or none at all, while next_cursor is present.

next_cursor
string

Cursor for the next page. Pass it as after, with no filters or with every filter this listing used repeated exactly, to fetch the following traces. Present whenever there may be more traces, however few this page returned; omitted only once there are none left.