Skip to main content

Get Span Of Trace

GET 

/observability/spans/:span_id/

Get Span Of Trace

Request

Path Parameters

    span_id Span Idrequired

Query Parameters

    type Type

    Default value: generation

Responses

Successful Response

Schema

    id Id (string)required
    name Name (string)required
    parent_span_id Parent Span Id (string)
    created_at date-timerequired

    variant

    object

    required

    variant_id Variant Id (string)
    variant_name Variant Name (string)
    revision Revision (integer)
    environment Environment (string)
    spankind SpanKindrequired

    Possible values: [TOOL, CHAIN, LLM, WORKFLOW, RETRIEVER, EMBEDDING, AGENT, UNKNOWN]

    An enumeration.

    status SpanStatusCoderequired

    Possible values: [UNSET, OK, ERROR]

    An enumeration.

    metadata objectrequired
    trace_id Trace Id (string)
    user_id User Id (string)
    content objectrequired

    children

    object[]

  • Array [

  • id Id (string)required
    name Name (string)required
    parent_span_id Parent Span Id (string)
    created_at date-timerequired

    variant

    object

    required

    variant_id Variant Id (string)
    variant_name Variant Name (string)
    revision Revision (integer)
    environment Environment (string)
    spankind SpanKindrequired

    Possible values: [TOOL, CHAIN, LLM, WORKFLOW, RETRIEVER, EMBEDDING, AGENT, UNKNOWN]

    An enumeration.

    status SpanStatusCoderequired

    Possible values: [UNSET, OK, ERROR]

    An enumeration.

    metadata objectrequired
    trace_id Trace Id (string)
    user_id User Id (string)
    content objectrequired
    children undefined[]
  • ]

  • config object
Loading...