Create optimizer config with initial blueprintCreates a new optimizer config with initial blueprint.
Create blueprint from maskCreates a new blueprint by applying a mask's changes on top of the latest blueprint for the project.
Create or update environmentsCreates or updates environment-to-blueprint mappings
Retrieve blueprint by environmentRetrieves the blueprint associated with a specific environment
Retrieve blueprint by IDRetrieves a specific blueprint by its ID
Retrieve blueprint by nameRetrieves a specific blueprint by its name within a project
Get blueprint historyRetrieves paginated blueprint history for a project
Retrieve delta by blueprint IDRetrieves only the changes (delta) introduced in a specific blueprint
Retrieve latest blueprintRetrieves the latest blueprint for a project
Set environment by blueprint nameSets an environment to point to a blueprint identified by name
Add blueprint to existing configAdds a new blueprint to an existing optimizer config.
Create Agent Insights jobCreates the Agent Insights job for a project, disabled: the daily schedule stays off until the job is enabled with PATCH.
Find agent insights issuesReturns a paginated list of issues that have at least one detail row within the requested time window, with metrics aggregated over the window
Get agent insights issue by idReturns the issue together with its per-day breakdown within the requested time window
Get Agent Insights jobReturns the Agent Insights job for the (workspace, project), or 404 if none exists.
Trigger Agent Insights jobTriggers an immediate report run for an existing job (over the last 24h).
Update agent insights issue statusMoves an issue through its lifecycle: open, resolved or closed.
Update Agent Insights project guidanceSaves the project guidance sent to every Agent Insights run, creating the job (disabled) if the project has none.
Update Agent Insights jobPartially updates the Agent Insights job for a project (e.g.
Get Alert by idGet Alert by id
Get webhook payload examplesGet webhook payload examples for all alert event types, optionally filtered by alert type
Add items to annotation queueAdd traces or threads to annotation queue
Create annotation queueCreate annotation queue for human annotation workflows
Create annotation queue batchCreate multiple annotation queues for human annotation workflows
Find annotation queuesFind annotation queues with filtering and sorting
Get all active locks for an annotation queueReturns lock status for all actively locked items in the queue
Get annotation queue by idGet annotation queue by id
Create or extend annotation queue item lockClaim an annotation queue item for the current user, or extend an existing lock
Search annotation queue itemsReturns queue membership metadata — how each item got into the queue — for the given item ids.
Update annotation queueUpdate annotation queue by id
Batch ingestion of assertion resultsBatch ingestion of assertion results for traces or spans
Attachments list for entityAttachments list for entity
Create automation rule evaluatorCreate automation rule evaluator
Get automation rule evaluator by idGet automation rule by id
Get automation rule evaluator logs by idGet automation rule evaluator logs by id
Update Automation Rule Evaluator by idUpdate Automation Rule Evaluator by id
Find project EvaluatorsFind project Evaluators
Create chat completionsCreate chat completions
Check user access to workspaceCheck user access to workspace
User's default workspace nameUser's default workspace name
Create DatasetCreate a dataset or evaluation suite in the Default Project or a selected project.
Create ExperimentCreate an experiment linked to a dataset and optionally to a project, dataset version, prompt versions, or optimization.
Create Feedback DefinitionCreate a numerical, categorical, or boolean feedback definition with type-specific details.
Create ProjectCreate a project in the connected Opik workspace.
Create PromptCreate a prompt in the Default Project or a selected project, optionally with its initial template and metadata.
Create Prompt VersionCreate an immutable version for a named prompt, creating the prompt when it does not already exist.
Create SpansCreate one or more Opik spans in a single batch.
Create TracesCreate one or more Opik traces in a single batch.
Create dashboardCreate a new dashboard in a workspace
Find dashboardsFind dashboards in a workspace
Get dashboard by idGet dashboard by id
Run a saved widget queryRuns the query saved on an Ollie chart widget of this dashboard over the given date range and returns its rows.
Update dashboardUpdate dashboard by id.
Batch update dataset itemsUpdate multiple dataset items
Compare latest version with draftCompare the latest committed dataset version with the current draft state.
Create dataset items from spansCreate dataset items from spans with enriched metadata
Create dataset items from tracesCreate dataset items from traces with enriched metadata
Create version tagAdd a tag to a specific dataset version for easy reference (e.g., 'baseline', 'v1.0', 'production')
Expand dataset with synthetic samplesGenerate synthetic dataset samples using LLM based on existing data patterns
Get dataset by idGet dataset by id
Get dataset by nameGet dataset by name
Get experiment items stats for datasetGet experiment items stats for dataset
Get dataset export job statusRetrieves the current status of a dataset export job
Get dataset item by idGet dataset item by id
Get dataset items output columnsGet dataset items output columns
Get dataset version by hashGet a specific version by its version hash
List dataset versionsGet paginated list of versions for a dataset, ordered by creation time (newest first)
Find dataset items with experiment itemsFind dataset items with experiment items
Partially update dataset item by idPartially update dataset item by id.
Restore dataset to a previous versionRestores the dataset to a previous version state by creating a new version with items copied from the specified version.
Retrieve dataset version by nameGet a specific version by its version name (e.g., 'v1', 'v373').
Start dataset CSV exportInitiates an asynchronous CSV export job for the dataset.
Update dataset by idUpdate dataset by id
Update dataset versionUpdate a dataset version's change_description and/or add new tags
Create environmentCreate environment
Find environmentsFind environments for the workspace.
Get environment by idGet environment by id
Update environment by idUpdate environment by id
Batch update experimentsUpdate multiple experiments
Create experiment itemsCreate experiment items
Create and execute experimentCreates experiments for each prompt variant and asynchronously processes all dataset items
Record experiment items in bulkRecord experiment items in bulk with traces, spans, and feedback scores.
Find experiment groupsFind experiments grouped by specified fields
Find experiment groups with aggregationsFind experiments grouped by specified fields with aggregation metrics
Find Feedback Score namesFind Feedback Score names
Get experiment by idGet experiment by id
Get experiment item by idGet experiment item by id
Update experiment by idUpdate experiment by id
Export Dataset and WaitStart an asynchronous CSV export of an Opik dataset and poll the strictly correlated job until it completes or fails.
Get feedback definition by idGet feedback definition by id
Update feedback definition by idUpdate feedback definition by id
Generate Report and WaitTrigger report generation for an Opik project and wait for that exact report to complete.
Get ProjectReturn one project by its Opik project ID.
Retrieve projectReturn one project by its exact name, optionally including project statistics.
Create insights viewCreate a new insights view in a workspace
Find insights viewsFind insights views in a workspace
Get insights view by idGet insights view by id
Run a saved widget queryRuns the query saved on an Ollie chart widget of this insights view over the given date range and returns its rows.
Update insights viewUpdate insights view by id.
Get all dataset export jobsRetrieves all export jobs for the workspace.
List Dataset ItemsReturn one page of items from a dataset, optionally at a version hash or tag.
List DatasetsReturn one page of datasets, optionally filtered by name, project, prompt, or whether they have experiments or optimizations.
List ExperimentsReturn one page of experiments filtered by dataset, project, prompt, optimization, name, or deletion state.
List Feedback DefinitionsReturn one page of numerical, categorical, or boolean feedback definitions, optionally filtered by name or type.
Get LLM model profilesGet the params each provider's unlisted models take, keyed by provider
Get LLM modelsGet the list of supported LLM models grouped by provider
List ProjectsReturn one page of workspace projects, optionally filtered by a case-insensitive name match.
List PromptsReturn one page of workspace or project-scoped prompts, optionally filtered by name.
Get prompts by projectGet prompts scoped to a project
Get prompt versionsGet prompt versions
Get reports for a projectReturns a paginated list of reports, newest first.
List SpansReturn one page of spans for a project or trace, with optional type, text, and time filters.
List TracesReturn one page of traces for a project, with optional text, time, queue, and attachment-handling filters.
Get trace threadsGet trace threads
Get view versionsList the versions of a view, newest first
Get LLM Provider's ApiKey by idGet non-secret metadata for a configured LLM provider key.
Find LLM Provider's ApiKeysList non-secret metadata for configured LLM provider keys.
Manually evaluate spansManually trigger evaluation rules on selected spans.
Manually evaluate threadsManually trigger evaluation rules on selected threads.
Manually evaluate tracesManually trigger evaluation rules on selected traces.
Create optimizationCreate an optimization.
Find optimizationsFind optimizations
Get optimization by idGet optimization by id
Update optimization by idUpdate optimization by id
Upsert optimizationCreate or update an optimization.
Find alerts by projectFind alerts scoped to a project
Find dashboards by projectFind dashboards scoped to a project
Find datasets by projectFind datasets scoped to a project
Find experiments by projectFind experiments scoped to a project
Find optimizations by projectFind optimizations scoped to a project
Find Token Usage namesFind Token Usage names
Get Project KPI CardsGets KPI card metrics for a project
Get Project MetricsGets specified metrics for a project
Get Project StatsGet Project Stats
Get recent activity for a projectReturns the most recent activity items across all entity types for a project, sorted by date descending.
Find Feedback Score names By Project IdsFind Feedback Score names By Project Ids
Update project by idUpdate project by id
Get prompt by commitGet prompt by commit
Get prompt by idGet prompt by id; when mask_id or environment is provided, requestedVersion is populated with the resolved version.
Get prompts by commitsGet prompts by prompt version commits
Get prompt version by idGet prompt version by id
Get prompt version by sequential numberGet a prompt version by its sequential v number for the given prompt.
Restore prompt versionRestore a prompt version by creating a new version with the content from the specified version
Retrieve prompt versionRetrieve prompt version.
Retrieve prompt versions by idsRetrieve a batch of prompt versions by their ids.
Set prompt version environmentReplace the prompt version's complete environments array.
Update promptUpdate prompt
Update prompt versionsUpdate one or more prompt versions.
List failures for a projectReturns failures for the given project id and type, most recent first.
Trigger report generationCreates a pending report and triggers asynchronous generation via the orchestrator.
Get report preferencesReturns report preferences for a project, or null if none have been set.
Update report preferencesEnable or disable daily report generation for a project.
Create local runner jobCreate a local runner job and enqueue it for execution
Get local runner jobGet a single local runner job's status and results
Get local runner job logsGet log entries for a local runner job
Get local runnerGet a single local runner with its registered agents
List local runner jobsList jobs for a local runner
List local runnersList local runners owned by the current user in the workspace
Get Service TogglesGet Service Toggles
Add span commentAdd span comment
Add span feedback scoreAdd span feedback score
Batch update spansUpdate multiple spans
Check whether a project has spansReturns whether the project has at least one span matching the given scope.
Find Feedback Score namesFind Feedback Score names
Get span by idGet span by id
Get span commentGet span comment
Get span statsGet span stats
Batch feedback scoring for spansBatch feedback scoring for spans
Update span by idUpdate span by id
Update span comment by idUpdate span comment by id
Add thread commentAdd thread comment
Add trace commentAdd trace comment
Add trace feedback scoreAdd trace feedback score
Batch update threadsUpdate multiple threads
Batch update tracesUpdate multiple traces
Close trace thread(s)Close one or multiple trace threads.
Check whether a project has tracesReturns whether the project has at least one trace matching the given scope.
Find Feedback Score namesFind Feedback Score names
Get thread commentGet thread comment
Get trace by idGet trace by id
Get trace commentGet trace comment
Get trace statsGet trace stats
Get trace threadGet trace thread
Get trace thread statsGet trace thread stats
Find Trace Threads Feedback Score namesFind Trace Threads Feedback Score names
Open trace threadOpen trace thread
Batch feedback scoring for threadsBatch feedback scoring for threads
Batch feedback scoring for tracesBatch feedback scoring for traces
Update threadUpdate thread
Update thread comment by idUpdate thread comment by id
Update trace by idUpdate trace by id
Update trace comment by idUpdate trace comment by id
Upsert Dataset ItemsCreate or update Opik dataset items, using each supplied item UUID as its stable upsert key.
Create viewCreate a view with its first version
Create view versionAdd a version to a view and make it current
Get view by idGet a view with its current version
Get view versionGet one version of a view
Select view versionMake an existing version the one that renders.
Update viewUpdate the name and description of a view
Wait For Runner JobPoll an existing Opik local runner job until it completes, fails, is cancelled, or times out.
Get workspace permissions for the authenticated userGet workspace permissions for the authenticated user
Get costs summaryGet costs summary
Get cost daily dataGet cost daily data
Get metric daily dataGet metric daily data
Get workspace configurationGet workspace configuration
Get workspace span metricGets a span metric time series aggregated across the workspace.
Get workspace token usage namesGets the distinct span token usage key names aggregated across the workspace.
Get metrics summaryGet metrics summary
Upsert workspace configurationUpsert workspace configuration