Search Spans
Returns a cursor-paginated page of filtered span rows. When promptId is provided in the request body, results are scoped to spans that were ingested with that promptId — regardless of content type. In practice this is most often Model / ModelStream spans, but any span type the caller attached to the prompt (for example, a Tool span emitted during that prompt’s execution) is returned. When promptId is omitted, spans of every content type (Model, Tool, Function, Guardrail, Retrieval, Embeddings, Other, or caller-defined custom types) across the project are returned. Pass nextCursor from the response as cursor to fetch the next page.
Returns a cursor-paginated page of filtered model span rows for a prompt. PassDocumentation Index
Fetch the complete documentation index at: https://www.adaline.ai/docs/llms.txt
Use this file to discover all available pages before exploring further.
nextCursor from the response as cursor to fetch the next page.
See Export Logs for filter types, available columns, and pagination conventions.Authorizations
Workspace API key. Pass as Authorization: Bearer <key>.
Body
Request payload for paginated span search. promptId is optional; when omitted the response includes spans of every content type across the project.
The project to search spans in.
20 - 80Optional. When provided, scopes results to this prompt. Omit to return spans of every content type (Model, Tool, Function, Guardrail, Retrieval, Embeddings, Other, or custom) across all prompts in the project.
20 - 80Case-insensitive substring match on the model name.
Case-insensitive substring match on the provider name.
Unix timestamp in milliseconds. Only return rows started at or after this time.
Unix timestamp in milliseconds. Only return rows started at or before this time.
Filter by status.
success, failure, aborted, cancelled, pending, unknown Case-insensitive substring match on the trace or span name.
Exact match on the reference ID.
Exact match on the session ID.
Typed filter objects for advanced queries. ANDed with flat params.
20Sort order. Defaults to startedAt:desc.
startedAt:asc, startedAt:desc Page size. Defaults to 50, max 200.
1 <= x <= 200Opaque pagination cursor from a previous response.