Ingestion

Create spans

Ingests a batch of spans using Laminar's JSON span format.

post/v1/spans

Request

  • Base URL
    https://api.lmnr.ai
  • Auth
    • HTTP bearer
    • or HTTP bearer

Request body

namestring required
spanType'DEFAULT' | 'LLM' | 'EXECUTOR' | 'EVALUATOR' | 'EVALUATION' | 'TOOL' | 'CACHED' | 'null' nullable

Note: The backend may still accept PIPELINE and HUMAN_EVALUATOR, but they are undocumented, and should not be used.

startTimestring date-time required
endTimestring date-time required
inputunknown
outputunknown
attributesobject nullable
traceIdstring uuid required
spanIdstring uuid required
parentSpanIdstring uuid

Response

Spans accepted.

spanIdstring uuid required
traceIdstring uuid required

Changes

No recorded changes to this operation across all 1 revision of this API.