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 spans by project_name or project_id and optionally by trace_id and/or type
GET
http://localhost:5173/api
/
v1
/
private
/
spans
Get spans by project_name or project_id and optionally by trace_id and/or type
Query parameters
page
integer
Optional
size
integer
Optional
project_name
string
Optional
project_id
string
Optional
trace_id
string
Optional
type
enum
Optional
Allowed values:
general
tool
llm
filters
string
Optional
truncate
boolean
Optional
Response
Spans resource
page
integer
Optional
size
integer
Optional
total
long
Optional
content
list of objects
Optional
Show 25 properties
Built with