Search...
/
Github
Go to App
Documentation
Self-hosting Opik
Cookbooks
SDK and API reference
Documentation
Self-hosting Opik
Cookbooks
SDK and API reference
Overview
Python SDK
Reference
Typescript SDK
Overview
Rest API
Overview
API Reference
System usage
Check
Automation rule evaluators
Chat Completions
Datasets
Experiments
Feedback-definitions
LlmProviderKey
Projects
Prompts
Spans
POST
Add span comment
PUT
Add span feedback score
GET
Get spans by project_name or project_id and optionally by trace_id and/or type
POST
Create span
POST
Create spans
GET
Get span by id
DEL
Delete span by id
PATCH
Update span by id
POST
Delete span comments
POST
Delete span feedback score
GET
Find Feedback Score names
GET
Get span comment
GET
Get span stats
PUT
Batch feedback scoring for spans
POST
Search spans
PATCH
Update span comment by id
Traces
Github
Go to App
API Reference
Spans
Get span stats
GET
http://localhost:5173/api
/
v1
/
private
/
spans
/
stats
Get span stats
Query parameters
project_id
string
Optional
project_name
string
Optional
trace_id
string
Optional
type
enum
Optional
Allowed values:
general
tool
llm
filters
string
Optional
Response
Span stats resource
stats
list of objects
Optional
Show 3 variants
Built with