Volver al catálogo

Opik by Comet

opik

Opik is Comet's open-source platform for tracing, evaluating, and monitoring LLM applications and AI agents.

Acciones
210
Triggers
0
Autenticación
—
OAuth gestionado
No
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

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ón

Creates a new optimizer config with initial blueprint. Fails if the project already has a config.

Parámetros de entrada

  • idstringuuid

    Agent config ID. Generated automatically if not provided

  • blueprintobjectObligatorio

    Blueprint value used to create optimizer config with initial blueprint.

  • project_idstringuuid

    Project UUID. Provide this field or project_name.

  • project_namestring

    Project name. Provide this field when project_id is omitted.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create blueprint from maskOPIK_AGENT_CONFIGS_CREATE_BLUEPRINT_FROM_MASKAcción

Creates a new blueprint by applying a mask's changes on top of the latest blueprint for the project.

Parámetros de entrada

  • mask_idstringObligatoriouuid

    UUID of the mask id used to create blueprint from mask.

  • project_idstringObligatoriouuid

    UUID of the project id used to create blueprint from mask.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create or update environmentsOPIK_AGENT_CONFIGS_CREATE_OR_UPDATE_ENVSAcción

Creates or updates environment-to-blueprint mappings

Parámetros de entrada

  • envsobject[]Obligatorio

    Envs value used to create or update environments.

  • project_idstringObligatoriouuid

    Project Id value used to create or update environments.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Retrieve blueprint by environmentOPIK_AGENT_CONFIGS_GET_BLUEPRINT_BY_ENVAcción

Retrieves the blueprint associated with a specific environment

Parámetros de entrada

  • mask_idstringuuid

    Mask Id value used to narrow or configure retrieve blueprint by environment.

  • env_namestringObligatorio

    identifier of the env name used to retrieve blueprint by environment.

  • project_idstringObligatoriouuid

    UUID of the project id used to retrieve blueprint by environment.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Retrieve blueprint by IDOPIK_AGENT_CONFIGS_GET_BLUEPRINT_BY_IDAcción

Retrieves a specific blueprint by its ID

Parámetros de entrada

  • mask_idstringuuid

    Mask Id value used to narrow or configure retrieve blueprint by id.

  • blueprint_idstringObligatoriouuid

    UUID of the blueprint id used to retrieve blueprint by id.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Retrieve blueprint by nameOPIK_AGENT_CONFIGS_GET_BLUEPRINT_BY_NAMEAcción

Retrieves a specific blueprint by its name within a project

Parámetros de entrada

  • namestringObligatorio

    identifier of the name used to retrieve blueprint by name.

  • mask_idstringuuid

    Mask Id value used to narrow or configure retrieve blueprint by name.

  • project_idstringObligatoriouuid

    UUID of the project id used to retrieve blueprint by name.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get blueprint historyOPIK_AGENT_CONFIGS_GET_BLUEPRINT_HISTORYAcción

Retrieves paginated blueprint history for a project

Parámetros de entrada

  • sizeinteger

    Maximum number of results to return on one page.

  • cursorstring

    Opaque continuation cursor returned as next_cursor by a previous call. Omit for the first page and pass returned values back verbatim.

  • project_idstringObligatoriouuid

    UUID of the project id used to get blueprint history.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Retrieve delta by blueprint IDOPIK_AGENT_CONFIGS_GET_DELTA_BY_IDAcción

Retrieves only the changes (delta) introduced in a specific blueprint

Parámetros de entrada

  • blueprint_idstringObligatoriouuid

    UUID of the blueprint id used to retrieve delta by blueprint id.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Retrieve latest blueprintOPIK_AGENT_CONFIGS_GET_LATEST_BLUEPRINTAcción

Retrieves the latest blueprint for a project

Parámetros de entrada

  • mask_idstringuuid

    Mask Id value used to narrow or configure retrieve latest blueprint.

  • project_idstringObligatoriouuid

    UUID of the project id used to retrieve latest blueprint.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set environment by blueprint nameOPIK_AGENT_CONFIGS_SET_ENV_BLUEPRINTAcción

Sets an environment to point to a blueprint identified by name

Parámetros de entrada

  • env_namestringObligatorio

    identifier of the env name used to set environment by blueprint name.

  • project_idstringObligatoriouuid

    UUID of the project id used to set environment by blueprint name.

  • blueprint_namestringObligatorio

    Blueprint Name value used to set environment by blueprint name.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Add blueprint to existing configOPIK_AGENT_CONFIGS_UPDATE_AGENT_CONFIGAcción

Adds a new blueprint to an existing optimizer config. Fails if the project has no config yet.

Parámetros de entrada

  • idstringuuid

    Agent config ID. Generated automatically if not provided

  • blueprintobjectObligatorio

    Blueprint value used to add blueprint to existing config.

  • project_idstringuuid

    Project UUID. Provide this field or project_name.

  • project_namestring

    Project name. Provide this field when project_id is omitted.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Agent Insights jobOPIK_AGENT_INSIGHTS_CREATE_JOBAcción

Creates 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_idstringObligatoriouuid

    UUID of the project id used to create agent insights job.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Find agent insights issuesOPIK_AGENT_INSIGHTS_FIND_AGENT_INSIGHTS_ISSUESAcción

Returns 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

  • sizeinteger

    Maximum number of results to return on one page.

  • cursorstring

    Opaque continuation cursor returned as next_cursor by a previous call. Omit for the first page and pass returned values back verbatim.

  • statusstringenum

    Status value used to narrow or configure find agent insights issues.

    openresolvedclosed
  • to_datestringdate

    To Date value used to narrow or configure find agent insights issues.

  • severitystringenum

    Severity value used to narrow or configure find agent insights issues.

    criticalhighmediumlow
  • from_datestringdate

    From Date value used to narrow or configure find agent insights issues.

  • project_idstringObligatoriouuid

    Project Id value used to narrow or configure find agent insights issues.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get agent insights issue by idOPIK_AGENT_INSIGHTS_GET_ISSUE_BY_IDAcción

Returns the issue together with its per-day breakdown within the requested time window

Parámetros de entrada

  • to_datestringdate

    To Date value used to narrow or configure get agent insights issue by id.

  • issue_idstringObligatoriouuid

    UUID of the issue id used to get agent insights issue by id.

  • from_datestringdate

    From Date value used to narrow or configure get agent insights issue by id.

  • project_idstringObligatoriouuid

    Project Id value used to narrow or configure get agent insights issue by id.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Agent Insights jobOPIK_AGENT_INSIGHTS_GET_JOBAcción

Returns the Agent Insights job for the (workspace, project), or 404 if none exists.

Parámetros de entrada

  • project_idstringObligatoriouuid

    UUID of the project id used to get agent insights job.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Trigger Agent Insights jobOPIK_AGENT_INSIGHTS_TRIGGER_JOBAcción

Triggers 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_idstringObligatoriouuid

    UUID of the project id used to trigger agent insights job.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update agent insights issue statusOPIK_AGENT_INSIGHTS_UPDATE_AGENT_INSIGHTS_ISSUEAcción

Moves 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

  • statusstringObligatorioenum

    Status value used to update agent insights issue status.

    openresolvedclosed
  • issue_idstringObligatoriouuid

    UUID of the issue id used to update agent insights issue status.

  • close_notestring

    Why the issue is closed as not useful. Stored only with status closed; any other status clears it

  • project_idstringObligatoriouuid

    Project Id value used to update agent insights issue status.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update Agent Insights project guidanceOPIK_AGENT_INSIGHTS_UPDATE_GUIDANCEAcción

Saves 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

  • guidancestringObligatorio

    Project guidance for Agent Insights runs. Empty or whitespace-only clears it

  • project_idstringObligatoriouuid

    UUID of the project id used to update agent insights project guidance.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update Agent Insights jobOPIK_AGENT_INSIGHTS_UPDATE_JOBAcción

Partially 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

  • statusstringObligatorioenum

    New status for the job

    enableddisabled
  • project_idstringObligatoriouuid

    UUID of the project id used to update agent insights job.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Find alertsOPIK_ALERTS_FIND_ALERTSAcción

Find alerts

Parámetros de entrada

  • sizeinteger

    Maximum number of results to return on one page.

  • cursorstring

    Opaque 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

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Alert by idOPIK_ALERTS_GET_ALERT_BY_IDAcción

Get Alert by id

Parámetros de entrada

  • alert_idstringObligatoriouuid

    UUID of the alert id used to get alert by id.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get webhook payload examplesOPIK_ALERTS_GET_WEBHOOK_EXAMPLESAcción

Get webhook payload examples for all alert event types, optionally filtered by alert type

Parámetros de entrada

  • alert_typestringenum

    Alert Type value used to narrow or configure get webhook payload examples.

    generalslackpagerduty

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Add items to annotation queueOPIK_ANNOTATION_QUEUES_ADD_ITEMSAcción

Add traces or threads to annotation queue

Parámetros de entrada

  • idsstring[]Obligatorio

    Ids value used to add items to annotation queue.

  • annotation_queue_idstringObligatoriouuid

    UUID of the annotation queue id used to add items to annotation queue.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create annotation queueOPIK_ANNOTATION_QUEUES_CREATE_ANNOTATION_QUEUEAcción

Create annotation queue for human annotation workflows

Parámetros de entrada

  • idstringuuid

    Id value used to create annotation queue.

  • namestringObligatorio

    Name value used to create annotation queue.

  • scopestringObligatorioenum

    Scope value used to create annotation queue.

    tracethread
  • automationobject

    Automation value used to create annotation queue.

  • project_idstringObligatoriouuid

    Project Id value used to create annotation queue.

  • descriptionstring

    Description value used to create annotation queue.

  • instructionsstring

    Instructions value used to create annotation queue.

  • annotator_viewobject

    Annotator View value used to create annotation queue.

  • comments_enabledboolean

    Comments Enabled value used to create annotation queue.

  • annotators_per_iteminteger

    Annotators Per Item value used to create annotation queue.

  • lock_timeout_secondsinteger

    Lock Timeout Seconds value used to create annotation queue.

  • feedback_definition_namesstring[]

    Feedback Definition Names value used to create annotation queue.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create annotation queue batchOPIK_ANNOTATION_QUEUES_CREATE_ANNOTATION_QUEUE_BATCHAcción

Create multiple annotation queues for human annotation workflows

Parámetros de entrada

  • annotation_queuesobject[]Obligatorio

    List of annotation queues to create

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Find annotation queuesOPIK_ANNOTATION_QUEUES_FIND_ANNOTATION_QUEUESAcción

Find annotation queues with filtering and sorting

Parámetros de entrada

  • namestring

    Filter annotation queues by name (partial match, case insensitive)

  • sizeinteger

    Maximum number of results to return on one page.

  • cursorstring

    Opaque 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

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get all active locks for an annotation queueOPIK_ANNOTATION_QUEUES_GET_ANNOTATION_QUEUE_LOCKSAcción

Returns lock status for all actively locked items in the queue

Parámetros de entrada

  • queue_idstringObligatoriouuid

    UUID of the queue id used to get all active locks for an annotation queue.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get annotation queue by idOPIK_ANNOTATION_QUEUES_GET_BY_IDAcción

Get annotation queue by id

Parámetros de entrada

  • annotation_queue_idstringObligatoriouuid

    UUID of the annotation queue id used to get annotation queue by id.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create or extend annotation queue item lockOPIK_ANNOTATION_QUEUES_LOCK_ANNOTATION_QUEUE_ITEMAcción

Claim an annotation queue item for the current user, or extend an existing lock

Parámetros de entrada

  • item_idstringObligatoriouuid

    UUID of the item id used to create or extend annotation queue item lock.

  • queue_idstringObligatoriouuid

    UUID of the queue id used to create or extend annotation queue item lock.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Search annotation queue itemsOPIK_ANNOTATION_QUEUES_SEARCH_ANNOTATION_QUEUE_ITEMSAcción

Returns 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[]Obligatorio

    Ids value used to search annotation queue items.

  • annotation_queue_idstringObligatoriouuid

    UUID of the annotation queue id used to search annotation queue items.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update annotation queueOPIK_ANNOTATION_QUEUES_UPDATE_ANNOTATION_QUEUEAcción

Update annotation queue by id

Parámetros de entrada

  • namestring

    Name value used to update annotation queue.

  • automationobject

    Automation value used to update annotation queue.

  • descriptionstring

    Description value used to update annotation queue.

  • instructionsstring

    Instructions value used to update annotation queue.

  • annotator_viewobject

    Annotator View value used to update annotation queue.

  • comments_enabledboolean

    Comments Enabled value used to update annotation queue.

  • annotation_queue_idstringObligatoriouuid

    UUID of the annotation queue id used to update annotation queue.

  • annotators_per_iteminteger

    Annotators Per Item value used to update annotation queue.

  • lock_timeout_secondsinteger

    Lock Timeout Seconds value used to update annotation queue.

  • feedback_definition_namesstring[]

    Feedback Definition Names value used to update annotation queue.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Batch ingestion of assertion resultsOPIK_ASSERTION_RESULTS_STORE_ASSERTIONS_BATCHAcción

Batch ingestion of assertion results for traces or spans

Parámetros de entrada

  • entity_typestringObligatorioenum

    Entity Type value used to batch ingestion of assertion results.

    TRACESPANTHREAD
  • assertion_resultsobject[]Obligatorio

    Assertion Results value used to batch ingestion of assertion results.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Attachments list for entityOPIK_ATTACHMENTS_ATTACHMENT_LISTAcción

Attachments list for entity

Parámetros de entrada

  • pathstringObligatorio

    Path value used to narrow or configure attachments list for entity.

  • sizeinteger

    Maximum number of results to return on one page.

  • cursorstring

    Opaque continuation cursor returned as next_cursor by a previous call. Omit for the first page and pass returned values back verbatim.

  • entity_idstringObligatoriouuid

    Entity Id value used to narrow or configure attachments list for entity.

  • project_idstringObligatoriouuid

    Project Id value used to narrow or configure attachments list for entity.

  • entity_typestringObligatorioenum

    Entity Type value used to narrow or configure attachments list for entity.

    tracespan

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create automation rule evaluatorOPIK_AUTOMATION_EVALUATORS_CREATEAcción

Create automation rule evaluator

Parámetros de entrada

  • codeanyObligatorio

    Code value used to create automation rule evaluator.

  • namestringObligatorio

    Name value used to create automation rule evaluator.

  • typestringObligatorioenum

    Type 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_python
  • actionstringObligatorioenum

    Action value used to create automation rule evaluator.

    evaluatorannotation_queue_router
  • enabledboolean

    Enabled value used to create automation rule evaluator.

  • filtersany

    Filters value used to create automation rule evaluator.

  • project_idstringuuid

    Primary project ID (legacy field for backwards compatibility)

  • project_idsstring[]

    Project IDs for write operations (used when creating/updating rules)

  • sampling_ratestring

    Fraction 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_scopestringenum

    Controls whether the rule fires on production traces, experiment traces, or both. Defaults to 'production' if omitted.

    productionexperimentboth

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get automation rule evaluator by idOPIK_AUTOMATION_EVALUATORS_GET_BY_IDAcción

Get automation rule by id

Parámetros de entrada

  • project_idstringuuid

    Project Id value used to narrow or configure get automation rule evaluator by id.

  • evaluator_idstringObligatoriouuid

    UUID of the evaluator id used to get automation rule evaluator by id.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get automation rule evaluator logs by idOPIK_AUTOMATION_EVALUATORS_GET_LOGSAcción

Get automation rule evaluator logs by id

Parámetros de entrada

  • sizeinteger

    Maximum number of results to return on one page.

  • evaluator_idstringObligatoriouuid

    UUID of the evaluator id used to get automation rule evaluator logs by id.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update Automation Rule Evaluator by idOPIK_AUTOMATION_EVALUATORS_UPDATEAcción

Update Automation Rule Evaluator by id

Parámetros de entrada

  • codeanyObligatorio

    Code value used to update automation rule evaluator by id.

  • namestringObligatorio

    Name value used to update automation rule evaluator by id.

  • typestringObligatorioenum

    Type 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_python
  • actionstringObligatorioenum

    Action value used to update automation rule evaluator by id.

    evaluatorannotation_queue_router
  • enabledboolean

    Enabled value used to update automation rule evaluator by id.

  • filtersany

    Filters value used to update automation rule evaluator by id.

  • project_idstringuuid

    Primary project ID (legacy field, maintained for backwards compatibility)

  • project_idsstring[]

    Multiple project IDs (new field for multi-project support)

  • evaluator_idstringObligatoriouuid

    UUID of the evaluator id used to update automation rule evaluator by id.

  • sampling_ratestring

    Fraction 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_scopestringenum

    Trigger Scope value used to update automation rule evaluator by id.

    productionexperimentboth

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Find project EvaluatorsOPIK_AUTOMATION_RULE_EVALUATORS_FIND_EVALUATORSAcción

Find project Evaluators

Parámetros de entrada

  • idstring

    Filter automation rules with rule ID containing this value (partial match, like %id%)

  • namestring

    Filter automation rule evaluators by name (partial match, case insensitive)

  • sizeinteger

    Maximum number of results to return on one page.

  • cursorstring

    Opaque continuation cursor returned as next_cursor by a previous call. Omit for the first page and pass returned values back verbatim.

  • project_idstringuuid

    Project Id value used to narrow or configure find project evaluators.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create chat completionsOPIK_CHAT_COMPLETIONS_CREATE_CHAT_COMPLETIONSAcción

Create chat completions

Parámetros de entrada

  • seedinteger

    Seed value used to create chat completions.

  • stopstring[]

    Stop value used to create chat completions.

  • userstring

    User value used to create chat completions.

  • modelstring

    Model value used to create chat completions.

  • storeboolean

    Store value used to create chat completions.

  • toolsobject[]

    Tools value used to create chat completions.

  • top_pnumber

    Top P value used to create chat completions.

  • logprobsboolean

    Logprobs value used to create chat completions.

  • messagesobject[]

    Messages value used to create chat completions.

  • metadataobject

    Metadata value used to create chat completions.

  • functionsobject[]

    Functions value used to create chat completions.

  • logit_biasobject

    Logit Bias value used to create chat completions.

  • max_tokensinteger

    Max Tokens value used to create chat completions.

  • temperaturenumber

    Temperature value used to create chat completions.

  • tool_choiceobject

    Tool Choice value used to create chat completions.

  • service_tierstring

    Service Tier value used to create chat completions.

  • top_logprobsinteger

    Top Logprobs value used to create chat completions.

  • function_callobject

    Function Call value used to create chat completions.

  • response_formatobject

    Response Format value used to create chat completions.

  • completion_countinteger

    Number of completion choices to generate.

  • presence_penaltynumber

    Presence Penalty value used to create chat completions.

  • prompt_cache_keystring

    Prompt Cache Key value used to create chat completions.

  • reasoning_effortstring

    Reasoning Effort value used to create chat completions.

  • frequency_penaltynumber

    Frequency Penalty value used to create chat completions.

  • parallel_tool_callsboolean

    Parallel Tool Calls value used to create chat completions.

  • prompt_cache_optionsobject

    Prompt Cache Options value used to create chat completions.

  • max_completion_tokensinteger

    Max Completion Tokens value used to create chat completions.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Check user access to workspaceOPIK_CHECK_ACCESSAcción

Check user access to workspace

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

User's default workspace nameOPIK_CHECK_GET_WORKSPACE_NAMEAcción

User's default workspace name

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create DatasetOPIK_CREATE_DATASETAcción

Create 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

  • idstringuuid

    Optional UUID for the dataset; omit to let Opik assign one.

  • namestringObligatorio

    Dataset name.

  • tagsstring[]

    Unique tags to attach to the dataset.

  • typestringenum

    Dataset kind.

    datasetevaluation_suite
  • project_idstringuuid

    Project UUID. Takes precedence over project_name when both are provided.

  • visibilitystringenum

    Dataset visibility.

    privatepublic
  • descriptionstring

    Optional dataset description, up to 255 characters.

  • project_namestring

    Project 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

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create ExperimentOPIK_CREATE_EXPERIMENTAcción

Create 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

  • idstringuuid

    Optional experiment UUID; omit to let Opik assign one.

  • namestring

    Experiment name.

  • tagsstring[]

    Unique experiment tags of at most 100 characters each.

  • typestringenum

    Experiment run type.

    regulartrialmini-batchmutation
  • statusstringenum

    Initial experiment status.

    runningcompletedcancelledfailed
  • metadataany

    Experiment metadata as a JSON object, an array of JSON objects, or a string.

  • project_idstringuuid

    Project UUID. Takes precedence over project_name when both are provided.

  • dataset_nameanyObligatorio

    Dataset name for the experiment; the provider requires this field but permits null.

  • project_namestring

    Project name. Creates the project if absent and is ignored when project_id is provided.

  • prompt_versionobject

    Prompt version linked to the experiment.

  • optimization_idstringuuid

    Optimization UUID associated with the experiment.

  • prompt_versionsobject[]

    Prompt versions linked to the experiment.

  • evaluation_methodstringenum

    Evaluation method.

    datasetevaluation_suite
  • experiment_scoresobject[]

    Experiment-level scores.

  • dataset_version_idstringuuid

    Dataset version UUID. When omitted, Opik links the experiment to the latest dataset version.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Feedback DefinitionOPIK_CREATE_FEEDBACK_DEFINITIONAcción

Create a numerical, categorical, or boolean feedback definition with type-specific details.

Parámetros de entrada

  • idstringuuid

    Optional feedback definition UUID; omit to let Opik assign one.

  • namestringObligatorio

    Feedback definition name.

  • typestringObligatorioenum

    Definition discriminator; it must match the supplied details variant.

    numericalcategoricalboolean
  • detailsanyObligatorio

    Type-specific settings: numerical requires min and max, categorical requires categories, and boolean requires trueLabel and falseLabel.

  • descriptionstring

    Optional feedback definition description, up to 255 characters.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create ProjectOPIK_CREATE_PROJECTAcción

Create a project in the connected Opik workspace.

Parámetros de entrada

  • namestringObligatorio

    Project name, up to 150 characters.

  • visibilitystringenum

    Project visibility.

    privatepublic
  • descriptionstring

    Optional project description, up to 255 characters.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create PromptOPIK_CREATE_PROMPTAcción

Create 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

  • idstringuuid

    Optional prompt UUID; omit to let Opik assign one.

  • namestringObligatorio

    Prompt name.

  • tagsstring[]

    Unique tags to attach to the prompt.

  • typestringenum

    Template language.

    mustachejinja2python
  • metadataobject

    Structured JSON metadata for the initial prompt version.

  • templatestring

    Initial prompt template.

  • project_idstringuuid

    Project UUID. Takes precedence over project_name when both are provided.

  • descriptionstring

    Optional prompt description, up to 255 characters.

  • project_namestring

    Project name. Creates the project if absent, is ignored when project_id is provided, and uses the Default Project when both selectors are omitted.

  • change_descriptionstring

    Description of the initial prompt version's change.

  • template_structurestringenum

    Template structure, which is immutable after prompt creation.

    textchat

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Prompt VersionOPIK_CREATE_PROMPT_VERSIONAcción

Create an immutable version for a named prompt, creating the prompt when it does not already exist.

Parámetros de entrada

  • namestringObligatorio

    Prompt name whose version should be created.

  • versionobjectObligatorio

    Immutable prompt version to create.

  • project_idstringuuid

    Project UUID. Takes precedence over project_name when both are provided.

  • project_namestring

    Project name used to scope the prompt when project_id is omitted.

  • template_structurestringenum

    Template structure used only when this call creates the prompt; ignored when the prompt already exists.

    textchat

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create SpansOPIK_CREATE_SPANSAcción

Create one or more Opik spans in a single batch.

Parámetros de entrada

  • spansobject[]Obligatorio

    Span records to create in one batch.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create TracesOPIK_CREATE_TRACESAcción

Create one or more Opik traces in a single batch.

Parámetros de entrada

  • tracesobject[]Obligatorio

    Trace records to create in one batch.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create dashboardOPIK_DASHBOARDS_CREATE_DASHBOARDAcción

Create a new dashboard in a workspace

Parámetros de entrada

  • namestringObligatorio

    Name value used to create dashboard.

  • typestringenum

    Type value used to create dashboard.

    multi_projectexperiments
  • configobjectObligatorio

    Config value used to create dashboard.

  • project_idstringuuid

    Project ID. Takes precedence over project_name when both are provided.

  • descriptionstring

    Description value used to create dashboard.

  • project_namestring

    Project 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

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Find dashboardsOPIK_DASHBOARDS_FIND_DASHBOARDSAcción

Find dashboards in a workspace

Parámetros de entrada

  • namestring

    Filter dashboards by name (partial match, case insensitive)

  • sizeinteger

    Maximum number of results to return on one page.

  • cursorstring

    Opaque continuation cursor returned as next_cursor by a previous call. Omit for the first page and pass returned values back verbatim.

  • project_idstringuuid

    Project Id value used to narrow or configure find dashboards.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get dashboard by idOPIK_DASHBOARDS_GET_DASHBOARD_BY_IDAcción

Get dashboard by id

Parámetros de entrada

  • dashboard_idstringObligatoriouuid

    UUID of the dashboard id used to get dashboard by id.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Run a saved widget queryOPIK_DASHBOARDS_RUN_DASHBOARD_WIDGET_QUERYAcción

Runs 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_idstringObligatorio

    UUID of the widget id used to run a saved widget query.

  • dashboard_idstringObligatoriouuid

    UUID of the dashboard id used to run a saved widget query.

  • interval_endstringdate-time

    End of the date range, bound to {{window_end}} in the dashboard saved query. Omit for now.

  • interval_startstringdate-time

    Start of the date range, bound to {{window_start}} in the dashboard saved query. Omit for all time.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update dashboardOPIK_DASHBOARDS_UPDATE_DASHBOARDAcción

Update dashboard by id. Partial updates are supported - only provided fields will be updated.

Parámetros de entrada

  • namestring

    Name value used to update dashboard.

  • typestringenum

    Type value used to update dashboard.

    multi_projectexperiments
  • configobject

    Config value used to update dashboard.

  • descriptionstring

    Description value used to update dashboard.

  • dashboard_idstringObligatoriouuid

    UUID of the dashboard id used to update dashboard.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Batch update dataset itemsOPIK_DATASETS_BATCH_UPDATE_DATASET_ITEMSAcción

Update multiple dataset items

Parámetros de entrada

  • idsstring[]

    List of dataset item IDs to update (max 1000). Mutually exclusive with 'filters'.

  • updateobjectObligatorio

    Dataset item update request

  • filtersobject[]

    Filters value used to batch update dataset items.

  • dataset_idstringuuid

    Dataset ID. Required when using 'filters', optional when using 'ids'.

  • merge_tagsboolean

    If 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

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Compare latest version with draftOPIK_DATASETS_COMPARE_DATASET_VERSIONSAcción

Compare 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_idstringObligatoriouuid

    UUID of the dataset id used to compare latest version with draft.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create dataset items from spansOPIK_DATASETS_CREATE_DATASET_ITEMS_FROM_SPANSAcción

Create dataset items from spans with enriched metadata

Parámetros de entrada

  • span_idsstring[]Obligatorio

    Set of span IDs to add to the dataset

  • dataset_idstringObligatoriouuid

    UUID of the dataset id used to create dataset items from spans.

  • evaluatorsobject[]

    Optional evaluators to apply to the created items

  • field_mappingsobject

    Optional 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_policyobject

    Execution Policy value used to create dataset items from spans.

  • enrichment_optionsobjectObligatorio

    Options for enriching span data

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create dataset items from tracesOPIK_DATASETS_CREATE_DATASET_ITEMS_FROM_TRACESAcción

Create dataset items from traces with enriched metadata

Parámetros de entrada

  • trace_idsstring[]Obligatorio

    Set of trace IDs to add to the dataset

  • dataset_idstringObligatoriouuid

    UUID of the dataset id used to create dataset items from traces.

  • evaluatorsobject[]

    Optional evaluators to apply to the created items

  • field_mappingsobject

    Optional 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_policyobject

    Execution Policy value used to create dataset items from traces.

  • enrichment_optionsobjectObligatorio

    Options for enriching trace data

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create version tagOPIK_DATASETS_CREATE_VERSION_TAGAcción

Add a tag to a specific dataset version for easy reference (e.g., 'baseline', 'v1.0', 'production')

Parámetros de entrada

  • tagstringObligatorio

    Tag value used to create version tag.

  • dataset_idstringObligatoriouuid

    UUID of the dataset id used to create version tag.

  • version_hashstringObligatorio

    identifier of the version hash used to create version tag.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Expand dataset with synthetic samplesOPIK_DATASETS_EXPAND_DATASETAcción

Generate synthetic dataset samples using LLM based on existing data patterns

Parámetros de entrada

  • modelstringObligatorio

    The model to use for synthetic data generation

  • dataset_idstringObligatoriouuid

    UUID of the dataset id used to expand dataset with synthetic samples.

  • sample_countinteger

    Number of synthetic samples to generate

  • custom_promptstring

    Custom prompt to use for generation instead of auto-generated one

  • preserve_fieldsstring[]

    Fields to preserve patterns from original data

  • max_completion_tokensinteger

    Maximum 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_instructionsstring

    Additional instructions for data variation

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get dataset by idOPIK_DATASETS_GET_DATASET_BY_IDAcción

Get dataset by id

Parámetros de entrada

  • dataset_idstringObligatoriouuid

    UUID of the dataset id used to get dataset by id.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get dataset by nameOPIK_DATASETS_GET_DATASET_BY_IDENTIFIERAcción

Get dataset by name

Parámetros de entrada

  • dataset_namestringObligatorio

    Dataset Name value used to get dataset by name.

  • project_namestring

    Project Name value used to get dataset by name.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get experiment items stats for datasetOPIK_DATASETS_GET_DATASET_EXPERIMENT_ITEMS_STATSAcción

Get experiment items stats for dataset

Parámetros de entrada

  • dataset_idstringObligatoriouuid

    UUID of the dataset id used to get experiment items stats for dataset.

  • experiment_idsstringObligatorio

    Experiment Ids value used to narrow or configure get experiment items stats for dataset.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get dataset export job statusOPIK_DATASETS_GET_DATASET_EXPORT_JOBAcción

Retrieves the current status of a dataset export job

Parámetros de entrada

  • job_idstringObligatoriouuid

    UUID of the job id used to get dataset export job status.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get dataset item by idOPIK_DATASETS_GET_DATASET_ITEM_BY_IDAcción

Get dataset item by id

Parámetros de entrada

  • item_idstringObligatoriouuid

    UUID of the item id used to get dataset item by id.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get dataset items output columnsOPIK_DATASETS_GET_DATASET_ITEMS_OUTPUT_COLUMNSAcción

Get dataset items output columns

Parámetros de entrada

  • dataset_idstringObligatoriouuid

    UUID of the dataset id used to get dataset items output columns.

  • experiment_idsstring

    Experiment Ids value used to narrow or configure get dataset items output columns.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get dataset version by hashOPIK_DATASETS_GET_DATASET_VERSION_BY_HASHAcción

Get a specific version by its version hash

Parámetros de entrada

  • dataset_idstringObligatoriouuid

    UUID of the dataset id used to get dataset version by hash.

  • version_hashstringObligatorio

    identifier of the version hash used to get dataset version by hash.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List dataset versionsOPIK_DATASETS_LIST_DATASET_VERSIONSAcción

Get paginated list of versions for a dataset, ordered by creation time (newest first)

Parámetros de entrada

  • sizeinteger

    Maximum number of results to return on one page.

  • cursorstring

    Opaque continuation cursor returned as next_cursor by a previous call. Omit for the first page and pass returned values back verbatim.

  • dataset_idstringObligatoriouuid

    UUID of the dataset id used to list dataset versions.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Find dataset items with experiment itemsOPIK_DATASETS_LIST_ITEMS_WITH_EXPERIMENT_RESULTSAcción

Find dataset items with experiment items

Parámetros de entrada

  • sizeinteger

    Page size. At most 100 when experiment_ids is omitted, since each item then carries a result per experiment

  • cursorstring

    Opaque continuation cursor returned as next_cursor by a previous call. Omit for the first page and pass returned values back verbatim.

  • searchstring

    Search text used to narrow the resources returned by find dataset items with experiment items.

  • truncateboolean

    Whether to truncate image content in dataset item inputs, outputs, and metadata.

  • dataset_idstringObligatoriouuid

    UUID of the dataset id used to find dataset items with experiment items.

  • experiment_idsstring

    JSON 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_versionsstring

    JSON array of dataset version hashes or tags. Results include experiments run against a selected version; omit for all versions.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Partially update dataset item by idOPIK_DATASETS_PATCH_DATASET_ITEMAcción

Partially update dataset item by id. Only provided fields will be updated.

Parámetros de entrada

  • idstringuuid

    Stable item identifier. On write, used as the upsert key. If omitted, a new ID is generated. Remains the same across dataset versions

  • dataobjectObligatorio

    Data value used to partially update dataset item by id.

  • tagsstring[]

    Tags value used to partially update dataset item by id.

  • sourcestringObligatorioenum

    Source value used to partially update dataset item by id.

    manualtracespansdk
  • item_idstringObligatoriouuid

    UUID of the item id used to partially update dataset item by id.

  • span_idstringuuid

    Span Id value used to partially update dataset item by id.

  • trace_idstringuuid

    Trace Id value used to partially update dataset item by id.

  • evaluatorsobject[]

    Evaluators value used to partially update dataset item by id.

  • descriptionstring

    Description value used to partially update dataset item by id.

  • execution_policyobject

    Execution Policy value used to partially update dataset item by id.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Restore dataset to a previous versionOPIK_DATASETS_RESTORE_DATASET_VERSIONAcción

Restores 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_idstringObligatoriouuid

    UUID of the dataset id used to restore dataset to a previous version.

  • version_refstringObligatorio

    Version hash or tag to restore from

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Retrieve dataset version by nameOPIK_DATASETS_RETRIEVE_DATASET_VERSIONAcción

Get 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_idstringObligatoriouuid

    UUID of the dataset id used to retrieve dataset version by name.

  • version_namestringObligatorio

    Version name in format 'vN' (e.g., 'v1', 'v373')

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Start dataset CSV exportOPIK_DATASETS_START_DATASET_EXPORTAcción

Initiates an asynchronous CSV export job for the dataset. Returns immediately with job details for polling.

Parámetros de entrada

  • dataset_idstringObligatoriouuid

    UUID of the dataset id used to start dataset csv export.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update dataset by idOPIK_DATASETS_UPDATE_DATASETAcción

Update dataset by id

Parámetros de entrada

  • namestringObligatorio

    Name value used to update dataset by id.

  • tagsstring[]

    Tags value used to update dataset by id.

  • dataset_idstringObligatoriouuid

    UUID of the dataset id used to update dataset by id.

  • visibilitystringenum

    Visibility value used to update dataset by id.

    privatepublic
  • descriptionstring

    Description value used to update dataset by id.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update dataset versionOPIK_DATASETS_UPDATE_DATASET_VERSIONAcción

Update a dataset version's change_description and/or add new tags

Parámetros de entrada

  • dataset_idstringObligatoriouuid

    UUID of the dataset id used to update dataset version.

  • tags_to_addstring[]

    Optional list of tags to add to this version

  • version_hashstringObligatorio

    identifier of the version hash used to update dataset version.

  • change_descriptionstring

    Optional description of changes in this version

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create environmentOPIK_ENVIRONMENTS_CREATE_ENVIRONMENTAcción

Create environment

Parámetros de entrada

  • idstringuuid

    Id value used to create environment.

  • namestringObligatorio

    Name value used to create environment.

  • colorstring

    Color value used to create environment.

  • positioninteger

    Position value used to create environment.

  • descriptionstring

    Description value used to create environment.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Find environmentsOPIK_ENVIRONMENTS_FIND_ENVIRONMENTSAcción

Find environments for the workspace. Capped at the workspace limit (default 100).

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get environment by idOPIK_ENVIRONMENTS_GET_ENVIRONMENT_BY_IDAcción

Get environment by id

Parámetros de entrada

  • environment_idstringObligatoriouuid

    UUID of the environment id used to get environment by id.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update environment by idOPIK_ENVIRONMENTS_UPDATE_ENVIRONMENTAcción

Update environment by id

Parámetros de entrada

  • namestring

    Name value used to update environment by id.

  • colorstring

    Color value used to update environment by id.

  • positioninteger

    Position value used to update environment by id.

  • descriptionstring

    Description value used to update environment by id.

  • environment_idstringObligatoriouuid

    UUID of the environment id used to update environment by id.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Batch update experimentsOPIK_EXPERIMENTS_BATCH_UPDATE_EXPERIMENTSAcción

Update multiple experiments

Parámetros de entrada

  • idsstring[]Obligatorio

    List of experiment IDs to update (max 1000)

  • updateobjectObligatorio

    Update value used to batch update experiments.

  • merge_tagsboolean

    If true, merge tags with existing tags instead of replacing them. Default: false

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create experiment itemsOPIK_EXPERIMENTS_CREATE_EXPERIMENT_ITEMSAcción

Create experiment items

Parámetros de entrada

  • experiment_itemsobject[]Obligatorio

    Experiment Items value used to create experiment items.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create and execute experimentOPIK_EXPERIMENTS_EXECUTE_EXPERIMENTAcción

Creates experiments for each prompt variant and asynchronously processes all dataset items

Parámetros de entrada

  • promptsobject[]Obligatorio

    Prompts value used to create and execute experiment.

  • dataset_idstringObligatoriouuid

    Dataset Id value used to create and execute experiment.

  • project_idstringuuid

    Project Id value used to create and execute experiment.

  • dataset_namestringObligatorio

    Dataset Name value used to create and execute experiment.

  • project_namestring

    Project Name value used to create and execute experiment.

  • version_hashstring

    Version 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_idstringuuid

    Dataset Version Id value used to create and execute experiment.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Record experiment items in bulkOPIK_EXPERIMENTS_EXPERIMENT_ITEMS_BULKAcción

Record experiment items in bulk with traces, spans, and feedback scores. Maximum request size is 4MB.

Parámetros de entrada

  • itemsobject[]Obligatorio

    Items value used to record experiment items in bulk.

  • dataset_namestringObligatorio

    Dataset Name value used to record experiment items in bulk.

  • project_namestring

    Project 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_idstringuuid

    Optional 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_namestringObligatorio

    Experiment Name value used to record experiment items in bulk.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Find experiment groupsOPIK_EXPERIMENTS_FIND_EXPERIMENT_GROUPSAcción

Find experiments grouped by specified fields

Parámetros de entrada

  • namestring

    Filter experiments by name (partial match, case insensitive)

  • typesstring

    Types value used to narrow or configure find experiment groups.

  • groupsstring

    Groups value used to narrow or configure find experiment groups.

  • project_idstringuuid

    Project Id value used to narrow or configure find experiment groups.

  • project_deletedboolean

    Project Deleted value used to narrow or configure find experiment groups.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Find experiment groups with aggregationsOPIK_EXPERIMENTS_FIND_EXPERIMENT_GROUPS_AGGREGATIONSAcción

Find experiments grouped by specified fields with aggregation metrics

Parámetros de entrada

  • namestring

    Filter experiments by name (partial match, case insensitive)

  • typesstring

    Types value used to narrow or configure find experiment groups with aggregations.

  • groupsstring

    Groups value used to narrow or configure find experiment groups with aggregations.

  • project_idstringuuid

    Project Id value used to narrow or configure find experiment groups with aggregations.

  • project_deletedboolean

    Filter experiments by deleted projects

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Find Feedback Score namesOPIK_EXPERIMENTS_FIND_FEEDBACK_SCORE_NAMESAcción

Find Feedback Score names

Parámetros de entrada

  • project_idstringuuid

    Project Id value used to narrow or configure find feedback score names.

  • experiment_idsstring

    Experiment Ids value used to narrow or configure find feedback score names.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get experiment by idOPIK_EXPERIMENTS_GET_EXPERIMENT_BY_IDAcción

Get experiment by id

Parámetros de entrada

  • experiment_idstringObligatoriouuid

    UUID of the experiment id used to get experiment by id.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get experiment item by idOPIK_EXPERIMENTS_GET_EXPERIMENT_ITEM_BY_IDAcción

Get experiment item by id

Parámetros de entrada

  • experiment_item_idstringObligatoriouuid

    UUID of the experiment item id used to get experiment item by id.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update experiment by idOPIK_EXPERIMENTS_UPDATE_EXPERIMENTAcción

Update experiment by id

Parámetros de entrada

  • namestring

    Name value used to update experiment by id.

  • tagsstring[]

    Tags

  • typestringenum

    Type value used to update experiment by id.

    regulartrialmini-batchmutation
  • statusstringenum

    The status of the experiment

    runningcompletedcancelledfailed
  • metadataobject

    Metadata value used to update experiment by id.

  • tags_to_addstring[]

    Tags to add

  • experiment_idstringObligatoriouuid

    UUID 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

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Export Dataset and WaitOPIK_EXPORT_DATASET_AND_WAITAcción

Start 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_idstringObligatoriouuid

    UUID of the dataset to export as CSV.

  • poll_timeout_secondsnumber

    Polling 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_secondsnumber

    Seconds between export status checks, from 2 to 30 seconds.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get feedback definition by idOPIK_FEEDBACK_DEFINITIONS_GET_BY_IDAcción

Get feedback definition by id

Parámetros de entrada

  • feedback_definition_idstringObligatoriouuid

    UUID of the feedback definition id used to get feedback definition by id.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update feedback definition by idOPIK_FEEDBACK_DEFINITIONS_UPDATE_FEEDBACK_DEFINITIONAcción

Update feedback definition by id

Parámetros de entrada

  • idstringuuid

    Id value used to update feedback definition by id.

  • namestringObligatorio

    Name value used to update feedback definition by id.

  • typestringObligatorioenum

    Type value used to update feedback definition by id.

    numericalcategoricalboolean
  • detailsanyObligatorio

    Details value used to update feedback definition by id.

  • descriptionstring

    Optional description for the feedback definition

  • feedback_definition_idstringObligatoriouuid

    UUID of the feedback definition id used to update feedback definition by id.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Generate Report and WaitOPIK_GENERATE_REPORT_AND_WAITAcción

Trigger report generation for an Opik project and wait for that exact report to complete.

Parámetros de entrada

  • project_idstringObligatoriouuid

    Opik project UUID for which to generate the report.

  • poll_timeout_secondsnumber

    Polling 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_secondsnumber

    Delay between report status checks, from 2 to 30 seconds.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get ProjectOPIK_GET_PROJECT_BY_IDAcción

Return one project by its Opik project ID.

Parámetros de entrada

  • project_idstringObligatoriouuid

    Opik project UUID to retrieve.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Retrieve projectOPIK_GET_PROJECT_BY_NAMEAcción

Return one project by its exact name, optionally including project statistics.

Parámetros de entrada

  • namestringObligatorio

    Name value used to retrieve project.

  • include_statsboolean

    Include Stats value used to retrieve project.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create insights viewOPIK_INSIGHTS_VIEWS_CREATE_INSIGHTS_VIEWAcción

Create a new insights view in a workspace

Parámetros de entrada

  • namestringObligatorio

    Name value used to create insights view.

  • typestringenum

    Type value used to create insights view.

    multi_projectexperiments
  • configobjectObligatorio

    Config value used to create insights view.

  • project_idstringuuid

    Project ID. Takes precedence over project_name when both are provided.

  • descriptionstring

    Description value used to create insights view.

  • project_namestring

    Project name for the insights view. When project_id is omitted, Opik creates the project if needed.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Find insights viewsOPIK_INSIGHTS_VIEWS_FIND_INSIGHTS_VIEWSAcción

Find insights views in a workspace

Parámetros de entrada

  • namestring

    Filter insights views by name (partial match, case insensitive)

  • sizeinteger

    Maximum number of results to return on one page.

  • cursorstring

    Opaque continuation cursor returned as next_cursor by a previous call. Omit for the first page and pass returned values back verbatim.

  • project_idstringuuid

    Project Id value used to narrow or configure find insights views.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get insights view by idOPIK_INSIGHTS_VIEWS_GET_BY_IDAcción

Get insights view by id

Parámetros de entrada

  • insights_view_idstringObligatoriouuid

    UUID of the insights view id used to get insights view by id.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Run a saved widget queryOPIK_INSIGHTS_VIEWS_RUN_WIDGET_QUERYAcción

Runs 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_idstringObligatorio

    UUID of the widget id used to run a saved widget query.

  • interval_endstringdate-time

    End of the date range, bound to {{window_end}} in the dashboard saved query. Omit for now.

  • interval_startstringdate-time

    Start of the date range, bound to {{window_start}} in the dashboard saved query. Omit for all time.

  • insights_view_idstringObligatoriouuid

    UUID of the insights view id used to run a saved widget query.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update insights viewOPIK_INSIGHTS_VIEWS_UPDATE_INSIGHTS_VIEWAcción

Update insights view by id. Partial updates are supported - only provided fields will be updated.

Parámetros de entrada

  • namestring

    Name value used to update insights view.

  • typestringenum

    Type value used to update insights view.

    multi_projectexperiments
  • configobject

    Config value used to update insights view.

  • descriptionstring

    Description value used to update insights view.

  • insights_view_idstringObligatoriouuid

    UUID of the insights view id used to update insights view.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get all dataset export jobsOPIK_LIST_DATASET_EXPORT_JOBSAcción

Retrieves 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

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Dataset ItemsOPIK_LIST_DATASET_ITEMSAcción

Return one page of items from a dataset, optionally at a version hash or tag.

Parámetros de entrada

  • sizeinteger

    Maximum records to return in this page.

  • cursorstring

    Opaque continuation cursor returned as next_cursor by a previous call; omit for the first page.

  • versionstring

    Dataset version hash or tag; omit for the current version.

  • truncateboolean

    Truncate images embedded in input, output, or metadata.

  • dataset_idstringObligatoriouuid

    Dataset UUID whose items should be returned.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List DatasetsOPIK_LIST_DATASETSAcción

Return one page of datasets, optionally filtered by name, project, prompt, or whether they have experiments or optimizations.

Parámetros de entrada

  • namestring

    Case-insensitive partial dataset name to match.

  • sizeinteger

    Maximum datasets to return in this page.

  • cursorstring

    Opaque continuation cursor returned as next_cursor by a previous call; omit for the first page.

  • prompt_idstringuuid

    Prompt UUID to filter datasets.

  • project_idstringuuid

    Project UUID to filter datasets.

  • with_experiments_onlyboolean

    Return only datasets linked to experiments when true.

  • with_optimizations_onlyboolean

    Return only datasets linked to optimizations when true.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List ExperimentsOPIK_LIST_EXPERIMENTSAcción

Return one page of experiments filtered by dataset, project, prompt, optimization, name, or deletion state.

Parámetros de entrada

  • namestring

    Case-insensitive partial experiment name to match.

  • sizeinteger

    Maximum number of experiments to return in this page.

  • typesstring

    Experiment types filter in the provider's string query format.

  • cursorstring

    Opaque continuation cursor returned as next_cursor by a previous call; omit for the first page.

  • prompt_idstringuuid

    Prompt UUID to filter experiments.

  • dataset_idstringuuid

    Dataset UUID to filter experiments.

  • project_idstringuuid

    Project UUID to filter experiments.

  • experiment_idsstring

    Filter experiments by a list of experiment IDs in string form.

  • dataset_deletedboolean

    Filter by whether the linked dataset is deleted.

  • optimization_idstringuuid

    Optimization UUID to filter experiments.

  • project_deletedboolean

    Filter by whether the linked project is deleted.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Feedback DefinitionsOPIK_LIST_FEEDBACK_DEFINITIONSAcción

Return one page of numerical, categorical, or boolean feedback definitions, optionally filtered by name or type.

Parámetros de entrada

  • namestring

    Case-insensitive partial feedback-definition name to match.

  • sizeinteger

    Maximum records to return in this page.

  • typestringenum

    Feedback definition type.

    numericalcategoricalboolean
  • cursorstring

    Opaque continuation cursor returned as next_cursor by a previous call; omit for the first page.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get LLM model profilesOPIK_LIST_LLM_MODEL_PROFILESAcción

Get the params each provider's unlisted models take, keyed by provider

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get LLM modelsOPIK_LIST_LLM_MODELSAcción

Get the list of supported LLM models grouped by provider

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List ProjectsOPIK_LIST_PROJECTSAcción

Return one page of workspace projects, optionally filtered by a case-insensitive name match.

Parámetros de entrada

  • namestring

    Case-insensitive partial project name to match.

  • sizeinteger

    Maximum projects to return in this page.

  • cursorstring

    Opaque 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

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List PromptsOPIK_LIST_PROMPTSAcción

Return one page of workspace or project-scoped prompts, optionally filtered by name.

Parámetros de entrada

  • namestring

    Case-insensitive partial prompt name to match.

  • sizeinteger

    Maximum number of prompts to return in this page.

  • cursorstring

    Opaque continuation cursor returned as next_cursor by a previous call; omit for the first page.

  • project_idstringuuid

    Project UUID to filter prompts.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get prompts by projectOPIK_LIST_PROMPTS_BY_PROJECTAcción

Get prompts scoped to a project

Parámetros de entrada

  • namestring

    Filter prompts by name (partial match, case insensitive)

  • sizeinteger

    Maximum number of results to return on one page.

  • cursorstring

    Opaque continuation cursor returned as next_cursor by a previous call. Omit for the first page and pass returned values back verbatim.

  • project_idstringObligatoriouuid

    UUID of the project id used to get prompts by project.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get prompt versionsOPIK_LIST_PROMPT_VERSIONSAcción

Get prompt versions

Parámetros de entrada

  • sizeinteger

    Maximum number of results to return on one page.

  • cursorstring

    Opaque continuation cursor returned as next_cursor by a previous call. Omit for the first page and pass returned values back verbatim.

  • searchstring

    Search text to find in template or change description fields

  • prompt_idstringObligatoriouuid

    UUID of the prompt id used to get prompt versions.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get reports for a projectOPIK_LIST_REPORTSAcción

Returns a paginated list of reports, newest first.

Parámetros de entrada

  • sizeinteger

    Maximum number of results to return on one page.

  • cursorstring

    Opaque continuation cursor returned as next_cursor by a previous call. Omit for the first page and pass returned values back verbatim.

  • project_idstringObligatoriouuid

    UUID of the project id used to get reports for a project.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List SpansOPIK_LIST_SPANSAcción

Return one page of spans for a project or trace, with optional type, text, and time filters.

Parámetros de entrada

  • sizeinteger

    Maximum number of spans to return in this page.

  • typestringenum

    Span type to return.

    generaltoolllmguardrail
  • cursorstring

    Opaque cursor returned by a previous call; omit for the first page.

  • searchstring

    Full-text search across span fields.

  • to_timestringdate-time

    ISO 8601 creation-time upper bound. It must be after from_time; the provider defaults it to the current time.

  • trace_idstringuuid

    Trace UUID whose spans should be returned.

  • truncateboolean

    Return slimmed input, output, and metadata payloads.

  • from_timestringdate-time

    Inclusive ISO 8601 creation-time lower bound.

  • project_idstringuuid

    Project UUID to filter by. Takes precedence over project_name.

  • project_namestring

    Project name to filter by when project_id is omitted.

  • strip_attachmentsboolean

    Return attachment references instead of reinjecting attachment contents.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List TracesOPIK_LIST_TRACESAcción

Return one page of traces for a project, with optional text, time, queue, and attachment-handling filters.

Parámetros de entrada

  • sizeinteger

    Maximum number of traces to return in this page.

  • cursorstring

    Opaque continuation cursor returned as next_cursor by a previous call. Omit for the first page.

  • searchstring

    Full-text search across trace fields.

  • to_timestringdate-time

    ISO 8601 trace creation-time upper bound. It must be after from_time; the provider defaults it to the current time.

  • truncateboolean

    Whether to return slimmed input, output, and metadata payloads.

  • from_timestringdate-time

    Inclusive ISO 8601 trace creation-time lower bound.

  • project_idstringuuid

    Project UUID to filter by; takes precedence over project_name.

  • project_namestring

    Project name to filter by when project_id is omitted.

  • strip_attachmentsboolean

    Whether to return attachment references instead of downloading and reinjecting attachment contents.

  • annotation_queue_idstringuuid

    Annotation queue UUID used to filter traces and scope returned feedback scores and comments.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get trace threadsOPIK_LIST_TRACE_THREADSAcción

Get trace threads

Parámetros de entrada

  • sizeinteger

    Maximum number of results to return on one page.

  • cursorstring

    Opaque continuation cursor returned as next_cursor by a previous call. Omit for the first page and pass returned values back verbatim.

  • searchstring

    Full-text search across thread fields

  • excludestring

    Enrichment fields to leave out of each thread, e.g. ["annotation_queues"]

  • to_timestringdate-time

    Filter trace threads created up to this time (ISO-8601 format). If not provided, defaults to current time. Must be after 'from_time'.

  • truncateboolean

    Truncate input, output and metadata to slim payloads

  • from_timestringdate-time

    Filter trace threads created from this time (ISO-8601 format).

  • project_idstringuuid

    Project Id value used to narrow or configure get trace threads.

  • project_namestring

    Project Name value used to narrow or configure get trace threads.

  • strip_attachmentsboolean

    If true, returns attachment references like [file.png]; if false, downloads and reinjects stripped attachments

  • annotation_queue_idstringuuid

    Filter threads belonging to this annotation queue and scope feedback scores/comments to it

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get view versionsOPIK_LIST_VIEW_VERSIONSAcción

List the versions of a view, newest first

Parámetros de entrada

  • sizeinteger

    Maximum number of results to return on one page.

  • cursorstring

    Opaque continuation cursor returned as next_cursor by a previous call. Omit for the first page and pass returned values back verbatim.

  • view_idstringObligatoriouuid

    UUID of the view id used to get view versions.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get LLM Provider's ApiKey by idOPIK_LLM_PROVIDER_KEYS_GET_METADATAAcción

Get 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_idstringObligatoriouuid

    UUID of the provider key id used to get llm provider's apikey by id.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Find LLM Provider's ApiKeysOPIK_LLM_PROVIDER_KEYS_LISTAcción

List 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

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Manually evaluate spansOPIK_MANUAL_EVALUATION_EVALUATE_SPANSAcción

Manually trigger evaluation rules on selected spans. Bypasses sampling and enqueues all specified spans for evaluation.

Parámetros de entrada

  • rule_idsstring[]Obligatorio

    List of automation rule IDs to apply

  • entity_idsstring[]Obligatorio

    List of entity IDs (trace IDs or thread IDs) to evaluate

  • project_idstringObligatoriouuid

    Project ID

  • entity_typestringObligatorioenum

    Type of entity to evaluate (trace or thread)

    tracethreadspan

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Manually evaluate threadsOPIK_MANUAL_EVALUATION_EVALUATE_THREADSAcción

Manually trigger evaluation rules on selected threads. Bypasses sampling and enqueues all specified threads for evaluation.

Parámetros de entrada

  • rule_idsstring[]Obligatorio

    List of automation rule IDs to apply

  • entity_idsstring[]Obligatorio

    List of entity IDs (trace IDs or thread IDs) to evaluate

  • project_idstringObligatoriouuid

    Project ID

  • entity_typestringObligatorioenum

    Type of entity to evaluate (trace or thread)

    tracethreadspan

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Manually evaluate tracesOPIK_MANUAL_EVALUATION_EVALUATE_TRACESAcción

Manually trigger evaluation rules on selected traces. Bypasses sampling and enqueues all specified traces for evaluation.

Parámetros de entrada

  • rule_idsstring[]Obligatorio

    List of automation rule IDs to apply

  • entity_idsstring[]Obligatorio

    List of entity IDs (trace IDs or thread IDs) to evaluate

  • project_idstringObligatoriouuid

    Project ID

  • entity_typestringObligatorioenum

    Type of entity to evaluate (trace or thread)

    tracethreadspan

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create optimizationOPIK_OPTIMIZATIONS_CREATE_OPTIMIZATIONAcción

Create an optimization. Supplying a project_name that does not exist also creates that project.

Parámetros de entrada

  • idstringuuid

    Id value used to create optimization.

  • namestring

    Name value used to create optimization.

  • statusstringObligatorioenum

    Status value used to create optimization.

    runningcompletedcancelledinitializederror
  • metadataany

    Metadata value used to create optimization.

  • error_infoobject

    Error Info value used to create optimization.

  • project_idstringuuid

    Project ID. Takes precedence over project_name when both are provided.

  • dataset_namestringObligatorio

    Dataset Name value used to create optimization.

  • project_namestring

    Project name. Creates project if it doesn't exist. Ignored when project_id is provided.

  • studio_configobject

    Studio Config value used to create optimization.

  • objective_namestringObligatorio

    Objective Name value used to create optimization.

  • last_updated_atstringdate-time

    Last Updated At value used to create optimization.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Find optimizationsOPIK_OPTIMIZATIONS_FIND_OPTIMIZATIONSAcción

Find optimizations

Parámetros de entrada

  • namestring

    Filter optimizations by name (partial match, case insensitive)

  • sizeinteger

    Maximum number of results to return on one page.

  • cursorstring

    Opaque continuation cursor returned as next_cursor by a previous call. Omit for the first page and pass returned values back verbatim.

  • dataset_idstringuuid

    Dataset Id value used to narrow or configure find optimizations.

  • project_idstringuuid

    Project Id value used to narrow or configure find optimizations.

  • dataset_namestring

    Filter optimizations by dataset name (partial match)

  • dataset_deletedboolean

    Dataset Deleted value used to narrow or configure find optimizations.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get optimization by idOPIK_OPTIMIZATIONS_GET_OPTIMIZATION_BY_IDAcción

Get optimization by id

Parámetros de entrada

  • optimization_idstringObligatoriouuid

    UUID of the optimization id used to get optimization by id.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update optimization by idOPIK_OPTIMIZATIONS_UPDATE_OPTIMIZATIONS_BY_IDAcción

Update optimization by id

Parámetros de entrada

  • namestring

    Name value used to update optimization by id.

  • statusstringenum

    Status value used to update optimization by id.

    runningcompletedcancelledinitializederror
  • metadataany

    Metadata value used to update optimization by id.

  • error_infoobject

    Error Info value used to update optimization by id.

  • optimization_idstringObligatoriouuid

    UUID of the optimization id used to update optimization by id.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Upsert optimizationOPIK_OPTIMIZATIONS_UPSERT_OPTIMIZATIONAcción

Create or update an optimization. Supplying a project_name that does not exist also creates that project.

Parámetros de entrada

  • idstringuuid

    Id value used to upsert optimization.

  • namestring

    Name value used to upsert optimization.

  • statusstringObligatorioenum

    Status value used to upsert optimization.

    runningcompletedcancelledinitializederror
  • metadataany

    Metadata value used to upsert optimization.

  • error_infoobject

    Error Info value used to upsert optimization.

  • project_idstringuuid

    Project ID. Takes precedence over project_name when both are provided.

  • dataset_namestringObligatorio

    Dataset Name value used to upsert optimization.

  • project_namestring

    Project name. Creates project if it doesn't exist. Ignored when project_id is provided.

  • studio_configobject

    Studio Config value used to upsert optimization.

  • objective_namestringObligatorio

    Objective Name value used to upsert optimization.

  • last_updated_atstringdate-time

    Last Updated At value used to upsert optimization.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Find alerts by projectOPIK_PROJECTS_FIND_ALERTS_BY_PROJECTAcción

Find alerts scoped to a project

Parámetros de entrada

  • sizeinteger

    Maximum number of results to return on one page.

  • cursorstring

    Opaque continuation cursor returned as next_cursor by a previous call. Omit for the first page and pass returned values back verbatim.

  • project_idstringObligatoriouuid

    UUID of the project id used to find alerts by project.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Find dashboards by projectOPIK_PROJECTS_FIND_DASHBOARDS_BY_PROJECTAcción

Find dashboards scoped to a project

Parámetros de entrada

  • namestring

    Filter dashboards by name (partial match, case insensitive)

  • sizeinteger

    Maximum number of results to return on one page.

  • cursorstring

    Opaque continuation cursor returned as next_cursor by a previous call. Omit for the first page and pass returned values back verbatim.

  • project_idstringObligatoriouuid

    UUID of the project id used to find dashboards by project.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Find datasets by projectOPIK_PROJECTS_FIND_DATASETS_BY_PROJECTAcción

Find datasets scoped to a project

Parámetros de entrada

  • namestring

    Filter datasets by name (partial match, case insensitive)

  • sizeinteger

    Maximum number of results to return on one page.

  • cursorstring

    Opaque continuation cursor returned as next_cursor by a previous call. Omit for the first page and pass returned values back verbatim.

  • project_idstringObligatoriouuid

    UUID of the project id used to find datasets by project.

  • with_experiments_onlyboolean

    With Experiments Only value used to narrow or configure find datasets by project.

  • with_optimizations_onlyboolean

    With Optimizations Only value used to narrow or configure find datasets by project.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Find experiments by projectOPIK_PROJECTS_FIND_EXPERIMENTS_BY_PROJECTAcción

Find experiments scoped to a project

Parámetros de entrada

  • namestring

    Filter experiments by name (partial match, case insensitive)

  • sizeinteger

    Maximum number of results to return on one page.

  • typesstring

    Types value used to narrow or configure find experiments by project.

  • cursorstring

    Opaque continuation cursor returned as next_cursor by a previous call. Omit for the first page and pass returned values back verbatim.

  • dataset_idstringuuid

    Dataset Id value used to narrow or configure find experiments by project.

  • project_idstringObligatoriouuid

    UUID of the project id used to find experiments by project.

  • force_sortingboolean

    Force sorting even when exceeding the endpoint result set limit. May result in slower queries

  • experiment_idsstring

    Filter experiments by a list of experiment IDs

  • dataset_deletedboolean

    Dataset Deleted value used to narrow or configure find experiments by project.

  • optimization_idstringuuid

    Optimization Id value used to narrow or configure find experiments by project.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Find optimizations by projectOPIK_PROJECTS_FIND_OPTIMIZATIONS_BY_PROJECTAcción

Find optimizations scoped to a project

Parámetros de entrada

  • namestring

    Filter optimizations by name (partial match, case insensitive)

  • sizeinteger

    Maximum number of results to return on one page.

  • cursorstring

    Opaque continuation cursor returned as next_cursor by a previous call. Omit for the first page and pass returned values back verbatim.

  • dataset_idstringuuid

    Dataset Id value used to narrow or configure find optimizations by project.

  • project_idstringObligatoriouuid

    UUID of the project id used to find optimizations by project.

  • dataset_namestring

    Dataset Name value used to narrow or configure find optimizations by project.

  • dataset_deletedboolean

    Dataset Deleted value used to narrow or configure find optimizations by project.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Find Token Usage namesOPIK_PROJECTS_FIND_TOKEN_USAGE_NAMESAcción

Find Token Usage names

Parámetros de entrada

  • project_idstringObligatoriouuid

    UUID of the project id used to find token usage names.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Project KPI CardsOPIK_PROJECTS_GET_PROJECT_KPI_CARDSAcción

Gets KPI card metrics for a project

Parámetros de entrada

  • project_idstringObligatoriouuid

    UUID of the project id used to get project kpi cards.

  • entity_typestringObligatorioenum

    Entity Type value used to get project kpi cards.

    tracesspansthreads
  • interval_endstringdate-time

    Interval End value used to get project kpi cards.

  • interval_startstringObligatoriodate-time

    Interval Start value used to get project kpi cards.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Project MetricsOPIK_PROJECTS_GET_PROJECT_METRICSAcción

Gets specified metrics for a project

Parámetros de entrada

  • intervalstringenum

    Interval value used to get project metrics.

    HOURLYDAILYWEEKLYTOTAL
  • breakdownobject

    Breakdown value used to get project metrics.

  • project_idstringObligatoriouuid

    UUID of the project id used to get project metrics.

  • metric_typestringenum

    Metric Type value used to get project metrics.

    FEEDBACK_SCORESTRACE_COUNTTOKEN_USAGEDURATIONCOSTGUARDRAILS_FAILED_COUNTTHREAD_COUNTTHREAD_DURATIONTHREAD_FEEDBACK_SCORESSPAN_FEEDBACK_SCORESSPAN_COUNTSPAN_DURATION+8
  • interval_endstringdate-time

    Interval 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-time

    Interval Start value used to get project metrics.

  • thread_filtersobject[]

    Thread Filters value used to get project metrics.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Project StatsOPIK_PROJECTS_GET_PROJECT_STATSAcción

Get Project Stats

Parámetros de entrada

  • namestring

    Filter projects by name (partial match, case insensitive)

  • sizeinteger

    Maximum number of results to return on one page.

  • cursorstring

    Opaque continuation cursor returned as next_cursor by a previous call. Omit for the first page and pass returned values back verbatim.

  • to_timestringdate-time

    Scope the project metrics up to this time (ISO-8601 format). Must be after 'from_time'.

  • from_timestringdate-time

    When set, scope the project metrics from this time (ISO-8601 format); omitted keeps the all-time aggregates

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get recent activity for a projectOPIK_PROJECTS_GET_RECENT_ACTIVITYAcción

Returns the most recent activity items across all entity types for a project, sorted by date descending.

Parámetros de entrada

  • sizeinteger

    Maximum number of results to return on one page.

  • cursorstring

    Opaque continuation cursor returned as next_cursor by a previous call. Omit for the first page and pass returned values back verbatim.

  • project_idstringObligatoriouuid

    UUID of the project id used to get recent activity for a project.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Find Feedback Score names By Project IdsOPIK_PROJECTS_LIST_FEEDBACK_SCORE_NAMESAcción

Find Feedback Score names By Project Ids

Parámetros de entrada

  • project_idsstring

    Project Ids value used to narrow or configure find feedback score names by project ids.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update project by idOPIK_PROJECTS_UPDATE_PROJECTAcción

Update project by id

Parámetros de entrada

  • namestring

    Name value used to update project by id.

  • project_idstringObligatoriouuid

    UUID of the project id used to update project by id.

  • visibilitystringenum

    Visibility value used to update project by id.

    privatepublic
  • descriptionstring

    Description value used to update project by id.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get prompt by commitOPIK_PROMPTS_GET_PROMPT_BY_COMMITAcción

Get prompt by commit

Parámetros de entrada

  • commitstringObligatorio

    identifier of the commit used to get prompt by commit.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get prompt by idOPIK_PROMPTS_GET_PROMPT_BY_IDAcción

Get 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_idstringuuid

    Optional mask version id; when set, requestedVersion is the mask row for that id

  • prompt_idstringObligatoriouuid

    UUID of the prompt id used to get prompt by id.

  • environmentstring

    Optional environment name; when set, requestedVersion is the version mapped to that environment for the prompt

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get prompts by commitsOPIK_PROMPTS_GET_PROMPTS_BY_COMMITSAcción

Get prompts by prompt version commits

Parámetros de entrada

  • commitsstring[]Obligatorio

    Commits value used to get prompts by commits.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get prompt version by idOPIK_PROMPTS_GET_PROMPT_VERSION_BY_IDAcción

Get prompt version by id

Parámetros de entrada

  • version_idstringObligatoriouuid

    UUID of the version id used to get prompt version by id.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get prompt version by sequential numberOPIK_PROMPTS_GET_PROMPT_VERSION_BY_NUMBERAcción

Get a prompt version by its sequential v<N> number for the given prompt.

Parámetros de entrada

  • prompt_idstringObligatoriouuid

    UUID of the prompt id used to get prompt version by sequential number.

  • version_numberstringObligatorio

    identifier of the version number used to get prompt version by sequential number.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Restore prompt versionOPIK_PROMPTS_RESTORE_PROMPT_VERSIONAcción

Restore a prompt version by creating a new version with the content from the specified version

Parámetros de entrada

  • prompt_idstringObligatoriouuid

    UUID of the prompt id used to restore prompt version.

  • version_idstringObligatoriouuid

    UUID of the version id used to restore prompt version.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Retrieve prompt versionOPIK_PROMPTS_RETRIEVE_PROMPT_VERSIONAcción

Retrieve 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

  • namestringObligatorio

    Name value used to retrieve prompt version.

  • commitstring

    Commit value used to retrieve prompt version.

  • environmentstring

    If provided, resolves to the version mapped to this environment for the prompt; mutually exclusive with commit and version_number

  • project_namestring

    If 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_numberstring

    If provided, resolves to the version with this sequential number (e.g. v3); mutually exclusive with commit and environment

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Retrieve prompt versions by idsOPIK_PROMPTS_RETRIEVE_PROMPT_VERSIONS_BY_IDSAcción

Retrieve a batch of prompt versions by their ids. Typically used by the UI to resolve mask overlays.

Parámetros de entrada

  • idsstring[]Obligatorio

    Ids value used to retrieve prompt versions by ids.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set prompt version environmentOPIK_PROMPTS_SET_PROMPT_VERSION_ENVIRONMENTAcción

Replace the prompt version's complete environments array. Send an empty array to clear every environment from the version.

Parámetros de entrada

  • version_idstringObligatoriouuid

    UUID of the version id used to set prompt version environment.

  • environmentsstring[]Obligatorio

    Environments value used to set prompt version environment.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update promptOPIK_PROMPTS_UPDATE_PROMPTAcción

Update prompt

Parámetros de entrada

  • namestringObligatorio

    Name value used to update prompt.

  • tagsstring[]

    Tags value used to update prompt.

  • prompt_idstringObligatoriouuid

    UUID of the prompt id used to update prompt.

  • descriptionstring

    Description value used to update prompt.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update prompt versionsOPIK_PROMPTS_UPDATE_PROMPT_VERSIONSAcción

Update 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[]Obligatorio

    IDs of prompt versions to update

  • updateobjectObligatorio

    Update 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_tagsboolean

    Tag 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

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List failures for a projectOPIK_REPORT_FAILURES_FIND_REPORT_FAILURESAcción

Returns failures for the given project id and type, most recent first.

Parámetros de entrada

  • sizeinteger

    Maximum number of results to return on one page.

  • typestringObligatorio

    Type value used to narrow or configure list failures for a project.

  • cursorstring

    Opaque continuation cursor returned as next_cursor by a previous call. Omit for the first page and pass returned values back verbatim.

  • project_idstringObligatoriouuid

    Project Id value used to narrow or configure list failures for a project.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Trigger report generationOPIK_REPORTS_GENERATE_REPORTAcción

Creates a pending report and triggers asynchronous generation via the orchestrator.

Parámetros de entrada

  • project_idstringObligatoriouuid

    UUID of the project id used to trigger report generation.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get report preferencesOPIK_REPORTS_GET_REPORT_PREFERENCEAcción

Returns report preferences for a project, or null if none have been set.

Parámetros de entrada

  • project_idstringObligatoriouuid

    UUID of the project id used to get report preferences.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update report preferencesOPIK_REPORTS_UPDATE_REPORT_PREFERENCEAcción

Enable or disable daily report generation for a project.

Parámetros de entrada

  • enabledboolean

    Enabled value used to update report preferences.

  • created_atstringdate-time

    Created At value used to update report preferences.

  • project_idstringObligatoriouuid

    UUID of the project id used to update report preferences.

  • custom_promptstring

    Custom Prompt value used to update report preferences.

  • schedule_timestring

    Schedule Time value used to update report preferences.

  • body_project_idstringuuid

    Project Id value used to update report preferences.

  • last_updated_atstringdate-time

    Last Updated At value used to update report preferences.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create local runner jobOPIK_RUNNERS_CREATE_JOBAcción

Create a local runner job and enqueue it for execution

Parámetros de entrada

  • inputsobject

    Inputs value used to create local runner job.

  • mask_idstringuuid

    Deprecated. Use prompt_masks to pass one or more mask overlays keyed by prompt id.

  • metadataobject

    Metadata value used to create local runner job.

  • agent_namestringObligatorio

    Agent Name value used to create local runner job.

  • project_idstringObligatoriouuid

    Project Id value used to create local runner job.

  • prompt_masksobject

    Mask overlays to apply during agent execution, keyed by prompt id.

  • blueprint_namestring

    Blueprint Name value used to create local runner job.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get local runner jobOPIK_RUNNERS_GET_JOBAcción

Get a single local runner job's status and results

Parámetros de entrada

  • job_idstringObligatoriouuid

    UUID of the job id used to get local runner job.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get local runner job logsOPIK_RUNNERS_GET_JOB_LOGSAcción

Get log entries for a local runner job

Parámetros de entrada

  • job_idstringObligatoriouuid

    UUID of the job id used to get local runner job logs.

  • offsetinteger

    Zero-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

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get local runnerOPIK_RUNNERS_GET_RUNNERAcción

Get a single local runner with its registered agents

Parámetros de entrada

  • runner_idstringObligatoriouuid

    UUID of the runner id used to get local runner.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List local runner jobsOPIK_RUNNERS_LIST_JOBSAcción

List jobs for a local runner

Parámetros de entrada

  • sizeinteger

    Maximum number of results to return on one page.

  • cursorstring

    Opaque continuation cursor returned as next_cursor by a previous call. Omit for the first page and pass returned values back verbatim.

  • runner_idstringObligatoriouuid

    UUID of the runner id used to list local runner jobs.

  • project_idstringuuid

    Project Id value used to narrow or configure list local runner jobs.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List local runnersOPIK_RUNNERS_LIST_RUNNERSAcción

List local runners owned by the current user in the workspace

Parámetros de entrada

  • sizeinteger

    Maximum number of results to return on one page.

  • cursorstring

    Opaque continuation cursor returned as next_cursor by a previous call. Omit for the first page and pass returned values back verbatim.

  • statusstringenum

    Status value used to narrow or configure list local runners.

    pairingconnecteddisconnected
  • project_idstringObligatoriouuid

    Project Id value used to narrow or configure list local runners.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Service TogglesOPIK_SERVICE_TOGGLES_GET_SERVICE_TOGGLESAcción

Get Service Toggles

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Add span commentOPIK_SPANS_ADD_SPAN_COMMENTAcción

Add span comment

Parámetros de entrada

  • idstringuuid

    Id value used to add span comment.

  • textstringObligatorio

    Text value used to add span comment.

  • span_idstringObligatoriouuid

    UUID of the span id used to add span comment.

  • created_atstringdate-time

    Created At value used to add span comment.

  • created_bystring

    Created By value used to add span comment.

  • last_updated_atstringdate-time

    Last Updated At value used to add span comment.

  • last_updated_bystring

    Last Updated By value used to add span comment.

  • source_queue_idstringuuid

    Source Queue Id value used to add span comment.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Add span feedback scoreOPIK_SPANS_ADD_SPAN_FEEDBACK_SCOREAcción

Add span feedback score

Parámetros de entrada

  • namestringObligatorio

    Name value used to add span feedback score.

  • valuenumberObligatorio

    Value value used to add span feedback score.

  • reasonstring

    Reason value used to add span feedback score.

  • sourcestringObligatorioenum

    Source value used to add span feedback score.

    uisdkonline_scoring
  • span_idstringObligatoriouuid

    UUID of the span id used to add span feedback score.

  • created_atstringdate-time

    Created At value used to add span feedback score.

  • created_bystring

    Created By value used to add span feedback score.

  • category_namestring

    Category Name value used to add span feedback score.

  • last_updated_atstringdate-time

    Last Updated At value used to add span feedback score.

  • last_updated_bystring

    Last Updated By value used to add span feedback score.

  • source_queue_idstringuuid

    Source Queue Id value used to add span feedback score.

  • value_by_authorobject

    Value By Author value used to add span feedback score.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Batch update spansOPIK_SPANS_BATCH_UPDATE_SPANSAcción

Update multiple spans

Parámetros de entrada

  • idsstring[]Obligatorio

    List of span IDs to update (max 1000)

  • updateobjectObligatorio

    Update value used to batch update spans.

  • merge_tagsboolean

    If true, merge tags with existing tags instead of replacing them. Default: false

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Check whether a project has spansOPIK_SPANS_EXISTAcción

Returns 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

  • sourcestring

    Restrict 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_idstringuuid

    Project Id value used to narrow or configure check whether a project has spans.

  • project_namestring

    Project Name value used to narrow or configure check whether a project has spans.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Find Feedback Score namesOPIK_SPANS_FIND_SPAN_FEEDBACK_SCORE_NAMESAcción

Find Feedback Score names

Parámetros de entrada

  • typestringenum

    Type value used to narrow or configure find feedback score names.

    generaltoolllmguardrail
  • project_idstringuuid

    Project Id value used to narrow or configure find feedback score names.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get span by idOPIK_SPANS_GET_SPAN_BY_IDAcción

Get span by id

Parámetros de entrada

  • span_idstringObligatoriouuid

    UUID of the span id used to get span by id.

  • strip_attachmentsboolean

    If 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

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get span commentOPIK_SPANS_GET_SPAN_COMMENTAcción

Get span comment

Parámetros de entrada

  • span_idstringObligatoriouuid

    UUID of the span id used to get span comment.

  • comment_idstringObligatoriouuid

    UUID of the comment id used to get span comment.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get span statsOPIK_SPANS_GET_SPAN_STATSAcción

Get span stats

Parámetros de entrada

  • typestringenum

    Type value used to narrow or configure get span stats.

    generaltoolllmguardrail
  • searchstring

    Full-text search across span fields

  • to_timestringdate-time

    Filter spans created up to this time (ISO-8601 format). If not provided, defaults to current time. Must be after 'from_time'.

  • trace_idstringuuid

    Trace Id value used to narrow or configure get span stats.

  • from_timestringdate-time

    Filter spans created from this time (ISO-8601 format).

  • project_idstringuuid

    Project Id value used to narrow or configure get span stats.

  • project_namestring

    Project Name value used to narrow or configure get span stats.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Batch feedback scoring for spansOPIK_SPANS_SCORE_BATCH_OF_SPANSAcción

Batch feedback scoring for spans

Parámetros de entrada

  • scoresobject[]Obligatorio

    Scores value used to batch feedback scoring for spans.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update span by idOPIK_SPANS_UPDATE_SPANAcción

Update span by id

Parámetros de entrada

  • namestring

    Name value used to update span by id.

  • tagsstring[]

    Tags

  • ttftnumber

    Ttft value used to update span by id.

  • typestringenum

    Type value used to update span by id.

    generaltoolllmguardrail
  • inputany

    Input value used to update span by id.

  • modelstring

    Model value used to update span by id.

  • usageobject

    Usage value used to update span by id.

  • outputany

    Output value used to update span by id.

  • sourcestringenum

    Source value used to update span by id.

    sdkexperimentplaygroundoptimizationevaluator
  • span_idstringObligatoriouuid

    UUID of the span id used to update span by id.

  • end_timestringdate-time

    End Time value used to update span by id.

  • metadataany

    Metadata value used to update span by id.

  • providerstring

    Provider value used to update span by id.

  • trace_idstringObligatoriouuid

    Trace Id value used to update span by id.

  • error_infoobject

    Error Info value used to update span by id.

  • project_idstringuuid

    If null and project_name not specified, Default Project is assumed

  • environmentstring

    Environment value used to update span by id.

  • tags_to_addstring[]

    Tags to add

  • project_namestring

    If null and project_id not specified, Default Project is assumed

  • parent_span_idstringuuid

    Parent Span Id value used to update span by id.

  • tags_to_removestring[]

    Tags to remove

  • total_estimated_costnumber

    Total Estimated Cost value used to update span by id.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update span comment by idOPIK_SPANS_UPDATE_SPAN_COMMENTAcción

Update span comment by id

Parámetros de entrada

  • idstringuuid

    Id value used to update span comment by id.

  • textstringObligatorio

    Text value used to update span comment by id.

  • comment_idstringObligatoriouuid

    UUID of the comment id used to update span comment by id.

  • created_atstringdate-time

    Created At value used to update span comment by id.

  • created_bystring

    Created By value used to update span comment by id.

  • last_updated_atstringdate-time

    Last Updated At value used to update span comment by id.

  • last_updated_bystring

    Last Updated By value used to update span comment by id.

  • source_queue_idstringuuid

    Source Queue Id value used to update span comment by id.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Add thread commentOPIK_TRACES_ADD_THREAD_COMMENTAcción

Add thread comment

Parámetros de entrada

  • idstringuuid

    Id value used to add thread comment.

  • textstringObligatorio

    Text value used to add thread comment.

  • thread_idstringObligatoriouuid

    UUID of the thread id used to add thread comment.

  • created_atstringdate-time

    Created At value used to add thread comment.

  • created_bystring

    Created By value used to add thread comment.

  • last_updated_atstringdate-time

    Last Updated At value used to add thread comment.

  • last_updated_bystring

    Last Updated By value used to add thread comment.

  • source_queue_idstringuuid

    Source Queue Id value used to add thread comment.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Add trace commentOPIK_TRACES_ADD_TRACE_COMMENTAcción

Add trace comment

Parámetros de entrada

  • idstringuuid

    Id value used to add trace comment.

  • textstringObligatorio

    Text value used to add trace comment.

  • trace_idstringObligatoriouuid

    UUID of the trace id used to add trace comment.

  • created_atstringdate-time

    Created At value used to add trace comment.

  • created_bystring

    Created By value used to add trace comment.

  • last_updated_atstringdate-time

    Last Updated At value used to add trace comment.

  • last_updated_bystring

    Last Updated By value used to add trace comment.

  • source_queue_idstringuuid

    Source Queue Id value used to add trace comment.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Add trace feedback scoreOPIK_TRACES_ADD_TRACE_FEEDBACK_SCOREAcción

Add trace feedback score

Parámetros de entrada

  • namestringObligatorio

    Name value used to add trace feedback score.

  • valuenumberObligatorio

    Value value used to add trace feedback score.

  • reasonstring

    Reason value used to add trace feedback score.

  • sourcestringObligatorioenum

    Source value used to add trace feedback score.

    uisdkonline_scoring
  • trace_idstringObligatoriouuid

    UUID of the trace id used to add trace feedback score.

  • created_atstringdate-time

    Created At value used to add trace feedback score.

  • created_bystring

    Created By value used to add trace feedback score.

  • category_namestring

    Category Name value used to add trace feedback score.

  • last_updated_atstringdate-time

    Last Updated At value used to add trace feedback score.

  • last_updated_bystring

    Last Updated By value used to add trace feedback score.

  • source_queue_idstringuuid

    Source Queue Id value used to add trace feedback score.

  • value_by_authorobject

    Value By Author value used to add trace feedback score.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Batch update threadsOPIK_TRACES_BATCH_UPDATE_THREADSAcción

Update multiple threads

Parámetros de entrada

  • idsstring[]Obligatorio

    List of thread model IDs to update (max 1000)

  • updateobjectObligatorio

    Update value used to batch update threads.

  • merge_tagsboolean

    If true, merge tags with existing tags instead of replacing them. Default: false

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Batch update tracesOPIK_TRACES_BATCH_UPDATE_TRACESAcción

Update multiple traces

Parámetros de entrada

  • idsstring[]Obligatorio

    List of trace IDs to update (max 1000)

  • updateobjectObligatorio

    Update value used to batch update traces.

  • merge_tagsboolean

    If true, merge tags with existing tags instead of replacing them. Default: false

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Close trace thread(s)OPIK_TRACES_CLOSE_TRACE_THREADAcción

Close one or multiple trace threads. Supports both single thread_id and multiple thread_ids for batch operations.

Parámetros de entrada

  • thread_idstring

    Thread Id value used to close trace thread(s).

  • project_idstringuuid

    Project Id value used to close trace thread(s).

  • thread_idsstring[]

    Thread Ids value used to close trace thread(s).

  • project_namestring

    Project Name value used to close trace thread(s).

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Check whether a project has tracesOPIK_TRACES_EXISTAcción

Returns 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

  • sourcestring

    Restrict 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_idstringuuid

    Project Id value used to narrow or configure check whether a project has traces.

  • thread_onlyboolean

    When true, only considers traces that belong to a thread (thread_id is set) — used by the Threads empty state.

  • project_namestring

    Project Name value used to narrow or configure check whether a project has traces.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Find Feedback Score namesOPIK_TRACES_FIND_TRACE_FEEDBACK_SCORE_NAMESAcción

Find Feedback Score names

Parámetros de entrada

  • project_idstringuuid

    Project Id value used to narrow or configure find feedback score names.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get thread commentOPIK_TRACES_GET_THREAD_COMMENTAcción

Get thread comment

Parámetros de entrada

  • thread_idstringObligatoriouuid

    UUID of the thread id used to get thread comment.

  • comment_idstringObligatoriouuid

    UUID of the comment id used to get thread comment.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get trace by idOPIK_TRACES_GET_TRACE_BY_IDAcción

Get trace by id

Parámetros de entrada

  • trace_idstringObligatoriouuid

    UUID of the trace id used to get trace by id.

  • strip_attachmentsboolean

    If 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

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get trace commentOPIK_TRACES_GET_TRACE_COMMENTAcción

Get trace comment

Parámetros de entrada

  • trace_idstringObligatoriouuid

    UUID of the trace id used to get trace comment.

  • comment_idstringObligatoriouuid

    UUID of the comment id used to get trace comment.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get trace statsOPIK_TRACES_GET_TRACE_STATSAcción

Get trace stats

Parámetros de entrada

  • searchstring

    Full-text search across trace fields

  • to_timestringdate-time

    Filter traces created up to this time (ISO-8601 format). If not provided, defaults to current time. Must be after 'from_time'.

  • from_timestringdate-time

    Filter traces created from this time (ISO-8601 format).

  • project_idstringuuid

    Project Id value used to narrow or configure get trace stats.

  • project_namestring

    Project Name value used to narrow or configure get trace stats.

  • annotation_queue_idstringuuid

    Compute stats over the traces belonging to this annotation queue and scope feedback scores to it

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get trace threadOPIK_TRACES_GET_TRACE_THREADAcción

Get trace thread

Parámetros de entrada

  • truncateboolean

    Truncate value used to get trace thread.

  • thread_idstringObligatorio

    Thread Id value used to get trace thread.

  • project_idstringuuid

    Project Id value used to get trace thread.

  • project_namestring

    Project Name value used to get trace thread.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get trace thread statsOPIK_TRACES_GET_TRACE_THREAD_STATSAcción

Get trace thread stats

Parámetros de entrada

  • searchstring

    Full-text search across thread fields

  • to_timestringdate-time

    Filter trace threads created up to this time (ISO-8601 format). If not provided, defaults to current time. Must be after 'from_time'.

  • from_timestringdate-time

    Filter trace threads created from this time (ISO-8601 format).

  • project_idstringuuid

    Project Id value used to narrow or configure get trace thread stats.

  • project_namestring

    Project Name value used to narrow or configure get trace thread stats.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Find Trace Threads Feedback Score namesOPIK_TRACES_LIST_THREAD_FEEDBACK_SCORE_NAMESAcción

Find Trace Threads Feedback Score names

Parámetros de entrada

  • project_idstringuuid

    Project Id value used to narrow or configure find trace threads feedback score names.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Open trace threadOPIK_TRACES_OPEN_TRACE_THREADAcción

Open trace thread

Parámetros de entrada

  • truncateboolean

    Truncate value used to open trace thread.

  • thread_idstringObligatorio

    Thread Id value used to open trace thread.

  • project_idstringuuid

    Project Id value used to open trace thread.

  • project_namestring

    Project Name value used to open trace thread.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Batch feedback scoring for threadsOPIK_TRACES_SCORE_BATCH_OF_THREADSAcción

Batch feedback scoring for threads

Parámetros de entrada

  • scoresobject[]Obligatorio

    Scores value used to batch feedback scoring for threads.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Batch feedback scoring for tracesOPIK_TRACES_SCORE_BATCH_OF_TRACESAcción

Batch feedback scoring for traces

Parámetros de entrada

  • scoresobject[]Obligatorio

    Scores value used to batch feedback scoring for traces.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update threadOPIK_TRACES_UPDATE_THREADAcción

Update 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_idstringObligatoriouuid

    UUID of the thread model id used to update thread.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update thread comment by idOPIK_TRACES_UPDATE_THREAD_COMMENTAcción

Update thread comment by id

Parámetros de entrada

  • idstringuuid

    Id value used to update thread comment by id.

  • textstringObligatorio

    Text value used to update thread comment by id.

  • comment_idstringObligatoriouuid

    UUID of the comment id used to update thread comment by id.

  • created_atstringdate-time

    Created At value used to update thread comment by id.

  • created_bystring

    Created By value used to update thread comment by id.

  • last_updated_atstringdate-time

    Last Updated At value used to update thread comment by id.

  • last_updated_bystring

    Last Updated By value used to update thread comment by id.

  • source_queue_idstringuuid

    Source Queue Id value used to update thread comment by id.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update trace by idOPIK_TRACES_UPDATE_TRACEAcción

Update trace by id

Parámetros de entrada

  • namestring

    Name value used to update trace by id.

  • tagsstring[]

    Tags

  • ttftnumber

    Ttft value used to update trace by id.

  • inputany

    Input value used to update trace by id.

  • outputany

    Output value used to update trace by id.

  • sourcestringenum

    Source value used to update trace by id.

    sdkexperimentplaygroundoptimizationevaluator
  • end_timestringdate-time

    End Time value used to update trace by id.

  • metadataany

    Metadata value used to update trace by id.

  • trace_idstringObligatoriouuid

    UUID of the trace id used to update trace by id.

  • thread_idstring

    Thread Id value used to update trace by id.

  • error_infoobject

    Error Info value used to update trace by id.

  • project_idstringuuid

    If null and project_name not specified, Default Project is assumed

  • environmentstring

    Environment value used to update trace by id.

  • tags_to_addstring[]

    Tags to add

  • project_namestring

    If null and project_id not specified, Default Project is assumed

  • tags_to_removestring[]

    Tags to remove

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update trace comment by idOPIK_TRACES_UPDATE_TRACE_COMMENTAcción

Update trace comment by id

Parámetros de entrada

  • idstringuuid

    Id value used to update trace comment by id.

  • textstringObligatorio

    Text value used to update trace comment by id.

  • comment_idstringObligatoriouuid

    UUID of the comment id used to update trace comment by id.

  • created_atstringdate-time

    Created At value used to update trace comment by id.

  • created_bystring

    Created By value used to update trace comment by id.

  • last_updated_atstringdate-time

    Last Updated At value used to update trace comment by id.

  • last_updated_bystring

    Last Updated By value used to update trace comment by id.

  • source_queue_idstringuuid

    Source Queue Id value used to update trace comment by id.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Upsert Dataset ItemsOPIK_UPSERT_DATASET_ITEMSAcción

Create 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[]Obligatorio

    Dataset items to create or update in one batch.

  • dataset_idstringuuid

    Destination dataset UUID. Required when dataset_name is omitted.

  • project_idstringuuid

    Project UUID. Takes precedence over project_name.

  • dataset_namestring

    Destination dataset name. Required when dataset_id is omitted.

  • project_namestring

    Project name used when project_id is omitted.

  • batch_group_idstringuuid

    UUID grouping multiple batches into one dataset version. Omit it to mutate the latest version.

  • copy_from_dataset_idstringuuid

    Source dataset UUID for carry-forward rows. Must be supplied together with copy_from_version_id.

  • copy_from_version_idstringuuid

    Source version UUID for carry-forward rows. Must be supplied together with copy_from_dataset_id.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create viewOPIK_VIEWS_CREATE_VIEWAcción

Create a view with its first version

Parámetros de entrada

  • areastringObligatorio

    The content area the view is written for; fixed after creation

  • htmlstringObligatorio

    The view: HTML, CSS and script rendered in a sandboxed iframe

  • namestringObligatorio

    Name value used to create view.

  • typestringObligatorio

    View type

  • authorstringenum

    Who produced the version: user (default), ollie or agent. Informational only

    userollieagent
  • inputsobjectObligatorio

    Input name to data source, one or several; the view receives one data object with a key per input

  • summarystring

    What the first version shows, one line

  • librariesstring[]

    Libraries the host loads before the view runs; none when omitted

  • descriptionstring

    Description value used to create view.

  • engine_versionintegerObligatorio

    HTML contract version the view was written against

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create view versionOPIK_VIEWS_CREATE_VIEW_VERSIONAcción

Add a version to a view and make it current

Parámetros de entrada

  • htmlstringObligatorio

    The view: HTML, CSS and script rendered in a sandboxed iframe

  • typestringObligatorio

    View type

  • authorstringenum

    Who produced the version: user (default), ollie or agent. Informational only

    userollieagent
  • inputsobjectObligatorio

    Input name to data source, one or several; the view receives one data object with a key per input

  • summarystring

    What changed, one line

  • view_idstringObligatoriouuid

    UUID of the view id used to create view version.

  • librariesstring[]

    Libraries the host loads before the view runs; none when omitted

  • engine_versionintegerObligatorio

    HTML contract version the view was written against

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get view by idOPIK_VIEWS_GET_VIEW_BY_IDAcción

Get a view with its current version

Parámetros de entrada

  • view_idstringObligatoriouuid

    UUID of the view id used to get view by id.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get view versionOPIK_VIEWS_GET_VIEW_VERSIONAcción

Get one version of a view

Parámetros de entrada

  • versionintegerObligatorio

    identifier of the version used to get view version.

  • view_idstringObligatoriouuid

    UUID of the view id used to get view version.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Select view versionOPIK_VIEWS_SET_VIEW_CURRENT_VERSIONAcción

Make an existing version the one that renders. Also used for rollback; writes no version.

Parámetros de entrada

  • versionintegerObligatorio

    An existing version number of the view, starting at 1

  • view_idstringObligatoriouuid

    UUID of the view id used to select view version.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update viewOPIK_VIEWS_UPDATE_VIEWAcción

Update the name and description of a view

Parámetros de entrada

  • namestring

    Name value used to update view.

  • view_idstringObligatoriouuid

    UUID of the view id used to update view.

  • descriptionstring

    Omit to keep the description; an empty or blank string clears it

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Wait For Runner JobOPIK_WAIT_FOR_RUNNER_JOBAcción

Poll 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_idstringObligatoriouuid

    Existing Opik local runner job UUID to wait for.

  • timeout_secondsnumber

    Polling 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_secondsnumber

    Seconds between job status checks (2-30).

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get workspace permissions for the authenticated userOPIK_WORKSPACE_PERMISSIONS_GET_WORKSPACE_USER_PERMISSIONSAcción

Get workspace permissions for the authenticated user

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get costs summaryOPIK_WORKSPACES_COSTS_SUMMARYAcción

Get costs summary

Parámetros de entrada

  • project_idsstring[]

    Project Ids value used to get costs summary.

  • interval_endstringObligatoriodate-time

    Interval End value used to get costs summary.

  • interval_startstringObligatoriodate-time

    Interval Start value used to get costs summary.

  • start_before_endboolean

    Start Before End value used to get costs summary.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get cost daily dataOPIK_WORKSPACES_GET_COSTAcción

Get cost daily data

Parámetros de entrada

  • project_idsstring[]

    Project Ids value used to get cost daily data.

  • interval_endstringObligatoriodate-time

    Interval End value used to get cost daily data.

  • interval_startstringObligatoriodate-time

    Interval Start value used to get cost daily data.

  • start_before_endboolean

    Start Before End value used to get cost daily data.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get metric daily dataOPIK_WORKSPACES_GET_METRICAcción

Get metric daily data

Parámetros de entrada

  • project_idsstring[]

    Project Ids value used to get metric daily data.

  • interval_endstringObligatoriodate-time

    Interval End value used to get metric daily data.

  • interval_startstringObligatoriodate-time

    Interval Start value used to get metric daily data.

  • start_before_endboolean

    Start Before End value used to get metric daily data.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get workspace configurationOPIK_WORKSPACES_GET_WORKSPACE_CONFIGURATIONAcción

Get workspace configuration

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get workspace span metricOPIK_WORKSPACES_GET_WORKSPACE_SPAN_METRICAcción

Gets 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.

  • intervalstringenum

    Interval value used to get workspace span metric.

    HOURLYDAILYWEEKLYTOTAL
  • breakdownobject

    Breakdown value used to get workspace span metric.

  • metric_typestringenum

    Metric Type value used to get workspace span metric.

    FEEDBACK_SCORESTRACE_COUNTTOKEN_USAGEDURATIONCOSTGUARDRAILS_FAILED_COUNTTHREAD_COUNTTHREAD_DURATIONTHREAD_FEEDBACK_SCORESSPAN_FEEDBACK_SCORESSPAN_COUNTSPAN_DURATION+8
  • project_idsstring[]

    Project Ids value used to get workspace span metric.

  • interval_endstringdate-time

    Interval End value used to get workspace span metric.

  • interval_startstringObligatoriodate-time

    Interval Start value used to get workspace span metric.

  • start_before_endboolean

    Start Before End value used to get workspace span metric.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get workspace token usage namesOPIK_WORKSPACES_GET_WORKSPACE_TOKEN_USAGE_NAMESAcción

Gets 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

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get metrics summaryOPIK_WORKSPACES_METRICS_SUMMARYAcción

Get metrics summary

Parámetros de entrada

  • project_idsstring[]

    Project Ids value used to get metrics summary.

  • interval_endstringObligatoriodate-time

    Interval End value used to get metrics summary.

  • interval_startstringObligatoriodate-time

    Interval Start value used to get metrics summary.

  • start_before_endboolean

    Start Before End value used to get metrics summary.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Upsert workspace configurationOPIK_WORKSPACES_UPSERT_WORKSPACE_CONFIGURATIONAcción

Upsert workspace configuration

Parámetros de entrada

  • color_mapobject

    Workspace-level color map. Maps label names to hex color values (e.g. #FF0000). Max 10000 entries.

  • truncation_on_tablesboolean

    Enable 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_inactivestring

    Duration 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

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not