Opik by Comet
opikOpik is Comet's open-source platform for tracing, evaluating, and monitoring LLM applications and AI agents.
Acciones disponibles (210)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Create optimizer config with initial blueprintOPIK_AGENT_CONFIGS_CREATE_AGENT_CONFIGAcciónCreates a new optimizer config with initial blueprint. Fails if the project already has a config.
OPIK_AGENT_CONFIGS_CREATE_AGENT_CONFIGAcciónCreates a new optimizer config with initial blueprint. Fails if the project already has a config.
Parámetros de entrada
idstringuuidAgent config ID. Generated automatically if not provided
blueprintobjectObligatorioBlueprint value used to create optimizer config with initial blueprint.
project_idstringuuidProject UUID. Provide this field or project_name.
project_namestringProject name. Provide this field when project_id is omitted.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create blueprint from maskOPIK_AGENT_CONFIGS_CREATE_BLUEPRINT_FROM_MASKAcciónCreates a new blueprint by applying a mask's changes on top of the latest blueprint for the project.
OPIK_AGENT_CONFIGS_CREATE_BLUEPRINT_FROM_MASKAcciónCreates a new blueprint by applying a mask's changes on top of the latest blueprint for the project.
Parámetros de entrada
mask_idstringObligatoriouuidUUID of the mask id used to create blueprint from mask.
project_idstringObligatoriouuidUUID of the project id used to create blueprint from mask.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create or update environmentsOPIK_AGENT_CONFIGS_CREATE_OR_UPDATE_ENVSAcciónCreates or updates environment-to-blueprint mappings
OPIK_AGENT_CONFIGS_CREATE_OR_UPDATE_ENVSAcciónCreates or updates environment-to-blueprint mappings
Parámetros de entrada
envsobject[]ObligatorioEnvs value used to create or update environments.
project_idstringObligatoriouuidProject Id value used to create or update environments.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve blueprint by environmentOPIK_AGENT_CONFIGS_GET_BLUEPRINT_BY_ENVAcciónRetrieves the blueprint associated with a specific environment
OPIK_AGENT_CONFIGS_GET_BLUEPRINT_BY_ENVAcciónRetrieves the blueprint associated with a specific environment
Parámetros de entrada
mask_idstringuuidMask Id value used to narrow or configure retrieve blueprint by environment.
env_namestringObligatorioidentifier of the env name used to retrieve blueprint by environment.
project_idstringObligatoriouuidUUID of the project id used to retrieve blueprint by environment.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve blueprint by IDOPIK_AGENT_CONFIGS_GET_BLUEPRINT_BY_IDAcciónRetrieves a specific blueprint by its ID
OPIK_AGENT_CONFIGS_GET_BLUEPRINT_BY_IDAcciónRetrieves a specific blueprint by its ID
Parámetros de entrada
mask_idstringuuidMask Id value used to narrow or configure retrieve blueprint by id.
blueprint_idstringObligatoriouuidUUID of the blueprint id used to retrieve blueprint by id.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve blueprint by nameOPIK_AGENT_CONFIGS_GET_BLUEPRINT_BY_NAMEAcciónRetrieves a specific blueprint by its name within a project
OPIK_AGENT_CONFIGS_GET_BLUEPRINT_BY_NAMEAcciónRetrieves a specific blueprint by its name within a project
Parámetros de entrada
namestringObligatorioidentifier of the name used to retrieve blueprint by name.
mask_idstringuuidMask Id value used to narrow or configure retrieve blueprint by name.
project_idstringObligatoriouuidUUID of the project id used to retrieve blueprint by name.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get blueprint historyOPIK_AGENT_CONFIGS_GET_BLUEPRINT_HISTORYAcciónRetrieves paginated blueprint history for a project
OPIK_AGENT_CONFIGS_GET_BLUEPRINT_HISTORYAcciónRetrieves paginated blueprint history for a project
Parámetros de entrada
sizeintegerMaximum number of results to return on one page.
cursorstringOpaque continuation cursor returned as next_cursor by a previous call. Omit for the first page and pass returned values back verbatim.
project_idstringObligatoriouuidUUID of the project id used to get blueprint history.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve delta by blueprint IDOPIK_AGENT_CONFIGS_GET_DELTA_BY_IDAcciónRetrieves only the changes (delta) introduced in a specific blueprint
OPIK_AGENT_CONFIGS_GET_DELTA_BY_IDAcciónRetrieves only the changes (delta) introduced in a specific blueprint
Parámetros de entrada
blueprint_idstringObligatoriouuidUUID of the blueprint id used to retrieve delta by blueprint id.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve latest blueprintOPIK_AGENT_CONFIGS_GET_LATEST_BLUEPRINTAcciónRetrieves the latest blueprint for a project
OPIK_AGENT_CONFIGS_GET_LATEST_BLUEPRINTAcciónRetrieves the latest blueprint for a project
Parámetros de entrada
mask_idstringuuidMask Id value used to narrow or configure retrieve latest blueprint.
project_idstringObligatoriouuidUUID of the project id used to retrieve latest blueprint.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Set environment by blueprint nameOPIK_AGENT_CONFIGS_SET_ENV_BLUEPRINTAcciónSets an environment to point to a blueprint identified by name
OPIK_AGENT_CONFIGS_SET_ENV_BLUEPRINTAcciónSets an environment to point to a blueprint identified by name
Parámetros de entrada
env_namestringObligatorioidentifier of the env name used to set environment by blueprint name.
project_idstringObligatoriouuidUUID of the project id used to set environment by blueprint name.
blueprint_namestringObligatorioBlueprint Name value used to set environment by blueprint name.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Add blueprint to existing configOPIK_AGENT_CONFIGS_UPDATE_AGENT_CONFIGAcciónAdds a new blueprint to an existing optimizer config. Fails if the project has no config yet.
OPIK_AGENT_CONFIGS_UPDATE_AGENT_CONFIGAcciónAdds a new blueprint to an existing optimizer config. Fails if the project has no config yet.
Parámetros de entrada
idstringuuidAgent config ID. Generated automatically if not provided
blueprintobjectObligatorioBlueprint value used to add blueprint to existing config.
project_idstringuuidProject UUID. Provide this field or project_name.
project_namestringProject name. Provide this field when project_id is omitted.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Agent Insights jobOPIK_AGENT_INSIGHTS_CREATE_JOBAcciónCreates the Agent Insights job for a project, disabled: the daily schedule stays off until the job is enabled with PATCH. 409 if one already exists.
OPIK_AGENT_INSIGHTS_CREATE_JOBAcciónCreates the Agent Insights job for a project, disabled: the daily schedule stays off until the job is enabled with PATCH. 409 if one already exists.
Parámetros de entrada
project_idstringObligatoriouuidUUID of the project id used to create agent insights job.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Find agent insights issuesOPIK_AGENT_INSIGHTS_FIND_AGENT_INSIGHTS_ISSUESAcciónReturns a paginated list of issues that have at least one detail row within the requested time window, with metrics aggregated over the window
OPIK_AGENT_INSIGHTS_FIND_AGENT_INSIGHTS_ISSUESAcciónReturns a paginated list of issues that have at least one detail row within the requested time window, with metrics aggregated over the window
Parámetros de entrada
sizeintegerMaximum number of results to return on one page.
cursorstringOpaque continuation cursor returned as next_cursor by a previous call. Omit for the first page and pass returned values back verbatim.
statusstringenumStatus value used to narrow or configure find agent insights issues.
openresolvedclosedto_datestringdateTo Date value used to narrow or configure find agent insights issues.
severitystringenumSeverity value used to narrow or configure find agent insights issues.
criticalhighmediumlowfrom_datestringdateFrom Date value used to narrow or configure find agent insights issues.
project_idstringObligatoriouuidProject Id value used to narrow or configure find agent insights issues.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get agent insights issue by idOPIK_AGENT_INSIGHTS_GET_ISSUE_BY_IDAcciónReturns the issue together with its per-day breakdown within the requested time window
OPIK_AGENT_INSIGHTS_GET_ISSUE_BY_IDAcciónReturns the issue together with its per-day breakdown within the requested time window
Parámetros de entrada
to_datestringdateTo Date value used to narrow or configure get agent insights issue by id.
issue_idstringObligatoriouuidUUID of the issue id used to get agent insights issue by id.
from_datestringdateFrom Date value used to narrow or configure get agent insights issue by id.
project_idstringObligatoriouuidProject Id value used to narrow or configure get agent insights issue by id.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Agent Insights jobOPIK_AGENT_INSIGHTS_GET_JOBAcciónReturns the Agent Insights job for the (workspace, project), or 404 if none exists.
OPIK_AGENT_INSIGHTS_GET_JOBAcciónReturns the Agent Insights job for the (workspace, project), or 404 if none exists.
Parámetros de entrada
project_idstringObligatoriouuidUUID of the project id used to get agent insights job.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Trigger Agent Insights jobOPIK_AGENT_INSIGHTS_TRIGGER_JOBAcciónTriggers an immediate report run for an existing job (over the last 24h). Fire-and-forget; returns 202. 404 if none exists.
OPIK_AGENT_INSIGHTS_TRIGGER_JOBAcciónTriggers an immediate report run for an existing job (over the last 24h). Fire-and-forget; returns 202. 404 if none exists.
Parámetros de entrada
project_idstringObligatoriouuidUUID of the project id used to trigger agent insights job.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update agent insights issue statusOPIK_AGENT_INSIGHTS_UPDATE_AGENT_INSIGHTS_ISSUEAcciónMoves an issue through its lifecycle: open, resolved or closed. close_note is kept only with closed; any other status clears it
OPIK_AGENT_INSIGHTS_UPDATE_AGENT_INSIGHTS_ISSUEAcciónMoves an issue through its lifecycle: open, resolved or closed. close_note is kept only with closed; any other status clears it
Parámetros de entrada
statusstringObligatorioenumStatus value used to update agent insights issue status.
openresolvedclosedissue_idstringObligatoriouuidUUID of the issue id used to update agent insights issue status.
close_notestringWhy the issue is closed as not useful. Stored only with status closed; any other status clears it
project_idstringObligatoriouuidProject Id value used to update agent insights issue status.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update Agent Insights project guidanceOPIK_AGENT_INSIGHTS_UPDATE_GUIDANCEAcciónSaves the project guidance sent to every Agent Insights run, creating the job (disabled) if the project has none. Empty or whitespace-only clears it. The guidance version is bumped only when the text changes. 404 while guidance is not enabled.
OPIK_AGENT_INSIGHTS_UPDATE_GUIDANCEAcciónSaves the project guidance sent to every Agent Insights run, creating the job (disabled) if the project has none. Empty or whitespace-only clears it. The guidance version is bumped only when the text changes. 404 while guidance is not enabled.
Parámetros de entrada
guidancestringObligatorioProject guidance for Agent Insights runs. Empty or whitespace-only clears it
project_idstringObligatoriouuidUUID of the project id used to update agent insights project guidance.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update Agent Insights jobOPIK_AGENT_INSIGHTS_UPDATE_JOBAcciónPartially updates the Agent Insights job for a project (e.g. status; never deletes). Returns the updated job, or 404 if none exists.
OPIK_AGENT_INSIGHTS_UPDATE_JOBAcciónPartially updates the Agent Insights job for a project (e.g. status; never deletes). Returns the updated job, or 404 if none exists.
Parámetros de entrada
statusstringObligatorioenumNew status for the job
enableddisabledproject_idstringObligatoriouuidUUID of the project id used to update agent insights job.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Find alertsOPIK_ALERTS_FIND_ALERTSAcciónFind alerts
OPIK_ALERTS_FIND_ALERTSAcciónFind alerts
Parámetros de entrada
sizeintegerMaximum number of results to return on one page.
cursorstringOpaque continuation cursor returned as next_cursor by a previous call. Omit for the first page and pass returned values back verbatim.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Alert by idOPIK_ALERTS_GET_ALERT_BY_IDAcciónGet Alert by id
OPIK_ALERTS_GET_ALERT_BY_IDAcciónGet Alert by id
Parámetros de entrada
alert_idstringObligatoriouuidUUID of the alert id used to get alert by id.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get webhook payload examplesOPIK_ALERTS_GET_WEBHOOK_EXAMPLESAcciónGet webhook payload examples for all alert event types, optionally filtered by alert type
OPIK_ALERTS_GET_WEBHOOK_EXAMPLESAcciónGet webhook payload examples for all alert event types, optionally filtered by alert type
Parámetros de entrada
alert_typestringenumAlert Type value used to narrow or configure get webhook payload examples.
generalslackpagerduty
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Add items to annotation queueOPIK_ANNOTATION_QUEUES_ADD_ITEMSAcciónAdd traces or threads to annotation queue
OPIK_ANNOTATION_QUEUES_ADD_ITEMSAcciónAdd traces or threads to annotation queue
Parámetros de entrada
idsstring[]ObligatorioIds value used to add items to annotation queue.
annotation_queue_idstringObligatoriouuidUUID of the annotation queue id used to add items to annotation queue.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create annotation queueOPIK_ANNOTATION_QUEUES_CREATE_ANNOTATION_QUEUEAcciónCreate annotation queue for human annotation workflows
OPIK_ANNOTATION_QUEUES_CREATE_ANNOTATION_QUEUEAcciónCreate annotation queue for human annotation workflows
Parámetros de entrada
idstringuuidId value used to create annotation queue.
namestringObligatorioName value used to create annotation queue.
scopestringObligatorioenumScope value used to create annotation queue.
tracethreadautomationobjectAutomation value used to create annotation queue.
project_idstringObligatoriouuidProject Id value used to create annotation queue.
descriptionstringDescription value used to create annotation queue.
instructionsstringInstructions value used to create annotation queue.
annotator_viewobjectAnnotator View value used to create annotation queue.
comments_enabledbooleanComments Enabled value used to create annotation queue.
annotators_per_itemintegerAnnotators Per Item value used to create annotation queue.
lock_timeout_secondsintegerLock Timeout Seconds value used to create annotation queue.
feedback_definition_namesstring[]Feedback Definition Names value used to create annotation queue.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create annotation queue batchOPIK_ANNOTATION_QUEUES_CREATE_ANNOTATION_QUEUE_BATCHAcciónCreate multiple annotation queues for human annotation workflows
OPIK_ANNOTATION_QUEUES_CREATE_ANNOTATION_QUEUE_BATCHAcciónCreate multiple annotation queues for human annotation workflows
Parámetros de entrada
annotation_queuesobject[]ObligatorioList of annotation queues to create
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Find annotation queuesOPIK_ANNOTATION_QUEUES_FIND_ANNOTATION_QUEUESAcciónFind annotation queues with filtering and sorting
OPIK_ANNOTATION_QUEUES_FIND_ANNOTATION_QUEUESAcciónFind annotation queues with filtering and sorting
Parámetros de entrada
namestringFilter annotation queues by name (partial match, case insensitive)
sizeintegerMaximum number of results to return on one page.
cursorstringOpaque continuation cursor returned as next_cursor by a previous call. Omit for the first page and pass returned values back verbatim.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get all active locks for an annotation queueOPIK_ANNOTATION_QUEUES_GET_ANNOTATION_QUEUE_LOCKSAcciónReturns lock status for all actively locked items in the queue
OPIK_ANNOTATION_QUEUES_GET_ANNOTATION_QUEUE_LOCKSAcciónReturns lock status for all actively locked items in the queue
Parámetros de entrada
queue_idstringObligatoriouuidUUID of the queue id used to get all active locks for an annotation queue.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get annotation queue by idOPIK_ANNOTATION_QUEUES_GET_BY_IDAcciónGet annotation queue by id
OPIK_ANNOTATION_QUEUES_GET_BY_IDAcciónGet annotation queue by id
Parámetros de entrada
annotation_queue_idstringObligatoriouuidUUID of the annotation queue id used to get annotation queue by id.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create or extend annotation queue item lockOPIK_ANNOTATION_QUEUES_LOCK_ANNOTATION_QUEUE_ITEMAcciónClaim an annotation queue item for the current user, or extend an existing lock
OPIK_ANNOTATION_QUEUES_LOCK_ANNOTATION_QUEUE_ITEMAcciónClaim an annotation queue item for the current user, or extend an existing lock
Parámetros de entrada
item_idstringObligatoriouuidUUID of the item id used to create or extend annotation queue item lock.
queue_idstringObligatoriouuidUUID of the queue id used to create or extend annotation queue item lock.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Search annotation queue itemsOPIK_ANNOTATION_QUEUES_SEARCH_ANNOTATION_QUEUE_ITEMSAcciónReturns queue membership metadata — how each item got into the queue — for the given item ids. A lookup rather than a listing: the caller renders the items table from the traces or threads API with its own sort and filters, so it asks for exactly the ids it is displaying. Ids that are not in the queue are omitted.
OPIK_ANNOTATION_QUEUES_SEARCH_ANNOTATION_QUEUE_ITEMSAcciónReturns queue membership metadata — how each item got into the queue — for the given item ids. A lookup rather than a listing: the caller renders the items table from the traces or threads API with its own sort and filters, so it asks for exactly the ids it is displaying. Ids that are not in the queue are omitted.
Parámetros de entrada
idsstring[]ObligatorioIds value used to search annotation queue items.
annotation_queue_idstringObligatoriouuidUUID of the annotation queue id used to search annotation queue items.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update annotation queueOPIK_ANNOTATION_QUEUES_UPDATE_ANNOTATION_QUEUEAcciónUpdate annotation queue by id
OPIK_ANNOTATION_QUEUES_UPDATE_ANNOTATION_QUEUEAcciónUpdate annotation queue by id
Parámetros de entrada
namestringName value used to update annotation queue.
automationobjectAutomation value used to update annotation queue.
descriptionstringDescription value used to update annotation queue.
instructionsstringInstructions value used to update annotation queue.
annotator_viewobjectAnnotator View value used to update annotation queue.
comments_enabledbooleanComments Enabled value used to update annotation queue.
annotation_queue_idstringObligatoriouuidUUID of the annotation queue id used to update annotation queue.
annotators_per_itemintegerAnnotators Per Item value used to update annotation queue.
lock_timeout_secondsintegerLock Timeout Seconds value used to update annotation queue.
feedback_definition_namesstring[]Feedback Definition Names value used to update annotation queue.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Batch ingestion of assertion resultsOPIK_ASSERTION_RESULTS_STORE_ASSERTIONS_BATCHAcciónBatch ingestion of assertion results for traces or spans
OPIK_ASSERTION_RESULTS_STORE_ASSERTIONS_BATCHAcciónBatch ingestion of assertion results for traces or spans
Parámetros de entrada
entity_typestringObligatorioenumEntity Type value used to batch ingestion of assertion results.
TRACESPANTHREADassertion_resultsobject[]ObligatorioAssertion Results value used to batch ingestion of assertion results.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Attachments list for entityOPIK_ATTACHMENTS_ATTACHMENT_LISTAcciónAttachments list for entity
OPIK_ATTACHMENTS_ATTACHMENT_LISTAcciónAttachments list for entity
Parámetros de entrada
pathstringObligatorioPath value used to narrow or configure attachments list for entity.
sizeintegerMaximum number of results to return on one page.
cursorstringOpaque continuation cursor returned as next_cursor by a previous call. Omit for the first page and pass returned values back verbatim.
entity_idstringObligatoriouuidEntity Id value used to narrow or configure attachments list for entity.
project_idstringObligatoriouuidProject Id value used to narrow or configure attachments list for entity.
entity_typestringObligatorioenumEntity Type value used to narrow or configure attachments list for entity.
tracespan
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create automation rule evaluatorOPIK_AUTOMATION_EVALUATORS_CREATEAcciónCreate automation rule evaluator
OPIK_AUTOMATION_EVALUATORS_CREATEAcciónCreate automation rule evaluator
Parámetros de entrada
codeanyObligatorioCode value used to create automation rule evaluator.
namestringObligatorioName value used to create automation rule evaluator.
typestringObligatorioenumType value used to create automation rule evaluator.
llm_as_judgeuser_defined_metric_pythontrace_thread_llm_as_judgetrace_thread_user_defined_metric_pythonspan_llm_as_judgespan_user_defined_metric_pythonactionstringObligatorioenumAction value used to create automation rule evaluator.
evaluatorannotation_queue_routerenabledbooleanEnabled value used to create automation rule evaluator.
filtersanyFilters value used to create automation rule evaluator.
project_idstringuuidPrimary project ID (legacy field for backwards compatibility)
project_idsstring[]Project IDs for write operations (used when creating/updating rules)
sampling_ratestringFraction of production (SDK-logged) items this rule scores, from 0 to 1. Trace rules ignore this value for experiment, playground and optimization traces and score them in full; span and thread rules only ever evaluate SDK-logged data.
trigger_scopestringenumControls whether the rule fires on production traces, experiment traces, or both. Defaults to 'production' if omitted.
productionexperimentboth
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get automation rule evaluator by idOPIK_AUTOMATION_EVALUATORS_GET_BY_IDAcciónGet automation rule by id
OPIK_AUTOMATION_EVALUATORS_GET_BY_IDAcciónGet automation rule by id
Parámetros de entrada
project_idstringuuidProject Id value used to narrow or configure get automation rule evaluator by id.
evaluator_idstringObligatoriouuidUUID of the evaluator id used to get automation rule evaluator by id.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get automation rule evaluator logs by idOPIK_AUTOMATION_EVALUATORS_GET_LOGSAcciónGet automation rule evaluator logs by id
OPIK_AUTOMATION_EVALUATORS_GET_LOGSAcciónGet automation rule evaluator logs by id
Parámetros de entrada
sizeintegerMaximum number of results to return on one page.
evaluator_idstringObligatoriouuidUUID of the evaluator id used to get automation rule evaluator logs by id.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update Automation Rule Evaluator by idOPIK_AUTOMATION_EVALUATORS_UPDATEAcciónUpdate Automation Rule Evaluator by id
OPIK_AUTOMATION_EVALUATORS_UPDATEAcciónUpdate Automation Rule Evaluator by id
Parámetros de entrada
codeanyObligatorioCode value used to update automation rule evaluator by id.
namestringObligatorioName value used to update automation rule evaluator by id.
typestringObligatorioenumType value used to update automation rule evaluator by id.
llm_as_judgeuser_defined_metric_pythontrace_thread_llm_as_judgetrace_thread_user_defined_metric_pythonspan_llm_as_judgespan_user_defined_metric_pythonactionstringObligatorioenumAction value used to update automation rule evaluator by id.
evaluatorannotation_queue_routerenabledbooleanEnabled value used to update automation rule evaluator by id.
filtersanyFilters value used to update automation rule evaluator by id.
project_idstringuuidPrimary project ID (legacy field, maintained for backwards compatibility)
project_idsstring[]Multiple project IDs (new field for multi-project support)
evaluator_idstringObligatoriouuidUUID of the evaluator id used to update automation rule evaluator by id.
sampling_ratestringFraction of production (SDK-logged) items this rule scores, from 0 to 1. Trace rules ignore this value for experiment, playground and optimization traces and score them in full; span and thread rules only ever evaluate SDK-logged data.
trigger_scopestringenumTrigger Scope value used to update automation rule evaluator by id.
productionexperimentboth
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Find project EvaluatorsOPIK_AUTOMATION_RULE_EVALUATORS_FIND_EVALUATORSAcciónFind project Evaluators
OPIK_AUTOMATION_RULE_EVALUATORS_FIND_EVALUATORSAcciónFind project Evaluators
Parámetros de entrada
idstringFilter automation rules with rule ID containing this value (partial match, like %id%)
namestringFilter automation rule evaluators by name (partial match, case insensitive)
sizeintegerMaximum number of results to return on one page.
cursorstringOpaque continuation cursor returned as next_cursor by a previous call. Omit for the first page and pass returned values back verbatim.
project_idstringuuidProject Id value used to narrow or configure find project evaluators.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create chat completionsOPIK_CHAT_COMPLETIONS_CREATE_CHAT_COMPLETIONSAcciónCreate chat completions
OPIK_CHAT_COMPLETIONS_CREATE_CHAT_COMPLETIONSAcciónCreate chat completions
Parámetros de entrada
seedintegerSeed value used to create chat completions.
stopstring[]Stop value used to create chat completions.
userstringUser value used to create chat completions.
modelstringModel value used to create chat completions.
storebooleanStore value used to create chat completions.
toolsobject[]Tools value used to create chat completions.
top_pnumberTop P value used to create chat completions.
logprobsbooleanLogprobs value used to create chat completions.
messagesobject[]Messages value used to create chat completions.
metadataobjectMetadata value used to create chat completions.
functionsobject[]Functions value used to create chat completions.
logit_biasobjectLogit Bias value used to create chat completions.
max_tokensintegerMax Tokens value used to create chat completions.
temperaturenumberTemperature value used to create chat completions.
tool_choiceobjectTool Choice value used to create chat completions.
service_tierstringService Tier value used to create chat completions.
top_logprobsintegerTop Logprobs value used to create chat completions.
function_callobjectFunction Call value used to create chat completions.
response_formatobjectResponse Format value used to create chat completions.
completion_countintegerNumber of completion choices to generate.
presence_penaltynumberPresence Penalty value used to create chat completions.
prompt_cache_keystringPrompt Cache Key value used to create chat completions.
reasoning_effortstringReasoning Effort value used to create chat completions.
frequency_penaltynumberFrequency Penalty value used to create chat completions.
parallel_tool_callsbooleanParallel Tool Calls value used to create chat completions.
prompt_cache_optionsobjectPrompt Cache Options value used to create chat completions.
max_completion_tokensintegerMax Completion Tokens value used to create chat completions.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Check user access to workspaceOPIK_CHECK_ACCESSAcciónCheck user access to workspace
OPIK_CHECK_ACCESSAcciónCheck user access to workspace
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
User's default workspace nameOPIK_CHECK_GET_WORKSPACE_NAMEAcciónUser's default workspace name
OPIK_CHECK_GET_WORKSPACE_NAMEAcciónUser's default workspace name
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create DatasetOPIK_CREATE_DATASETAcciónCreate a dataset or evaluation suite in the Default Project or a selected project. Supplying a project_name that does not exist also creates that project.
OPIK_CREATE_DATASETAcciónCreate a dataset or evaluation suite in the Default Project or a selected project. Supplying a project_name that does not exist also creates that project.
Parámetros de entrada
idstringuuidOptional UUID for the dataset; omit to let Opik assign one.
namestringObligatorioDataset name.
tagsstring[]Unique tags to attach to the dataset.
typestringenumDataset kind.
datasetevaluation_suiteproject_idstringuuidProject UUID. Takes precedence over project_name when both are provided.
visibilitystringenumDataset visibility.
privatepublicdescriptionstringOptional dataset description, up to 255 characters.
project_namestringProject name. Creates the project if absent, is ignored when project_id is provided, and uses the Default Project when both selectors are omitted.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create ExperimentOPIK_CREATE_EXPERIMENTAcciónCreate an experiment linked to a dataset and optionally to a project, dataset version, prompt versions, or optimization. Supplying a project_name that does not exist also creates that project.
OPIK_CREATE_EXPERIMENTAcciónCreate an experiment linked to a dataset and optionally to a project, dataset version, prompt versions, or optimization. Supplying a project_name that does not exist also creates that project.
Parámetros de entrada
idstringuuidOptional experiment UUID; omit to let Opik assign one.
namestringExperiment name.
tagsstring[]Unique experiment tags of at most 100 characters each.
typestringenumExperiment run type.
regulartrialmini-batchmutationstatusstringenumInitial experiment status.
runningcompletedcancelledfailedmetadataanyExperiment metadata as a JSON object, an array of JSON objects, or a string.
project_idstringuuidProject UUID. Takes precedence over project_name when both are provided.
dataset_nameanyObligatorioDataset name for the experiment; the provider requires this field but permits null.
project_namestringProject name. Creates the project if absent and is ignored when project_id is provided.
prompt_versionobjectPrompt version linked to the experiment.
optimization_idstringuuidOptimization UUID associated with the experiment.
prompt_versionsobject[]Prompt versions linked to the experiment.
evaluation_methodstringenumEvaluation method.
datasetevaluation_suiteexperiment_scoresobject[]Experiment-level scores.
dataset_version_idstringuuidDataset version UUID. When omitted, Opik links the experiment to the latest dataset version.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Feedback DefinitionOPIK_CREATE_FEEDBACK_DEFINITIONAcciónCreate a numerical, categorical, or boolean feedback definition with type-specific details.
OPIK_CREATE_FEEDBACK_DEFINITIONAcciónCreate a numerical, categorical, or boolean feedback definition with type-specific details.
Parámetros de entrada
idstringuuidOptional feedback definition UUID; omit to let Opik assign one.
namestringObligatorioFeedback definition name.
typestringObligatorioenumDefinition discriminator; it must match the supplied details variant.
numericalcategoricalbooleandetailsanyObligatorioType-specific settings: numerical requires min and max, categorical requires categories, and boolean requires trueLabel and falseLabel.
descriptionstringOptional feedback definition description, up to 255 characters.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create ProjectOPIK_CREATE_PROJECTAcciónCreate a project in the connected Opik workspace.
OPIK_CREATE_PROJECTAcciónCreate a project in the connected Opik workspace.
Parámetros de entrada
namestringObligatorioProject name, up to 150 characters.
visibilitystringenumProject visibility.
privatepublicdescriptionstringOptional project description, up to 255 characters.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create PromptOPIK_CREATE_PROMPTAcciónCreate a prompt in the Default Project or a selected project, optionally with its initial template and metadata. Supplying a project_name that does not exist also creates that project.
OPIK_CREATE_PROMPTAcciónCreate a prompt in the Default Project or a selected project, optionally with its initial template and metadata. Supplying a project_name that does not exist also creates that project.
Parámetros de entrada
idstringuuidOptional prompt UUID; omit to let Opik assign one.
namestringObligatorioPrompt name.
tagsstring[]Unique tags to attach to the prompt.
typestringenumTemplate language.
mustachejinja2pythonmetadataobjectStructured JSON metadata for the initial prompt version.
templatestringInitial prompt template.
project_idstringuuidProject UUID. Takes precedence over project_name when both are provided.
descriptionstringOptional prompt description, up to 255 characters.
project_namestringProject name. Creates the project if absent, is ignored when project_id is provided, and uses the Default Project when both selectors are omitted.
change_descriptionstringDescription of the initial prompt version's change.
template_structurestringenumTemplate structure, which is immutable after prompt creation.
textchat
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Prompt VersionOPIK_CREATE_PROMPT_VERSIONAcciónCreate an immutable version for a named prompt, creating the prompt when it does not already exist.
OPIK_CREATE_PROMPT_VERSIONAcciónCreate an immutable version for a named prompt, creating the prompt when it does not already exist.
Parámetros de entrada
namestringObligatorioPrompt name whose version should be created.
versionobjectObligatorioImmutable prompt version to create.
project_idstringuuidProject UUID. Takes precedence over project_name when both are provided.
project_namestringProject name used to scope the prompt when project_id is omitted.
template_structurestringenumTemplate structure used only when this call creates the prompt; ignored when the prompt already exists.
textchat
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create SpansOPIK_CREATE_SPANSAcciónCreate one or more Opik spans in a single batch.
OPIK_CREATE_SPANSAcciónCreate one or more Opik spans in a single batch.
Parámetros de entrada
spansobject[]ObligatorioSpan records to create in one batch.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create TracesOPIK_CREATE_TRACESAcciónCreate one or more Opik traces in a single batch.
OPIK_CREATE_TRACESAcciónCreate one or more Opik traces in a single batch.
Parámetros de entrada
tracesobject[]ObligatorioTrace records to create in one batch.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create dashboardOPIK_DASHBOARDS_CREATE_DASHBOARDAcciónCreate a new dashboard in a workspace
OPIK_DASHBOARDS_CREATE_DASHBOARDAcciónCreate a new dashboard in a workspace
Parámetros de entrada
namestringObligatorioName value used to create dashboard.
typestringenumType value used to create dashboard.
multi_projectexperimentsconfigobjectObligatorioConfig value used to create dashboard.
project_idstringuuidProject ID. Takes precedence over project_name when both are provided.
descriptionstringDescription value used to create dashboard.
project_namestringProject name for project-scoped dashboards. When project_id is omitted, Opik creates the project if needed; omit both selectors for workspace scope.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Find dashboardsOPIK_DASHBOARDS_FIND_DASHBOARDSAcciónFind dashboards in a workspace
OPIK_DASHBOARDS_FIND_DASHBOARDSAcciónFind dashboards in a workspace
Parámetros de entrada
namestringFilter dashboards by name (partial match, case insensitive)
sizeintegerMaximum number of results to return on one page.
cursorstringOpaque continuation cursor returned as next_cursor by a previous call. Omit for the first page and pass returned values back verbatim.
project_idstringuuidProject Id value used to narrow or configure find dashboards.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get dashboard by idOPIK_DASHBOARDS_GET_DASHBOARD_BY_IDAcciónGet dashboard by id
OPIK_DASHBOARDS_GET_DASHBOARD_BY_IDAcciónGet dashboard by id
Parámetros de entrada
dashboard_idstringObligatoriouuidUUID of the dashboard id used to get dashboard by id.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Run a saved widget queryOPIK_DASHBOARDS_RUN_DASHBOARD_WIDGET_QUERYAcciónRuns the query saved on an Ollie chart widget of this dashboard over the given date range and returns its rows. The query is read from the saved widget; the request carries no SQL. Returns 501 when Ollie or Custom Charts is not enabled for the workspace.
OPIK_DASHBOARDS_RUN_DASHBOARD_WIDGET_QUERYAcciónRuns the query saved on an Ollie chart widget of this dashboard over the given date range and returns its rows. The query is read from the saved widget; the request carries no SQL. Returns 501 when Ollie or Custom Charts is not enabled for the workspace.
Parámetros de entrada
widget_idstringObligatorioUUID of the widget id used to run a saved widget query.
dashboard_idstringObligatoriouuidUUID of the dashboard id used to run a saved widget query.
interval_endstringdate-timeEnd of the date range, bound to {{window_end}} in the dashboard saved query. Omit for now.
interval_startstringdate-timeStart of the date range, bound to {{window_start}} in the dashboard saved query. Omit for all time.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update dashboardOPIK_DASHBOARDS_UPDATE_DASHBOARDAcciónUpdate dashboard by id. Partial updates are supported - only provided fields will be updated.
OPIK_DASHBOARDS_UPDATE_DASHBOARDAcciónUpdate dashboard by id. Partial updates are supported - only provided fields will be updated.
Parámetros de entrada
namestringName value used to update dashboard.
typestringenumType value used to update dashboard.
multi_projectexperimentsconfigobjectConfig value used to update dashboard.
descriptionstringDescription value used to update dashboard.
dashboard_idstringObligatoriouuidUUID of the dashboard id used to update dashboard.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Batch update dataset itemsOPIK_DATASETS_BATCH_UPDATE_DATASET_ITEMSAcciónUpdate multiple dataset items
OPIK_DATASETS_BATCH_UPDATE_DATASET_ITEMSAcciónUpdate multiple dataset items
Parámetros de entrada
idsstring[]List of dataset item IDs to update (max 1000). Mutually exclusive with 'filters'.
updateobjectObligatorioDataset item update request
filtersobject[]Filters value used to batch update dataset items.
dataset_idstringuuidDataset ID. Required when using 'filters', optional when using 'ids'.
merge_tagsbooleanIf true, merge tags with existing tags instead of replacing them. Default: false. When using 'filters', this is automatically set to true.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Compare latest version with draftOPIK_DATASETS_COMPARE_DATASET_VERSIONSAcciónCompare the latest committed dataset version with the current draft state. This endpoint provides insights into changes made since the last version was committed. The comparison calculates additions, modifications, deletions, and unchanged items between the latest version snapshot and current draft.
OPIK_DATASETS_COMPARE_DATASET_VERSIONSAcciónCompare the latest committed dataset version with the current draft state. This endpoint provides insights into changes made since the last version was committed. The comparison calculates additions, modifications, deletions, and unchanged items between the latest version snapshot and current draft.
Parámetros de entrada
dataset_idstringObligatoriouuidUUID of the dataset id used to compare latest version with draft.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create dataset items from spansOPIK_DATASETS_CREATE_DATASET_ITEMS_FROM_SPANSAcciónCreate dataset items from spans with enriched metadata
OPIK_DATASETS_CREATE_DATASET_ITEMS_FROM_SPANSAcciónCreate dataset items from spans with enriched metadata
Parámetros de entrada
span_idsstring[]ObligatorioSet of span IDs to add to the dataset
dataset_idstringObligatoriouuidUUID of the dataset id used to create dataset items from spans.
evaluatorsobject[]Optional evaluators to apply to the created items
field_mappingsobjectOptional mapping of dataset item field name to a path into the span, e.g. 'input.input_text'. Takes precedence over the fields produced by enrichment_options. Ignored for test suite datasets.
execution_policyobjectExecution Policy value used to create dataset items from spans.
enrichment_optionsobjectObligatorioOptions for enriching span data
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create dataset items from tracesOPIK_DATASETS_CREATE_DATASET_ITEMS_FROM_TRACESAcciónCreate dataset items from traces with enriched metadata
OPIK_DATASETS_CREATE_DATASET_ITEMS_FROM_TRACESAcciónCreate dataset items from traces with enriched metadata
Parámetros de entrada
trace_idsstring[]ObligatorioSet of trace IDs to add to the dataset
dataset_idstringObligatoriouuidUUID of the dataset id used to create dataset items from traces.
evaluatorsobject[]Optional evaluators to apply to the created items
field_mappingsobjectOptional mapping of dataset item field name to a path into the trace, e.g. 'input.input_text'. Takes precedence over the fields produced by enrichment_options. Ignored for test suite datasets.
execution_policyobjectExecution Policy value used to create dataset items from traces.
enrichment_optionsobjectObligatorioOptions for enriching trace data
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create version tagOPIK_DATASETS_CREATE_VERSION_TAGAcciónAdd a tag to a specific dataset version for easy reference (e.g., 'baseline', 'v1.0', 'production')
OPIK_DATASETS_CREATE_VERSION_TAGAcciónAdd a tag to a specific dataset version for easy reference (e.g., 'baseline', 'v1.0', 'production')
Parámetros de entrada
tagstringObligatorioTag value used to create version tag.
dataset_idstringObligatoriouuidUUID of the dataset id used to create version tag.
version_hashstringObligatorioidentifier of the version hash used to create version tag.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Expand dataset with synthetic samplesOPIK_DATASETS_EXPAND_DATASETAcciónGenerate synthetic dataset samples using LLM based on existing data patterns
OPIK_DATASETS_EXPAND_DATASETAcciónGenerate synthetic dataset samples using LLM based on existing data patterns
Parámetros de entrada
modelstringObligatorioThe model to use for synthetic data generation
dataset_idstringObligatoriouuidUUID of the dataset id used to expand dataset with synthetic samples.
sample_countintegerNumber of synthetic samples to generate
custom_promptstringCustom prompt to use for generation instead of auto-generated one
preserve_fieldsstring[]Fields to preserve patterns from original data
max_completion_tokensintegerMaximum number of tokens for the LLM response. Required by Anthropic, used as maxOutputTokens for Gemini. If not provided, defaults to 4000 for Anthropic models only.
variation_instructionsstringAdditional instructions for data variation
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get dataset by idOPIK_DATASETS_GET_DATASET_BY_IDAcciónGet dataset by id
OPIK_DATASETS_GET_DATASET_BY_IDAcciónGet dataset by id
Parámetros de entrada
dataset_idstringObligatoriouuidUUID of the dataset id used to get dataset by id.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get dataset by nameOPIK_DATASETS_GET_DATASET_BY_IDENTIFIERAcciónGet dataset by name
OPIK_DATASETS_GET_DATASET_BY_IDENTIFIERAcciónGet dataset by name
Parámetros de entrada
dataset_namestringObligatorioDataset Name value used to get dataset by name.
project_namestringProject Name value used to get dataset by name.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get experiment items stats for datasetOPIK_DATASETS_GET_DATASET_EXPERIMENT_ITEMS_STATSAcciónGet experiment items stats for dataset
OPIK_DATASETS_GET_DATASET_EXPERIMENT_ITEMS_STATSAcciónGet experiment items stats for dataset
Parámetros de entrada
dataset_idstringObligatoriouuidUUID of the dataset id used to get experiment items stats for dataset.
experiment_idsstringObligatorioExperiment Ids value used to narrow or configure get experiment items stats for dataset.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get dataset export job statusOPIK_DATASETS_GET_DATASET_EXPORT_JOBAcciónRetrieves the current status of a dataset export job
OPIK_DATASETS_GET_DATASET_EXPORT_JOBAcciónRetrieves the current status of a dataset export job
Parámetros de entrada
job_idstringObligatoriouuidUUID of the job id used to get dataset export job status.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get dataset item by idOPIK_DATASETS_GET_DATASET_ITEM_BY_IDAcciónGet dataset item by id
OPIK_DATASETS_GET_DATASET_ITEM_BY_IDAcciónGet dataset item by id
Parámetros de entrada
item_idstringObligatoriouuidUUID of the item id used to get dataset item by id.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get dataset items output columnsOPIK_DATASETS_GET_DATASET_ITEMS_OUTPUT_COLUMNSAcciónGet dataset items output columns
OPIK_DATASETS_GET_DATASET_ITEMS_OUTPUT_COLUMNSAcciónGet dataset items output columns
Parámetros de entrada
dataset_idstringObligatoriouuidUUID of the dataset id used to get dataset items output columns.
experiment_idsstringExperiment Ids value used to narrow or configure get dataset items output columns.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get dataset version by hashOPIK_DATASETS_GET_DATASET_VERSION_BY_HASHAcciónGet a specific version by its version hash
OPIK_DATASETS_GET_DATASET_VERSION_BY_HASHAcciónGet a specific version by its version hash
Parámetros de entrada
dataset_idstringObligatoriouuidUUID of the dataset id used to get dataset version by hash.
version_hashstringObligatorioidentifier of the version hash used to get dataset version by hash.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List dataset versionsOPIK_DATASETS_LIST_DATASET_VERSIONSAcciónGet paginated list of versions for a dataset, ordered by creation time (newest first)
OPIK_DATASETS_LIST_DATASET_VERSIONSAcciónGet paginated list of versions for a dataset, ordered by creation time (newest first)
Parámetros de entrada
sizeintegerMaximum number of results to return on one page.
cursorstringOpaque continuation cursor returned as next_cursor by a previous call. Omit for the first page and pass returned values back verbatim.
dataset_idstringObligatoriouuidUUID of the dataset id used to list dataset versions.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Find dataset items with experiment itemsOPIK_DATASETS_LIST_ITEMS_WITH_EXPERIMENT_RESULTSAcciónFind dataset items with experiment items
OPIK_DATASETS_LIST_ITEMS_WITH_EXPERIMENT_RESULTSAcciónFind dataset items with experiment items
Parámetros de entrada
sizeintegerPage size. At most 100 when experiment_ids is omitted, since each item then carries a result per experiment
cursorstringOpaque continuation cursor returned as next_cursor by a previous call. Omit for the first page and pass returned values back verbatim.
searchstringSearch text used to narrow the resources returned by find dataset items with experiment items.
truncatebooleanWhether to truncate image content in dataset item inputs, outputs, and metadata.
dataset_idstringObligatoriouuidUUID of the dataset id used to find dataset items with experiment items.
experiment_idsstringJSON array of experiment IDs. Omit to include every regular experiment on the dataset (optimizer trial, mini-batch and mutation experiments are excluded); item filters are then evaluated against the newest version of each item that those experiments reference
dataset_versionsstringJSON array of dataset version hashes or tags. Results include experiments run against a selected version; omit for all versions.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Partially update dataset item by idOPIK_DATASETS_PATCH_DATASET_ITEMAcciónPartially update dataset item by id. Only provided fields will be updated.
OPIK_DATASETS_PATCH_DATASET_ITEMAcciónPartially update dataset item by id. Only provided fields will be updated.
Parámetros de entrada
idstringuuidStable item identifier. On write, used as the upsert key. If omitted, a new ID is generated. Remains the same across dataset versions
dataobjectObligatorioData value used to partially update dataset item by id.
tagsstring[]Tags value used to partially update dataset item by id.
sourcestringObligatorioenumSource value used to partially update dataset item by id.
manualtracespansdkitem_idstringObligatoriouuidUUID of the item id used to partially update dataset item by id.
span_idstringuuidSpan Id value used to partially update dataset item by id.
trace_idstringuuidTrace Id value used to partially update dataset item by id.
evaluatorsobject[]Evaluators value used to partially update dataset item by id.
descriptionstringDescription value used to partially update dataset item by id.
execution_policyobjectExecution Policy value used to partially update dataset item by id.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Restore dataset to a previous versionOPIK_DATASETS_RESTORE_DATASET_VERSIONAcciónRestores the dataset to a previous version state by creating a new version with items copied from the specified version. If the version is already the latest, returns it as-is (no-op).
OPIK_DATASETS_RESTORE_DATASET_VERSIONAcciónRestores the dataset to a previous version state by creating a new version with items copied from the specified version. If the version is already the latest, returns it as-is (no-op).
Parámetros de entrada
dataset_idstringObligatoriouuidUUID of the dataset id used to restore dataset to a previous version.
version_refstringObligatorioVersion hash or tag to restore from
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve dataset version by nameOPIK_DATASETS_RETRIEVE_DATASET_VERSIONAcciónGet a specific version by its version name (e.g., 'v1', 'v373'). This is more efficient than paginating through all versions for large datasets.
OPIK_DATASETS_RETRIEVE_DATASET_VERSIONAcciónGet a specific version by its version name (e.g., 'v1', 'v373'). This is more efficient than paginating through all versions for large datasets.
Parámetros de entrada
dataset_idstringObligatoriouuidUUID of the dataset id used to retrieve dataset version by name.
version_namestringObligatorioVersion name in format 'vN' (e.g., 'v1', 'v373')
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Start dataset CSV exportOPIK_DATASETS_START_DATASET_EXPORTAcciónInitiates an asynchronous CSV export job for the dataset. Returns immediately with job details for polling.
OPIK_DATASETS_START_DATASET_EXPORTAcciónInitiates an asynchronous CSV export job for the dataset. Returns immediately with job details for polling.
Parámetros de entrada
dataset_idstringObligatoriouuidUUID of the dataset id used to start dataset csv export.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update dataset by idOPIK_DATASETS_UPDATE_DATASETAcciónUpdate dataset by id
OPIK_DATASETS_UPDATE_DATASETAcciónUpdate dataset by id
Parámetros de entrada
namestringObligatorioName value used to update dataset by id.
tagsstring[]Tags value used to update dataset by id.
dataset_idstringObligatoriouuidUUID of the dataset id used to update dataset by id.
visibilitystringenumVisibility value used to update dataset by id.
privatepublicdescriptionstringDescription value used to update dataset by id.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update dataset versionOPIK_DATASETS_UPDATE_DATASET_VERSIONAcciónUpdate a dataset version's change_description and/or add new tags
OPIK_DATASETS_UPDATE_DATASET_VERSIONAcciónUpdate a dataset version's change_description and/or add new tags
Parámetros de entrada
dataset_idstringObligatoriouuidUUID of the dataset id used to update dataset version.
tags_to_addstring[]Optional list of tags to add to this version
version_hashstringObligatorioidentifier of the version hash used to update dataset version.
change_descriptionstringOptional description of changes in this version
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create environmentOPIK_ENVIRONMENTS_CREATE_ENVIRONMENTAcciónCreate environment
OPIK_ENVIRONMENTS_CREATE_ENVIRONMENTAcciónCreate environment
Parámetros de entrada
idstringuuidId value used to create environment.
namestringObligatorioName value used to create environment.
colorstringColor value used to create environment.
positionintegerPosition value used to create environment.
descriptionstringDescription value used to create environment.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Find environmentsOPIK_ENVIRONMENTS_FIND_ENVIRONMENTSAcciónFind environments for the workspace. Capped at the workspace limit (default 100).
OPIK_ENVIRONMENTS_FIND_ENVIRONMENTSAcciónFind environments for the workspace. Capped at the workspace limit (default 100).
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get environment by idOPIK_ENVIRONMENTS_GET_ENVIRONMENT_BY_IDAcciónGet environment by id
OPIK_ENVIRONMENTS_GET_ENVIRONMENT_BY_IDAcciónGet environment by id
Parámetros de entrada
environment_idstringObligatoriouuidUUID of the environment id used to get environment by id.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update environment by idOPIK_ENVIRONMENTS_UPDATE_ENVIRONMENTAcciónUpdate environment by id
OPIK_ENVIRONMENTS_UPDATE_ENVIRONMENTAcciónUpdate environment by id
Parámetros de entrada
namestringName value used to update environment by id.
colorstringColor value used to update environment by id.
positionintegerPosition value used to update environment by id.
descriptionstringDescription value used to update environment by id.
environment_idstringObligatoriouuidUUID of the environment id used to update environment by id.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Batch update experimentsOPIK_EXPERIMENTS_BATCH_UPDATE_EXPERIMENTSAcciónUpdate multiple experiments
OPIK_EXPERIMENTS_BATCH_UPDATE_EXPERIMENTSAcciónUpdate multiple experiments
Parámetros de entrada
idsstring[]ObligatorioList of experiment IDs to update (max 1000)
updateobjectObligatorioUpdate value used to batch update experiments.
merge_tagsbooleanIf true, merge tags with existing tags instead of replacing them. Default: false
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create experiment itemsOPIK_EXPERIMENTS_CREATE_EXPERIMENT_ITEMSAcciónCreate experiment items
OPIK_EXPERIMENTS_CREATE_EXPERIMENT_ITEMSAcciónCreate experiment items
Parámetros de entrada
experiment_itemsobject[]ObligatorioExperiment Items value used to create experiment items.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create and execute experimentOPIK_EXPERIMENTS_EXECUTE_EXPERIMENTAcciónCreates experiments for each prompt variant and asynchronously processes all dataset items
OPIK_EXPERIMENTS_EXECUTE_EXPERIMENTAcciónCreates experiments for each prompt variant and asynchronously processes all dataset items
Parámetros de entrada
promptsobject[]ObligatorioPrompts value used to create and execute experiment.
dataset_idstringObligatoriouuidDataset Id value used to create and execute experiment.
project_idstringuuidProject Id value used to create and execute experiment.
dataset_namestringObligatorioDataset Name value used to create and execute experiment.
project_namestringProject Name value used to create and execute experiment.
version_hashstringVersion Hash value used to create and execute experiment.
prompt_versionsobject[]Prompt Versions value used to create and execute experiment.
selected_rule_idsstring[]Selected Rule Ids value used to create and execute experiment.
dataset_version_idstringuuidDataset Version Id value used to create and execute experiment.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Record experiment items in bulkOPIK_EXPERIMENTS_EXPERIMENT_ITEMS_BULKAcciónRecord experiment items in bulk with traces, spans, and feedback scores. Maximum request size is 4MB.
OPIK_EXPERIMENTS_EXPERIMENT_ITEMS_BULKAcciónRecord experiment items in bulk with traces, spans, and feedback scores. Maximum request size is 4MB.
Parámetros de entrada
itemsobject[]ObligatorioItems value used to record experiment items in bulk.
dataset_namestringObligatorioDataset Name value used to record experiment items in bulk.
project_namestringProject for traces auto-created from items that provide evaluate_task_result (i.e. without an explicit trace). If null, the default project is used; relying on this fallback is deprecated, please provide project_name explicitly.
experiment_idstringuuidOptional experiment ID. If provided, items will be added to the existing experiment and experimentName will be ignored. If not provided or experiment with that ID doesn't exist, a new experiment will be created with the given experimentName
experiment_namestringObligatorioExperiment Name value used to record experiment items in bulk.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Find experiment groupsOPIK_EXPERIMENTS_FIND_EXPERIMENT_GROUPSAcciónFind experiments grouped by specified fields
OPIK_EXPERIMENTS_FIND_EXPERIMENT_GROUPSAcciónFind experiments grouped by specified fields
Parámetros de entrada
namestringFilter experiments by name (partial match, case insensitive)
typesstringTypes value used to narrow or configure find experiment groups.
groupsstringGroups value used to narrow or configure find experiment groups.
project_idstringuuidProject Id value used to narrow or configure find experiment groups.
project_deletedbooleanProject Deleted value used to narrow or configure find experiment groups.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Find experiment groups with aggregationsOPIK_EXPERIMENTS_FIND_EXPERIMENT_GROUPS_AGGREGATIONSAcciónFind experiments grouped by specified fields with aggregation metrics
OPIK_EXPERIMENTS_FIND_EXPERIMENT_GROUPS_AGGREGATIONSAcciónFind experiments grouped by specified fields with aggregation metrics
Parámetros de entrada
namestringFilter experiments by name (partial match, case insensitive)
typesstringTypes value used to narrow or configure find experiment groups with aggregations.
groupsstringGroups value used to narrow or configure find experiment groups with aggregations.
project_idstringuuidProject Id value used to narrow or configure find experiment groups with aggregations.
project_deletedbooleanFilter experiments by deleted projects
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Find Feedback Score namesOPIK_EXPERIMENTS_FIND_FEEDBACK_SCORE_NAMESAcciónFind Feedback Score names
OPIK_EXPERIMENTS_FIND_FEEDBACK_SCORE_NAMESAcciónFind Feedback Score names
Parámetros de entrada
project_idstringuuidProject Id value used to narrow or configure find feedback score names.
experiment_idsstringExperiment Ids value used to narrow or configure find feedback score names.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get experiment by idOPIK_EXPERIMENTS_GET_EXPERIMENT_BY_IDAcciónGet experiment by id
OPIK_EXPERIMENTS_GET_EXPERIMENT_BY_IDAcciónGet experiment by id
Parámetros de entrada
experiment_idstringObligatoriouuidUUID of the experiment id used to get experiment by id.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get experiment item by idOPIK_EXPERIMENTS_GET_EXPERIMENT_ITEM_BY_IDAcciónGet experiment item by id
OPIK_EXPERIMENTS_GET_EXPERIMENT_ITEM_BY_IDAcciónGet experiment item by id
Parámetros de entrada
experiment_item_idstringObligatoriouuidUUID of the experiment item id used to get experiment item by id.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update experiment by idOPIK_EXPERIMENTS_UPDATE_EXPERIMENTAcciónUpdate experiment by id
OPIK_EXPERIMENTS_UPDATE_EXPERIMENTAcciónUpdate experiment by id
Parámetros de entrada
namestringName value used to update experiment by id.
tagsstring[]Tags
typestringenumType value used to update experiment by id.
regulartrialmini-batchmutationstatusstringenumThe status of the experiment
runningcompletedcancelledfailedmetadataobjectMetadata value used to update experiment by id.
tags_to_addstring[]Tags to add
experiment_idstringObligatoriouuidUUID of the experiment id used to update experiment by id.
tags_to_removestring[]Tags to remove
experiment_scoresobject[]Experiment Scores value used to update experiment by id.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Export Dataset and WaitOPIK_EXPORT_DATASET_AND_WAITAcciónStart an asynchronous CSV export of an Opik dataset and poll the strictly correlated job until it completes or fails. Returns completed job metadata, including the provider-side file path, without downloading the binary.
OPIK_EXPORT_DATASET_AND_WAITAcciónStart an asynchronous CSV export of an Opik dataset and poll the strictly correlated job until it completes or fails. Returns completed job metadata, including the provider-side file path, without downloading the binary.
Parámetros de entrada
dataset_idstringObligatoriouuidUUID of the dataset to export as CSV.
poll_timeout_secondsnumberPolling deadline for the export, from 10 to 240 seconds, checked between provider requests. A provider request and its retries may finish after it.
poll_interval_secondsnumberSeconds between export status checks, from 2 to 30 seconds.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get feedback definition by idOPIK_FEEDBACK_DEFINITIONS_GET_BY_IDAcciónGet feedback definition by id
OPIK_FEEDBACK_DEFINITIONS_GET_BY_IDAcciónGet feedback definition by id
Parámetros de entrada
feedback_definition_idstringObligatoriouuidUUID of the feedback definition id used to get feedback definition by id.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update feedback definition by idOPIK_FEEDBACK_DEFINITIONS_UPDATE_FEEDBACK_DEFINITIONAcciónUpdate feedback definition by id
OPIK_FEEDBACK_DEFINITIONS_UPDATE_FEEDBACK_DEFINITIONAcciónUpdate feedback definition by id
Parámetros de entrada
idstringuuidId value used to update feedback definition by id.
namestringObligatorioName value used to update feedback definition by id.
typestringObligatorioenumType value used to update feedback definition by id.
numericalcategoricalbooleandetailsanyObligatorioDetails value used to update feedback definition by id.
descriptionstringOptional description for the feedback definition
feedback_definition_idstringObligatoriouuidUUID of the feedback definition id used to update feedback definition by id.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Generate Report and WaitOPIK_GENERATE_REPORT_AND_WAITAcciónTrigger report generation for an Opik project and wait for that exact report to complete.
OPIK_GENERATE_REPORT_AND_WAITAcciónTrigger report generation for an Opik project and wait for that exact report to complete.
Parámetros de entrada
project_idstringObligatoriouuidOpik project UUID for which to generate the report.
poll_timeout_secondsnumberPolling deadline for report completion, from 10 to 240 seconds, checked between polling cycles. A provider request and its retries may finish after it.
poll_interval_secondsnumberDelay between report status checks, from 2 to 30 seconds.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get ProjectOPIK_GET_PROJECT_BY_IDAcciónReturn one project by its Opik project ID.
OPIK_GET_PROJECT_BY_IDAcciónReturn one project by its Opik project ID.
Parámetros de entrada
project_idstringObligatoriouuidOpik project UUID to retrieve.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve projectOPIK_GET_PROJECT_BY_NAMEAcciónReturn one project by its exact name, optionally including project statistics.
OPIK_GET_PROJECT_BY_NAMEAcciónReturn one project by its exact name, optionally including project statistics.
Parámetros de entrada
namestringObligatorioName value used to retrieve project.
include_statsbooleanInclude Stats value used to retrieve project.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create insights viewOPIK_INSIGHTS_VIEWS_CREATE_INSIGHTS_VIEWAcciónCreate a new insights view in a workspace
OPIK_INSIGHTS_VIEWS_CREATE_INSIGHTS_VIEWAcciónCreate a new insights view in a workspace
Parámetros de entrada
namestringObligatorioName value used to create insights view.
typestringenumType value used to create insights view.
multi_projectexperimentsconfigobjectObligatorioConfig value used to create insights view.
project_idstringuuidProject ID. Takes precedence over project_name when both are provided.
descriptionstringDescription value used to create insights view.
project_namestringProject name for the insights view. When project_id is omitted, Opik creates the project if needed.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Find insights viewsOPIK_INSIGHTS_VIEWS_FIND_INSIGHTS_VIEWSAcciónFind insights views in a workspace
OPIK_INSIGHTS_VIEWS_FIND_INSIGHTS_VIEWSAcciónFind insights views in a workspace
Parámetros de entrada
namestringFilter insights views by name (partial match, case insensitive)
sizeintegerMaximum number of results to return on one page.
cursorstringOpaque continuation cursor returned as next_cursor by a previous call. Omit for the first page and pass returned values back verbatim.
project_idstringuuidProject Id value used to narrow or configure find insights views.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get insights view by idOPIK_INSIGHTS_VIEWS_GET_BY_IDAcciónGet insights view by id
OPIK_INSIGHTS_VIEWS_GET_BY_IDAcciónGet insights view by id
Parámetros de entrada
insights_view_idstringObligatoriouuidUUID of the insights view id used to get insights view by id.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Run a saved widget queryOPIK_INSIGHTS_VIEWS_RUN_WIDGET_QUERYAcciónRuns the query saved on an Ollie chart widget of this insights view over the given date range and returns its rows. The query is read from the saved widget; the request carries no SQL. Returns 501 when Ollie or Custom Charts is not enabled for the workspace.
OPIK_INSIGHTS_VIEWS_RUN_WIDGET_QUERYAcciónRuns the query saved on an Ollie chart widget of this insights view over the given date range and returns its rows. The query is read from the saved widget; the request carries no SQL. Returns 501 when Ollie or Custom Charts is not enabled for the workspace.
Parámetros de entrada
widget_idstringObligatorioUUID of the widget id used to run a saved widget query.
interval_endstringdate-timeEnd of the date range, bound to {{window_end}} in the dashboard saved query. Omit for now.
interval_startstringdate-timeStart of the date range, bound to {{window_start}} in the dashboard saved query. Omit for all time.
insights_view_idstringObligatoriouuidUUID of the insights view id used to run a saved widget query.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update insights viewOPIK_INSIGHTS_VIEWS_UPDATE_INSIGHTS_VIEWAcciónUpdate insights view by id. Partial updates are supported - only provided fields will be updated.
OPIK_INSIGHTS_VIEWS_UPDATE_INSIGHTS_VIEWAcciónUpdate insights view by id. Partial updates are supported - only provided fields will be updated.
Parámetros de entrada
namestringName value used to update insights view.
typestringenumType value used to update insights view.
multi_projectexperimentsconfigobjectConfig value used to update insights view.
descriptionstringDescription value used to update insights view.
insights_view_idstringObligatoriouuidUUID of the insights view id used to update insights view.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get all dataset export jobsOPIK_LIST_DATASET_EXPORT_JOBSAcciónRetrieves all export jobs for the workspace. This is used to restore the export panel state after page refresh.
OPIK_LIST_DATASET_EXPORT_JOBSAcciónRetrieves all export jobs for the workspace. This is used to restore the export panel state after page refresh.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Dataset ItemsOPIK_LIST_DATASET_ITEMSAcciónReturn one page of items from a dataset, optionally at a version hash or tag.
OPIK_LIST_DATASET_ITEMSAcciónReturn one page of items from a dataset, optionally at a version hash or tag.
Parámetros de entrada
sizeintegerMaximum records to return in this page.
cursorstringOpaque continuation cursor returned as next_cursor by a previous call; omit for the first page.
versionstringDataset version hash or tag; omit for the current version.
truncatebooleanTruncate images embedded in input, output, or metadata.
dataset_idstringObligatoriouuidDataset UUID whose items should be returned.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List DatasetsOPIK_LIST_DATASETSAcciónReturn one page of datasets, optionally filtered by name, project, prompt, or whether they have experiments or optimizations.
OPIK_LIST_DATASETSAcciónReturn one page of datasets, optionally filtered by name, project, prompt, or whether they have experiments or optimizations.
Parámetros de entrada
namestringCase-insensitive partial dataset name to match.
sizeintegerMaximum datasets to return in this page.
cursorstringOpaque continuation cursor returned as next_cursor by a previous call; omit for the first page.
prompt_idstringuuidPrompt UUID to filter datasets.
project_idstringuuidProject UUID to filter datasets.
with_experiments_onlybooleanReturn only datasets linked to experiments when true.
with_optimizations_onlybooleanReturn only datasets linked to optimizations when true.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List ExperimentsOPIK_LIST_EXPERIMENTSAcciónReturn one page of experiments filtered by dataset, project, prompt, optimization, name, or deletion state.
OPIK_LIST_EXPERIMENTSAcciónReturn one page of experiments filtered by dataset, project, prompt, optimization, name, or deletion state.
Parámetros de entrada
namestringCase-insensitive partial experiment name to match.
sizeintegerMaximum number of experiments to return in this page.
typesstringExperiment types filter in the provider's string query format.
cursorstringOpaque continuation cursor returned as next_cursor by a previous call; omit for the first page.
prompt_idstringuuidPrompt UUID to filter experiments.
dataset_idstringuuidDataset UUID to filter experiments.
project_idstringuuidProject UUID to filter experiments.
experiment_idsstringFilter experiments by a list of experiment IDs in string form.
dataset_deletedbooleanFilter by whether the linked dataset is deleted.
optimization_idstringuuidOptimization UUID to filter experiments.
project_deletedbooleanFilter by whether the linked project is deleted.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Feedback DefinitionsOPIK_LIST_FEEDBACK_DEFINITIONSAcciónReturn one page of numerical, categorical, or boolean feedback definitions, optionally filtered by name or type.
OPIK_LIST_FEEDBACK_DEFINITIONSAcciónReturn one page of numerical, categorical, or boolean feedback definitions, optionally filtered by name or type.
Parámetros de entrada
namestringCase-insensitive partial feedback-definition name to match.
sizeintegerMaximum records to return in this page.
typestringenumFeedback definition type.
numericalcategoricalbooleancursorstringOpaque continuation cursor returned as next_cursor by a previous call; omit for the first page.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get LLM model profilesOPIK_LIST_LLM_MODEL_PROFILESAcciónGet the params each provider's unlisted models take, keyed by provider
OPIK_LIST_LLM_MODEL_PROFILESAcciónGet the params each provider's unlisted models take, keyed by provider
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get LLM modelsOPIK_LIST_LLM_MODELSAcciónGet the list of supported LLM models grouped by provider
OPIK_LIST_LLM_MODELSAcciónGet the list of supported LLM models grouped by provider
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List ProjectsOPIK_LIST_PROJECTSAcciónReturn one page of workspace projects, optionally filtered by a case-insensitive name match.
OPIK_LIST_PROJECTSAcciónReturn one page of workspace projects, optionally filtered by a case-insensitive name match.
Parámetros de entrada
namestringCase-insensitive partial project name to match.
sizeintegerMaximum projects to return in this page.
cursorstringOpaque continuation cursor returned as next_cursor by a previous call. Omit for the first page and pass returned values back verbatim.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List PromptsOPIK_LIST_PROMPTSAcciónReturn one page of workspace or project-scoped prompts, optionally filtered by name.
OPIK_LIST_PROMPTSAcciónReturn one page of workspace or project-scoped prompts, optionally filtered by name.
Parámetros de entrada
namestringCase-insensitive partial prompt name to match.
sizeintegerMaximum number of prompts to return in this page.
cursorstringOpaque continuation cursor returned as next_cursor by a previous call; omit for the first page.
project_idstringuuidProject UUID to filter prompts.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get prompts by projectOPIK_LIST_PROMPTS_BY_PROJECTAcciónGet prompts scoped to a project
OPIK_LIST_PROMPTS_BY_PROJECTAcciónGet prompts scoped to a project
Parámetros de entrada
namestringFilter prompts by name (partial match, case insensitive)
sizeintegerMaximum number of results to return on one page.
cursorstringOpaque continuation cursor returned as next_cursor by a previous call. Omit for the first page and pass returned values back verbatim.
project_idstringObligatoriouuidUUID of the project id used to get prompts by project.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get prompt versionsOPIK_LIST_PROMPT_VERSIONSAcciónGet prompt versions
OPIK_LIST_PROMPT_VERSIONSAcciónGet prompt versions
Parámetros de entrada
sizeintegerMaximum number of results to return on one page.
cursorstringOpaque continuation cursor returned as next_cursor by a previous call. Omit for the first page and pass returned values back verbatim.
searchstringSearch text to find in template or change description fields
prompt_idstringObligatoriouuidUUID of the prompt id used to get prompt versions.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get reports for a projectOPIK_LIST_REPORTSAcciónReturns a paginated list of reports, newest first.
OPIK_LIST_REPORTSAcciónReturns a paginated list of reports, newest first.
Parámetros de entrada
sizeintegerMaximum number of results to return on one page.
cursorstringOpaque continuation cursor returned as next_cursor by a previous call. Omit for the first page and pass returned values back verbatim.
project_idstringObligatoriouuidUUID of the project id used to get reports for a project.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List SpansOPIK_LIST_SPANSAcciónReturn one page of spans for a project or trace, with optional type, text, and time filters.
OPIK_LIST_SPANSAcciónReturn one page of spans for a project or trace, with optional type, text, and time filters.
Parámetros de entrada
sizeintegerMaximum number of spans to return in this page.
typestringenumSpan type to return.
generaltoolllmguardrailcursorstringOpaque cursor returned by a previous call; omit for the first page.
searchstringFull-text search across span fields.
to_timestringdate-timeISO 8601 creation-time upper bound. It must be after from_time; the provider defaults it to the current time.
trace_idstringuuidTrace UUID whose spans should be returned.
truncatebooleanReturn slimmed input, output, and metadata payloads.
from_timestringdate-timeInclusive ISO 8601 creation-time lower bound.
project_idstringuuidProject UUID to filter by. Takes precedence over project_name.
project_namestringProject name to filter by when project_id is omitted.
strip_attachmentsbooleanReturn attachment references instead of reinjecting attachment contents.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List TracesOPIK_LIST_TRACESAcciónReturn one page of traces for a project, with optional text, time, queue, and attachment-handling filters.
OPIK_LIST_TRACESAcciónReturn one page of traces for a project, with optional text, time, queue, and attachment-handling filters.
Parámetros de entrada
sizeintegerMaximum number of traces to return in this page.
cursorstringOpaque continuation cursor returned as next_cursor by a previous call. Omit for the first page.
searchstringFull-text search across trace fields.
to_timestringdate-timeISO 8601 trace creation-time upper bound. It must be after from_time; the provider defaults it to the current time.
truncatebooleanWhether to return slimmed input, output, and metadata payloads.
from_timestringdate-timeInclusive ISO 8601 trace creation-time lower bound.
project_idstringuuidProject UUID to filter by; takes precedence over project_name.
project_namestringProject name to filter by when project_id is omitted.
strip_attachmentsbooleanWhether to return attachment references instead of downloading and reinjecting attachment contents.
annotation_queue_idstringuuidAnnotation queue UUID used to filter traces and scope returned feedback scores and comments.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get trace threadsOPIK_LIST_TRACE_THREADSAcciónGet trace threads
OPIK_LIST_TRACE_THREADSAcciónGet trace threads
Parámetros de entrada
sizeintegerMaximum number of results to return on one page.
cursorstringOpaque continuation cursor returned as next_cursor by a previous call. Omit for the first page and pass returned values back verbatim.
searchstringFull-text search across thread fields
excludestringEnrichment fields to leave out of each thread, e.g. ["annotation_queues"]
to_timestringdate-timeFilter trace threads created up to this time (ISO-8601 format). If not provided, defaults to current time. Must be after 'from_time'.
truncatebooleanTruncate input, output and metadata to slim payloads
from_timestringdate-timeFilter trace threads created from this time (ISO-8601 format).
project_idstringuuidProject Id value used to narrow or configure get trace threads.
project_namestringProject Name value used to narrow or configure get trace threads.
strip_attachmentsbooleanIf true, returns attachment references like [file.png]; if false, downloads and reinjects stripped attachments
annotation_queue_idstringuuidFilter threads belonging to this annotation queue and scope feedback scores/comments to it
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get view versionsOPIK_LIST_VIEW_VERSIONSAcciónList the versions of a view, newest first
OPIK_LIST_VIEW_VERSIONSAcciónList the versions of a view, newest first
Parámetros de entrada
sizeintegerMaximum number of results to return on one page.
cursorstringOpaque continuation cursor returned as next_cursor by a previous call. Omit for the first page and pass returned values back verbatim.
view_idstringObligatoriouuidUUID of the view id used to get view versions.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get LLM Provider's ApiKey by idOPIK_LLM_PROVIDER_KEYS_GET_METADATAAcciónGet non-secret metadata for a configured LLM provider key. The stored API key value and other credential material are never returned.
OPIK_LLM_PROVIDER_KEYS_GET_METADATAAcciónGet non-secret metadata for a configured LLM provider key. The stored API key value and other credential material are never returned.
Parámetros de entrada
provider_key_idstringObligatoriouuidUUID of the provider key id used to get llm provider's apikey by id.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Find LLM Provider's ApiKeysOPIK_LLM_PROVIDER_KEYS_LISTAcciónList non-secret metadata for configured LLM provider keys. Stored API key values and other credential material are never returned.
OPIK_LLM_PROVIDER_KEYS_LISTAcciónList non-secret metadata for configured LLM provider keys. Stored API key values and other credential material are never returned.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Manually evaluate spansOPIK_MANUAL_EVALUATION_EVALUATE_SPANSAcciónManually trigger evaluation rules on selected spans. Bypasses sampling and enqueues all specified spans for evaluation.
OPIK_MANUAL_EVALUATION_EVALUATE_SPANSAcciónManually trigger evaluation rules on selected spans. Bypasses sampling and enqueues all specified spans for evaluation.
Parámetros de entrada
rule_idsstring[]ObligatorioList of automation rule IDs to apply
entity_idsstring[]ObligatorioList of entity IDs (trace IDs or thread IDs) to evaluate
project_idstringObligatoriouuidProject ID
entity_typestringObligatorioenumType of entity to evaluate (trace or thread)
tracethreadspan
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Manually evaluate threadsOPIK_MANUAL_EVALUATION_EVALUATE_THREADSAcciónManually trigger evaluation rules on selected threads. Bypasses sampling and enqueues all specified threads for evaluation.
OPIK_MANUAL_EVALUATION_EVALUATE_THREADSAcciónManually trigger evaluation rules on selected threads. Bypasses sampling and enqueues all specified threads for evaluation.
Parámetros de entrada
rule_idsstring[]ObligatorioList of automation rule IDs to apply
entity_idsstring[]ObligatorioList of entity IDs (trace IDs or thread IDs) to evaluate
project_idstringObligatoriouuidProject ID
entity_typestringObligatorioenumType of entity to evaluate (trace or thread)
tracethreadspan
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Manually evaluate tracesOPIK_MANUAL_EVALUATION_EVALUATE_TRACESAcciónManually trigger evaluation rules on selected traces. Bypasses sampling and enqueues all specified traces for evaluation.
OPIK_MANUAL_EVALUATION_EVALUATE_TRACESAcciónManually trigger evaluation rules on selected traces. Bypasses sampling and enqueues all specified traces for evaluation.
Parámetros de entrada
rule_idsstring[]ObligatorioList of automation rule IDs to apply
entity_idsstring[]ObligatorioList of entity IDs (trace IDs or thread IDs) to evaluate
project_idstringObligatoriouuidProject ID
entity_typestringObligatorioenumType of entity to evaluate (trace or thread)
tracethreadspan
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create optimizationOPIK_OPTIMIZATIONS_CREATE_OPTIMIZATIONAcciónCreate an optimization. Supplying a project_name that does not exist also creates that project.
OPIK_OPTIMIZATIONS_CREATE_OPTIMIZATIONAcciónCreate an optimization. Supplying a project_name that does not exist also creates that project.
Parámetros de entrada
idstringuuidId value used to create optimization.
namestringName value used to create optimization.
statusstringObligatorioenumStatus value used to create optimization.
runningcompletedcancelledinitializederrormetadataanyMetadata value used to create optimization.
error_infoobjectError Info value used to create optimization.
project_idstringuuidProject ID. Takes precedence over project_name when both are provided.
dataset_namestringObligatorioDataset Name value used to create optimization.
project_namestringProject name. Creates project if it doesn't exist. Ignored when project_id is provided.
studio_configobjectStudio Config value used to create optimization.
objective_namestringObligatorioObjective Name value used to create optimization.
last_updated_atstringdate-timeLast Updated At value used to create optimization.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Find optimizationsOPIK_OPTIMIZATIONS_FIND_OPTIMIZATIONSAcciónFind optimizations
OPIK_OPTIMIZATIONS_FIND_OPTIMIZATIONSAcciónFind optimizations
Parámetros de entrada
namestringFilter optimizations by name (partial match, case insensitive)
sizeintegerMaximum number of results to return on one page.
cursorstringOpaque continuation cursor returned as next_cursor by a previous call. Omit for the first page and pass returned values back verbatim.
dataset_idstringuuidDataset Id value used to narrow or configure find optimizations.
project_idstringuuidProject Id value used to narrow or configure find optimizations.
dataset_namestringFilter optimizations by dataset name (partial match)
dataset_deletedbooleanDataset Deleted value used to narrow or configure find optimizations.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get optimization by idOPIK_OPTIMIZATIONS_GET_OPTIMIZATION_BY_IDAcciónGet optimization by id
OPIK_OPTIMIZATIONS_GET_OPTIMIZATION_BY_IDAcciónGet optimization by id
Parámetros de entrada
optimization_idstringObligatoriouuidUUID of the optimization id used to get optimization by id.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update optimization by idOPIK_OPTIMIZATIONS_UPDATE_OPTIMIZATIONS_BY_IDAcciónUpdate optimization by id
OPIK_OPTIMIZATIONS_UPDATE_OPTIMIZATIONS_BY_IDAcciónUpdate optimization by id
Parámetros de entrada
namestringName value used to update optimization by id.
statusstringenumStatus value used to update optimization by id.
runningcompletedcancelledinitializederrormetadataanyMetadata value used to update optimization by id.
error_infoobjectError Info value used to update optimization by id.
optimization_idstringObligatoriouuidUUID of the optimization id used to update optimization by id.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Upsert optimizationOPIK_OPTIMIZATIONS_UPSERT_OPTIMIZATIONAcciónCreate or update an optimization. Supplying a project_name that does not exist also creates that project.
OPIK_OPTIMIZATIONS_UPSERT_OPTIMIZATIONAcciónCreate or update an optimization. Supplying a project_name that does not exist also creates that project.
Parámetros de entrada
idstringuuidId value used to upsert optimization.
namestringName value used to upsert optimization.
statusstringObligatorioenumStatus value used to upsert optimization.
runningcompletedcancelledinitializederrormetadataanyMetadata value used to upsert optimization.
error_infoobjectError Info value used to upsert optimization.
project_idstringuuidProject ID. Takes precedence over project_name when both are provided.
dataset_namestringObligatorioDataset Name value used to upsert optimization.
project_namestringProject name. Creates project if it doesn't exist. Ignored when project_id is provided.
studio_configobjectStudio Config value used to upsert optimization.
objective_namestringObligatorioObjective Name value used to upsert optimization.
last_updated_atstringdate-timeLast Updated At value used to upsert optimization.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Find alerts by projectOPIK_PROJECTS_FIND_ALERTS_BY_PROJECTAcciónFind alerts scoped to a project
OPIK_PROJECTS_FIND_ALERTS_BY_PROJECTAcciónFind alerts scoped to a project
Parámetros de entrada
sizeintegerMaximum number of results to return on one page.
cursorstringOpaque continuation cursor returned as next_cursor by a previous call. Omit for the first page and pass returned values back verbatim.
project_idstringObligatoriouuidUUID of the project id used to find alerts by project.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Find dashboards by projectOPIK_PROJECTS_FIND_DASHBOARDS_BY_PROJECTAcciónFind dashboards scoped to a project
OPIK_PROJECTS_FIND_DASHBOARDS_BY_PROJECTAcciónFind dashboards scoped to a project
Parámetros de entrada
namestringFilter dashboards by name (partial match, case insensitive)
sizeintegerMaximum number of results to return on one page.
cursorstringOpaque continuation cursor returned as next_cursor by a previous call. Omit for the first page and pass returned values back verbatim.
project_idstringObligatoriouuidUUID of the project id used to find dashboards by project.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Find datasets by projectOPIK_PROJECTS_FIND_DATASETS_BY_PROJECTAcciónFind datasets scoped to a project
OPIK_PROJECTS_FIND_DATASETS_BY_PROJECTAcciónFind datasets scoped to a project
Parámetros de entrada
namestringFilter datasets by name (partial match, case insensitive)
sizeintegerMaximum number of results to return on one page.
cursorstringOpaque continuation cursor returned as next_cursor by a previous call. Omit for the first page and pass returned values back verbatim.
project_idstringObligatoriouuidUUID of the project id used to find datasets by project.
with_experiments_onlybooleanWith Experiments Only value used to narrow or configure find datasets by project.
with_optimizations_onlybooleanWith Optimizations Only value used to narrow or configure find datasets by project.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Find experiments by projectOPIK_PROJECTS_FIND_EXPERIMENTS_BY_PROJECTAcciónFind experiments scoped to a project
OPIK_PROJECTS_FIND_EXPERIMENTS_BY_PROJECTAcciónFind experiments scoped to a project
Parámetros de entrada
namestringFilter experiments by name (partial match, case insensitive)
sizeintegerMaximum number of results to return on one page.
typesstringTypes value used to narrow or configure find experiments by project.
cursorstringOpaque continuation cursor returned as next_cursor by a previous call. Omit for the first page and pass returned values back verbatim.
dataset_idstringuuidDataset Id value used to narrow or configure find experiments by project.
project_idstringObligatoriouuidUUID of the project id used to find experiments by project.
force_sortingbooleanForce sorting even when exceeding the endpoint result set limit. May result in slower queries
experiment_idsstringFilter experiments by a list of experiment IDs
dataset_deletedbooleanDataset Deleted value used to narrow or configure find experiments by project.
optimization_idstringuuidOptimization Id value used to narrow or configure find experiments by project.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Find optimizations by projectOPIK_PROJECTS_FIND_OPTIMIZATIONS_BY_PROJECTAcciónFind optimizations scoped to a project
OPIK_PROJECTS_FIND_OPTIMIZATIONS_BY_PROJECTAcciónFind optimizations scoped to a project
Parámetros de entrada
namestringFilter optimizations by name (partial match, case insensitive)
sizeintegerMaximum number of results to return on one page.
cursorstringOpaque continuation cursor returned as next_cursor by a previous call. Omit for the first page and pass returned values back verbatim.
dataset_idstringuuidDataset Id value used to narrow or configure find optimizations by project.
project_idstringObligatoriouuidUUID of the project id used to find optimizations by project.
dataset_namestringDataset Name value used to narrow or configure find optimizations by project.
dataset_deletedbooleanDataset Deleted value used to narrow or configure find optimizations by project.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Find Token Usage namesOPIK_PROJECTS_FIND_TOKEN_USAGE_NAMESAcciónFind Token Usage names
OPIK_PROJECTS_FIND_TOKEN_USAGE_NAMESAcciónFind Token Usage names
Parámetros de entrada
project_idstringObligatoriouuidUUID of the project id used to find token usage names.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Project KPI CardsOPIK_PROJECTS_GET_PROJECT_KPI_CARDSAcciónGets KPI card metrics for a project
OPIK_PROJECTS_GET_PROJECT_KPI_CARDSAcciónGets KPI card metrics for a project
Parámetros de entrada
project_idstringObligatoriouuidUUID of the project id used to get project kpi cards.
entity_typestringObligatorioenumEntity Type value used to get project kpi cards.
tracesspansthreadsinterval_endstringdate-timeInterval End value used to get project kpi cards.
interval_startstringObligatoriodate-timeInterval Start value used to get project kpi cards.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Project MetricsOPIK_PROJECTS_GET_PROJECT_METRICSAcciónGets specified metrics for a project
OPIK_PROJECTS_GET_PROJECT_METRICSAcciónGets specified metrics for a project
Parámetros de entrada
intervalstringenumInterval value used to get project metrics.
HOURLYDAILYWEEKLYTOTALbreakdownobjectBreakdown value used to get project metrics.
project_idstringObligatoriouuidUUID of the project id used to get project metrics.
metric_typestringenumMetric Type value used to get project metrics.
FEEDBACK_SCORESTRACE_COUNTTOKEN_USAGEDURATIONCOSTGUARDRAILS_FAILED_COUNTTHREAD_COUNTTHREAD_DURATIONTHREAD_FEEDBACK_SCORESSPAN_FEEDBACK_SCORESSPAN_COUNTSPAN_DURATION+8interval_endstringdate-timeInterval End value used to get project metrics.
span_filtersobject[]Span Filters value used to get project metrics.
trace_filtersobject[]Trace Filters value used to get project metrics.
interval_startstringdate-timeInterval Start value used to get project metrics.
thread_filtersobject[]Thread Filters value used to get project metrics.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Project StatsOPIK_PROJECTS_GET_PROJECT_STATSAcciónGet Project Stats
OPIK_PROJECTS_GET_PROJECT_STATSAcciónGet Project Stats
Parámetros de entrada
namestringFilter projects by name (partial match, case insensitive)
sizeintegerMaximum number of results to return on one page.
cursorstringOpaque continuation cursor returned as next_cursor by a previous call. Omit for the first page and pass returned values back verbatim.
to_timestringdate-timeScope the project metrics up to this time (ISO-8601 format). Must be after 'from_time'.
from_timestringdate-timeWhen set, scope the project metrics from this time (ISO-8601 format); omitted keeps the all-time aggregates
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get recent activity for a projectOPIK_PROJECTS_GET_RECENT_ACTIVITYAcciónReturns the most recent activity items across all entity types for a project, sorted by date descending.
OPIK_PROJECTS_GET_RECENT_ACTIVITYAcciónReturns the most recent activity items across all entity types for a project, sorted by date descending.
Parámetros de entrada
sizeintegerMaximum number of results to return on one page.
cursorstringOpaque continuation cursor returned as next_cursor by a previous call. Omit for the first page and pass returned values back verbatim.
project_idstringObligatoriouuidUUID of the project id used to get recent activity for a project.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Find Feedback Score names By Project IdsOPIK_PROJECTS_LIST_FEEDBACK_SCORE_NAMESAcciónFind Feedback Score names By Project Ids
OPIK_PROJECTS_LIST_FEEDBACK_SCORE_NAMESAcciónFind Feedback Score names By Project Ids
Parámetros de entrada
project_idsstringProject Ids value used to narrow or configure find feedback score names by project ids.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update project by idOPIK_PROJECTS_UPDATE_PROJECTAcciónUpdate project by id
OPIK_PROJECTS_UPDATE_PROJECTAcciónUpdate project by id
Parámetros de entrada
namestringName value used to update project by id.
project_idstringObligatoriouuidUUID of the project id used to update project by id.
visibilitystringenumVisibility value used to update project by id.
privatepublicdescriptionstringDescription value used to update project by id.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get prompt by commitOPIK_PROMPTS_GET_PROMPT_BY_COMMITAcciónGet prompt by commit
OPIK_PROMPTS_GET_PROMPT_BY_COMMITAcciónGet prompt by commit
Parámetros de entrada
commitstringObligatorioidentifier of the commit used to get prompt by commit.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get prompt by idOPIK_PROMPTS_GET_PROMPT_BY_IDAcciónGet prompt by id; when mask_id or environment is provided, requestedVersion is populated with the resolved version. mask_id and environment are mutually exclusive.
OPIK_PROMPTS_GET_PROMPT_BY_IDAcciónGet prompt by id; when mask_id or environment is provided, requestedVersion is populated with the resolved version. mask_id and environment are mutually exclusive.
Parámetros de entrada
mask_idstringuuidOptional mask version id; when set, requestedVersion is the mask row for that id
prompt_idstringObligatoriouuidUUID of the prompt id used to get prompt by id.
environmentstringOptional environment name; when set, requestedVersion is the version mapped to that environment for the prompt
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get prompts by commitsOPIK_PROMPTS_GET_PROMPTS_BY_COMMITSAcciónGet prompts by prompt version commits
OPIK_PROMPTS_GET_PROMPTS_BY_COMMITSAcciónGet prompts by prompt version commits
Parámetros de entrada
commitsstring[]ObligatorioCommits value used to get prompts by commits.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get prompt version by idOPIK_PROMPTS_GET_PROMPT_VERSION_BY_IDAcciónGet prompt version by id
OPIK_PROMPTS_GET_PROMPT_VERSION_BY_IDAcciónGet prompt version by id
Parámetros de entrada
version_idstringObligatoriouuidUUID of the version id used to get prompt version by id.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get prompt version by sequential numberOPIK_PROMPTS_GET_PROMPT_VERSION_BY_NUMBERAcciónGet a prompt version by its sequential v<N> number for the given prompt.
OPIK_PROMPTS_GET_PROMPT_VERSION_BY_NUMBERAcciónGet a prompt version by its sequential v<N> number for the given prompt.
Parámetros de entrada
prompt_idstringObligatoriouuidUUID of the prompt id used to get prompt version by sequential number.
version_numberstringObligatorioidentifier of the version number used to get prompt version by sequential number.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Restore prompt versionOPIK_PROMPTS_RESTORE_PROMPT_VERSIONAcciónRestore a prompt version by creating a new version with the content from the specified version
OPIK_PROMPTS_RESTORE_PROMPT_VERSIONAcciónRestore a prompt version by creating a new version with the content from the specified version
Parámetros de entrada
prompt_idstringObligatoriouuidUUID of the prompt id used to restore prompt version.
version_idstringObligatoriouuidUUID of the version id used to restore prompt version.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve prompt versionOPIK_PROMPTS_RETRIEVE_PROMPT_VERSIONAcciónRetrieve prompt version. When project_name is supplied the lookup is scoped to that project: a prompt belonging to a different project is never matched, and an unknown project name returns 404. Legacy prompts with no project are still resolved as a deprecated fallback, signalled by the X-Opik-Deprecation response header.
OPIK_PROMPTS_RETRIEVE_PROMPT_VERSIONAcciónRetrieve prompt version. When project_name is supplied the lookup is scoped to that project: a prompt belonging to a different project is never matched, and an unknown project name returns 404. Legacy prompts with no project are still resolved as a deprecated fallback, signalled by the X-Opik-Deprecation response header.
Parámetros de entrada
namestringObligatorioName value used to retrieve prompt version.
commitstringCommit value used to retrieve prompt version.
environmentstringIf provided, resolves to the version mapped to this environment for the prompt; mutually exclusive with commit and version_number
project_namestringIf provided, scopes the search to the specified project; prompts belonging to other projects are never matched, and an unknown project name returns 404. Legacy prompts that are not scoped to any project are still matched as a deprecated fallback, signalled by the X-Opik-Deprecation response header.
version_numberstringIf provided, resolves to the version with this sequential number (e.g. v3); mutually exclusive with commit and environment
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve prompt versions by idsOPIK_PROMPTS_RETRIEVE_PROMPT_VERSIONS_BY_IDSAcciónRetrieve a batch of prompt versions by their ids. Typically used by the UI to resolve mask overlays.
OPIK_PROMPTS_RETRIEVE_PROMPT_VERSIONS_BY_IDSAcciónRetrieve a batch of prompt versions by their ids. Typically used by the UI to resolve mask overlays.
Parámetros de entrada
idsstring[]ObligatorioIds value used to retrieve prompt versions by ids.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Set prompt version environmentOPIK_PROMPTS_SET_PROMPT_VERSION_ENVIRONMENTAcciónReplace the prompt version's complete environments array. Send an empty array to clear every environment from the version.
OPIK_PROMPTS_SET_PROMPT_VERSION_ENVIRONMENTAcciónReplace the prompt version's complete environments array. Send an empty array to clear every environment from the version.
Parámetros de entrada
version_idstringObligatoriouuidUUID of the version id used to set prompt version environment.
environmentsstring[]ObligatorioEnvironments value used to set prompt version environment.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update promptOPIK_PROMPTS_UPDATE_PROMPTAcciónUpdate prompt
OPIK_PROMPTS_UPDATE_PROMPTAcciónUpdate prompt
Parámetros de entrada
namestringObligatorioName value used to update prompt.
tagsstring[]Tags value used to update prompt.
prompt_idstringObligatoriouuidUUID of the prompt id used to update prompt.
descriptionstringDescription value used to update prompt.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update prompt versionsOPIK_PROMPTS_UPDATE_PROMPT_VERSIONSAcciónUpdate one or more prompt versions. Note: Prompt versions are immutable by design. Only organizational properties, such as tags etc., can be updated. Core properties like template and metadata cannot be modified after creation. PATCH semantics: - non-empty values update the field - null values preserve existing field values (no change) - empty values explicitly clear the field
OPIK_PROMPTS_UPDATE_PROMPT_VERSIONSAcciónUpdate one or more prompt versions. Note: Prompt versions are immutable by design. Only organizational properties, such as tags etc., can be updated. Core properties like template and metadata cannot be modified after creation. PATCH semantics: - non-empty values update the field - null values preserve existing field values (no change) - empty values explicitly clear the field
Parámetros de entrada
idsstring[]ObligatorioIDs of prompt versions to update
updateobjectObligatorioUpdate to apply to prompt versions. Note: Prompt versions are immutable by design. Only organizational properties (such as tags etc.) can be updated. Core properties like template, metadata etc. cannot be modified after creation.
merge_tagsbooleanTag merge behavior: - true: Add new tags to existing tags (union) - false: Replace all existing tags with new tags (default behaviour if not provided)
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List failures for a projectOPIK_REPORT_FAILURES_FIND_REPORT_FAILURESAcciónReturns failures for the given project id and type, most recent first.
OPIK_REPORT_FAILURES_FIND_REPORT_FAILURESAcciónReturns failures for the given project id and type, most recent first.
Parámetros de entrada
sizeintegerMaximum number of results to return on one page.
typestringObligatorioType value used to narrow or configure list failures for a project.
cursorstringOpaque continuation cursor returned as next_cursor by a previous call. Omit for the first page and pass returned values back verbatim.
project_idstringObligatoriouuidProject Id value used to narrow or configure list failures for a project.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Trigger report generationOPIK_REPORTS_GENERATE_REPORTAcciónCreates a pending report and triggers asynchronous generation via the orchestrator.
OPIK_REPORTS_GENERATE_REPORTAcciónCreates a pending report and triggers asynchronous generation via the orchestrator.
Parámetros de entrada
project_idstringObligatoriouuidUUID of the project id used to trigger report generation.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get report preferencesOPIK_REPORTS_GET_REPORT_PREFERENCEAcciónReturns report preferences for a project, or null if none have been set.
OPIK_REPORTS_GET_REPORT_PREFERENCEAcciónReturns report preferences for a project, or null if none have been set.
Parámetros de entrada
project_idstringObligatoriouuidUUID of the project id used to get report preferences.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update report preferencesOPIK_REPORTS_UPDATE_REPORT_PREFERENCEAcciónEnable or disable daily report generation for a project.
OPIK_REPORTS_UPDATE_REPORT_PREFERENCEAcciónEnable or disable daily report generation for a project.
Parámetros de entrada
enabledbooleanEnabled value used to update report preferences.
created_atstringdate-timeCreated At value used to update report preferences.
project_idstringObligatoriouuidUUID of the project id used to update report preferences.
custom_promptstringCustom Prompt value used to update report preferences.
schedule_timestringSchedule Time value used to update report preferences.
body_project_idstringuuidProject Id value used to update report preferences.
last_updated_atstringdate-timeLast Updated At value used to update report preferences.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create local runner jobOPIK_RUNNERS_CREATE_JOBAcciónCreate a local runner job and enqueue it for execution
OPIK_RUNNERS_CREATE_JOBAcciónCreate a local runner job and enqueue it for execution
Parámetros de entrada
inputsobjectInputs value used to create local runner job.
mask_idstringuuidDeprecated. Use prompt_masks to pass one or more mask overlays keyed by prompt id.
metadataobjectMetadata value used to create local runner job.
agent_namestringObligatorioAgent Name value used to create local runner job.
project_idstringObligatoriouuidProject Id value used to create local runner job.
prompt_masksobjectMask overlays to apply during agent execution, keyed by prompt id.
blueprint_namestringBlueprint Name value used to create local runner job.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get local runner jobOPIK_RUNNERS_GET_JOBAcciónGet a single local runner job's status and results
OPIK_RUNNERS_GET_JOBAcciónGet a single local runner job's status and results
Parámetros de entrada
job_idstringObligatoriouuidUUID of the job id used to get local runner job.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get local runner job logsOPIK_RUNNERS_GET_JOB_LOGSAcciónGet log entries for a local runner job
OPIK_RUNNERS_GET_JOB_LOGSAcciónGet log entries for a local runner job
Parámetros de entrada
job_idstringObligatoriouuidUUID of the job id used to get local runner job logs.
offsetintegerZero-based log offset. The provider does not document a page size, total, or next offset, so a safe continuation cursor cannot be derived.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get local runnerOPIK_RUNNERS_GET_RUNNERAcciónGet a single local runner with its registered agents
OPIK_RUNNERS_GET_RUNNERAcciónGet a single local runner with its registered agents
Parámetros de entrada
runner_idstringObligatoriouuidUUID of the runner id used to get local runner.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List local runner jobsOPIK_RUNNERS_LIST_JOBSAcciónList jobs for a local runner
OPIK_RUNNERS_LIST_JOBSAcciónList jobs for a local runner
Parámetros de entrada
sizeintegerMaximum number of results to return on one page.
cursorstringOpaque continuation cursor returned as next_cursor by a previous call. Omit for the first page and pass returned values back verbatim.
runner_idstringObligatoriouuidUUID of the runner id used to list local runner jobs.
project_idstringuuidProject Id value used to narrow or configure list local runner jobs.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List local runnersOPIK_RUNNERS_LIST_RUNNERSAcciónList local runners owned by the current user in the workspace
OPIK_RUNNERS_LIST_RUNNERSAcciónList local runners owned by the current user in the workspace
Parámetros de entrada
sizeintegerMaximum number of results to return on one page.
cursorstringOpaque continuation cursor returned as next_cursor by a previous call. Omit for the first page and pass returned values back verbatim.
statusstringenumStatus value used to narrow or configure list local runners.
pairingconnecteddisconnectedproject_idstringObligatoriouuidProject Id value used to narrow or configure list local runners.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Service TogglesOPIK_SERVICE_TOGGLES_GET_SERVICE_TOGGLESAcciónGet Service Toggles
OPIK_SERVICE_TOGGLES_GET_SERVICE_TOGGLESAcciónGet Service Toggles
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Add span commentOPIK_SPANS_ADD_SPAN_COMMENTAcciónAdd span comment
OPIK_SPANS_ADD_SPAN_COMMENTAcciónAdd span comment
Parámetros de entrada
idstringuuidId value used to add span comment.
textstringObligatorioText value used to add span comment.
span_idstringObligatoriouuidUUID of the span id used to add span comment.
created_atstringdate-timeCreated At value used to add span comment.
created_bystringCreated By value used to add span comment.
last_updated_atstringdate-timeLast Updated At value used to add span comment.
last_updated_bystringLast Updated By value used to add span comment.
source_queue_idstringuuidSource Queue Id value used to add span comment.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Add span feedback scoreOPIK_SPANS_ADD_SPAN_FEEDBACK_SCOREAcciónAdd span feedback score
OPIK_SPANS_ADD_SPAN_FEEDBACK_SCOREAcciónAdd span feedback score
Parámetros de entrada
namestringObligatorioName value used to add span feedback score.
valuenumberObligatorioValue value used to add span feedback score.
reasonstringReason value used to add span feedback score.
sourcestringObligatorioenumSource value used to add span feedback score.
uisdkonline_scoringspan_idstringObligatoriouuidUUID of the span id used to add span feedback score.
created_atstringdate-timeCreated At value used to add span feedback score.
created_bystringCreated By value used to add span feedback score.
category_namestringCategory Name value used to add span feedback score.
last_updated_atstringdate-timeLast Updated At value used to add span feedback score.
last_updated_bystringLast Updated By value used to add span feedback score.
source_queue_idstringuuidSource Queue Id value used to add span feedback score.
value_by_authorobjectValue By Author value used to add span feedback score.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Batch update spansOPIK_SPANS_BATCH_UPDATE_SPANSAcciónUpdate multiple spans
OPIK_SPANS_BATCH_UPDATE_SPANSAcciónUpdate multiple spans
Parámetros de entrada
idsstring[]ObligatorioList of span IDs to update (max 1000)
updateobjectObligatorioUpdate value used to batch update spans.
merge_tagsbooleanIf true, merge tags with existing tags instead of replacing them. Default: false
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Check whether a project has spansOPIK_SPANS_EXISTAcciónReturns whether the project has at least one span matching the given scope. Cheap existence probe (LIMIT 1) used to drive empty-state decisions without scanning or aggregating the whole project.
OPIK_SPANS_EXISTAcciónReturns whether the project has at least one span matching the given scope. Cheap existence probe (LIMIT 1) used to drive empty-state decisions without scanning or aggregating the whole project.
Parámetros de entrada
sourcestringRestrict the probe to a single ingestion source (e.g. 'sdk' for the Logs empty state), matching the rendered list's logs-source scope. Omit to probe any source.
project_idstringuuidProject Id value used to narrow or configure check whether a project has spans.
project_namestringProject Name value used to narrow or configure check whether a project has spans.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Find Feedback Score namesOPIK_SPANS_FIND_SPAN_FEEDBACK_SCORE_NAMESAcciónFind Feedback Score names
OPIK_SPANS_FIND_SPAN_FEEDBACK_SCORE_NAMESAcciónFind Feedback Score names
Parámetros de entrada
typestringenumType value used to narrow or configure find feedback score names.
generaltoolllmguardrailproject_idstringuuidProject Id value used to narrow or configure find feedback score names.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get span by idOPIK_SPANS_GET_SPAN_BY_IDAcciónGet span by id
OPIK_SPANS_GET_SPAN_BY_IDAcciónGet span by id
Parámetros de entrada
span_idstringObligatoriouuidUUID of the span id used to get span by id.
strip_attachmentsbooleanIf true, returns attachment references like [file.png]; if false, downloads and reinjects attachment content from S3 (default: false for backward compatibility)
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get span commentOPIK_SPANS_GET_SPAN_COMMENTAcciónGet span comment
OPIK_SPANS_GET_SPAN_COMMENTAcciónGet span comment
Parámetros de entrada
span_idstringObligatoriouuidUUID of the span id used to get span comment.
comment_idstringObligatoriouuidUUID of the comment id used to get span comment.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get span statsOPIK_SPANS_GET_SPAN_STATSAcciónGet span stats
OPIK_SPANS_GET_SPAN_STATSAcciónGet span stats
Parámetros de entrada
typestringenumType value used to narrow or configure get span stats.
generaltoolllmguardrailsearchstringFull-text search across span fields
to_timestringdate-timeFilter spans created up to this time (ISO-8601 format). If not provided, defaults to current time. Must be after 'from_time'.
trace_idstringuuidTrace Id value used to narrow or configure get span stats.
from_timestringdate-timeFilter spans created from this time (ISO-8601 format).
project_idstringuuidProject Id value used to narrow or configure get span stats.
project_namestringProject Name value used to narrow or configure get span stats.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Batch feedback scoring for spansOPIK_SPANS_SCORE_BATCH_OF_SPANSAcciónBatch feedback scoring for spans
OPIK_SPANS_SCORE_BATCH_OF_SPANSAcciónBatch feedback scoring for spans
Parámetros de entrada
scoresobject[]ObligatorioScores value used to batch feedback scoring for spans.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update span by idOPIK_SPANS_UPDATE_SPANAcciónUpdate span by id
OPIK_SPANS_UPDATE_SPANAcciónUpdate span by id
Parámetros de entrada
namestringName value used to update span by id.
tagsstring[]Tags
ttftnumberTtft value used to update span by id.
typestringenumType value used to update span by id.
generaltoolllmguardrailinputanyInput value used to update span by id.
modelstringModel value used to update span by id.
usageobjectUsage value used to update span by id.
outputanyOutput value used to update span by id.
sourcestringenumSource value used to update span by id.
sdkexperimentplaygroundoptimizationevaluatorspan_idstringObligatoriouuidUUID of the span id used to update span by id.
end_timestringdate-timeEnd Time value used to update span by id.
metadataanyMetadata value used to update span by id.
providerstringProvider value used to update span by id.
trace_idstringObligatoriouuidTrace Id value used to update span by id.
error_infoobjectError Info value used to update span by id.
project_idstringuuidIf null and project_name not specified, Default Project is assumed
environmentstringEnvironment value used to update span by id.
tags_to_addstring[]Tags to add
project_namestringIf null and project_id not specified, Default Project is assumed
parent_span_idstringuuidParent Span Id value used to update span by id.
tags_to_removestring[]Tags to remove
total_estimated_costnumberTotal Estimated Cost value used to update span by id.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update span comment by idOPIK_SPANS_UPDATE_SPAN_COMMENTAcciónUpdate span comment by id
OPIK_SPANS_UPDATE_SPAN_COMMENTAcciónUpdate span comment by id
Parámetros de entrada
idstringuuidId value used to update span comment by id.
textstringObligatorioText value used to update span comment by id.
comment_idstringObligatoriouuidUUID of the comment id used to update span comment by id.
created_atstringdate-timeCreated At value used to update span comment by id.
created_bystringCreated By value used to update span comment by id.
last_updated_atstringdate-timeLast Updated At value used to update span comment by id.
last_updated_bystringLast Updated By value used to update span comment by id.
source_queue_idstringuuidSource Queue Id value used to update span comment by id.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Add thread commentOPIK_TRACES_ADD_THREAD_COMMENTAcciónAdd thread comment
OPIK_TRACES_ADD_THREAD_COMMENTAcciónAdd thread comment
Parámetros de entrada
idstringuuidId value used to add thread comment.
textstringObligatorioText value used to add thread comment.
thread_idstringObligatoriouuidUUID of the thread id used to add thread comment.
created_atstringdate-timeCreated At value used to add thread comment.
created_bystringCreated By value used to add thread comment.
last_updated_atstringdate-timeLast Updated At value used to add thread comment.
last_updated_bystringLast Updated By value used to add thread comment.
source_queue_idstringuuidSource Queue Id value used to add thread comment.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Add trace commentOPIK_TRACES_ADD_TRACE_COMMENTAcciónAdd trace comment
OPIK_TRACES_ADD_TRACE_COMMENTAcciónAdd trace comment
Parámetros de entrada
idstringuuidId value used to add trace comment.
textstringObligatorioText value used to add trace comment.
trace_idstringObligatoriouuidUUID of the trace id used to add trace comment.
created_atstringdate-timeCreated At value used to add trace comment.
created_bystringCreated By value used to add trace comment.
last_updated_atstringdate-timeLast Updated At value used to add trace comment.
last_updated_bystringLast Updated By value used to add trace comment.
source_queue_idstringuuidSource Queue Id value used to add trace comment.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Add trace feedback scoreOPIK_TRACES_ADD_TRACE_FEEDBACK_SCOREAcciónAdd trace feedback score
OPIK_TRACES_ADD_TRACE_FEEDBACK_SCOREAcciónAdd trace feedback score
Parámetros de entrada
namestringObligatorioName value used to add trace feedback score.
valuenumberObligatorioValue value used to add trace feedback score.
reasonstringReason value used to add trace feedback score.
sourcestringObligatorioenumSource value used to add trace feedback score.
uisdkonline_scoringtrace_idstringObligatoriouuidUUID of the trace id used to add trace feedback score.
created_atstringdate-timeCreated At value used to add trace feedback score.
created_bystringCreated By value used to add trace feedback score.
category_namestringCategory Name value used to add trace feedback score.
last_updated_atstringdate-timeLast Updated At value used to add trace feedback score.
last_updated_bystringLast Updated By value used to add trace feedback score.
source_queue_idstringuuidSource Queue Id value used to add trace feedback score.
value_by_authorobjectValue By Author value used to add trace feedback score.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Batch update threadsOPIK_TRACES_BATCH_UPDATE_THREADSAcciónUpdate multiple threads
OPIK_TRACES_BATCH_UPDATE_THREADSAcciónUpdate multiple threads
Parámetros de entrada
idsstring[]ObligatorioList of thread model IDs to update (max 1000)
updateobjectObligatorioUpdate value used to batch update threads.
merge_tagsbooleanIf true, merge tags with existing tags instead of replacing them. Default: false
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Batch update tracesOPIK_TRACES_BATCH_UPDATE_TRACESAcciónUpdate multiple traces
OPIK_TRACES_BATCH_UPDATE_TRACESAcciónUpdate multiple traces
Parámetros de entrada
idsstring[]ObligatorioList of trace IDs to update (max 1000)
updateobjectObligatorioUpdate value used to batch update traces.
merge_tagsbooleanIf true, merge tags with existing tags instead of replacing them. Default: false
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Close trace thread(s)OPIK_TRACES_CLOSE_TRACE_THREADAcciónClose one or multiple trace threads. Supports both single thread_id and multiple thread_ids for batch operations.
OPIK_TRACES_CLOSE_TRACE_THREADAcciónClose one or multiple trace threads. Supports both single thread_id and multiple thread_ids for batch operations.
Parámetros de entrada
thread_idstringThread Id value used to close trace thread(s).
project_idstringuuidProject Id value used to close trace thread(s).
thread_idsstring[]Thread Ids value used to close trace thread(s).
project_namestringProject Name value used to close trace thread(s).
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Check whether a project has tracesOPIK_TRACES_EXISTAcciónReturns whether the project has at least one trace matching the given scope. Cheap existence probe (LIMIT 1) used to drive empty-state decisions without scanning or aggregating the whole project.
OPIK_TRACES_EXISTAcciónReturns whether the project has at least one trace matching the given scope. Cheap existence probe (LIMIT 1) used to drive empty-state decisions without scanning or aggregating the whole project.
Parámetros de entrada
sourcestringRestrict the probe to a single ingestion source (e.g. 'sdk' for the Logs empty state), matching the rendered list's logs-source scope. Omit to probe any source.
project_idstringuuidProject Id value used to narrow or configure check whether a project has traces.
thread_onlybooleanWhen true, only considers traces that belong to a thread (thread_id is set) — used by the Threads empty state.
project_namestringProject Name value used to narrow or configure check whether a project has traces.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Find Feedback Score namesOPIK_TRACES_FIND_TRACE_FEEDBACK_SCORE_NAMESAcciónFind Feedback Score names
OPIK_TRACES_FIND_TRACE_FEEDBACK_SCORE_NAMESAcciónFind Feedback Score names
Parámetros de entrada
project_idstringuuidProject Id value used to narrow or configure find feedback score names.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get thread commentOPIK_TRACES_GET_THREAD_COMMENTAcciónGet thread comment
OPIK_TRACES_GET_THREAD_COMMENTAcciónGet thread comment
Parámetros de entrada
thread_idstringObligatoriouuidUUID of the thread id used to get thread comment.
comment_idstringObligatoriouuidUUID of the comment id used to get thread comment.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get trace by idOPIK_TRACES_GET_TRACE_BY_IDAcciónGet trace by id
OPIK_TRACES_GET_TRACE_BY_IDAcciónGet trace by id
Parámetros de entrada
trace_idstringObligatoriouuidUUID of the trace id used to get trace by id.
strip_attachmentsbooleanIf true, returns attachment references like [file.png]; if false, downloads and reinjects attachment content from S3 (default: false for backward compatibility)
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get trace commentOPIK_TRACES_GET_TRACE_COMMENTAcciónGet trace comment
OPIK_TRACES_GET_TRACE_COMMENTAcciónGet trace comment
Parámetros de entrada
trace_idstringObligatoriouuidUUID of the trace id used to get trace comment.
comment_idstringObligatoriouuidUUID of the comment id used to get trace comment.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get trace statsOPIK_TRACES_GET_TRACE_STATSAcciónGet trace stats
OPIK_TRACES_GET_TRACE_STATSAcciónGet trace stats
Parámetros de entrada
searchstringFull-text search across trace fields
to_timestringdate-timeFilter traces created up to this time (ISO-8601 format). If not provided, defaults to current time. Must be after 'from_time'.
from_timestringdate-timeFilter traces created from this time (ISO-8601 format).
project_idstringuuidProject Id value used to narrow or configure get trace stats.
project_namestringProject Name value used to narrow or configure get trace stats.
annotation_queue_idstringuuidCompute stats over the traces belonging to this annotation queue and scope feedback scores to it
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get trace threadOPIK_TRACES_GET_TRACE_THREADAcciónGet trace thread
OPIK_TRACES_GET_TRACE_THREADAcciónGet trace thread
Parámetros de entrada
truncatebooleanTruncate value used to get trace thread.
thread_idstringObligatorioThread Id value used to get trace thread.
project_idstringuuidProject Id value used to get trace thread.
project_namestringProject Name value used to get trace thread.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get trace thread statsOPIK_TRACES_GET_TRACE_THREAD_STATSAcciónGet trace thread stats
OPIK_TRACES_GET_TRACE_THREAD_STATSAcciónGet trace thread stats
Parámetros de entrada
searchstringFull-text search across thread fields
to_timestringdate-timeFilter trace threads created up to this time (ISO-8601 format). If not provided, defaults to current time. Must be after 'from_time'.
from_timestringdate-timeFilter trace threads created from this time (ISO-8601 format).
project_idstringuuidProject Id value used to narrow or configure get trace thread stats.
project_namestringProject Name value used to narrow or configure get trace thread stats.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Find Trace Threads Feedback Score namesOPIK_TRACES_LIST_THREAD_FEEDBACK_SCORE_NAMESAcciónFind Trace Threads Feedback Score names
OPIK_TRACES_LIST_THREAD_FEEDBACK_SCORE_NAMESAcciónFind Trace Threads Feedback Score names
Parámetros de entrada
project_idstringuuidProject Id value used to narrow or configure find trace threads feedback score names.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Open trace threadOPIK_TRACES_OPEN_TRACE_THREADAcciónOpen trace thread
OPIK_TRACES_OPEN_TRACE_THREADAcciónOpen trace thread
Parámetros de entrada
truncatebooleanTruncate value used to open trace thread.
thread_idstringObligatorioThread Id value used to open trace thread.
project_idstringuuidProject Id value used to open trace thread.
project_namestringProject Name value used to open trace thread.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Batch feedback scoring for threadsOPIK_TRACES_SCORE_BATCH_OF_THREADSAcciónBatch feedback scoring for threads
OPIK_TRACES_SCORE_BATCH_OF_THREADSAcciónBatch feedback scoring for threads
Parámetros de entrada
scoresobject[]ObligatorioScores value used to batch feedback scoring for threads.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Batch feedback scoring for tracesOPIK_TRACES_SCORE_BATCH_OF_TRACESAcciónBatch feedback scoring for traces
OPIK_TRACES_SCORE_BATCH_OF_TRACESAcciónBatch feedback scoring for traces
Parámetros de entrada
scoresobject[]ObligatorioScores value used to batch feedback scoring for traces.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update threadOPIK_TRACES_UPDATE_THREADAcciónUpdate thread
OPIK_TRACES_UPDATE_THREADAcciónUpdate thread
Parámetros de entrada
tagsstring[]Tags value used to update thread.
tags_to_addstring[]Tags To Add value used to update thread.
tags_to_removestring[]Tags To Remove value used to update thread.
thread_model_idstringObligatoriouuidUUID of the thread model id used to update thread.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update thread comment by idOPIK_TRACES_UPDATE_THREAD_COMMENTAcciónUpdate thread comment by id
OPIK_TRACES_UPDATE_THREAD_COMMENTAcciónUpdate thread comment by id
Parámetros de entrada
idstringuuidId value used to update thread comment by id.
textstringObligatorioText value used to update thread comment by id.
comment_idstringObligatoriouuidUUID of the comment id used to update thread comment by id.
created_atstringdate-timeCreated At value used to update thread comment by id.
created_bystringCreated By value used to update thread comment by id.
last_updated_atstringdate-timeLast Updated At value used to update thread comment by id.
last_updated_bystringLast Updated By value used to update thread comment by id.
source_queue_idstringuuidSource Queue Id value used to update thread comment by id.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update trace by idOPIK_TRACES_UPDATE_TRACEAcciónUpdate trace by id
OPIK_TRACES_UPDATE_TRACEAcciónUpdate trace by id
Parámetros de entrada
namestringName value used to update trace by id.
tagsstring[]Tags
ttftnumberTtft value used to update trace by id.
inputanyInput value used to update trace by id.
outputanyOutput value used to update trace by id.
sourcestringenumSource value used to update trace by id.
sdkexperimentplaygroundoptimizationevaluatorend_timestringdate-timeEnd Time value used to update trace by id.
metadataanyMetadata value used to update trace by id.
trace_idstringObligatoriouuidUUID of the trace id used to update trace by id.
thread_idstringThread Id value used to update trace by id.
error_infoobjectError Info value used to update trace by id.
project_idstringuuidIf null and project_name not specified, Default Project is assumed
environmentstringEnvironment value used to update trace by id.
tags_to_addstring[]Tags to add
project_namestringIf null and project_id not specified, Default Project is assumed
tags_to_removestring[]Tags to remove
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update trace comment by idOPIK_TRACES_UPDATE_TRACE_COMMENTAcciónUpdate trace comment by id
OPIK_TRACES_UPDATE_TRACE_COMMENTAcciónUpdate trace comment by id
Parámetros de entrada
idstringuuidId value used to update trace comment by id.
textstringObligatorioText value used to update trace comment by id.
comment_idstringObligatoriouuidUUID of the comment id used to update trace comment by id.
created_atstringdate-timeCreated At value used to update trace comment by id.
created_bystringCreated By value used to update trace comment by id.
last_updated_atstringdate-timeLast Updated At value used to update trace comment by id.
last_updated_bystringLast Updated By value used to update trace comment by id.
source_queue_idstringuuidSource Queue Id value used to update trace comment by id.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Upsert Dataset ItemsOPIK_UPSERT_DATASET_ITEMSAcciónCreate or update Opik dataset items, using each supplied item UUID as its stable upsert key. Supplying copy_from_dataset_id and copy_from_version_id carries forward rows from that dataset version; omitting batch_group_id mutates the latest destination dataset version.
OPIK_UPSERT_DATASET_ITEMSAcciónCreate or update Opik dataset items, using each supplied item UUID as its stable upsert key. Supplying copy_from_dataset_id and copy_from_version_id carries forward rows from that dataset version; omitting batch_group_id mutates the latest destination dataset version.
Parámetros de entrada
itemsobject[]ObligatorioDataset items to create or update in one batch.
dataset_idstringuuidDestination dataset UUID. Required when dataset_name is omitted.
project_idstringuuidProject UUID. Takes precedence over project_name.
dataset_namestringDestination dataset name. Required when dataset_id is omitted.
project_namestringProject name used when project_id is omitted.
batch_group_idstringuuidUUID grouping multiple batches into one dataset version. Omit it to mutate the latest version.
copy_from_dataset_idstringuuidSource dataset UUID for carry-forward rows. Must be supplied together with copy_from_version_id.
copy_from_version_idstringuuidSource version UUID for carry-forward rows. Must be supplied together with copy_from_dataset_id.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create viewOPIK_VIEWS_CREATE_VIEWAcciónCreate a view with its first version
OPIK_VIEWS_CREATE_VIEWAcciónCreate a view with its first version
Parámetros de entrada
areastringObligatorioThe content area the view is written for; fixed after creation
htmlstringObligatorioThe view: HTML, CSS and script rendered in a sandboxed iframe
namestringObligatorioName value used to create view.
typestringObligatorioView type
authorstringenumWho produced the version: user (default), ollie or agent. Informational only
userollieagentinputsobjectObligatorioInput name to data source, one or several; the view receives one data object with a key per input
summarystringWhat the first version shows, one line
librariesstring[]Libraries the host loads before the view runs; none when omitted
descriptionstringDescription value used to create view.
engine_versionintegerObligatorioHTML contract version the view was written against
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create view versionOPIK_VIEWS_CREATE_VIEW_VERSIONAcciónAdd a version to a view and make it current
OPIK_VIEWS_CREATE_VIEW_VERSIONAcciónAdd a version to a view and make it current
Parámetros de entrada
htmlstringObligatorioThe view: HTML, CSS and script rendered in a sandboxed iframe
typestringObligatorioView type
authorstringenumWho produced the version: user (default), ollie or agent. Informational only
userollieagentinputsobjectObligatorioInput name to data source, one or several; the view receives one data object with a key per input
summarystringWhat changed, one line
view_idstringObligatoriouuidUUID of the view id used to create view version.
librariesstring[]Libraries the host loads before the view runs; none when omitted
engine_versionintegerObligatorioHTML contract version the view was written against
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get view by idOPIK_VIEWS_GET_VIEW_BY_IDAcciónGet a view with its current version
OPIK_VIEWS_GET_VIEW_BY_IDAcciónGet a view with its current version
Parámetros de entrada
view_idstringObligatoriouuidUUID of the view id used to get view by id.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get view versionOPIK_VIEWS_GET_VIEW_VERSIONAcciónGet one version of a view
OPIK_VIEWS_GET_VIEW_VERSIONAcciónGet one version of a view
Parámetros de entrada
versionintegerObligatorioidentifier of the version used to get view version.
view_idstringObligatoriouuidUUID of the view id used to get view version.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Select view versionOPIK_VIEWS_SET_VIEW_CURRENT_VERSIONAcciónMake an existing version the one that renders. Also used for rollback; writes no version.
OPIK_VIEWS_SET_VIEW_CURRENT_VERSIONAcciónMake an existing version the one that renders. Also used for rollback; writes no version.
Parámetros de entrada
versionintegerObligatorioAn existing version number of the view, starting at 1
view_idstringObligatoriouuidUUID of the view id used to select view version.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update viewOPIK_VIEWS_UPDATE_VIEWAcciónUpdate the name and description of a view
OPIK_VIEWS_UPDATE_VIEWAcciónUpdate the name and description of a view
Parámetros de entrada
namestringName value used to update view.
view_idstringObligatoriouuidUUID of the view id used to update view.
descriptionstringOmit to keep the description; an empty or blank string clears it
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Wait For Runner JobOPIK_WAIT_FOR_RUNNER_JOBAcciónPoll an existing Opik local runner job until it completes, fails, is cancelled, or times out. Use this only after obtaining a job ID through another workflow, because the create local runner job endpoint returns an empty response and does not provide a job ID for safe create-and-wait polling.
OPIK_WAIT_FOR_RUNNER_JOBAcciónPoll an existing Opik local runner job until it completes, fails, is cancelled, or times out. Use this only after obtaining a job ID through another workflow, because the create local runner job endpoint returns an empty response and does not provide a job ID for safe create-and-wait polling.
Parámetros de entrada
job_idstringObligatoriouuidExisting Opik local runner job UUID to wait for.
timeout_secondsnumberPolling deadline from 10 to 240 seconds, checked between provider requests. A provider request and its retries may finish after it. A timeout does not mean the runner job itself failed.
poll_interval_secondsnumberSeconds between job status checks (2-30).
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get workspace permissions for the authenticated userOPIK_WORKSPACE_PERMISSIONS_GET_WORKSPACE_USER_PERMISSIONSAcciónGet workspace permissions for the authenticated user
OPIK_WORKSPACE_PERMISSIONS_GET_WORKSPACE_USER_PERMISSIONSAcciónGet workspace permissions for the authenticated user
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get costs summaryOPIK_WORKSPACES_COSTS_SUMMARYAcciónGet costs summary
OPIK_WORKSPACES_COSTS_SUMMARYAcciónGet costs summary
Parámetros de entrada
project_idsstring[]Project Ids value used to get costs summary.
interval_endstringObligatoriodate-timeInterval End value used to get costs summary.
interval_startstringObligatoriodate-timeInterval Start value used to get costs summary.
start_before_endbooleanStart Before End value used to get costs summary.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get cost daily dataOPIK_WORKSPACES_GET_COSTAcciónGet cost daily data
OPIK_WORKSPACES_GET_COSTAcciónGet cost daily data
Parámetros de entrada
project_idsstring[]Project Ids value used to get cost daily data.
interval_endstringObligatoriodate-timeInterval End value used to get cost daily data.
interval_startstringObligatoriodate-timeInterval Start value used to get cost daily data.
start_before_endbooleanStart Before End value used to get cost daily data.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get metric daily dataOPIK_WORKSPACES_GET_METRICAcciónGet metric daily data
OPIK_WORKSPACES_GET_METRICAcciónGet metric daily data
Parámetros de entrada
project_idsstring[]Project Ids value used to get metric daily data.
interval_endstringObligatoriodate-timeInterval End value used to get metric daily data.
interval_startstringObligatoriodate-timeInterval Start value used to get metric daily data.
start_before_endbooleanStart Before End value used to get metric daily data.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get workspace configurationOPIK_WORKSPACES_GET_WORKSPACE_CONFIGURATIONAcciónGet workspace configuration
OPIK_WORKSPACES_GET_WORKSPACE_CONFIGURATIONAcciónGet workspace configuration
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get workspace span metricOPIK_WORKSPACES_GET_WORKSPACE_SPAN_METRICAcciónGets a span metric time series aggregated across the workspace. When project_ids is empty, all projects in the workspace are included; otherwise only the given projects.
OPIK_WORKSPACES_GET_WORKSPACE_SPAN_METRICAcciónGets a span metric time series aggregated across the workspace. When project_ids is empty, all projects in the workspace are included; otherwise only the given projects.
Parámetros de entrada
filtersobject[]Filters value used to get workspace span metric.
intervalstringenumInterval value used to get workspace span metric.
HOURLYDAILYWEEKLYTOTALbreakdownobjectBreakdown value used to get workspace span metric.
metric_typestringenumMetric Type value used to get workspace span metric.
FEEDBACK_SCORESTRACE_COUNTTOKEN_USAGEDURATIONCOSTGUARDRAILS_FAILED_COUNTTHREAD_COUNTTHREAD_DURATIONTHREAD_FEEDBACK_SCORESSPAN_FEEDBACK_SCORESSPAN_COUNTSPAN_DURATION+8project_idsstring[]Project Ids value used to get workspace span metric.
interval_endstringdate-timeInterval End value used to get workspace span metric.
interval_startstringObligatoriodate-timeInterval Start value used to get workspace span metric.
start_before_endbooleanStart Before End value used to get workspace span metric.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get workspace token usage namesOPIK_WORKSPACES_GET_WORKSPACE_TOKEN_USAGE_NAMESAcciónGets the distinct span token usage key names aggregated across the workspace. When project_ids is empty, all projects in the workspace are included; otherwise only the given projects.
OPIK_WORKSPACES_GET_WORKSPACE_TOKEN_USAGE_NAMESAcciónGets the distinct span token usage key names aggregated across the workspace. When project_ids is empty, all projects in the workspace are included; otherwise only the given projects.
Parámetros de entrada
project_idsstring[]Project Ids value used to get workspace token usage names.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get metrics summaryOPIK_WORKSPACES_METRICS_SUMMARYAcciónGet metrics summary
OPIK_WORKSPACES_METRICS_SUMMARYAcciónGet metrics summary
Parámetros de entrada
project_idsstring[]Project Ids value used to get metrics summary.
interval_endstringObligatoriodate-timeInterval End value used to get metrics summary.
interval_startstringObligatoriodate-timeInterval Start value used to get metrics summary.
start_before_endbooleanStart Before End value used to get metrics summary.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Upsert workspace configurationOPIK_WORKSPACES_UPSERT_WORKSPACE_CONFIGURATIONAcciónUpsert workspace configuration
OPIK_WORKSPACES_UPSERT_WORKSPACE_CONFIGURATIONAcciónUpsert workspace configuration
Parámetros de entrada
color_mapobjectWorkspace-level color map. Maps label names to hex color values (e.g. #FF0000). Max 10000 entries.
truncation_on_tablesbooleanEnable or disable data truncation in table views. When disabled, the frontend will limit pagination to prevent performance issues. Default: true (truncation enabled).
timeout_to_mark_thread_as_inactivestringDuration in ISO-8601 format (e.g., PT30M for 30 minutes, PT2H for 2 hours, P1D for 1 day). Minimum precision supported is seconds, please use a duration with seconds precision or higher. Also, the max duration allowed is 7 days.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not