Skip to content
Product
Pricing
Demo
Integrations
Docs
Search
Ctrl
K
Cancel
GitHub
Log in
Select theme
Dark
Light
Auto
Start free
Menu
Docs
Self-hosting
Integrations
Reference
Overview
Python SDK
Install and configure
Tracing
Context
Scores, datasets and experiments
OpenTelemetry
API
TypeScript SDK
Install and configure
Tracing
Context
Scores, datasets and experiments
OpenTelemetry
Runtimes
API
REST API
Overview
Endpoints
Overview
auth
Overview
Start an OAuth or OIDC login
Finish an OAuth or OIDC login
Get the auth config
Start a device sign-in
Poll for a device grant
Read a pending device code
Approve a device code
Deny a device code
Verify an email address
Resend an email verification
Preview an invitation
Accept an invitation
Log in with a password
Log out
Get the current user
Request a password reset
Set a password from a reset link
Read an org's SAML service provider metadata
Finish an org's SAML login
Start an org's SAML login
Create the first admin
Create an account
Start an org's single sign-on login
Ask whether an email's domain signs in through an org
Change the display name
Change the password
List personal access tokens
Create a personal access token
Revoke the current personal access token
Revoke a personal access token
analytics
Overview
Send product analytics events
admin
Overview
Read the instance licence
Install a licence key
Read the instance settings
Send a test email to yourself
List accounts
Create an account
Disable or demote an account
Mint a password reset link
orgs
Overview
List organizations
Create an organization
Get an organization
Delete an organization (owners, session only)
Rename an organization
Read the org's entitlements
List pending invitations
Invite a member by email
Delete an invitation
List organization members
Remove an organization member
Change an organization role
Read the org's SCIM provisioning settings
Turn the org's SCIM provisioning on or off, or change the default role
List the SCIM groups and their role mappings
Set a SCIM group's role mapping
Remove a SCIM group's role mapping
Create a SCIM bearer token
Revoke a SCIM bearer token
Read the org's identity provider and domains
Turn the org's identity provider on, off or enforced
Add an email domain to the org's SSO
Remove an email domain from the org's SSO
Verify an email domain with its DNS TXT record
Save the org's identity provider
Remove the org's identity provider
Save the org's SAML identity provider
Read the org's usage by day
llm_connections
Overview
List LLM connections
Create an LLM connection
Test an unsaved LLM connection
Get an LLM connection
Delete an LLM connection
Update an LLM connection
Test an LLM connection
projects
Overview
List projects
Create a project
Read the projects' last 24 hours
Get a project
Delete a project (org admins; session only)
Update a project
List API keys
Create an API key
Revoke an API key
List project members
Set a project role override
Remove a project role override
traces
Overview
Get facets
List traces
Stream traces
Get trace list totals
Get a trace
Stream a trace
spans
Overview
List spans
Get a span
sessions
Overview
List sessions
Get a session
users
Overview
List users
Get a user
scores
Overview
Send end-user feedback
List scores
Write scores
Delete a score
Write scores with an ingest key
evaluation
Overview
List eval jobs
Get an eval job
List built-in judge templates
List evaluators
Create an evaluator
Get evaluator stats
Run an evaluator once
Get an evaluator
Delete an evaluator
Update an evaluator
Run an evaluator on one trace
List evaluator versions
List online rules
Create an online rule
Count what a rule's filter matches
Get online rule stats
Get an online rule
Delete an online rule
Update an online rule
List an online rule's backfills
Start an online rule backfill
Estimate an online rule backfill
Resume an online rule
score_definitions
Overview
List score definitions
Create a score definition
Archive a score definition
Update or restore a score definition
datasets
Overview
The latest experiments of several datasets, with score means
List datasets
Create a dataset
Get a dataset
Delete a dataset
Update a dataset
Export a dataset version
Import items from a CSV or JSONL file
Preview the head of an import file
List the items of a version
Add items
Edit items in one batch
Delete items in one batch
Add an item copied from a trace or a span
Add items from several traces
Get an item
Delete an item
Edit an item
Restore the items of an earlier version
List the versions of a dataset
List the items a version changed
playground
Overview
Stream a playground run
prompts
Overview
Get the prompt settings
Set the prompt settings
List prompts
Create a prompt
Get a prompt
Delete a prompt
Update a prompt
List the label history of a prompt
Move a label
Remove a label
Get per-version prompt metrics
Resolve a prompt to a version
List the versions of a prompt
Create a version
Get a version
experiments
Overview
List experiments
Create an experiment
Compare experiments
Get experiment summaries
Get an experiment
Delete an experiment
Finish an experiment
Post results
Get results
model_prices
Overview
List org model prices
Create an org model price
Delete an org model price
Replace an org model price
List model prices
Create a project model price
Resolve the price of a model
Delete a project model price
Replace a project model price
schema
Overview
Get the schema
saved_views
Overview
List saved views
Create a saved view
Get a saved view
Delete a saved view
Update a saved view
dashboards
Overview
List dashboards
Create a dashboard
Get the project's Overview
Save the project's Overview
Reset the project's Overview
Get one widget's data
Get a dashboard
Delete a dashboard
Update a dashboard
annotation_queues
Overview
List annotation queues
Create an annotation queue
Get an annotation queue
Delete an annotation queue
Update an annotation queue
List annotation queue items
Add items to an annotation queue
Add the targets a filter matches to an annotation queue
Count the targets a filter would add to an annotation queue
Get an annotation queue item
Remove an annotation queue item
Complete an annotation queue item
Lease an annotation queue item
Release an annotation queue item lease
Reopen an annotation queue item
Skip an annotation queue item
Claim the next item of an annotation queue
sql
Overview
Run a SQL query
media
Overview
Get a media blob
deletions
Overview
List an organization's deletions
List deletions
Request a deletion
Count a filter deletion
Get a deletion
audit
Overview
List the instance's audit records
Export the instance's audit records
Get the instance's audit stream
Create or update the instance's audit stream
Remove the instance's audit stream
Rotate the instance's signing secret
Send a test line to the instance's audit stream
List an organization's audit records
Export an organization's audit records
Get the organization's audit stream
Create or update the organization's audit stream
Remove the organization's audit stream
Rotate the organization's signing secret
Send a test line to the organization's audit stream
ingest
Overview
Send a coding agent's session context
alerts
Overview
List the project's alert events
List alert rules
Create an alert rule
Preview an issue occurrence rule
Get an alert rule
Delete an alert rule
Update an alert rule
List a rule's events
List notification channels
Create a notification channel
Delete a notification channel
Update a notification channel
Send a test notification
issues
Overview
List issue sources
Create an issue source
Get an issue source
Delete an issue source
Update an issue source
Refit an issue source now
List the refits of an issue source
List issues
Get an issue
Update an issue
Add an issue's occurrences to a dataset
List the events of an issue
Merge an issue into another
Get the occurrences of an issue
Send an issue's occurrences to an annotation queue
assistant
Overview
Get the organization's assistant setting
Save the organization's assistant setting
Test a connection for the assistant
Get whether the caller can use the assistant
List the caller's assistant conversations
Create an assistant conversation
Get an assistant conversation
Delete an assistant conversation
Rename an assistant conversation
Rate an assistant message
Stream an assistant turn
OTLP endpoint
CLI
cetra-cli
Span attributes
Filter language
SQL schema
GitHub
Select theme
Dark
Light
Auto
cetra is not released yet. These docs describe the development version.
Overview
traces
Section titled “traces”
Trace list, detail, and live streams.
Operations
Section titled “Operations”
POST
/api/v1/projects/{project}/facets
GET
/api/v1/projects/{project}/traces
GET
/api/v1/projects/{project}/traces/stream
GET
/api/v1/projects/{project}/traces/totals
GET
/api/v1/projects/{project}/traces/{trace_id}
GET
/api/v1/projects/{project}/traces/{trace_id}/stream