Skip to main content

Get span by id

GET 

/v1/private/spans/:id

Get span by id

Request

Path Parameters

    id uuidrequired

Responses

Span resource

Schema

    id uuid
    project_id uuid
    trace_id uuidrequired
    parent_span_id uuid
    name stringrequired
    type stringrequired

    Possible values: [general, tool, llm]

    start_time date-timerequired
    end_time date-time
    input object
    output object
    metadata object
    tags string[]

    usage

    object

    property name* int32
    created_at date-time
    last_updated_at date-time
    created_by string
    last_updated_by string

    feedback_scores

    object[]

  • Array [

  • name stringrequired
    category_name string
    value numberrequired

    Possible values: >= -1000000000 and <= 1000000000

    reason string
    source stringrequired

    Possible values: [ui, sdk]

    created_at date-time
    last_updated_at date-time
    created_by string
    last_updated_by string
  • ]