Traces

List trace spans

Changed on

Returns every span belonging to the trace, ordered by startTime ascending. Spans carry the OpenTelemetry envelope (kind, status, attributes, resource) plus Latitude's GenAI enrichment (tokens, cost, operation, provider, model). Per-message LLM content is excluded for size; use a span point-lookup for the conversation payload.

get/v1/projects/{projectSlug}/traces/{traceId}/spans

Request

  • Base URL
    https://api.latitude.so
  • Auth
    HTTP bearer

Path parameters

projectSlugstring required

Project slug (human-readable identifier)

Project slug (human-readable identifier). The CLI can also read this from the LATITUDE_PROJECT_SLUG environment variable.

traceIdstring required

32-character trace identifier.

Response

Spans of the trace

Changes