Skip to main content

Create span

POST 

/v1/private/spans

Create span

Request

Body

    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

Created

Response Headers

  • Location

    string