Skip to main content

Create spans

POST 

/v1/private/spans/batch

Create spans

Request

Body

    spans

    object[]

    required

    Possible values: >= 1, <= 1000

  • Array [

  • id uuid
    project_name string

    If null, the default project is used

    Possible values: Value must match regular expression (?s)^\s*(\S.*\S|\S)\s*$

    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
  • ]

Responses

No Content