Skip to main content

Create span

POST 

/v1/private/spans

Create span

Request

Body

    id uuid
    project_name string

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

    If null, the default project is used

    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

Created

Response Headers

  • Location

    string

Loading...