Skip to main content
POST
Add a span to capture a specific operation during agent execution (LLM call, tool invocation, retrieval, etc.).
string
required
Parent trace identifier
string
Parent span ID for nested spans
string
required
Span name (e.g., “gpt-4-turbo call”, “vector_search”)
string
required
Span type: llm, tool, retrieval, agent, chain
object
required
Span input data
string
required
ISO 8601 timestamp when span started
string
required
Unique span identifier