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.
nextCursor from the response as cursor to fetch the next page.
See Export Logs for filter types, available columns, and pagination conventions.Authorizations
Body
Request payload for paginated span search. promptId is optional; when omitted the response includes spans of every content type across the project.