Create evaluators and run online eval, experiment and prompt optimization tasks. Arguments, return types and a validated example for each of the 14 mutations.
Create evaluators and run online eval, experiment and prompt optimization tasks.For task-oriented walkthroughs of these operations, see the Evaluator and task guide. Every mutation below is sent as a POST to https://app.arize.com/graphql with an x-api-key header; see Forming calls.
Optional turn-definition template for session-granularity evaluators. When non-empty, the evaluator operates in custom-turn mode: each session trace yields one turn rendered from this template. Uses the same {variable} syntax as the main template.
Optional turn-definition template for session-granularity evaluators. When non-empty, the evaluator operates in custom-turn mode: each session trace yields one turn rendered from this template. Uses the same {variable} syntax as the main template.
The operator of the filter. One of: greaterThan, lessThan, equals, notEquals, greaterThanOrEqual, lessThanOrEqual, topN, contains, containsString, similarTo.
The data type of the values in dimensionName, ex. āFLOATā, āSTRINGā, etc. One of: STRING, LONG, FLOAT, DOUBLE, EMBEDDING, STRING_LIST, DICTIONARY.
The category of the dimension, e.g. ātagā or āfeatureLabelā, etc. One of: featureLabel, prediction, actuals, actualScore, actualClass, predictionClass, predictionScore, tag, spanProperty, llmEval, annotation, userAnnotation, modelVersion, batchId.
Optional turn-definition template for session-granularity evaluators. When non-empty, the evaluator operates in custom-turn mode: each session trace yields one turn rendered from this template. Uses the same {variable} syntax as the main template.
Source subquery names (A-E) from the taskās multi_span_query that may populate this variable. When multiple listed subqueries match for a unit, their resolved values are concatenated. The list must contain at least one subquery; an empty list matches nothing and is rejected.
Arize sandbox integration ID (BYO path for harness tasks). When provided for a harness task the integration is linked to this task so the sandbox pod receives the Arize API key. Omit to use auto-provisioning (phase 2).
The operator of the filter. One of: greaterThan, lessThan, equals, notEquals, greaterThanOrEqual, lessThanOrEqual, topN, contains, containsString, similarTo.
The data type of the values in dimensionName, ex. āFLOATā, āSTRINGā, etc. One of: STRING, LONG, FLOAT, DOUBLE, EMBEDDING, STRING_LIST, DICTIONARY.
The category of the dimension, e.g. ātagā or āfeatureLabelā, etc. One of: featureLabel, prediction, actuals, actualScore, actualClass, predictionClass, predictionScore, tag, spanProperty, llmEval, annotation, userAnnotation, modelVersion, batchId.
Optional turn-definition template for session-granularity evaluators. When non-empty, the evaluator operates in custom-turn mode: each session trace yields one turn rendered from this template. Uses the same {variable} syntax as the main template.
Source subquery names (A-E) from the taskās multi_span_query that may populate this variable. When multiple listed subqueries match for a unit, their resolved values are concatenated. The list must contain at least one subquery; an empty list matches nothing and is rejected.
The operator of the filter. One of: greaterThan, lessThan, equals, notEquals, greaterThanOrEqual, lessThanOrEqual, topN, contains, containsString, similarTo.
The data type of the values in dimensionName, ex. āFLOATā, āSTRINGā, etc. One of: STRING, LONG, FLOAT, DOUBLE, EMBEDDING, STRING_LIST, DICTIONARY.
The category of the dimension, e.g. ātagā or āfeatureLabelā, etc. One of: featureLabel, prediction, actuals, actualScore, actualClass, predictionClass, predictionScore, tag, spanProperty, llmEval, annotation, userAnnotation, modelVersion, batchId.
Source subquery names (A-E) from the taskās multi_span_query that may populate this variable. When multiple listed subqueries match for a unit, their resolved values are concatenated. The list must contain at least one subquery; an empty list matches nothing and is rejected.
Discriminant for what kind of work is performed per example. One of: āllm_generationā, ātemplate_evaluationā, ācode_evaluationā, āagent_callā. One of: llm_generation, template_evaluation, code_evaluation, agent_call.
LLM input (messages, model, integration). Required for llm_generation; provider/model fields also used for template_evaluation. Not used for agent_call.
The provider to use for the call. One of: openAI, azureOpenAI, anthropic, vertexAI, awsBedrock, custom, nvidiaNim, gemini, litellm, fireworks, togetherAi.
Per-call LLM timeout in seconds (whole number, 30-1800) for llm_generation and template_evaluation runs; also applies to any LLM evaluator judge calls attached to the run. Rejected for other experiment types. Null uses the system default.
Create a new prompt optimization taskcreatePromptOptimizationTask(input: CreatePromptOptimizationTaskMutationInput!): CreatePromptOptimizationTaskMutationPayload
Optional experiment ID to use as datasource. Only one experiment is supported for prompt optimization tasks. If not provided, the dataset will be used.
Only required input fields are shown. Replace <ID> and <string> placeholders with real values; the object graph page shows how to look IDs up.
mutation PatchPromptOptimizationTask($input: PatchPromptOptimizationTaskMutationInput!) { patchPromptOptimizationTask(input: $input) { promptOptimizationTask { id name } }}
{ "input": { "onlineTaskId": "<ID>" }}
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Arize AX Docs","colors":{"primary":"#7A0047","light":"#FF8AC8","dark":"#FF74BF"},"logo":{"light":"https://mintcdn.com/arize-ax/V-uvingrGLOCK4VD/logo/light.svg?fit=max\u0026auto=format\u0026n=V-uvingrGLOCK4VD\u0026q=85\u0026s=cc58ee9388d5b5253d39b65cc662908f","dark":"https://mintcdn.com/arize-ax/V-uvingrGLOCK4VD/logo/dark.svg?fit=max\u0026auto=format\u0026n=V-uvingrGLOCK4VD\u0026q=85\u0026s=b16a0266f5913934131301a1b60af51e","href":"https://arize.com"},"favicon":"https://mintcdn.com/arize-ax/1gcABHkqP5TIGbru/favicon.ico?fit=max\u0026auto=format\u0026n=1gcABHkqP5TIGbru\u0026q=85\u0026s=aef538e87b54a3c819583bc40acfc2f8","appearance":{"default":"dark"},"background":{"color":{"light":"#FFFFFF","dark":"#0A0A12"}},"navbar":{"links":[],"primary":{"type":"button","label":"Get started","href":"https://app.arize.com/auth/join"}},"footer":{"socials":{"x":"https://x.com/arizeai","bluesky":"https://bsky.app/profile/arize.bsky.social","threads":"https://www.threads.com/@arize.ai","instagram":"https://www.instagram.com/arize_ai","linkedin":"https://www.linkedin.com/company/arizeai","youtube":"https://youtube.com/@arizeai","slack":"https://arize-ai.slack.com/ssb/redirect","website":"https://fosstodon.org/@arizeai"},"links":[{"header":"Support","items":[{"label":"Chat Us On Slack","href":"https://arize-ai.slack.com/ssb/redirect"},{"label":"support@arize.com","href":"mailto:support@arize.com"},{"label":"System Status","href":"https://status.arize.com"}]},{"header":"Get Started","items":[{"label":"Signup For Free","href":"https://arize.com/join"},{"label":"Book A Demo","href":"https://arize.com/request-a-demo"}]},{"header":"Resources","items":[{"label":"Blog","href":"https://arize.com/blog"}]}]},"seo":{"metatags":{"canonical":"https://arize.com/docs"},"indexing":"all"},"fonts":{"heading":{"family":"Geist","weight":600},"body":{"family":"Geist"}},"styling":{"codeblocks":{"theme":{"light":"github-light-default","dark":"github-dark-default"}},"latex":true},"integrations":{"gtm":{"tagId":"GTM-W96XM35"}},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"interaction":{"drilldown":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"arize-ax","hasAudioNarration":false,"actualSubdomain":"arize-ax","customDomains":[],"gitSource":{"type":"github","owner":"arize-ai","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true,"contextualFeedback":{"allowEmail":true,"emailDisclaimer":"We will only use your email to follow up with you about this feedback."}},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"ENABLED"},"CONTEXTUAL_FEEDBACK":{"status":"ENABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6af227bb69913d204b1734ea","clientVersion":"0.0.4094","searchFilterCounts":[{"language":"default","tag":"APIs, SDKs, \u0026 Skills","count":369},{"language":"default","tag":"Get Started","count":243},{"language":"default","tag":"API reference","count":214},{"language":"default","tag":"REST","count":181},{"language":"default","tag":"Endpoints","count":178},{"language":"default","tag":"API clients","count":143},{"language":"default","tag":"Machine Learning","count":139},{"language":"default","tag":"ML observability","count":139},{"language":"default","tag":"Integrations","count":129},{"language":"default","tag":"Guides","count":69}]},"assistantConfig":{"enableAskAiButton":true,"enableStarterQuestions":true,"enableAskAiSearchBar":true,"deflection":{"enabled":true,"email":"support@arize.com"}},"basePath":"/docs","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[{"_id":"6944513fe59e82150b5700b3","deploymentId":"6894ef048eafbd2a7c20796e","questionText":"Need more help? Ask our team in #arize-ax-platform-support on community Slack.","status":"active","generatedBy":"manual","createdAt":"2025-12-18T19:08:47.802Z","updatedAt":"2025-12-18T19:15:01.436Z","__v":0}],"googleFontsInlined":true},"customCss":[{"filePath":"style.css","content":"/* cyrillic-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 300;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrodmgPn.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 300;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrMdmgPn.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* symbols2 */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 300;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFg08vz7ehw.woff2) format('woff2');\n unicode-range: U+2000-2001, U+2004-2008, U+200A, U+23B8-23BD, U+2500-259F;\n}\n/* vietnamese */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 300;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrgdmgPn.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 300;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrkdmgPn.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 300;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrcdmg.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* cyrillic-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrodmgPn.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrMdmgPn.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* symbols2 */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFg08vz7ehw.woff2) format('woff2');\n unicode-range: U+2000-2001, U+2004-2008, U+200A, U+23B8-23BD, U+2500-259F;\n}\n/* vietnamese */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrgdmgPn.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrkdmgPn.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrcdmg.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* cyrillic-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrodmgPn.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrMdmgPn.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* symbols2 */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFg08vz7ehw.woff2) format('woff2');\n unicode-range: U+2000-2001, U+2004-2008, U+200A, U+23B8-23BD, U+2500-259F;\n}\n/* vietnamese */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrgdmgPn.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrkdmgPn.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrcdmg.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* cyrillic-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrodmgPn.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrMdmgPn.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* symbols2 */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFg08vz7ehw.woff2) format('woff2');\n unicode-range: U+2000-2001, U+2004-2008, U+200A, U+23B8-23BD, U+2500-259F;\n}\n/* vietnamese */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrgdmgPn.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrkdmgPn.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrcdmg.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\nhtml:root{--font-family-mono-custom: 'Geist Mono'}html:root{--gray-50: 248 248 246;--gray-100: 242 242 237;--gray-200: 230 230 223;--gray-300: 205 205 200;--gray-400: 179 179 191;--gray-500: 138 138 150;--gray-600: 91 91 105;--gray-700: 62 62 78;--gray-800: 46 46 61;--gray-900: 21 21 31;--gray-950: 10 10 18}html:root{--ax-radius-sm: 2px;--ax-radius-md: 6px;--ax-radius-lg: 8px;--ax-accent-bg: #FF74BF;--ax-panel: #CDBEF7;--ax-panel-2: #E3DBFC;--ax-panel-code: #FFFFFF;--ax-panel-border: rgba(19, 22, 64, 0.22);--ax-panel-icon: #4827C1;--ax-panel-t1: #121221;--ax-panel-t2: #2A2A38;--ax-panel-accent: #6E1046;--ax-panel-code-kw: #3F4110;--ax-panel-code-flag: #5A3200;--ax-panel-code-url: #004A70;--ax-panel-selection: #FFE9F4}html:not(.dark){--ax-bg: #FFFFFF;--ax-surface: #F8F8F4;--ax-code-bg: #F5F5ED;--ax-chip: #EDEDE2;--ax-line: rgba(19, 22, 64, 0.20);--ax-t1: #121221;--ax-t2: #2E2E3D;--ax-t3: #3E3E4E;--ax-accent: #7A0047;--ax-accent-line: rgba(255, 98, 182, 0.55);--ax-accent-soft: #FFE9F4;--ax-on-accent: #121221;--ax-note: #E8F3EC;--ax-note-line: rgba(30, 70, 50, 0.24);--ax-note-t: #1B4230;--ax-warn: #FBEEE0;--ax-warn-line: rgba(90, 50, 0, 0.24);--ax-warn-t: #54300A;--ax-blue: #E7F3FD;--ax-blue-line: rgba(0, 82, 125, 0.24);--ax-blue-t: #00527D;--ax-danger: #FFEBE9;--ax-danger-line: rgba(207, 34, 46, 0.28);--ax-danger-t: #A40E26}html.dark{--ax-bg: #0A0A12;--ax-surface: #15151F;--ax-code-bg: #05050B;--ax-chip: #221B3A;--ax-line: rgba(247, 247, 252, 0.16);--ax-t1: #F5F5FA;--ax-t2: #DCDCE6;--ax-t3: #B3B3C4;--ax-accent: #FF8AC8;--ax-accent-line: rgba(255, 138, 200, 0.45);--ax-accent-soft: #2A1425;--ax-on-accent: #0A0A12;--ax-note: #10241A;--ax-note-line: rgba(159, 224, 188, 0.30);--ax-note-t: #9FE0BC;--ax-warn: #2A1B0A;--ax-warn-line: rgba(255, 201, 138, 0.30);--ax-warn-t: #FFC98A;--ax-blue: #0A1A24;--ax-blue-line: rgba(57, 195, 255, 0.30);--ax-blue-t: #97D8FF;--ax-danger: #2A0F12;--ax-danger-line: rgba(255, 138, 148, 0.30);--ax-danger-t: #FFB3B8}#content{line-height:1.75}#page-title,#content h1{font-size:clamp(2rem, 1.4rem + 2.1vw, 2.875rem);line-height:1.12;letter-spacing:-0.02em;font-weight:600}#content h2,#content h3,#content h4{letter-spacing:-0.01em;font-weight:600}#content code,#content kbd,#content samp{font-feature-settings:'tnum' 1}#content a:not(.card){color:var(--ax-accent);text-decoration-thickness:1px;text-underline-offset:3px}:focus-visible{outline:2px solid var(--ax-accent-line);outline-offset:2px}html.dark :focus-visible{outline-color:var(--ax-accent-line)}::selection{background:var(--ax-accent-soft)}#navbar{background:var(--ax-bg);border-bottom:1px solid var(--ax-line)}#navbar div:has(>.nav-tabs){position:relative}#navbar div:has(>.nav-tabs)::before{content:'';position:absolute;top:0;left:50%;width:100vw;margin-left:-50vw;border-top:1px solid var(--ax-line);pointer-events:none}.nav-tabs-item[data-active]{box-shadow:inset 0 -2px 0 var(--ax-accent)}.ax-product-selector{position:relative;display:inline-flex;align-items:stretch;flex:0 0 auto}.ax-product-selector--desktop{margin-left:0.75rem;align-self:center}.page-context-dropdown__label{font-family:inherit;font-weight:400}.page-context-dropdown__chevron>span{display:inline-block;transition:transform 150ms ease}.page-context-dropdown__chevron svg{display:block;width:1rem;height:1rem}.page-context-dropdown__chevron[aria-expanded=\"true\"]>span{transform:rotate(180deg)}.page-context-dropdown__menu{position:absolute;z-index:60;top:calc(100% + 0.55rem);right:0;min-width:12.5rem;padding:0.4rem;background:var(--ax-bg);border:1px solid var(--ax-line);border-radius:var(--ax-radius-md);box-shadow:0 0.75rem 1.5rem rgb(10 10 18 / 0.18)}.ax-product-selector--desktop .page-context-dropdown__menu{right:auto;left:0}.page-context-dropdown__menu[hidden]{display:none}.page-context-dropdown__item{display:flex;align-items:center;justify-content:space-between;min-height:2.5rem;padding:0.55rem 0.65rem;color:var(--ax-t1);border-radius:var(--ax-radius-sm);font-size:0.9375rem;font-weight:400;text-decoration:none;transition:background-color 150ms ease, color 150ms ease}.page-context-dropdown__item:hover,.page-context-dropdown__item:focus-visible{color:var(--ax-accent);background:var(--ax-accent-soft)}.page-context-dropdown__item[data-selected=\"true\"]{color:var(--ax-accent);font-weight:500}.page-context-dropdown__item[data-selected=\"true\"]::after{content:'ā';margin-left:1.5rem;color:var(--ax-accent);font-size:0.875rem}@media (prefers-reduced-motion: reduce){.page-context-dropdown__chevron>span,.page-context-dropdown__item{transition:none}}@media (max-width: 767px){#navbar .ax-product-selector--desktop{display:none}#mobile-nav-content .ax-product-selector--mobile{margin:0.5rem 0 1rem}#mobile-nav-content .page-context-dropdown__label{flex:1 1 auto}#mobile-nav-content .page-context-dropdown__chevron{flex:0 0 auto}#mobile-nav-content .page-context-dropdown__menu{position:static;margin-top:0.4rem}}#topbar-cta-button{background:var(--ax-accent-bg);color:var(--ax-on-accent);border-radius:var(--ax-radius-md);border:none}#topbar-cta-button span,#topbar-cta-button svg{color:var(--ax-on-accent)!important}#search-bar-entry{background:var(--ax-surface);border:1px solid var(--ax-line);border-radius:var(--ax-radius-md)}#assistant-entry{background:var(--ax-surface);border:1px solid var(--ax-accent-line);border-radius:var(--ax-radius-md)}#assistant-entry svg{color:var(--ax-accent)}#page-context-menu,.page-context-dropdown{font-size:0.9375rem;align-items:stretch}#page-context-menu-button,.page-context-dropdown__label{display:inline-flex;align-items:center;padding:10px 14px;border-radius:var(--ax-radius-md) 0 0 var(--ax-radius-md);background:var(--ax-surface);border-color:var(--ax-line);color:var(--ax-t1);border:1px solid var(--ax-line);text-decoration:none}#page-context-menu-button>div{font-size:0.9375rem;gap:9px}#page-context-menu>button[aria-haspopup],.page-context-dropdown__chevron{height:auto;align-self:stretch;aspect-ratio:auto;padding:10px 11px;border-radius:0 var(--ax-radius-md) var(--ax-radius-md) 0;background:var(--ax-surface);border-color:var(--ax-line);color:var(--ax-t3);border:1px solid var(--ax-line);border-left:0;cursor:pointer}#sidebar-content li[data-active]>a{background:var(--ax-accent-soft);color:var(--ax-accent);border-radius:var(--ax-radius-md);font-weight:500}.sidebar-group-header{font-weight:600;color:var(--ax-t1)}.toc-item[data-active],.toc-item[data-active] a{color:var(--ax-accent);font-weight:400}.card.card{background:var(--ax-surface);border-color:var(--ax-line);border-radius:var(--ax-radius-lg);box-shadow:none}.frame.frame{background:var(--ax-surface);border:1px solid var(--ax-line);border-radius:var(--ax-radius-lg)}.accordion.accordion,.accordion-group.accordion-group{border-radius:var(--ax-radius-md);border-color:var(--ax-line)}.accordion.accordion{background:var(--ax-surface)}.code-block.code-block,.code-group.code-group{background:var(--ax-code-bg);border-color:var(--ax-line);border-radius:var(--ax-radius-md)}.code-block-background{background:var(--ax-code-bg)!important}html.dark .code-block-background{background:var(--ax-code-bg)!important}#content :not(pre)>code{background:var(--ax-chip);border-radius:var(--ax-radius-sm)}.code-block:has([data-floating-buttons]) [data-fade-overlay]{background-image:none}[data-floating-buttons] button{background:var(--ax-chip)}.callout .code-block.code-block,.callout .code-group.code-group,.callout .code-block-background,html.dark .callout .code-block-background{background:var(--ax-bg)!important}.callout{border-radius:var(--ax-radius-lg)}.callout[data-callout-type=\"callout\"],.callout[data-callout-type=\"info\"]{background:var(--ax-surface);border-color:var(--ax-line)}.callout[data-callout-type=\"callout\"] [data-component-part=\"callout-content\"],.callout[data-callout-type=\"info\"] [data-component-part=\"callout-content\"]{color:var(--ax-t2)!important}.callout[data-callout-type=\"tip\"],.callout[data-callout-type=\"check\"]{background:var(--ax-note);border-color:var(--ax-note-line)}.callout[data-callout-type=\"tip\"] [data-component-part=\"callout-content\"],.callout[data-callout-type=\"check\"] [data-component-part=\"callout-content\"]{color:var(--ax-note-t)!important}.callout[data-callout-type=\"warning\"]{background:var(--ax-warn);border-color:var(--ax-warn-line)}.callout[data-callout-type=\"warning\"] [data-component-part=\"callout-content\"]{color:var(--ax-warn-t)!important}.callout[data-callout-type=\"note\"]{background:var(--ax-blue);border-color:var(--ax-blue-line)}.callout[data-callout-type=\"note\"] [data-component-part=\"callout-content\"]{color:var(--ax-blue-t)!important}.callout[data-callout-type=\"danger\"]{background:var(--ax-danger);border-color:var(--ax-danger-line)}.callout[data-callout-type=\"danger\"] [data-component-part=\"callout-content\"]{color:var(--ax-danger-t)!important}[data-component-part=\"step-number\"]>div{background:var(--ax-accent-soft);border:1px solid var(--ax-accent-line);color:var(--ax-accent);font-weight:500}.update.update-container{flex-direction:column;gap:0.5rem;border-top:1px solid var(--ax-line)}.update.update-container:first-of-type{border-top:none}.update.update-container>div:first-child{width:100%;position:static}.update.update-container>div:last-child{width:100%;max-width:none}#content th{color:var(--ax-t1);font-weight:600;border-bottom:1px solid var(--ax-line)}#content td{border-bottom:1px solid var(--ax-line)}footer{border-top:1px solid var(--ax-line)}.ax-hero .callout{background:var(--ax-panel);border-color:var(--ax-panel-border);border-radius:var(--ax-radius-lg)}.ax-hero .callout [data-component-part=\"callout-content\"],.ax-hero .callout p,.ax-hero .callout li{color:var(--ax-panel-t2)!important}.ax-hero .callout h2,.ax-hero .callout h3,.ax-hero .callout strong{color:var(--ax-panel-t1)!important}.ax-hero .callout [data-component-part=\"callout-icon\"] svg{background:var(--ax-panel-icon)!important}.ax-hero .code-block,.ax-hero .code-group,.ax-hero .code-block-background{background:var(--ax-panel-code)!important;border-color:var(--ax-panel-border)}.ax-hero .code-block,.ax-hero .code-group{padding:0;overflow:hidden}html.dark .ax-hero .code-block,html.dark .ax-hero .code-group,html.dark .ax-hero .code-block-background,html.dark .ax-hero .shiki,html:not(.dark) .ax-hero .code-block,html:not(.dark) .ax-hero .code-group,html:not(.dark) .ax-hero .code-block-background{background:var(--ax-panel-code)!important}html.dark .ax-hero .shiki,html.dark .ax-hero .shiki span{color:var(--ax-panel-t1)!important}html.dark .ax-hero .shiki span[style*=\"#FFA657\"]{color:var(--ax-panel-code-kw)!important}html.dark .ax-hero .shiki span[style*=\"#79C0FF\"]{color:var(--ax-panel-code-flag)!important}html.dark .ax-hero .shiki span[style*=\"#A5D6FF\"]{color:var(--ax-panel-code-url)!important}.ax-hero .code-group>div:first-child,html.dark .ax-hero .code-group>div:first-child{background:var(--ax-panel-2)!important;border-bottom:1px solid var(--ax-panel-border)}.ax-hero .code-group [role=\"tab\"]{color:var(--ax-panel-t2)!important}.ax-hero .code-group [role=\"tab\"][aria-selected=\"true\"]{color:var(--ax-panel-accent)!important}.ax-hero .code-group [role=\"tab\"][aria-selected=\"true\"]>div:last-child{background:var(--ax-panel-accent)!important}.ax-hero .code-block svg,.ax-hero .code-group svg{color:var(--ax-panel-t2)}html.dark .ax-hero [data-fade-overlay]{background-image:linear-gradient(\n to right,\n rgb(255 255 255 / 0) 0,\n rgb(255 255 255 / 0.2) 10px,\n rgb(255 255 255 / 0.5) 25px,\n rgb(255 255 255 / 0.8) 35px,\n rgb(255 255 255) 45px\n )}.ax-hero .callout a{color:var(--ax-panel-accent)!important}.ax-hero::selection,.ax-hero ::selection{background:var(--ax-panel-selection)}.card-group .card img{max-height:197px!important}.card-group[class$=\"-2\"] .card img{height:160px!important}.card-group[class$=\"-3\"] .card img{height:150px!important}table{display:table!important}.step-title{font-size:1.5rem!important}"}],"page":{"pagePath":"ax/graphql-reference/mutations/evaluators-and-tasks","slug":"/ax/graphql-reference/mutations/evaluators-and-tasks","pageMetadata":{"title":"Evaluator and task mutations","description":"Create evaluators and run online eval, experiment and prompt optimization tasks. Arguments, return types and a validated example for each of the 14 mutations.","keywords":["graphql","evaluators","online tasks","eval task","experiment task","prompt optimization","eval hub"],"href":"/ax/graphql-reference/mutations/evaluators-and-tasks"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Create evaluators and run online eval, experiment and prompt optimization tasks. Arguments, return types and a validated example for each of the 14 mutations.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,CodeGroup,Expandable,Heading,ParamField,ResponseField}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Create evaluators and run online eval, experiment and prompt optimization tasks.`}),`\n`,_jsxs(_components.p,{children:[`For task-oriented walkthroughs of these operations, see the `,_jsx(_components.a,{href:`/ax/graphql-reference/guides/evaluators-and-tasks`,children:`Evaluator and task guide`}),`. Every mutation below is sent as a `,_jsx(_components.code,{children:`POST`}),` to `,_jsx(_components.code,{children:`https://app.arize.com/graphql`}),` with an `,_jsx(_components.code,{children:`x-api-key`}),` header; see `,_jsx(_components.a,{href:`/ax/graphql-reference/overview/how-to-use-graphql/forming-calls`,children:`Forming calls`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`mutations-in-this-page`,children:`Mutations in this page`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`#createevaluator`,children:_jsx(_components.code,{children:`createEvaluator`})}),`: Create a new evaluator`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`#createevaluatorversion`,children:_jsx(_components.code,{children:`createEvaluatorVersion`})}),`: Create a new evaluator version`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`#editevaluator`,children:_jsx(_components.code,{children:`editEvaluator`})}),`: Edit an existing evaluator`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`#deleteevaluator`,children:_jsx(_components.code,{children:`deleteEvaluator`})}),`: Delete an existing evaluator`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`#createevaltask`,children:_jsx(_components.code,{children:`createEvalTask`})}),`: Create a new online eval task`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`#patchevaltask`,children:_jsx(_components.code,{children:`patchEvalTask`})}),`: Patch eval task.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`#patchevaltaskwithevalhub`,children:_jsx(_components.code,{children:`patchEvalTaskWithEvalHub`})}),`: Patch eval task with eval hub.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`#migratetasktoevalhub`,children:_jsx(_components.code,{children:`migrateTaskToEvalHub`})}),`: migrates a taskās evaluators to eval hub`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`#runonlinetask`,children:_jsx(_components.code,{children:`runOnlineTask`})}),`: Run an online task`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`#cancelonlinetaskrun`,children:_jsx(_components.code,{children:`cancelOnlineTaskRun`})}),`: Cancel an online task run`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`#deleteonlinetask`,children:_jsx(_components.code,{children:`deleteOnlineTask`})}),`: Delete online task.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`#runexperimenttask`,children:_jsx(_components.code,{children:`runExperimentTask`})}),`: Run an experiment task with configurable LLM interactions`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`#createpromptoptimizationtask`,children:_jsx(_components.code,{children:`createPromptOptimizationTask`})}),`: Create a new prompt optimization task`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`#patchpromptoptimizationtask`,children:_jsx(_components.code,{children:`patchPromptOptimizationTask`})}),`: Patch prompt optimization task.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`reference`,children:`Reference`}),`\n`,_jsx(Heading,{level:`3`,id:`createevaluator`,children:`createEvaluator`}),`\n`,_jsx(_components.p,{children:`Create a new evaluator`}),`\n`,_jsx(_components.p,{children:_jsx(_components.code,{children:`createEvaluator(input: CreateEvaluatorMutationInput!): CreateEvaluatorMutationPayload`})}),`\n`,_jsx(Heading,{level:`4`,id:`arguments`,children:`Arguments`}),`\n`,_jsx(ParamField,{body:`input`,type:`CreateEvaluatorMutationInput!`,required:true,id:`param-input`,children:_jsxs(Expandable,{title:`CreateEvaluatorMutationInput fields`,children:[_jsx(ParamField,{body:`spaceId`,type:`ID!`,required:true,id:`param-space-id`,children:_jsx(_components.p,{children:`The space id for the evaluator`})}),_jsx(ParamField,{body:`name`,type:`String!`,required:true,id:`param-name`,children:_jsx(_components.p,{children:`The name of the evaluator`})}),_jsx(ParamField,{body:`description`,type:`String`,id:`param-description`,children:_jsx(_components.p,{children:`The description of the saved evaluator`})}),_jsx(ParamField,{body:`commitMessage`,type:`String!`,required:true,id:`param-commit-message`,children:_jsx(_components.p,{children:`The commit message describing the changes in this version`})}),_jsx(ParamField,{body:`templateEvaluator`,type:`TemplateEvaluationConfigInput`,id:`param-template-evaluator`,children:_jsxs(Expandable,{title:`TemplateEvaluationConfigInput fields`,children:[_jsx(ParamField,{body:`name`,type:`EvalColumnName!`,required:true,id:`param-name-1`,children:_jsx(_components.p,{children:`The name of the template evaluation config`})}),_jsx(ParamField,{body:`rails`,type:`[String!]`,id:`param-rails`,children:_jsx(_components.p,{children:`The rails associated with the config`})}),_jsx(ParamField,{body:`template`,type:`String!`,required:true,id:`param-template`,children:_jsx(_components.p,{children:`The template associated with the config`})}),_jsx(ParamField,{body:`turnDefinition`,type:`String`,id:`param-turn-definition`,children:_jsx(_components.p,{children:`Optional turn-definition template for session-granularity evaluators. When non-empty, the evaluator operates in custom-turn mode: each session trace yields one turn rendered from this template. Uses the same {variable} syntax as the main template.`})}),_jsx(ParamField,{body:`position`,type:`Int!`,required:true,id:`param-position`,children:_jsx(_components.p,{children:`The position of the config`})}),_jsx(ParamField,{body:`includeExplanations`,type:`Boolean!`,required:true,id:`param-include-explanations`,children:_jsx(_components.p,{children:`Whether the config includes explanations`})}),_jsx(ParamField,{body:`useFunctionCallingIfAvailable`,type:`Boolean!`,required:true,id:`param-use-function-calling-if-available`,children:_jsx(_components.p,{children:`Whether the config uses function calling if available`})}),_jsx(ParamField,{body:`useStructuredOutputIfAvailable`,type:`Boolean`,id:`param-use-structured-output-if-available`,children:_jsx(_components.p,{children:`Whether the config uses structured output if available`})}),_jsx(ParamField,{body:`classificationChoices`,type:`JSONObject`,id:`param-classification-choices`,children:_jsx(_components.p,{children:`The classification choices for the config (Record\u003cstring, number>)`})}),_jsx(ParamField,{body:`direction`,type:`TemplateEvaluationConfigDirection`,id:`param-direction`,children:_jsxs(_components.p,{children:[`The direction for the config One of: `,_jsx(_components.code,{children:`maximize`}),`, `,_jsx(_components.code,{children:`minimize`}),`, `,_jsx(_components.code,{children:`none`}),`.`]})}),_jsx(ParamField,{body:`dataGranularityType`,type:`EvalDataGranularityType`,id:`param-data-granularity-type`,children:_jsxs(_components.p,{children:[`Data granularity (span, trace, or session). Defaults to span when omitted. One of: `,_jsx(_components.code,{children:`span`}),`, `,_jsx(_components.code,{children:`trace`}),`, `,_jsx(_components.code,{children:`session`}),`.`]})}),_jsxs(ParamField,{body:`llmConfig`,type:`TemplateEvaluationLlmConfigInput`,id:`param-llm-config`,children:[_jsx(_components.p,{children:`Llm Config for this evaluator`}),_jsxs(Expandable,{title:`TemplateEvaluationLlmConfigInput fields`,children:[_jsx(ParamField,{body:`integrationId`,type:`ID!`,required:true,id:`param-integration-id`,children:_jsx(_components.p,{children:`The selected named LLM integration id (relay global id). If provided, server will use its configuration.`})}),_jsx(ParamField,{body:`modelName`,type:`String!`,required:true,id:`param-model-name`,children:_jsx(_components.p,{children:`The LLM model`})}),_jsx(ParamField,{body:`invocationParameters`,type:`JSONObject!`,required:true,id:`param-invocation-parameters`,children:_jsx(_components.p,{children:`parameters used when running the Llm`})}),_jsx(ParamField,{body:`providerParameters`,type:`JSONObject!`,required:true,id:`param-provider-parameters`,children:_jsx(_components.p,{children:`parameters used to initialize the Llm`})})]})]})]})}),_jsx(ParamField,{body:`codeEvaluator`,type:`CodeEvaluationConfigInput`,id:`param-code-evaluator`,children:_jsxs(Expandable,{title:`CodeEvaluationConfigInput fields`,children:[_jsx(ParamField,{body:`name`,type:`EvalColumnName!`,required:true,id:`param-name-2`,children:_jsx(_components.p,{children:`The name of the evaluation config`})}),_jsx(ParamField,{body:`evaluationClass`,type:`String`,id:`param-evaluation-class`,children:_jsx(_components.p,{children:`The evaluation type associated with the config`})}),_jsx(ParamField,{body:`evalClassCodeBlock`,type:`String`,id:`param-eval-class-code-block`,children:_jsx(_components.p,{children:`The code block for the evaluation class`})}),_jsx(ParamField,{body:`evaluationInputParams`,type:`JSON`,id:`param-evaluation-input-params`,children:_jsx(_components.p,{children:`The evaluation input params`})}),_jsx(ParamField,{body:`packageImports`,type:`String`,id:`param-package-imports`,children:_jsx(_components.p,{children:`The package imports for the evaluation class`})}),_jsx(ParamField,{body:`position`,type:`Int!`,required:true,id:`param-position-1`,children:_jsx(_components.p,{children:`The position of the config`})}),_jsx(ParamField,{body:`queryFilter`,type:`String`,id:`param-query-filter`,children:_jsx(_components.p,{children:`Optional query used to filter over a given data granularity (ex. session, trace)`})}),_jsx(ParamField,{body:`spanAttributes`,type:`[String!]`,id:`param-span-attributes`,children:_jsx(_components.p,{children:`The data column associated with the config`})}),_jsx(ParamField,{body:`dataGranularityType`,type:`EvalDataGranularityType`,id:`param-data-granularity-type-1`,children:_jsxs(_components.p,{children:[`The data granularity associated with the config (span, trace, or session) One of: `,_jsx(_components.code,{children:`span`}),`, `,_jsx(_components.code,{children:`trace`}),`, `,_jsx(_components.code,{children:`session`}),`.`]})})]})}),_jsx(ParamField,{body:`harnessEvaluator`,type:`HarnessEvaluatorInput`,id:`param-harness-evaluator`,children:_jsxs(Expandable,{title:`HarnessEvaluatorInput fields`,children:[_jsx(ParamField,{body:`llmIntegrationId`,type:`ID!`,required:true,id:`param-llm-integration-id`,children:_jsx(_components.p,{children:`Relay GID of the llm_integrations row. Provider must be āanthropicā.`})}),_jsx(ParamField,{body:`sandboxIntegrationIds`,type:`[ID!]`,id:`param-sandbox-integration-ids`,children:_jsx(_components.p,{children:`Optional relay GIDs of sandbox_integrations to link to the new sandbox config at creation time.`})}),_jsx(ParamField,{body:`name`,type:`EvalColumnName!`,required:true,id:`param-name-3`,children:_jsx(_components.p,{children:`Eval column prefix name. Harness output is written under eval.\u003cname>.*.`})}),_jsx(ParamField,{body:`template`,type:`String!`,required:true,id:`param-template-1`,children:_jsx(_components.p,{children:`Natural-language eval template. {column_name} markers are substituted at run time.`})}),_jsx(ParamField,{body:`classificationChoices`,type:`JSON`,id:`param-classification-choices-1`,children:_jsx(_components.p,{children:`Optional fixed label set. Null means the agent discovers labels freely.`})}),_jsx(ParamField,{body:`strictChoices`,type:`Boolean`,id:`param-strict-choices`,children:_jsx(_components.p,{children:`When true the agent must only emit labels from classificationChoices.`})}),_jsx(ParamField,{body:`llmModelName`,type:`String`,id:`param-llm-model-name`,children:_jsx(_components.p,{children:`Optional model name hint forwarded to the pod as ANTHROPIC_MODEL.`})}),_jsx(ParamField,{body:`direction`,type:`HarnessEvaluationConfigDirection`,id:`param-direction-1`,children:_jsxs(_components.p,{children:[`Optimization direction for scored harness eval output. One of: `,_jsx(_components.code,{children:`maximize`}),`, `,_jsx(_components.code,{children:`minimize`}),`, `,_jsx(_components.code,{children:`none`}),`.`]})})]})}),_jsx(ParamField,{body:`remoteEvaluator`,type:`RemoteEvaluatorInput`,id:`param-remote-evaluator`,children:_jsxs(Expandable,{title:`RemoteEvaluatorInput fields`,children:[_jsx(ParamField,{body:`endpoint`,type:`String!`,required:true,id:`param-endpoint`,children:_jsx(_components.p,{children:`HTTP URL of the remote evaluation endpoint.`})}),_jsx(ParamField,{body:`headers`,type:`JSON`,id:`param-headers`,children:_jsx(_components.p,{children:`Optional custom request headers sent to the endpoint (encrypted at rest).`})}),_jsx(ParamField,{body:`inputSchema`,type:`JSON`,id:`param-input-schema`,children:_jsx(_components.p,{children:`Optional JSON schema describing the expected request body.`})}),_jsx(ParamField,{body:`dataGranularityType`,type:`EvalDataGranularityType`,id:`param-data-granularity-type-2`,children:_jsxs(_components.p,{children:[`Data granularity (span, trace, or session). Defaults to span when omitted. Fixed at creation; later versions inherit it. One of: `,_jsx(_components.code,{children:`span`}),`, `,_jsx(_components.code,{children:`trace`}),`, `,_jsx(_components.code,{children:`session`}),`.`]})})]})}),_jsx(ParamField,{body:`systemOneEvaluator`,type:`SystemOneEvaluatorInput`,id:`param-system-one-evaluator`,children:_jsxs(Expandable,{title:`SystemOneEvaluatorInput fields`,children:[_jsx(ParamField,{body:`llmIntegrationId`,type:`String!`,required:true,id:`param-llm-integration-id-1`,children:_jsx(_components.p,{children:`Relay global ID of the TypeSafe AI integration this evaluator calls.`})}),_jsx(ParamField,{body:`modelName`,type:`String!`,required:true,id:`param-model-name-1`,children:_jsxs(_components.p,{children:[`Provider model route, for example `,_jsx(_components.code,{children:`jev-latest`}),`. Required: the column has no default, so which route was asked for is always recorded.`]})}),_jsx(ParamField,{body:`stateTemplate`,type:`String!`,required:true,id:`param-state-template`,children:_jsx(_components.p,{children:`The authorās JSON-shaped state template, stored verbatim, carrying {variables} resolved per record.`})}),_jsxs(ParamField,{body:`questions`,type:`[SystemOneQuestionInput!]!`,required:true,id:`param-questions`,children:[_jsx(_components.p,{children:`At least one. Every question sees the same state and is evaluated independently in one request.`}),_jsxs(Expandable,{title:`SystemOneQuestionInput fields`,children:[_jsx(ParamField,{body:`questionName`,type:`String!`,required:true,id:`param-question-name`,children:_jsx(_components.p,{children:`Becomes the providerās question key and the published eval column suffix, so it is validated against the eval-name rules.`})}),_jsx(ParamField,{body:`questionType`,type:`SystemOneQuestionType!`,required:true,id:`param-question-type`,children:_jsxs(_components.p,{children:[`One of: `,_jsx(_components.code,{children:`boolean`}),`, `,_jsx(_components.code,{children:`choice`}),`, `,_jsx(_components.code,{children:`score`}),`.`]})}),_jsx(ParamField,{body:`instructions`,type:`String!`,required:true,id:`param-instructions`,children:_jsx(_components.p,{children:`The complete judgment. Question names are not sent to the provider as context.`})}),_jsx(ParamField,{body:`criteria`,type:`JSON`,id:`param-criteria`,children:_jsx(_components.p,{children:`Required for choice and score; optional for boolean. Shape is validated per type.`})}),_jsx(ParamField,{body:`direction`,type:`OptimizationDirection`,id:`param-direction-2`,children:_jsxs(_components.p,{children:[`Read for score questions only, where it defaults to maximize. Normalized to `,_jsx(_components.code,{children:`none`}),` for every other type. One of: `,_jsx(_components.code,{children:`minimize`}),`, `,_jsx(_components.code,{children:`maximize`}),`, `,_jsx(_components.code,{children:`none`}),`.`]})})]})]}),_jsx(ParamField,{body:`dataGranularityType`,type:`EvalDataGranularityType`,id:`param-data-granularity-type-3`,children:_jsxs(_components.p,{children:[`Data granularity (span, trace, or session). Defaults to span when omitted. Fixed at creation; later versions inherit it. One of: `,_jsx(_components.code,{children:`span`}),`, `,_jsx(_components.code,{children:`trace`}),`, `,_jsx(_components.code,{children:`session`}),`.`]})})]})}),_jsx(ParamField,{body:`clientMutationId`,type:`String`,id:`param-client-mutation-id`})]})}),`\n`,_jsx(Heading,{level:`4`,id:`returns`,children:`Returns`}),`\n`,_jsx(ResponseField,{name:`evaluator`,type:`Evaluator!`,id:`param-evaluator`,children:_jsxs(Expandable,{title:`Evaluator fields`,children:[_jsxs(_components.p,{children:[`Scalar fields: `,_jsx(_components.code,{children:`id`}),`, `,_jsx(_components.code,{children:`name`}),`, `,_jsx(_components.code,{children:`description`}),`, `,_jsx(_components.code,{children:`taskType`}),`, `,_jsx(_components.code,{children:`commitHash`}),`, `,_jsx(_components.code,{children:`commitMessage`}),`, `,_jsx(_components.code,{children:`createdAt`}),`, `,_jsx(_components.code,{children:`updatedAt`}),`.`]}),_jsxs(_components.p,{children:[`Object fields (select subfields): `,_jsx(_components.code,{children:`versionHistory`}),`, `,_jsx(_components.code,{children:`webhookSubscriptions`}),`, `,_jsx(_components.code,{children:`config`}),`, `,_jsx(_components.code,{children:`harnessEvaluationConfig`}),`, `,_jsx(_components.code,{children:`remoteEvaluationConfig`}),`, `,_jsx(_components.code,{children:`systemOneEvaluationConfig`}),`, `,_jsx(_components.code,{children:`createdBy`}),`, `,_jsx(_components.code,{children:`tags`}),`, `,_jsx(_components.code,{children:`onlineTasks`}),`.`]})]})}),`\n`,_jsx(Heading,{level:`4`,id:`example`,children:`Example`}),`\n`,_jsxs(_components.p,{children:[`Only required input fields are shown. Replace `,_jsx(_components.code,{children:`\u003cID>`}),` and `,_jsx(_components.code,{children:`\u003cstring>`}),` placeholders with real values; the `,_jsx(_components.a,{href:`/ax/graphql-reference/queries/object-graph`,children:`object graph`}),` page shows how to look IDs up.`]}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Mutation`,numberOfLines:`5`,language:`graphql`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default github-dark-default`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0d1117`,color:`#1f2328`,\"--shiki-dark\":`#e6edf3`},language:`graphql`,children:_jsxs(_components.code,{language:`graphql`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#FF7B72`},children:`mutation`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#D2A8FF`},children:` CreateEvaluator`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:`$input`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#79C0FF`},children:`CreateEvaluatorMutationInput`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#FF7B72`},children:`!`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:` createEvaluator`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:`input`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`: `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:`$input`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:` evaluator`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:` { `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:`id`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:` name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Variables`,numberOfLines:`7`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default github-dark-default`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0d1117`,color:`#1f2328`,\"--shiki-dark\":`#e6edf3`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#7EE787`},children:` \"input\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#7EE787`},children:` \"spaceId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#A5D6FF`},children:`\"\u003cID>\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#7EE787`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#A5D6FF`},children:`\"\u003cstring>\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#7EE787`},children:` \"commitMessage\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#A5D6FF`},children:`\"\u003cstring>\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`}`})}),`\n`]})})})]}),`\n`,_jsx(Heading,{level:`3`,id:`createevaluatorversion`,children:`createEvaluatorVersion`}),`\n`,_jsx(_components.p,{children:`Create a new evaluator version`}),`\n`,_jsx(_components.p,{children:_jsx(_components.code,{children:`createEvaluatorVersion(input: CreateEvaluatorVersionMutationInput!): CreateEvaluatorVersionMutationPayload`})}),`\n`,_jsx(Heading,{level:`4`,id:`arguments-2`,children:`Arguments`}),`\n`,_jsx(ParamField,{body:`input`,type:`CreateEvaluatorVersionMutationInput!`,required:true,id:`param-input-1`,children:_jsxs(Expandable,{title:`CreateEvaluatorVersionMutationInput fields`,children:[_jsx(ParamField,{body:`evaluatorId`,type:`ID!`,required:true,id:`param-evaluator-id`,children:_jsx(_components.p,{children:`The evaluator ID in which the version will be created`})}),_jsx(ParamField,{body:`commitMessage`,type:`String!`,required:true,id:`param-commit-message-1`,children:_jsx(_components.p,{children:`The commit message describing the changes in this version`})}),_jsx(ParamField,{body:`name`,type:`String`,id:`param-name-4`,children:_jsx(_components.p,{children:`Optional evaluator name to update`})}),_jsx(ParamField,{body:`description`,type:`String`,id:`param-description-1`,children:_jsx(_components.p,{children:`Optional evaluator description to update`})}),_jsx(ParamField,{body:`templateEvaluator`,type:`TemplateEvaluationConfigInput`,id:`param-template-evaluator-1`,children:_jsxs(Expandable,{title:`TemplateEvaluationConfigInput fields`,children:[_jsx(ParamField,{body:`name`,type:`EvalColumnName!`,required:true,id:`param-name-5`,children:_jsx(_components.p,{children:`The name of the template evaluation config`})}),_jsx(ParamField,{body:`rails`,type:`[String!]`,id:`param-rails-1`,children:_jsx(_components.p,{children:`The rails associated with the config`})}),_jsx(ParamField,{body:`template`,type:`String!`,required:true,id:`param-template-2`,children:_jsx(_components.p,{children:`The template associated with the config`})}),_jsx(ParamField,{body:`turnDefinition`,type:`String`,id:`param-turn-definition-1`,children:_jsx(_components.p,{children:`Optional turn-definition template for session-granularity evaluators. When non-empty, the evaluator operates in custom-turn mode: each session trace yields one turn rendered from this template. Uses the same {variable} syntax as the main template.`})}),_jsx(ParamField,{body:`position`,type:`Int!`,required:true,id:`param-position-2`,children:_jsx(_components.p,{children:`The position of the config`})}),_jsx(ParamField,{body:`includeExplanations`,type:`Boolean!`,required:true,id:`param-include-explanations-1`,children:_jsx(_components.p,{children:`Whether the config includes explanations`})}),_jsx(ParamField,{body:`useFunctionCallingIfAvailable`,type:`Boolean!`,required:true,id:`param-use-function-calling-if-available-1`,children:_jsx(_components.p,{children:`Whether the config uses function calling if available`})}),_jsx(ParamField,{body:`useStructuredOutputIfAvailable`,type:`Boolean`,id:`param-use-structured-output-if-available-1`,children:_jsx(_components.p,{children:`Whether the config uses structured output if available`})}),_jsx(ParamField,{body:`classificationChoices`,type:`JSONObject`,id:`param-classification-choices-2`,children:_jsx(_components.p,{children:`The classification choices for the config (Record\u003cstring, number>)`})}),_jsx(ParamField,{body:`direction`,type:`TemplateEvaluationConfigDirection`,id:`param-direction-3`,children:_jsxs(_components.p,{children:[`The direction for the config One of: `,_jsx(_components.code,{children:`maximize`}),`, `,_jsx(_components.code,{children:`minimize`}),`, `,_jsx(_components.code,{children:`none`}),`.`]})}),_jsx(ParamField,{body:`dataGranularityType`,type:`EvalDataGranularityType`,id:`param-data-granularity-type-4`,children:_jsxs(_components.p,{children:[`Data granularity (span, trace, or session). Defaults to span when omitted. One of: `,_jsx(_components.code,{children:`span`}),`, `,_jsx(_components.code,{children:`trace`}),`, `,_jsx(_components.code,{children:`session`}),`.`]})}),_jsxs(ParamField,{body:`llmConfig`,type:`TemplateEvaluationLlmConfigInput`,id:`param-llm-config-1`,children:[_jsx(_components.p,{children:`Llm Config for this evaluator`}),_jsxs(Expandable,{title:`TemplateEvaluationLlmConfigInput fields`,children:[_jsx(ParamField,{body:`integrationId`,type:`ID!`,required:true,id:`param-integration-id-1`,children:_jsx(_components.p,{children:`The selected named LLM integration id (relay global id). If provided, server will use its configuration.`})}),_jsx(ParamField,{body:`modelName`,type:`String!`,required:true,id:`param-model-name-2`,children:_jsx(_components.p,{children:`The LLM model`})}),_jsx(ParamField,{body:`invocationParameters`,type:`JSONObject!`,required:true,id:`param-invocation-parameters-1`,children:_jsx(_components.p,{children:`parameters used when running the Llm`})}),_jsx(ParamField,{body:`providerParameters`,type:`JSONObject!`,required:true,id:`param-provider-parameters-1`,children:_jsx(_components.p,{children:`parameters used to initialize the Llm`})})]})]})]})}),_jsx(ParamField,{body:`codeEvaluator`,type:`CodeEvaluationConfigInput`,id:`param-code-evaluator-1`,children:_jsxs(Expandable,{title:`CodeEvaluationConfigInput fields`,children:[_jsx(ParamField,{body:`name`,type:`EvalColumnName!`,required:true,id:`param-name-6`,children:_jsx(_components.p,{children:`The name of the evaluation config`})}),_jsx(ParamField,{body:`evaluationClass`,type:`String`,id:`param-evaluation-class-1`,children:_jsx(_components.p,{children:`The evaluation type associated with the config`})}),_jsx(ParamField,{body:`evalClassCodeBlock`,type:`String`,id:`param-eval-class-code-block-1`,children:_jsx(_components.p,{children:`The code block for the evaluation class`})}),_jsx(ParamField,{body:`evaluationInputParams`,type:`JSON`,id:`param-evaluation-input-params-1`,children:_jsx(_components.p,{children:`The evaluation input params`})}),_jsx(ParamField,{body:`packageImports`,type:`String`,id:`param-package-imports-1`,children:_jsx(_components.p,{children:`The package imports for the evaluation class`})}),_jsx(ParamField,{body:`position`,type:`Int!`,required:true,id:`param-position-3`,children:_jsx(_components.p,{children:`The position of the config`})}),_jsx(ParamField,{body:`queryFilter`,type:`String`,id:`param-query-filter-1`,children:_jsx(_components.p,{children:`Optional query used to filter over a given data granularity (ex. session, trace)`})}),_jsx(ParamField,{body:`spanAttributes`,type:`[String!]`,id:`param-span-attributes-1`,children:_jsx(_components.p,{children:`The data column associated with the config`})}),_jsx(ParamField,{body:`dataGranularityType`,type:`EvalDataGranularityType`,id:`param-data-granularity-type-5`,children:_jsxs(_components.p,{children:[`The data granularity associated with the config (span, trace, or session) One of: `,_jsx(_components.code,{children:`span`}),`, `,_jsx(_components.code,{children:`trace`}),`, `,_jsx(_components.code,{children:`session`}),`.`]})})]})}),_jsx(ParamField,{body:`harnessEvaluator`,type:`HarnessEvaluatorVersionInput`,id:`param-harness-evaluator-1`,children:_jsxs(Expandable,{title:`HarnessEvaluatorVersionInput fields`,children:[_jsx(ParamField,{body:`llmIntegrationId`,type:`ID`,id:`param-llm-integration-id-2`,children:_jsx(_components.p,{children:`Relay GID of the llm_integrations row. Provide to create a new sandbox; omit to inherit.`})}),_jsx(ParamField,{body:`name`,type:`EvalColumnName!`,required:true,id:`param-name-7`,children:_jsx(_components.p,{children:`Eval column prefix name. Harness output is written under eval.\u003cname>.*.`})}),_jsx(ParamField,{body:`template`,type:`String!`,required:true,id:`param-template-3`,children:_jsx(_components.p,{children:`Natural-language eval template. {column_name} markers are substituted at run time.`})}),_jsx(ParamField,{body:`classificationChoices`,type:`JSON`,id:`param-classification-choices-3`,children:_jsx(_components.p,{children:`Optional fixed label set. Null means the agent discovers labels freely.`})}),_jsx(ParamField,{body:`strictChoices`,type:`Boolean`,id:`param-strict-choices-1`,children:_jsx(_components.p,{children:`When true the agent must only emit labels from classificationChoices.`})}),_jsx(ParamField,{body:`llmModelName`,type:`String`,id:`param-llm-model-name-1`,children:_jsx(_components.p,{children:`Optional model name hint forwarded to the pod as ANTHROPIC_MODEL.`})}),_jsx(ParamField,{body:`direction`,type:`HarnessEvaluationConfigDirection`,id:`param-direction-4`,children:_jsxs(_components.p,{children:[`Optimization direction for scored harness eval output. One of: `,_jsx(_components.code,{children:`maximize`}),`, `,_jsx(_components.code,{children:`minimize`}),`, `,_jsx(_components.code,{children:`none`}),`.`]})})]})}),_jsx(ParamField,{body:`systemOneEvaluator`,type:`SystemOneEvaluatorVersionInput`,id:`param-system-one-evaluator-1`,children:_jsxs(Expandable,{title:`SystemOneEvaluatorVersionInput fields`,children:[_jsx(ParamField,{body:`llmIntegrationId`,type:`String!`,required:true,id:`param-llm-integration-id-3`,children:_jsx(_components.p,{children:`Relay global ID of the TypeSafe AI integration this evaluator calls.`})}),_jsx(ParamField,{body:`modelName`,type:`String!`,required:true,id:`param-model-name-3`,children:_jsxs(_components.p,{children:[`Provider model route, for example `,_jsx(_components.code,{children:`jev-latest`}),`. Required: the column has no default, so which route was asked for is always recorded.`]})}),_jsx(ParamField,{body:`stateTemplate`,type:`String!`,required:true,id:`param-state-template-1`,children:_jsx(_components.p,{children:`The authorās JSON-shaped state template, stored verbatim, carrying {variables} resolved per record.`})}),_jsxs(ParamField,{body:`questions`,type:`[SystemOneQuestionInput!]!`,required:true,id:`param-questions-1`,children:[_jsx(_components.p,{children:`At least one. Every question sees the same state and is evaluated independently in one request.`}),_jsxs(Expandable,{title:`SystemOneQuestionInput fields`,children:[_jsx(ParamField,{body:`questionName`,type:`String!`,required:true,id:`param-question-name-1`,children:_jsx(_components.p,{children:`Becomes the providerās question key and the published eval column suffix, so it is validated against the eval-name rules.`})}),_jsx(ParamField,{body:`questionType`,type:`SystemOneQuestionType!`,required:true,id:`param-question-type-1`,children:_jsxs(_components.p,{children:[`One of: `,_jsx(_components.code,{children:`boolean`}),`, `,_jsx(_components.code,{children:`choice`}),`, `,_jsx(_components.code,{children:`score`}),`.`]})}),_jsx(ParamField,{body:`instructions`,type:`String!`,required:true,id:`param-instructions-1`,children:_jsx(_components.p,{children:`The complete judgment. Question names are not sent to the provider as context.`})}),_jsx(ParamField,{body:`criteria`,type:`JSON`,id:`param-criteria-1`,children:_jsx(_components.p,{children:`Required for choice and score; optional for boolean. Shape is validated per type.`})}),_jsx(ParamField,{body:`direction`,type:`OptimizationDirection`,id:`param-direction-5`,children:_jsxs(_components.p,{children:[`Read for score questions only, where it defaults to maximize. Normalized to `,_jsx(_components.code,{children:`none`}),` for every other type. One of: `,_jsx(_components.code,{children:`minimize`}),`, `,_jsx(_components.code,{children:`maximize`}),`, `,_jsx(_components.code,{children:`none`}),`.`]})})]})]})]})}),_jsx(ParamField,{body:`remoteEvaluator`,type:`RemoteEvaluatorVersionInput`,id:`param-remote-evaluator-1`,children:_jsxs(Expandable,{title:`RemoteEvaluatorVersionInput fields`,children:[_jsx(ParamField,{body:`endpoint`,type:`String`,id:`param-endpoint-1`,children:_jsx(_components.p,{children:`HTTP URL of the remote evaluation endpoint.`})}),_jsx(ParamField,{body:`headers`,type:`JSON`,id:`param-headers-1`,children:_jsx(_components.p,{children:`Optional custom request headers sent to the endpoint (encrypted at rest).`})}),_jsx(ParamField,{body:`inputSchema`,type:`JSON`,id:`param-input-schema-1`,children:_jsx(_components.p,{children:`Optional JSON schema describing the expected request body.`})})]})}),_jsx(ParamField,{body:`clientMutationId`,type:`String`,id:`param-client-mutation-id-1`})]})}),`\n`,_jsx(Heading,{level:`4`,id:`returns-2`,children:`Returns`}),`\n`,_jsx(ResponseField,{name:`evaluator`,type:`Evaluator!`,id:`param-evaluator-1`,children:_jsxs(Expandable,{title:`Evaluator fields`,children:[_jsxs(_components.p,{children:[`Scalar fields: `,_jsx(_components.code,{children:`id`}),`, `,_jsx(_components.code,{children:`name`}),`, `,_jsx(_components.code,{children:`description`}),`, `,_jsx(_components.code,{children:`taskType`}),`, `,_jsx(_components.code,{children:`commitHash`}),`, `,_jsx(_components.code,{children:`commitMessage`}),`, `,_jsx(_components.code,{children:`createdAt`}),`, `,_jsx(_components.code,{children:`updatedAt`}),`.`]}),_jsxs(_components.p,{children:[`Object fields (select subfields): `,_jsx(_components.code,{children:`versionHistory`}),`, `,_jsx(_components.code,{children:`webhookSubscriptions`}),`, `,_jsx(_components.code,{children:`config`}),`, `,_jsx(_components.code,{children:`harnessEvaluationConfig`}),`, `,_jsx(_components.code,{children:`remoteEvaluationConfig`}),`, `,_jsx(_components.code,{children:`systemOneEvaluationConfig`}),`, `,_jsx(_components.code,{children:`createdBy`}),`, `,_jsx(_components.code,{children:`tags`}),`, `,_jsx(_components.code,{children:`onlineTasks`}),`.`]})]})}),`\n`,_jsx(ResponseField,{name:`evaluatorVersion`,type:`EvaluatorVersion!`,id:`param-evaluator-version`,children:_jsxs(Expandable,{title:`EvaluatorVersion fields`,children:[_jsxs(_components.p,{children:[`Scalar fields: `,_jsx(_components.code,{children:`id`}),`, `,_jsx(_components.code,{children:`evaluatorId`}),`, `,_jsx(_components.code,{children:`commitHash`}),`, `,_jsx(_components.code,{children:`commitMessage`}),`, `,_jsx(_components.code,{children:`createdAt`}),`, `,_jsx(_components.code,{children:`updatedAt`}),`, `,_jsx(_components.code,{children:`versionNumber`}),`.`]}),_jsxs(_components.p,{children:[`Object fields (select subfields): `,_jsx(_components.code,{children:`evaluator`}),`, `,_jsx(_components.code,{children:`harnessEvaluationConfig`}),`, `,_jsx(_components.code,{children:`remoteEvaluationConfig`}),`, `,_jsx(_components.code,{children:`systemOneEvaluationConfig`}),`, `,_jsx(_components.code,{children:`createdBy`}),`.`]})]})}),`\n`,_jsx(Heading,{level:`4`,id:`example-2`,children:`Example`}),`\n`,_jsxs(_components.p,{children:[`Only required input fields are shown. Replace `,_jsx(_components.code,{children:`\u003cID>`}),` and `,_jsx(_components.code,{children:`\u003cstring>`}),` placeholders with real values; the `,_jsx(_components.a,{href:`/ax/graphql-reference/queries/object-graph`,children:`object graph`}),` page shows how to look IDs up.`]}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Mutation`,numberOfLines:`6`,language:`graphql`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default github-dark-default`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0d1117`,color:`#1f2328`,\"--shiki-dark\":`#e6edf3`},language:`graphql`,children:_jsxs(_components.code,{language:`graphql`,numberOfLines:`6`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#FF7B72`},children:`mutation`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#D2A8FF`},children:` CreateEvaluatorVersion`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:`$input`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#79C0FF`},children:`CreateEvaluatorVersionMutationInput`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#FF7B72`},children:`!`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:` createEvaluatorVersion`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:`input`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`: `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:`$input`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:` evaluator`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:` { `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:`id`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:` name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:` }`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:` evaluatorVersion`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:` { `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:`id`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Variables`,numberOfLines:`6`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default github-dark-default`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0d1117`,color:`#1f2328`,\"--shiki-dark\":`#e6edf3`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#7EE787`},children:` \"input\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#7EE787`},children:` \"evaluatorId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#A5D6FF`},children:`\"\u003cID>\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#7EE787`},children:` \"commitMessage\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#A5D6FF`},children:`\"\u003cstring>\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`}`})}),`\n`]})})})]}),`\n`,_jsx(Heading,{level:`3`,id:`editevaluator`,children:`editEvaluator`}),`\n`,_jsx(_components.p,{children:`Edit an existing evaluator`}),`\n`,_jsx(_components.p,{children:_jsx(_components.code,{children:`editEvaluator(input: EditEvaluatorMutationInput!): EditEvaluatorMutationPayload`})}),`\n`,_jsx(Heading,{level:`4`,id:`arguments-3`,children:`Arguments`}),`\n`,_jsx(ParamField,{body:`input`,type:`EditEvaluatorMutationInput!`,required:true,id:`param-input-2`,children:_jsxs(Expandable,{title:`EditEvaluatorMutationInput fields`,children:[_jsx(ParamField,{body:`evaluatorId`,type:`ID!`,required:true,id:`param-evaluator-id-1`,children:_jsx(_components.p,{children:`The evaluator id to edit`})}),_jsx(ParamField,{body:`name`,type:`String`,id:`param-name-8`,children:_jsx(_components.p,{children:`The new name to use for the evaluator`})}),_jsx(ParamField,{body:`description`,type:`String`,id:`param-description-2`,children:_jsx(_components.p,{children:`The new description for the evaluator`})}),_jsx(ParamField,{body:`clientMutationId`,type:`String`,id:`param-client-mutation-id-2`})]})}),`\n`,_jsx(Heading,{level:`4`,id:`returns-3`,children:`Returns`}),`\n`,_jsx(ResponseField,{name:`evaluator`,type:`Evaluator!`,id:`param-evaluator-2`,children:_jsxs(Expandable,{title:`Evaluator fields`,children:[_jsxs(_components.p,{children:[`Scalar fields: `,_jsx(_components.code,{children:`id`}),`, `,_jsx(_components.code,{children:`name`}),`, `,_jsx(_components.code,{children:`description`}),`, `,_jsx(_components.code,{children:`taskType`}),`, `,_jsx(_components.code,{children:`commitHash`}),`, `,_jsx(_components.code,{children:`commitMessage`}),`, `,_jsx(_components.code,{children:`createdAt`}),`, `,_jsx(_components.code,{children:`updatedAt`}),`.`]}),_jsxs(_components.p,{children:[`Object fields (select subfields): `,_jsx(_components.code,{children:`versionHistory`}),`, `,_jsx(_components.code,{children:`webhookSubscriptions`}),`, `,_jsx(_components.code,{children:`config`}),`, `,_jsx(_components.code,{children:`harnessEvaluationConfig`}),`, `,_jsx(_components.code,{children:`remoteEvaluationConfig`}),`, `,_jsx(_components.code,{children:`systemOneEvaluationConfig`}),`, `,_jsx(_components.code,{children:`createdBy`}),`, `,_jsx(_components.code,{children:`tags`}),`, `,_jsx(_components.code,{children:`onlineTasks`}),`.`]})]})}),`\n`,_jsx(Heading,{level:`4`,id:`example-3`,children:`Example`}),`\n`,_jsxs(_components.p,{children:[`Only required input fields are shown. Replace `,_jsx(_components.code,{children:`\u003cID>`}),` and `,_jsx(_components.code,{children:`\u003cstring>`}),` placeholders with real values; the `,_jsx(_components.a,{href:`/ax/graphql-reference/queries/object-graph`,children:`object graph`}),` page shows how to look IDs up.`]}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Mutation`,numberOfLines:`5`,language:`graphql`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default github-dark-default`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0d1117`,color:`#1f2328`,\"--shiki-dark\":`#e6edf3`},language:`graphql`,children:_jsxs(_components.code,{language:`graphql`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#FF7B72`},children:`mutation`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#D2A8FF`},children:` EditEvaluator`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:`$input`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#79C0FF`},children:`EditEvaluatorMutationInput`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#FF7B72`},children:`!`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:` editEvaluator`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:`input`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`: `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:`$input`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:` evaluator`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:` { `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:`id`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:` name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Variables`,numberOfLines:`5`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default github-dark-default`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0d1117`,color:`#1f2328`,\"--shiki-dark\":`#e6edf3`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#7EE787`},children:` \"input\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#7EE787`},children:` \"evaluatorId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#A5D6FF`},children:`\"\u003cID>\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`}`})}),`\n`]})})})]}),`\n`,_jsx(Heading,{level:`3`,id:`deleteevaluator`,children:`deleteEvaluator`}),`\n`,_jsx(_components.p,{children:`Delete an existing evaluator`}),`\n`,_jsx(_components.p,{children:_jsx(_components.code,{children:`deleteEvaluator(input: DeleteEvaluatorMutationInput!): DeleteEvaluatorMutationPayload`})}),`\n`,_jsx(Heading,{level:`4`,id:`arguments-4`,children:`Arguments`}),`\n`,_jsx(ParamField,{body:`input`,type:`DeleteEvaluatorMutationInput!`,required:true,id:`param-input-3`,children:_jsxs(Expandable,{title:`DeleteEvaluatorMutationInput fields`,children:[_jsx(ParamField,{body:`evaluatorId`,type:`ID!`,required:true,id:`param-evaluator-id-2`,children:_jsx(_components.p,{children:`The evaluator id to delete`})}),_jsx(ParamField,{body:`clientMutationId`,type:`String`,id:`param-client-mutation-id-3`})]})}),`\n`,_jsx(Heading,{level:`4`,id:`returns-4`,children:`Returns`}),`\n`,_jsx(ResponseField,{name:`success`,type:`Boolean!`,id:`param-success`,children:_jsx(_components.p,{children:`Indicates whether the evaluator was deleted`})}),`\n`,_jsx(Heading,{level:`4`,id:`example-4`,children:`Example`}),`\n`,_jsxs(_components.p,{children:[`Only required input fields are shown. Replace `,_jsx(_components.code,{children:`\u003cID>`}),` and `,_jsx(_components.code,{children:`\u003cstring>`}),` placeholders with real values; the `,_jsx(_components.a,{href:`/ax/graphql-reference/queries/object-graph`,children:`object graph`}),` page shows how to look IDs up.`]}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Mutation`,numberOfLines:`5`,language:`graphql`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default github-dark-default`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0d1117`,color:`#1f2328`,\"--shiki-dark\":`#e6edf3`},language:`graphql`,children:_jsxs(_components.code,{language:`graphql`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#FF7B72`},children:`mutation`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#D2A8FF`},children:` DeleteEvaluator`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:`$input`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#79C0FF`},children:`DeleteEvaluatorMutationInput`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#FF7B72`},children:`!`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:` deleteEvaluator`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:`input`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`: `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:`$input`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`) {`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:` success`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Variables`,numberOfLines:`5`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default github-dark-default`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0d1117`,color:`#1f2328`,\"--shiki-dark\":`#e6edf3`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#7EE787`},children:` \"input\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#7EE787`},children:` \"evaluatorId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#A5D6FF`},children:`\"\u003cID>\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`}`})}),`\n`]})})})]}),`\n`,_jsx(Heading,{level:`3`,id:`createevaltask`,children:`createEvalTask`}),`\n`,_jsx(_components.p,{children:`Create a new online eval task`}),`\n`,_jsx(_components.p,{children:_jsx(_components.code,{children:`createEvalTask(input: CreateEvalTaskMutationInput!): CreateEvalTaskMutationPayload`})}),`\n`,_jsx(Heading,{level:`4`,id:`arguments-5`,children:`Arguments`}),`\n`,_jsx(ParamField,{body:`input`,type:`CreateEvalTaskMutationInput!`,required:true,id:`param-input-4`,children:_jsxs(Expandable,{title:`CreateEvalTaskMutationInput fields`,children:[_jsx(ParamField,{body:`modelId`,type:`ID`,id:`param-model-id`,children:_jsx(_components.p,{children:`The model id for the model to be evaluated`})}),_jsx(ParamField,{body:`datasetId`,type:`ID`,id:`param-dataset-id`,children:_jsx(_components.p,{children:`The dataset id for the dataset to be evaluated`})}),_jsx(ParamField,{body:`name`,type:`String!`,required:true,id:`param-name-9`,children:_jsx(_components.p,{children:`The name of the online task`})}),_jsxs(ParamField,{body:`filters`,type:`[FilterItemInputType!]`,id:`param-filters`,children:[_jsx(_components.p,{children:`The filters associated with the online task`}),_jsxs(Expandable,{title:`FilterItemInputType fields`,children:[_jsx(ParamField,{body:`filterType`,type:`FilterRowType!`,required:true,id:`param-filter-type`,children:_jsxs(_components.p,{children:[`The type of filter. One of: `,_jsx(_components.code,{children:`featureLabel`}),`, `,_jsx(_components.code,{children:`tagLabel`}),`, `,_jsx(_components.code,{children:`predictionValue`}),`, `,_jsx(_components.code,{children:`actuals`}),`, `,_jsx(_components.code,{children:`modelVersion`}),`, `,_jsx(_components.code,{children:`batchId`}),`, `,_jsx(_components.code,{children:`predictionClass`}),`, `,_jsx(_components.code,{children:`predictionScore`}),`, `,_jsx(_components.code,{children:`actualClass`}),`, `,_jsx(_components.code,{children:`actualScore`}),`, `,_jsx(_components.code,{children:`topKPercentile`}),`, `,_jsx(_components.code,{children:`spanProperty`}),`, `,_jsx(_components.code,{children:`llmEval`}),`, `,_jsx(_components.code,{children:`annotation`}),`, `,_jsx(_components.code,{children:`userAnnotation`}),`.`]})}),_jsx(ParamField,{body:`operator`,type:`ComparisonOperator!`,required:true,id:`param-operator`,children:_jsxs(_components.p,{children:[`The operator of the filter. One of: `,_jsx(_components.code,{children:`greaterThan`}),`, `,_jsx(_components.code,{children:`lessThan`}),`, `,_jsx(_components.code,{children:`equals`}),`, `,_jsx(_components.code,{children:`notEquals`}),`, `,_jsx(_components.code,{children:`greaterThanOrEqual`}),`, `,_jsx(_components.code,{children:`lessThanOrEqual`}),`, `,_jsx(_components.code,{children:`topN`}),`, `,_jsx(_components.code,{children:`contains`}),`, `,_jsx(_components.code,{children:`containsString`}),`, `,_jsx(_components.code,{children:`similarTo`}),`.`]})}),_jsx(ParamField,{body:`dimension`,type:`DimensionInput`,id:`param-dimension`,children:_jsxs(Expandable,{title:`DimensionInput fields`,children:[_jsx(ParamField,{body:`id`,type:`ID!`,required:true,id:`param-id`}),_jsx(ParamField,{body:`name`,type:`String!`,required:true,id:`param-name-10`,children:_jsx(_components.p,{children:`The label of this dimension, e.g. āBank Nameā or āageā`})}),_jsx(ParamField,{body:`dataType`,type:`DimensionDataType!`,required:true,id:`param-data-type`,children:_jsxs(_components.p,{children:[`The data type of the values in dimensionName, ex. āFLOATā, āSTRINGā, etc. One of: `,_jsx(_components.code,{children:`STRING`}),`, `,_jsx(_components.code,{children:`LONG`}),`, `,_jsx(_components.code,{children:`FLOAT`}),`, `,_jsx(_components.code,{children:`DOUBLE`}),`, `,_jsx(_components.code,{children:`EMBEDDING`}),`, `,_jsx(_components.code,{children:`STRING_LIST`}),`, `,_jsx(_components.code,{children:`DICTIONARY`}),`.`]})}),_jsx(ParamField,{body:`category`,type:`DimensionCategory`,id:`param-category`,children:_jsxs(_components.p,{children:[`The category of the dimension, e.g. ātagā or āfeatureLabelā, etc. One of: `,_jsx(_components.code,{children:`featureLabel`}),`, `,_jsx(_components.code,{children:`prediction`}),`, `,_jsx(_components.code,{children:`actuals`}),`, `,_jsx(_components.code,{children:`actualScore`}),`, `,_jsx(_components.code,{children:`actualClass`}),`, `,_jsx(_components.code,{children:`predictionClass`}),`, `,_jsx(_components.code,{children:`predictionScore`}),`, `,_jsx(_components.code,{children:`tag`}),`, `,_jsx(_components.code,{children:`spanProperty`}),`, `,_jsx(_components.code,{children:`llmEval`}),`, `,_jsx(_components.code,{children:`annotation`}),`, `,_jsx(_components.code,{children:`userAnnotation`}),`, `,_jsx(_components.code,{children:`modelVersion`}),`, `,_jsx(_components.code,{children:`batchId`}),`.`]})})]})}),_jsxs(ParamField,{body:`dimensionValues`,type:`[DimensionValueInput!]`,id:`param-dimension-values`,children:[_jsx(_components.p,{children:`The dimension values of the filter.`}),_jsxs(Expandable,{title:`DimensionValueInput fields`,children:[_jsx(ParamField,{body:`id`,type:`ID!`,required:true,id:`param-id-1`}),_jsx(ParamField,{body:`value`,type:`String!`,required:true,id:`param-value`,children:_jsx(_components.p,{children:`The value of this dimension value, e.g. āWells Fargoā or ā60ā`})}),_jsx(ParamField,{body:`similarityReference`,type:`DimensionValueSimilarityReference`,id:`param-similarity-reference`,children:_jsxs(_components.p,{children:[`The similarity references for this dimension value Nested `,_jsx(_components.code,{children:`DimensionValueSimilarityReference`}),` (same shape as above).`]})})]})]})]})]}),_jsx(ParamField,{body:`queryFilter`,type:`String`,id:`param-query-filter-2`,children:_jsx(_components.p,{children:`Filters to apply to the dataset. Compatible with existing filters, joined with AND.`})}),_jsxs(ParamField,{body:`multiSpanQuery`,type:`MultiSpanQueryDefinitionInput`,id:`param-multi-span-query`,children:[_jsx(_components.p,{children:`Multi-span query definition for admission. Mutually exclusive with queryFilter.`}),_jsxs(Expandable,{title:`MultiSpanQueryDefinitionInput fields`,children:[_jsx(ParamField,{body:`subqueries`,type:`[MultiSpanSubqueryDefinitionInput!]!`,required:true,id:`param-subqueries`,children:_jsxs(Expandable,{title:`MultiSpanSubqueryDefinitionInput fields`,children:[_jsx(ParamField,{body:`name`,type:`String!`,required:true,id:`param-name-11`,children:_jsx(_components.p,{children:`Subquery name (A-E)`})}),_jsx(ParamField,{body:`query`,type:`String!`,required:true,id:`param-query`,children:_jsx(_components.p,{children:`Span-selection filter for this subquery`})})]})}),_jsx(ParamField,{body:`expression`,type:`String!`,required:true,id:`param-expression`,children:_jsx(_components.p,{children:`Boolean expression over the subquery names`})})]})]}),_jsx(ParamField,{body:`samplingRate`,type:`Float!`,required:true,id:`param-sampling-rate`,children:_jsx(_components.p,{children:`The sampling rate of the online task`})}),_jsx(ParamField,{body:`runContinuously`,type:`Boolean!`,required:true,id:`param-run-continuously`,children:_jsx(_components.p,{children:`Whether the online task runs continuously`})}),_jsxs(ParamField,{body:`llmConfig`,type:`OnlineTaskLLMConfigInput`,id:`param-llm-config-2`,children:[_jsx(_components.p,{children:`The LLM config for the online task`}),_jsxs(Expandable,{title:`OnlineTaskLLMConfigInput fields`,children:[_jsx(ParamField,{body:`integrationId`,type:`ID!`,required:true,id:`param-integration-id-2`,children:_jsx(_components.p,{children:`The selected named LLM integration id (relay global id). If provided, server will use its configuration.`})}),_jsx(ParamField,{body:`modelName`,type:`String!`,required:true,id:`param-model-name-4`,children:_jsx(_components.p,{children:`The LLM model`})}),_jsx(ParamField,{body:`invocationParameters`,type:`JSONObject!`,required:true,id:`param-invocation-parameters-2`,children:_jsx(_components.p,{children:`parameters used when running the Llm`})}),_jsx(ParamField,{body:`providerParameters`,type:`JSONObject!`,required:true,id:`param-provider-parameters-2`,children:_jsx(_components.p,{children:`parameters used to initialize the Llm`})}),_jsx(ParamField,{body:`temperature`,type:`Float`,id:`param-temperature`,children:_jsx(_components.p,{children:`The temperature of the LLM config`})}),_jsx(ParamField,{body:`provider`,type:`LLMIntegrationProvider`,id:`param-provider`,children:_jsxs(_components.p,{children:[`The LLM provider One of: `,_jsx(_components.code,{children:`openAI`}),`, `,_jsx(_components.code,{children:`anthropic`}),`, `,_jsx(_components.code,{children:`awsBedrock`}),`, `,_jsx(_components.code,{children:`azureOpenAI`}),`, `,_jsx(_components.code,{children:`vertexAI`}),`, `,_jsx(_components.code,{children:`custom`}),`, `,_jsx(_components.code,{children:`nvidiaNim`}),`, `,_jsx(_components.code,{children:`gemini`}),`, `,_jsx(_components.code,{children:`litellm`}),`, `,_jsx(_components.code,{children:`fireworks`}),`, `,_jsx(_components.code,{children:`togetherAi`}),`, `,_jsx(_components.code,{children:`cursor`}),`, `,_jsx(_components.code,{children:`typeSafeAi`}),`.`]})}),_jsx(ParamField,{body:`deploymentName`,type:`String`,id:`param-deployment-name`,children:_jsx(_components.p,{children:`The deployment name of the LLM config. Required for azure openai provider`})}),_jsx(ParamField,{body:`apiVersion`,type:`String`,id:`param-api-version`,children:_jsx(_components.p,{children:`The api version of the LLM config. Required for azure openai provider`})}),_jsx(ParamField,{body:`apiEndpoint`,type:`String`,id:`param-api-endpoint`,children:_jsx(_components.p,{children:`The api endpoint of the LLM config. Required for azure openai provider`})}),_jsx(ParamField,{body:`region`,type:`String`,id:`param-region`,children:_jsx(_components.p,{children:`The region of the LLM config`})}),_jsx(ParamField,{body:`maxTokens`,type:`Float`,id:`param-max-tokens`,children:_jsx(_components.p,{children:`The max tokens of the LLM config`})}),_jsx(ParamField,{body:`maxCompletionTokens`,type:`Float`,id:`param-max-completion-tokens`,children:_jsx(_components.p,{children:`The max completion tokens of the LLM config`})}),_jsx(ParamField,{body:`topP`,type:`Float`,id:`param-top-p`,children:_jsx(_components.p,{children:`The top P of the LLM config`})}),_jsx(ParamField,{body:`topK`,type:`Float`,id:`param-top-k`,children:_jsx(_components.p,{children:`The top K of the LLM config`})}),_jsx(ParamField,{body:`stop`,type:`[String!]`,id:`param-stop`,children:_jsx(_components.p,{children:`The stop associated with the config`})}),_jsx(ParamField,{body:`customModelEndpointId`,type:`String`,id:`param-custom-model-endpoint-id`,children:_jsx(_components.p,{children:`The id of the Custom Model Endpoint. Required if provider is custom.`})})]})]}),_jsx(ParamField,{body:`templateEvaluators`,type:`[TemplateEvaluationConfigInput!]`,id:`param-template-evaluators`,children:_jsxs(Expandable,{title:`TemplateEvaluationConfigInput fields`,children:[_jsx(ParamField,{body:`name`,type:`EvalColumnName!`,required:true,id:`param-name-12`,children:_jsx(_components.p,{children:`The name of the template evaluation config`})}),_jsx(ParamField,{body:`rails`,type:`[String!]`,id:`param-rails-2`,children:_jsx(_components.p,{children:`The rails associated with the config`})}),_jsx(ParamField,{body:`template`,type:`String!`,required:true,id:`param-template-4`,children:_jsx(_components.p,{children:`The template associated with the config`})}),_jsx(ParamField,{body:`turnDefinition`,type:`String`,id:`param-turn-definition-2`,children:_jsx(_components.p,{children:`Optional turn-definition template for session-granularity evaluators. When non-empty, the evaluator operates in custom-turn mode: each session trace yields one turn rendered from this template. Uses the same {variable} syntax as the main template.`})}),_jsx(ParamField,{body:`position`,type:`Int!`,required:true,id:`param-position-4`,children:_jsx(_components.p,{children:`The position of the config`})}),_jsx(ParamField,{body:`includeExplanations`,type:`Boolean!`,required:true,id:`param-include-explanations-2`,children:_jsx(_components.p,{children:`Whether the config includes explanations`})}),_jsx(ParamField,{body:`useFunctionCallingIfAvailable`,type:`Boolean!`,required:true,id:`param-use-function-calling-if-available-2`,children:_jsx(_components.p,{children:`Whether the config uses function calling if available`})}),_jsx(ParamField,{body:`useStructuredOutputIfAvailable`,type:`Boolean`,id:`param-use-structured-output-if-available-2`,children:_jsx(_components.p,{children:`Whether the config uses structured output if available`})}),_jsx(ParamField,{body:`classificationChoices`,type:`JSONObject`,id:`param-classification-choices-4`,children:_jsx(_components.p,{children:`The classification choices for the config (Record\u003cstring, number>)`})}),_jsx(ParamField,{body:`direction`,type:`TemplateEvaluationConfigDirection`,id:`param-direction-6`,children:_jsxs(_components.p,{children:[`The direction for the config One of: `,_jsx(_components.code,{children:`maximize`}),`, `,_jsx(_components.code,{children:`minimize`}),`, `,_jsx(_components.code,{children:`none`}),`.`]})}),_jsx(ParamField,{body:`dataGranularityType`,type:`EvalDataGranularityType`,id:`param-data-granularity-type-6`,children:_jsxs(_components.p,{children:[`Data granularity (span, trace, or session). Defaults to span when omitted. One of: `,_jsx(_components.code,{children:`span`}),`, `,_jsx(_components.code,{children:`trace`}),`, `,_jsx(_components.code,{children:`session`}),`.`]})}),_jsxs(ParamField,{body:`llmConfig`,type:`TemplateEvaluationLlmConfigInput`,id:`param-llm-config-3`,children:[_jsx(_components.p,{children:`Llm Config for this evaluator`}),_jsxs(Expandable,{title:`TemplateEvaluationLlmConfigInput fields`,children:[_jsx(ParamField,{body:`integrationId`,type:`ID!`,required:true,id:`param-integration-id-3`,children:_jsx(_components.p,{children:`The selected named LLM integration id (relay global id). If provided, server will use its configuration.`})}),_jsx(ParamField,{body:`modelName`,type:`String!`,required:true,id:`param-model-name-5`,children:_jsx(_components.p,{children:`The LLM model`})}),_jsx(ParamField,{body:`invocationParameters`,type:`JSONObject!`,required:true,id:`param-invocation-parameters-3`,children:_jsx(_components.p,{children:`parameters used when running the Llm`})}),_jsx(ParamField,{body:`providerParameters`,type:`JSONObject!`,required:true,id:`param-provider-parameters-3`,children:_jsx(_components.p,{children:`parameters used to initialize the Llm`})})]})]})]})}),_jsx(ParamField,{body:`codeEvaluators`,type:`[CodeEvaluationConfigInput!]`,id:`param-code-evaluators`,children:_jsxs(Expandable,{title:`CodeEvaluationConfigInput fields`,children:[_jsx(ParamField,{body:`name`,type:`EvalColumnName!`,required:true,id:`param-name-13`,children:_jsx(_components.p,{children:`The name of the evaluation config`})}),_jsx(ParamField,{body:`evaluationClass`,type:`String`,id:`param-evaluation-class-2`,children:_jsx(_components.p,{children:`The evaluation type associated with the config`})}),_jsx(ParamField,{body:`evalClassCodeBlock`,type:`String`,id:`param-eval-class-code-block-2`,children:_jsx(_components.p,{children:`The code block for the evaluation class`})}),_jsx(ParamField,{body:`evaluationInputParams`,type:`JSON`,id:`param-evaluation-input-params-2`,children:_jsx(_components.p,{children:`The evaluation input params`})}),_jsx(ParamField,{body:`packageImports`,type:`String`,id:`param-package-imports-2`,children:_jsx(_components.p,{children:`The package imports for the evaluation class`})}),_jsx(ParamField,{body:`position`,type:`Int!`,required:true,id:`param-position-5`,children:_jsx(_components.p,{children:`The position of the config`})}),_jsx(ParamField,{body:`queryFilter`,type:`String`,id:`param-query-filter-3`,children:_jsx(_components.p,{children:`Optional query used to filter over a given data granularity (ex. session, trace)`})}),_jsx(ParamField,{body:`spanAttributes`,type:`[String!]`,id:`param-span-attributes-2`,children:_jsx(_components.p,{children:`The data column associated with the config`})}),_jsx(ParamField,{body:`dataGranularityType`,type:`EvalDataGranularityType`,id:`param-data-granularity-type-7`,children:_jsxs(_components.p,{children:[`The data granularity associated with the config (span, trace, or session) One of: `,_jsx(_components.code,{children:`span`}),`, `,_jsx(_components.code,{children:`trace`}),`, `,_jsx(_components.code,{children:`session`}),`.`]})})]})}),_jsx(ParamField,{body:`experiments`,type:`[ID!]`,id:`param-experiments`}),_jsx(ParamField,{body:`postProcessingSteps`,type:`[OnlineTaskPostProcessingStepInput!]`,id:`param-post-processing-steps`,children:_jsxs(Expandable,{title:`OnlineTaskPostProcessingStepInput fields`,children:[_jsx(ParamField,{body:`targetType`,type:`String!`,required:true,id:`param-target-type`,children:_jsx(_components.p,{children:`The type of the target (e.g. dataset, annotation queue)`})}),_jsx(ParamField,{body:`targetId`,type:`ID!`,required:true,id:`param-target-id`,children:_jsx(_components.p,{children:`The ID of the specific target (e.g. dataset ID)`})}),_jsx(ParamField,{body:`position`,type:`Int!`,required:true,id:`param-position-6`,children:_jsx(_components.p,{children:`Ordering position of the post-processing step`})}),_jsx(ParamField,{body:`queryFilter`,type:`String`,id:`param-query-filter-4`,children:_jsx(_components.p,{children:`Optional filter expression for selecting which data is added to target`})})]})}),_jsx(ParamField,{body:`evaluators`,type:`[OnlineTaskEvaluatorInput!]`,id:`param-evaluators`,children:_jsxs(Expandable,{title:`OnlineTaskEvaluatorInput fields`,children:[_jsx(ParamField,{body:`evaluatorId`,type:`ID!`,required:true,id:`param-evaluator-id-3`,children:_jsx(_components.p,{children:`id of evaluator to attach to online task`})}),_jsx(ParamField,{body:`evaluatorVersionId`,type:`ID`,id:`param-evaluator-version-id`,children:_jsx(_components.p,{children:`Optional id of the evaluator version to pin. Omit (or null) to always run the latest version.`})}),_jsx(ParamField,{body:`position`,type:`Int!`,required:true,id:`param-position-7`,children:_jsx(_components.p,{children:`position of evaluator in ui`})}),_jsx(ParamField,{body:`queryFilter`,type:`String`,id:`param-query-filter-5`,children:_jsx(_components.p,{children:`Optional query used to filter over a given data granularity (ex. session, trace)`})}),_jsx(ParamField,{body:`columnMappings`,type:`JSON`,id:`param-column-mappings`,children:_jsx(_components.p,{children:`Mapping of evaluator variable names to dataset column names`})}),_jsxs(ParamField,{body:`subqueryColumnMappings`,type:`[SubqueryColumnMappingInput!]`,id:`param-subquery-column-mappings`,children:[_jsx(_components.p,{children:`Subquery-aware variable mappings. Populated instead of columnMappings on tasks that have a multiSpanQuery.`}),_jsxs(Expandable,{title:`SubqueryColumnMappingInput fields`,children:[_jsx(ParamField,{body:`variableName`,type:`String!`,required:true,id:`param-variable-name`,children:_jsx(_components.p,{children:`Evaluator variable name`})}),_jsx(ParamField,{body:`subqueries`,type:`[String!]!`,required:true,id:`param-subqueries-1`,children:_jsx(_components.p,{children:`Source subquery names (A-E) from the taskās multi_span_query that may populate this variable. When multiple listed subqueries match for a unit, their resolved values are concatenated. The list must contain at least one subquery; an empty list matches nothing and is rejected.`})}),_jsx(ParamField,{body:`attributePath`,type:`String!`,required:true,id:`param-attribute-path`,children:_jsx(_components.p,{children:`Span attribute path to resolve within each subquery`})})]})]})]})}),_jsx(ParamField,{body:`tracingEnabled`,type:`Boolean`,id:`param-tracing-enabled`,children:_jsx(_components.p,{children:`Whether tracing is enabled for the online task`})}),_jsx(ParamField,{body:`arizeIntegrationId`,type:`ID`,id:`param-arize-integration-id`,children:_jsx(_components.p,{children:`Arize sandbox integration ID (BYO path for harness tasks). When provided for a harness task the integration is linked to this task so the sandbox pod receives the Arize API key. Omit to use auto-provisioning (phase 2).`})}),_jsx(ParamField,{body:`clientMutationId`,type:`String`,id:`param-client-mutation-id-4`})]})}),`\n`,_jsx(Heading,{level:`4`,id:`returns-5`,children:`Returns`}),`\n`,_jsx(ResponseField,{name:`evalTask`,type:`OnlineTask!`,id:`param-eval-task`,children:_jsxs(Expandable,{title:`OnlineTask fields`,children:[_jsxs(_components.p,{children:[`Scalar fields: `,_jsx(_components.code,{children:`id`}),`, `,_jsx(_components.code,{children:`taskType`}),`, `,_jsx(_components.code,{children:`name`}),`, `,_jsx(_components.code,{children:`samplingRate`}),`, `,_jsx(_components.code,{children:`lastRunAt`}),`, `,_jsx(_components.code,{children:`queryFilter`}),`, `,_jsx(_components.code,{children:`createdAt`}),`, `,_jsx(_components.code,{children:`updatedAt`}),`, `,_jsx(_components.code,{children:`deletedAt`}),`, `,_jsx(_components.code,{children:`runContinuously`}),`, `,_jsx(_components.code,{children:`tracingEnabled`}),`, `,_jsx(_components.code,{children:`experimentIds`}),`, `,_jsx(_components.code,{children:`hasUnavailableEvaluatorIntegration`}),`.`]}),_jsxs(_components.p,{children:[`Object fields (select subfields): `,_jsx(_components.code,{children:`model`}),`, `,_jsx(_components.code,{children:`multiSpanQuery`}),`, `,_jsx(_components.code,{children:`createdBy`}),`, `,_jsx(_components.code,{children:`llmConfig`}),`, `,_jsx(_components.code,{children:`taskConfig`}),`, `,_jsx(_components.code,{children:`evaluators`}),`, `,_jsx(_components.code,{children:`onlineTaskEvaluators`}),`, `,_jsx(_components.code,{children:`allEvaluatorConfigs`}),`, `,_jsx(_components.code,{children:`taskRuns`}),`, `,_jsx(_components.code,{children:`experiments`}),`, `,_jsx(_components.code,{children:`dataset`}),`, `,_jsx(_components.code,{children:`postProcessingSteps`}),`.`]})]})}),`\n`,_jsx(Heading,{level:`4`,id:`example-5`,children:`Example`}),`\n`,_jsxs(_components.p,{children:[`Only required input fields are shown. Replace `,_jsx(_components.code,{children:`\u003cID>`}),` and `,_jsx(_components.code,{children:`\u003cstring>`}),` placeholders with real values; the `,_jsx(_components.a,{href:`/ax/graphql-reference/queries/object-graph`,children:`object graph`}),` page shows how to look IDs up.`]}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Mutation`,numberOfLines:`5`,language:`graphql`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default github-dark-default`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0d1117`,color:`#1f2328`,\"--shiki-dark\":`#e6edf3`},language:`graphql`,children:_jsxs(_components.code,{language:`graphql`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#FF7B72`},children:`mutation`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#D2A8FF`},children:` CreateEvalTask`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:`$input`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#79C0FF`},children:`CreateEvalTaskMutationInput`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#FF7B72`},children:`!`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:` createEvalTask`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:`input`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`: `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:`$input`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:` evalTask`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:` { `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:`id`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:` name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Variables`,numberOfLines:`7`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default github-dark-default`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0d1117`,color:`#1f2328`,\"--shiki-dark\":`#e6edf3`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#7EE787`},children:` \"input\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#7EE787`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#A5D6FF`},children:`\"\u003cstring>\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#7EE787`},children:` \"samplingRate\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#79C0FF`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#7EE787`},children:` \"runContinuously\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#79C0FF`},children:`true`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`}`})}),`\n`]})})})]}),`\n`,_jsx(Heading,{level:`3`,id:`patchevaltask`,children:`patchEvalTask`}),`\n`,_jsx(_components.p,{children:_jsx(_components.code,{children:`patchEvalTask(input: PatchEvalTaskMutationInput!): PatchEvalTaskMutationPayload`})}),`\n`,_jsx(Heading,{level:`4`,id:`arguments-6`,children:`Arguments`}),`\n`,_jsx(ParamField,{body:`input`,type:`PatchEvalTaskMutationInput!`,required:true,id:`param-input-5`,children:_jsxs(Expandable,{title:`PatchEvalTaskMutationInput fields`,children:[_jsx(ParamField,{body:`onlineTaskId`,type:`ID!`,required:true,id:`param-online-task-id`,children:_jsx(_components.p,{children:`The online task id for the eval task to be patched`})}),_jsx(ParamField,{body:`modelId`,type:`ID`,id:`param-model-id-1`,children:_jsx(_components.p,{children:`The model id for the model to be evaluated`})}),_jsx(ParamField,{body:`datasetId`,type:`ID`,id:`param-dataset-id-1`,children:_jsx(_components.p,{children:`The dataset id for the dataset to be evaluated`})}),_jsx(ParamField,{body:`name`,type:`String`,id:`param-name-14`,children:_jsx(_components.p,{children:`The name of the online task`})}),_jsxs(ParamField,{body:`filters`,type:`[FilterItemInputType!]`,id:`param-filters-1`,children:[_jsx(_components.p,{children:`The filters associated with the online task`}),_jsxs(Expandable,{title:`FilterItemInputType fields`,children:[_jsx(ParamField,{body:`filterType`,type:`FilterRowType!`,required:true,id:`param-filter-type-1`,children:_jsxs(_components.p,{children:[`The type of filter. One of: `,_jsx(_components.code,{children:`featureLabel`}),`, `,_jsx(_components.code,{children:`tagLabel`}),`, `,_jsx(_components.code,{children:`predictionValue`}),`, `,_jsx(_components.code,{children:`actuals`}),`, `,_jsx(_components.code,{children:`modelVersion`}),`, `,_jsx(_components.code,{children:`batchId`}),`, `,_jsx(_components.code,{children:`predictionClass`}),`, `,_jsx(_components.code,{children:`predictionScore`}),`, `,_jsx(_components.code,{children:`actualClass`}),`, `,_jsx(_components.code,{children:`actualScore`}),`, `,_jsx(_components.code,{children:`topKPercentile`}),`, `,_jsx(_components.code,{children:`spanProperty`}),`, `,_jsx(_components.code,{children:`llmEval`}),`, `,_jsx(_components.code,{children:`annotation`}),`, `,_jsx(_components.code,{children:`userAnnotation`}),`.`]})}),_jsx(ParamField,{body:`operator`,type:`ComparisonOperator!`,required:true,id:`param-operator-1`,children:_jsxs(_components.p,{children:[`The operator of the filter. One of: `,_jsx(_components.code,{children:`greaterThan`}),`, `,_jsx(_components.code,{children:`lessThan`}),`, `,_jsx(_components.code,{children:`equals`}),`, `,_jsx(_components.code,{children:`notEquals`}),`, `,_jsx(_components.code,{children:`greaterThanOrEqual`}),`, `,_jsx(_components.code,{children:`lessThanOrEqual`}),`, `,_jsx(_components.code,{children:`topN`}),`, `,_jsx(_components.code,{children:`contains`}),`, `,_jsx(_components.code,{children:`containsString`}),`, `,_jsx(_components.code,{children:`similarTo`}),`.`]})}),_jsx(ParamField,{body:`dimension`,type:`DimensionInput`,id:`param-dimension-1`,children:_jsxs(Expandable,{title:`DimensionInput fields`,children:[_jsx(ParamField,{body:`id`,type:`ID!`,required:true,id:`param-id-2`}),_jsx(ParamField,{body:`name`,type:`String!`,required:true,id:`param-name-15`,children:_jsx(_components.p,{children:`The label of this dimension, e.g. āBank Nameā or āageā`})}),_jsx(ParamField,{body:`dataType`,type:`DimensionDataType!`,required:true,id:`param-data-type-1`,children:_jsxs(_components.p,{children:[`The data type of the values in dimensionName, ex. āFLOATā, āSTRINGā, etc. One of: `,_jsx(_components.code,{children:`STRING`}),`, `,_jsx(_components.code,{children:`LONG`}),`, `,_jsx(_components.code,{children:`FLOAT`}),`, `,_jsx(_components.code,{children:`DOUBLE`}),`, `,_jsx(_components.code,{children:`EMBEDDING`}),`, `,_jsx(_components.code,{children:`STRING_LIST`}),`, `,_jsx(_components.code,{children:`DICTIONARY`}),`.`]})}),_jsx(ParamField,{body:`category`,type:`DimensionCategory`,id:`param-category-1`,children:_jsxs(_components.p,{children:[`The category of the dimension, e.g. ātagā or āfeatureLabelā, etc. One of: `,_jsx(_components.code,{children:`featureLabel`}),`, `,_jsx(_components.code,{children:`prediction`}),`, `,_jsx(_components.code,{children:`actuals`}),`, `,_jsx(_components.code,{children:`actualScore`}),`, `,_jsx(_components.code,{children:`actualClass`}),`, `,_jsx(_components.code,{children:`predictionClass`}),`, `,_jsx(_components.code,{children:`predictionScore`}),`, `,_jsx(_components.code,{children:`tag`}),`, `,_jsx(_components.code,{children:`spanProperty`}),`, `,_jsx(_components.code,{children:`llmEval`}),`, `,_jsx(_components.code,{children:`annotation`}),`, `,_jsx(_components.code,{children:`userAnnotation`}),`, `,_jsx(_components.code,{children:`modelVersion`}),`, `,_jsx(_components.code,{children:`batchId`}),`.`]})})]})}),_jsxs(ParamField,{body:`dimensionValues`,type:`[DimensionValueInput!]`,id:`param-dimension-values-1`,children:[_jsx(_components.p,{children:`The dimension values of the filter.`}),_jsxs(Expandable,{title:`DimensionValueInput fields`,children:[_jsx(ParamField,{body:`id`,type:`ID!`,required:true,id:`param-id-3`}),_jsx(ParamField,{body:`value`,type:`String!`,required:true,id:`param-value-1`,children:_jsx(_components.p,{children:`The value of this dimension value, e.g. āWells Fargoā or ā60ā`})}),_jsx(ParamField,{body:`similarityReference`,type:`DimensionValueSimilarityReference`,id:`param-similarity-reference-1`,children:_jsxs(_components.p,{children:[`The similarity references for this dimension value Nested `,_jsx(_components.code,{children:`DimensionValueSimilarityReference`}),` (same shape as above).`]})})]})]})]})]}),_jsx(ParamField,{body:`queryFilter`,type:`String`,id:`param-query-filter-6`,children:_jsx(_components.p,{children:`Filters to apply to the dataset. Compatible with existing filters, joined with AND.`})}),_jsxs(ParamField,{body:`multiSpanQuery`,type:`MultiSpanQueryDefinitionInput`,id:`param-multi-span-query-1`,children:[_jsx(_components.p,{children:`Multi-span query definition for admission. Mutually exclusive with queryFilter.`}),_jsxs(Expandable,{title:`MultiSpanQueryDefinitionInput fields`,children:[_jsx(ParamField,{body:`subqueries`,type:`[MultiSpanSubqueryDefinitionInput!]!`,required:true,id:`param-subqueries-2`,children:_jsxs(Expandable,{title:`MultiSpanSubqueryDefinitionInput fields`,children:[_jsx(ParamField,{body:`name`,type:`String!`,required:true,id:`param-name-16`,children:_jsx(_components.p,{children:`Subquery name (A-E)`})}),_jsx(ParamField,{body:`query`,type:`String!`,required:true,id:`param-query-1`,children:_jsx(_components.p,{children:`Span-selection filter for this subquery`})})]})}),_jsx(ParamField,{body:`expression`,type:`String!`,required:true,id:`param-expression-1`,children:_jsx(_components.p,{children:`Boolean expression over the subquery names`})})]})]}),_jsx(ParamField,{body:`samplingRate`,type:`Float`,id:`param-sampling-rate-1`,children:_jsx(_components.p,{children:`The sampling rate of the online task`})}),_jsx(ParamField,{body:`runContinuously`,type:`Boolean`,id:`param-run-continuously-1`,children:_jsx(_components.p,{children:`Whether the online task runs continuously`})}),_jsxs(ParamField,{body:`llmConfig`,type:`OnlineTaskLLMConfigInput`,id:`param-llm-config-4`,children:[_jsx(_components.p,{children:`The LLM config for the online task`}),_jsxs(Expandable,{title:`OnlineTaskLLMConfigInput fields`,children:[_jsx(ParamField,{body:`integrationId`,type:`ID!`,required:true,id:`param-integration-id-4`,children:_jsx(_components.p,{children:`The selected named LLM integration id (relay global id). If provided, server will use its configuration.`})}),_jsx(ParamField,{body:`modelName`,type:`String!`,required:true,id:`param-model-name-6`,children:_jsx(_components.p,{children:`The LLM model`})}),_jsx(ParamField,{body:`invocationParameters`,type:`JSONObject!`,required:true,id:`param-invocation-parameters-4`,children:_jsx(_components.p,{children:`parameters used when running the Llm`})}),_jsx(ParamField,{body:`providerParameters`,type:`JSONObject!`,required:true,id:`param-provider-parameters-4`,children:_jsx(_components.p,{children:`parameters used to initialize the Llm`})}),_jsx(ParamField,{body:`temperature`,type:`Float`,id:`param-temperature-1`,children:_jsx(_components.p,{children:`The temperature of the LLM config`})}),_jsx(ParamField,{body:`provider`,type:`LLMIntegrationProvider`,id:`param-provider-1`,children:_jsxs(_components.p,{children:[`The LLM provider One of: `,_jsx(_components.code,{children:`openAI`}),`, `,_jsx(_components.code,{children:`anthropic`}),`, `,_jsx(_components.code,{children:`awsBedrock`}),`, `,_jsx(_components.code,{children:`azureOpenAI`}),`, `,_jsx(_components.code,{children:`vertexAI`}),`, `,_jsx(_components.code,{children:`custom`}),`, `,_jsx(_components.code,{children:`nvidiaNim`}),`, `,_jsx(_components.code,{children:`gemini`}),`, `,_jsx(_components.code,{children:`litellm`}),`, `,_jsx(_components.code,{children:`fireworks`}),`, `,_jsx(_components.code,{children:`togetherAi`}),`, `,_jsx(_components.code,{children:`cursor`}),`, `,_jsx(_components.code,{children:`typeSafeAi`}),`.`]})}),_jsx(ParamField,{body:`deploymentName`,type:`String`,id:`param-deployment-name-1`,children:_jsx(_components.p,{children:`The deployment name of the LLM config. Required for azure openai provider`})}),_jsx(ParamField,{body:`apiVersion`,type:`String`,id:`param-api-version-1`,children:_jsx(_components.p,{children:`The api version of the LLM config. Required for azure openai provider`})}),_jsx(ParamField,{body:`apiEndpoint`,type:`String`,id:`param-api-endpoint-1`,children:_jsx(_components.p,{children:`The api endpoint of the LLM config. Required for azure openai provider`})}),_jsx(ParamField,{body:`region`,type:`String`,id:`param-region-1`,children:_jsx(_components.p,{children:`The region of the LLM config`})}),_jsx(ParamField,{body:`maxTokens`,type:`Float`,id:`param-max-tokens-1`,children:_jsx(_components.p,{children:`The max tokens of the LLM config`})}),_jsx(ParamField,{body:`maxCompletionTokens`,type:`Float`,id:`param-max-completion-tokens-1`,children:_jsx(_components.p,{children:`The max completion tokens of the LLM config`})}),_jsx(ParamField,{body:`topP`,type:`Float`,id:`param-top-p-1`,children:_jsx(_components.p,{children:`The top P of the LLM config`})}),_jsx(ParamField,{body:`topK`,type:`Float`,id:`param-top-k-1`,children:_jsx(_components.p,{children:`The top K of the LLM config`})}),_jsx(ParamField,{body:`stop`,type:`[String!]`,id:`param-stop-1`,children:_jsx(_components.p,{children:`The stop associated with the config`})}),_jsx(ParamField,{body:`customModelEndpointId`,type:`String`,id:`param-custom-model-endpoint-id-1`,children:_jsx(_components.p,{children:`The id of the Custom Model Endpoint. Required if provider is custom.`})})]})]}),_jsx(ParamField,{body:`templateEvaluators`,type:`[TemplateEvaluationConfigInput!]`,id:`param-template-evaluators-1`,children:_jsxs(Expandable,{title:`TemplateEvaluationConfigInput fields`,children:[_jsx(ParamField,{body:`name`,type:`EvalColumnName!`,required:true,id:`param-name-17`,children:_jsx(_components.p,{children:`The name of the template evaluation config`})}),_jsx(ParamField,{body:`rails`,type:`[String!]`,id:`param-rails-3`,children:_jsx(_components.p,{children:`The rails associated with the config`})}),_jsx(ParamField,{body:`template`,type:`String!`,required:true,id:`param-template-5`,children:_jsx(_components.p,{children:`The template associated with the config`})}),_jsx(ParamField,{body:`turnDefinition`,type:`String`,id:`param-turn-definition-3`,children:_jsx(_components.p,{children:`Optional turn-definition template for session-granularity evaluators. When non-empty, the evaluator operates in custom-turn mode: each session trace yields one turn rendered from this template. Uses the same {variable} syntax as the main template.`})}),_jsx(ParamField,{body:`position`,type:`Int!`,required:true,id:`param-position-8`,children:_jsx(_components.p,{children:`The position of the config`})}),_jsx(ParamField,{body:`includeExplanations`,type:`Boolean!`,required:true,id:`param-include-explanations-3`,children:_jsx(_components.p,{children:`Whether the config includes explanations`})}),_jsx(ParamField,{body:`useFunctionCallingIfAvailable`,type:`Boolean!`,required:true,id:`param-use-function-calling-if-available-3`,children:_jsx(_components.p,{children:`Whether the config uses function calling if available`})}),_jsx(ParamField,{body:`useStructuredOutputIfAvailable`,type:`Boolean`,id:`param-use-structured-output-if-available-3`,children:_jsx(_components.p,{children:`Whether the config uses structured output if available`})}),_jsx(ParamField,{body:`classificationChoices`,type:`JSONObject`,id:`param-classification-choices-5`,children:_jsx(_components.p,{children:`The classification choices for the config (Record\u003cstring, number>)`})}),_jsx(ParamField,{body:`direction`,type:`TemplateEvaluationConfigDirection`,id:`param-direction-7`,children:_jsxs(_components.p,{children:[`The direction for the config One of: `,_jsx(_components.code,{children:`maximize`}),`, `,_jsx(_components.code,{children:`minimize`}),`, `,_jsx(_components.code,{children:`none`}),`.`]})}),_jsx(ParamField,{body:`dataGranularityType`,type:`EvalDataGranularityType`,id:`param-data-granularity-type-8`,children:_jsxs(_components.p,{children:[`Data granularity (span, trace, or session). Defaults to span when omitted. One of: `,_jsx(_components.code,{children:`span`}),`, `,_jsx(_components.code,{children:`trace`}),`, `,_jsx(_components.code,{children:`session`}),`.`]})}),_jsxs(ParamField,{body:`llmConfig`,type:`TemplateEvaluationLlmConfigInput`,id:`param-llm-config-5`,children:[_jsx(_components.p,{children:`Llm Config for this evaluator`}),_jsxs(Expandable,{title:`TemplateEvaluationLlmConfigInput fields`,children:[_jsx(ParamField,{body:`integrationId`,type:`ID!`,required:true,id:`param-integration-id-5`,children:_jsx(_components.p,{children:`The selected named LLM integration id (relay global id). If provided, server will use its configuration.`})}),_jsx(ParamField,{body:`modelName`,type:`String!`,required:true,id:`param-model-name-7`,children:_jsx(_components.p,{children:`The LLM model`})}),_jsx(ParamField,{body:`invocationParameters`,type:`JSONObject!`,required:true,id:`param-invocation-parameters-5`,children:_jsx(_components.p,{children:`parameters used when running the Llm`})}),_jsx(ParamField,{body:`providerParameters`,type:`JSONObject!`,required:true,id:`param-provider-parameters-5`,children:_jsx(_components.p,{children:`parameters used to initialize the Llm`})})]})]})]})}),_jsx(ParamField,{body:`codeEvaluators`,type:`[CodeEvaluationConfigInput!]`,id:`param-code-evaluators-1`,children:_jsxs(Expandable,{title:`CodeEvaluationConfigInput fields`,children:[_jsx(ParamField,{body:`name`,type:`EvalColumnName!`,required:true,id:`param-name-18`,children:_jsx(_components.p,{children:`The name of the evaluation config`})}),_jsx(ParamField,{body:`evaluationClass`,type:`String`,id:`param-evaluation-class-3`,children:_jsx(_components.p,{children:`The evaluation type associated with the config`})}),_jsx(ParamField,{body:`evalClassCodeBlock`,type:`String`,id:`param-eval-class-code-block-3`,children:_jsx(_components.p,{children:`The code block for the evaluation class`})}),_jsx(ParamField,{body:`evaluationInputParams`,type:`JSON`,id:`param-evaluation-input-params-3`,children:_jsx(_components.p,{children:`The evaluation input params`})}),_jsx(ParamField,{body:`packageImports`,type:`String`,id:`param-package-imports-3`,children:_jsx(_components.p,{children:`The package imports for the evaluation class`})}),_jsx(ParamField,{body:`position`,type:`Int!`,required:true,id:`param-position-9`,children:_jsx(_components.p,{children:`The position of the config`})}),_jsx(ParamField,{body:`queryFilter`,type:`String`,id:`param-query-filter-7`,children:_jsx(_components.p,{children:`Optional query used to filter over a given data granularity (ex. session, trace)`})}),_jsx(ParamField,{body:`spanAttributes`,type:`[String!]`,id:`param-span-attributes-3`,children:_jsx(_components.p,{children:`The data column associated with the config`})}),_jsx(ParamField,{body:`dataGranularityType`,type:`EvalDataGranularityType`,id:`param-data-granularity-type-9`,children:_jsxs(_components.p,{children:[`The data granularity associated with the config (span, trace, or session) One of: `,_jsx(_components.code,{children:`span`}),`, `,_jsx(_components.code,{children:`trace`}),`, `,_jsx(_components.code,{children:`session`}),`.`]})})]})}),_jsx(ParamField,{body:`experiments`,type:`[ID!]`,id:`param-experiments-1`}),_jsx(ParamField,{body:`postProcessingSteps`,type:`[OnlineTaskPostProcessingStepInput!]`,id:`param-post-processing-steps-1`,children:_jsxs(Expandable,{title:`OnlineTaskPostProcessingStepInput fields`,children:[_jsx(ParamField,{body:`targetType`,type:`String!`,required:true,id:`param-target-type-1`,children:_jsx(_components.p,{children:`The type of the target (e.g. dataset, annotation queue)`})}),_jsx(ParamField,{body:`targetId`,type:`ID!`,required:true,id:`param-target-id-1`,children:_jsx(_components.p,{children:`The ID of the specific target (e.g. dataset ID)`})}),_jsx(ParamField,{body:`position`,type:`Int!`,required:true,id:`param-position-10`,children:_jsx(_components.p,{children:`Ordering position of the post-processing step`})}),_jsx(ParamField,{body:`queryFilter`,type:`String`,id:`param-query-filter-8`,children:_jsx(_components.p,{children:`Optional filter expression for selecting which data is added to target`})})]})}),_jsx(ParamField,{body:`evaluators`,type:`[OnlineTaskEvaluatorInput!]`,id:`param-evaluators-1`,children:_jsxs(Expandable,{title:`OnlineTaskEvaluatorInput fields`,children:[_jsx(ParamField,{body:`evaluatorId`,type:`ID!`,required:true,id:`param-evaluator-id-4`,children:_jsx(_components.p,{children:`id of evaluator to attach to online task`})}),_jsx(ParamField,{body:`evaluatorVersionId`,type:`ID`,id:`param-evaluator-version-id-1`,children:_jsx(_components.p,{children:`Optional id of the evaluator version to pin. Omit (or null) to always run the latest version.`})}),_jsx(ParamField,{body:`position`,type:`Int!`,required:true,id:`param-position-11`,children:_jsx(_components.p,{children:`position of evaluator in ui`})}),_jsx(ParamField,{body:`queryFilter`,type:`String`,id:`param-query-filter-9`,children:_jsx(_components.p,{children:`Optional query used to filter over a given data granularity (ex. session, trace)`})}),_jsx(ParamField,{body:`columnMappings`,type:`JSON`,id:`param-column-mappings-1`,children:_jsx(_components.p,{children:`Mapping of evaluator variable names to dataset column names`})}),_jsxs(ParamField,{body:`subqueryColumnMappings`,type:`[SubqueryColumnMappingInput!]`,id:`param-subquery-column-mappings-1`,children:[_jsx(_components.p,{children:`Subquery-aware variable mappings. Populated instead of columnMappings on tasks that have a multiSpanQuery.`}),_jsxs(Expandable,{title:`SubqueryColumnMappingInput fields`,children:[_jsx(ParamField,{body:`variableName`,type:`String!`,required:true,id:`param-variable-name-1`,children:_jsx(_components.p,{children:`Evaluator variable name`})}),_jsx(ParamField,{body:`subqueries`,type:`[String!]!`,required:true,id:`param-subqueries-3`,children:_jsx(_components.p,{children:`Source subquery names (A-E) from the taskās multi_span_query that may populate this variable. When multiple listed subqueries match for a unit, their resolved values are concatenated. The list must contain at least one subquery; an empty list matches nothing and is rejected.`})}),_jsx(ParamField,{body:`attributePath`,type:`String!`,required:true,id:`param-attribute-path-1`,children:_jsx(_components.p,{children:`Span attribute path to resolve within each subquery`})})]})]})]})}),_jsx(ParamField,{body:`tracingEnabled`,type:`Boolean`,id:`param-tracing-enabled-1`,children:_jsx(_components.p,{children:`Whether tracing is enabled for the online task`})}),_jsx(ParamField,{body:`clientMutationId`,type:`String`,id:`param-client-mutation-id-5`})]})}),`\n`,_jsx(Heading,{level:`4`,id:`returns-6`,children:`Returns`}),`\n`,_jsx(ResponseField,{name:`evalTask`,type:`OnlineTask!`,id:`param-eval-task-1`,children:_jsxs(Expandable,{title:`OnlineTask fields`,children:[_jsxs(_components.p,{children:[`Scalar fields: `,_jsx(_components.code,{children:`id`}),`, `,_jsx(_components.code,{children:`taskType`}),`, `,_jsx(_components.code,{children:`name`}),`, `,_jsx(_components.code,{children:`samplingRate`}),`, `,_jsx(_components.code,{children:`lastRunAt`}),`, `,_jsx(_components.code,{children:`queryFilter`}),`, `,_jsx(_components.code,{children:`createdAt`}),`, `,_jsx(_components.code,{children:`updatedAt`}),`, `,_jsx(_components.code,{children:`deletedAt`}),`, `,_jsx(_components.code,{children:`runContinuously`}),`, `,_jsx(_components.code,{children:`tracingEnabled`}),`, `,_jsx(_components.code,{children:`experimentIds`}),`, `,_jsx(_components.code,{children:`hasUnavailableEvaluatorIntegration`}),`.`]}),_jsxs(_components.p,{children:[`Object fields (select subfields): `,_jsx(_components.code,{children:`model`}),`, `,_jsx(_components.code,{children:`multiSpanQuery`}),`, `,_jsx(_components.code,{children:`createdBy`}),`, `,_jsx(_components.code,{children:`llmConfig`}),`, `,_jsx(_components.code,{children:`taskConfig`}),`, `,_jsx(_components.code,{children:`evaluators`}),`, `,_jsx(_components.code,{children:`onlineTaskEvaluators`}),`, `,_jsx(_components.code,{children:`allEvaluatorConfigs`}),`, `,_jsx(_components.code,{children:`taskRuns`}),`, `,_jsx(_components.code,{children:`experiments`}),`, `,_jsx(_components.code,{children:`dataset`}),`, `,_jsx(_components.code,{children:`postProcessingSteps`}),`.`]})]})}),`\n`,_jsx(Heading,{level:`4`,id:`example-6`,children:`Example`}),`\n`,_jsxs(_components.p,{children:[`Only required input fields are shown. Replace `,_jsx(_components.code,{children:`\u003cID>`}),` and `,_jsx(_components.code,{children:`\u003cstring>`}),` placeholders with real values; the `,_jsx(_components.a,{href:`/ax/graphql-reference/queries/object-graph`,children:`object graph`}),` page shows how to look IDs up.`]}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Mutation`,numberOfLines:`5`,language:`graphql`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default github-dark-default`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0d1117`,color:`#1f2328`,\"--shiki-dark\":`#e6edf3`},language:`graphql`,children:_jsxs(_components.code,{language:`graphql`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#FF7B72`},children:`mutation`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#D2A8FF`},children:` PatchEvalTask`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:`$input`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#79C0FF`},children:`PatchEvalTaskMutationInput`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#FF7B72`},children:`!`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:` patchEvalTask`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:`input`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`: `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:`$input`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:` evalTask`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:` { `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:`id`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:` name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Variables`,numberOfLines:`5`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default github-dark-default`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0d1117`,color:`#1f2328`,\"--shiki-dark\":`#e6edf3`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#7EE787`},children:` \"input\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#7EE787`},children:` \"onlineTaskId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#A5D6FF`},children:`\"\u003cID>\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`}`})}),`\n`]})})})]}),`\n`,_jsx(Heading,{level:`3`,id:`patchevaltaskwithevalhub`,children:`patchEvalTaskWithEvalHub`}),`\n`,_jsx(_components.p,{children:_jsx(_components.code,{children:`patchEvalTaskWithEvalHub(input: PatchEvalTaskWithEvalHubMutationInput!): PatchEvalTaskWithEvalHubMutationPayload`})}),`\n`,_jsx(Heading,{level:`4`,id:`arguments-7`,children:`Arguments`}),`\n`,_jsx(ParamField,{body:`input`,type:`PatchEvalTaskWithEvalHubMutationInput!`,required:true,id:`param-input-6`,children:_jsxs(Expandable,{title:`PatchEvalTaskWithEvalHubMutationInput fields`,children:[_jsx(ParamField,{body:`onlineTaskId`,type:`ID!`,required:true,id:`param-online-task-id-1`,children:_jsx(_components.p,{children:`The online task id for the eval task to be patched`})}),_jsx(ParamField,{body:`modelId`,type:`ID`,id:`param-model-id-2`,children:_jsx(_components.p,{children:`The model id for the model to be evaluated`})}),_jsx(ParamField,{body:`datasetId`,type:`ID`,id:`param-dataset-id-2`,children:_jsx(_components.p,{children:`The dataset id for the dataset to be evaluated`})}),_jsx(ParamField,{body:`name`,type:`String`,id:`param-name-19`,children:_jsx(_components.p,{children:`The name of the online task`})}),_jsxs(ParamField,{body:`filters`,type:`[FilterItemInputType!]`,id:`param-filters-2`,children:[_jsx(_components.p,{children:`The filters associated with the online task`}),_jsxs(Expandable,{title:`FilterItemInputType fields`,children:[_jsx(ParamField,{body:`filterType`,type:`FilterRowType!`,required:true,id:`param-filter-type-2`,children:_jsxs(_components.p,{children:[`The type of filter. One of: `,_jsx(_components.code,{children:`featureLabel`}),`, `,_jsx(_components.code,{children:`tagLabel`}),`, `,_jsx(_components.code,{children:`predictionValue`}),`, `,_jsx(_components.code,{children:`actuals`}),`, `,_jsx(_components.code,{children:`modelVersion`}),`, `,_jsx(_components.code,{children:`batchId`}),`, `,_jsx(_components.code,{children:`predictionClass`}),`, `,_jsx(_components.code,{children:`predictionScore`}),`, `,_jsx(_components.code,{children:`actualClass`}),`, `,_jsx(_components.code,{children:`actualScore`}),`, `,_jsx(_components.code,{children:`topKPercentile`}),`, `,_jsx(_components.code,{children:`spanProperty`}),`, `,_jsx(_components.code,{children:`llmEval`}),`, `,_jsx(_components.code,{children:`annotation`}),`, `,_jsx(_components.code,{children:`userAnnotation`}),`.`]})}),_jsx(ParamField,{body:`operator`,type:`ComparisonOperator!`,required:true,id:`param-operator-2`,children:_jsxs(_components.p,{children:[`The operator of the filter. One of: `,_jsx(_components.code,{children:`greaterThan`}),`, `,_jsx(_components.code,{children:`lessThan`}),`, `,_jsx(_components.code,{children:`equals`}),`, `,_jsx(_components.code,{children:`notEquals`}),`, `,_jsx(_components.code,{children:`greaterThanOrEqual`}),`, `,_jsx(_components.code,{children:`lessThanOrEqual`}),`, `,_jsx(_components.code,{children:`topN`}),`, `,_jsx(_components.code,{children:`contains`}),`, `,_jsx(_components.code,{children:`containsString`}),`, `,_jsx(_components.code,{children:`similarTo`}),`.`]})}),_jsx(ParamField,{body:`dimension`,type:`DimensionInput`,id:`param-dimension-2`,children:_jsxs(Expandable,{title:`DimensionInput fields`,children:[_jsx(ParamField,{body:`id`,type:`ID!`,required:true,id:`param-id-4`}),_jsx(ParamField,{body:`name`,type:`String!`,required:true,id:`param-name-20`,children:_jsx(_components.p,{children:`The label of this dimension, e.g. āBank Nameā or āageā`})}),_jsx(ParamField,{body:`dataType`,type:`DimensionDataType!`,required:true,id:`param-data-type-2`,children:_jsxs(_components.p,{children:[`The data type of the values in dimensionName, ex. āFLOATā, āSTRINGā, etc. One of: `,_jsx(_components.code,{children:`STRING`}),`, `,_jsx(_components.code,{children:`LONG`}),`, `,_jsx(_components.code,{children:`FLOAT`}),`, `,_jsx(_components.code,{children:`DOUBLE`}),`, `,_jsx(_components.code,{children:`EMBEDDING`}),`, `,_jsx(_components.code,{children:`STRING_LIST`}),`, `,_jsx(_components.code,{children:`DICTIONARY`}),`.`]})}),_jsx(ParamField,{body:`category`,type:`DimensionCategory`,id:`param-category-2`,children:_jsxs(_components.p,{children:[`The category of the dimension, e.g. ātagā or āfeatureLabelā, etc. One of: `,_jsx(_components.code,{children:`featureLabel`}),`, `,_jsx(_components.code,{children:`prediction`}),`, `,_jsx(_components.code,{children:`actuals`}),`, `,_jsx(_components.code,{children:`actualScore`}),`, `,_jsx(_components.code,{children:`actualClass`}),`, `,_jsx(_components.code,{children:`predictionClass`}),`, `,_jsx(_components.code,{children:`predictionScore`}),`, `,_jsx(_components.code,{children:`tag`}),`, `,_jsx(_components.code,{children:`spanProperty`}),`, `,_jsx(_components.code,{children:`llmEval`}),`, `,_jsx(_components.code,{children:`annotation`}),`, `,_jsx(_components.code,{children:`userAnnotation`}),`, `,_jsx(_components.code,{children:`modelVersion`}),`, `,_jsx(_components.code,{children:`batchId`}),`.`]})})]})}),_jsxs(ParamField,{body:`dimensionValues`,type:`[DimensionValueInput!]`,id:`param-dimension-values-2`,children:[_jsx(_components.p,{children:`The dimension values of the filter.`}),_jsxs(Expandable,{title:`DimensionValueInput fields`,children:[_jsx(ParamField,{body:`id`,type:`ID!`,required:true,id:`param-id-5`}),_jsx(ParamField,{body:`value`,type:`String!`,required:true,id:`param-value-2`,children:_jsx(_components.p,{children:`The value of this dimension value, e.g. āWells Fargoā or ā60ā`})}),_jsx(ParamField,{body:`similarityReference`,type:`DimensionValueSimilarityReference`,id:`param-similarity-reference-2`,children:_jsxs(_components.p,{children:[`The similarity references for this dimension value Nested `,_jsx(_components.code,{children:`DimensionValueSimilarityReference`}),` (same shape as above).`]})})]})]})]})]}),_jsx(ParamField,{body:`queryFilter`,type:`String`,id:`param-query-filter-10`,children:_jsx(_components.p,{children:`Filters to apply to the dataset. Compatible with existing filters, joined with AND.`})}),_jsxs(ParamField,{body:`multiSpanQuery`,type:`MultiSpanQueryDefinitionInput`,id:`param-multi-span-query-2`,children:[_jsx(_components.p,{children:`Multi-span query definition for admission. Mutually exclusive with queryFilter.`}),_jsxs(Expandable,{title:`MultiSpanQueryDefinitionInput fields`,children:[_jsx(ParamField,{body:`subqueries`,type:`[MultiSpanSubqueryDefinitionInput!]!`,required:true,id:`param-subqueries-4`,children:_jsxs(Expandable,{title:`MultiSpanSubqueryDefinitionInput fields`,children:[_jsx(ParamField,{body:`name`,type:`String!`,required:true,id:`param-name-21`,children:_jsx(_components.p,{children:`Subquery name (A-E)`})}),_jsx(ParamField,{body:`query`,type:`String!`,required:true,id:`param-query-2`,children:_jsx(_components.p,{children:`Span-selection filter for this subquery`})})]})}),_jsx(ParamField,{body:`expression`,type:`String!`,required:true,id:`param-expression-2`,children:_jsx(_components.p,{children:`Boolean expression over the subquery names`})})]})]}),_jsx(ParamField,{body:`samplingRate`,type:`Float`,id:`param-sampling-rate-2`,children:_jsx(_components.p,{children:`The sampling rate of the online task`})}),_jsx(ParamField,{body:`runContinuously`,type:`Boolean`,id:`param-run-continuously-2`,children:_jsx(_components.p,{children:`Whether the online task runs continuously`})}),_jsxs(ParamField,{body:`llmConfig`,type:`OnlineTaskLLMConfigInput`,id:`param-llm-config-6`,children:[_jsx(_components.p,{children:`The LLM config for the online task`}),_jsxs(Expandable,{title:`OnlineTaskLLMConfigInput fields`,children:[_jsx(ParamField,{body:`integrationId`,type:`ID!`,required:true,id:`param-integration-id-6`,children:_jsx(_components.p,{children:`The selected named LLM integration id (relay global id). If provided, server will use its configuration.`})}),_jsx(ParamField,{body:`modelName`,type:`String!`,required:true,id:`param-model-name-8`,children:_jsx(_components.p,{children:`The LLM model`})}),_jsx(ParamField,{body:`invocationParameters`,type:`JSONObject!`,required:true,id:`param-invocation-parameters-6`,children:_jsx(_components.p,{children:`parameters used when running the Llm`})}),_jsx(ParamField,{body:`providerParameters`,type:`JSONObject!`,required:true,id:`param-provider-parameters-6`,children:_jsx(_components.p,{children:`parameters used to initialize the Llm`})}),_jsx(ParamField,{body:`temperature`,type:`Float`,id:`param-temperature-2`,children:_jsx(_components.p,{children:`The temperature of the LLM config`})}),_jsx(ParamField,{body:`provider`,type:`LLMIntegrationProvider`,id:`param-provider-2`,children:_jsxs(_components.p,{children:[`The LLM provider One of: `,_jsx(_components.code,{children:`openAI`}),`, `,_jsx(_components.code,{children:`anthropic`}),`, `,_jsx(_components.code,{children:`awsBedrock`}),`, `,_jsx(_components.code,{children:`azureOpenAI`}),`, `,_jsx(_components.code,{children:`vertexAI`}),`, `,_jsx(_components.code,{children:`custom`}),`, `,_jsx(_components.code,{children:`nvidiaNim`}),`, `,_jsx(_components.code,{children:`gemini`}),`, `,_jsx(_components.code,{children:`litellm`}),`, `,_jsx(_components.code,{children:`fireworks`}),`, `,_jsx(_components.code,{children:`togetherAi`}),`, `,_jsx(_components.code,{children:`cursor`}),`, `,_jsx(_components.code,{children:`typeSafeAi`}),`.`]})}),_jsx(ParamField,{body:`deploymentName`,type:`String`,id:`param-deployment-name-2`,children:_jsx(_components.p,{children:`The deployment name of the LLM config. Required for azure openai provider`})}),_jsx(ParamField,{body:`apiVersion`,type:`String`,id:`param-api-version-2`,children:_jsx(_components.p,{children:`The api version of the LLM config. Required for azure openai provider`})}),_jsx(ParamField,{body:`apiEndpoint`,type:`String`,id:`param-api-endpoint-2`,children:_jsx(_components.p,{children:`The api endpoint of the LLM config. Required for azure openai provider`})}),_jsx(ParamField,{body:`region`,type:`String`,id:`param-region-2`,children:_jsx(_components.p,{children:`The region of the LLM config`})}),_jsx(ParamField,{body:`maxTokens`,type:`Float`,id:`param-max-tokens-2`,children:_jsx(_components.p,{children:`The max tokens of the LLM config`})}),_jsx(ParamField,{body:`maxCompletionTokens`,type:`Float`,id:`param-max-completion-tokens-2`,children:_jsx(_components.p,{children:`The max completion tokens of the LLM config`})}),_jsx(ParamField,{body:`topP`,type:`Float`,id:`param-top-p-2`,children:_jsx(_components.p,{children:`The top P of the LLM config`})}),_jsx(ParamField,{body:`topK`,type:`Float`,id:`param-top-k-2`,children:_jsx(_components.p,{children:`The top K of the LLM config`})}),_jsx(ParamField,{body:`stop`,type:`[String!]`,id:`param-stop-2`,children:_jsx(_components.p,{children:`The stop associated with the config`})}),_jsx(ParamField,{body:`customModelEndpointId`,type:`String`,id:`param-custom-model-endpoint-id-2`,children:_jsx(_components.p,{children:`The id of the Custom Model Endpoint. Required if provider is custom.`})})]})]}),_jsx(ParamField,{body:`evaluators`,type:`[OnlineTaskEvaluatorInput!]`,id:`param-evaluators-2`,children:_jsxs(Expandable,{title:`OnlineTaskEvaluatorInput fields`,children:[_jsx(ParamField,{body:`evaluatorId`,type:`ID!`,required:true,id:`param-evaluator-id-5`,children:_jsx(_components.p,{children:`id of evaluator to attach to online task`})}),_jsx(ParamField,{body:`evaluatorVersionId`,type:`ID`,id:`param-evaluator-version-id-2`,children:_jsx(_components.p,{children:`Optional id of the evaluator version to pin. Omit (or null) to always run the latest version.`})}),_jsx(ParamField,{body:`position`,type:`Int!`,required:true,id:`param-position-12`,children:_jsx(_components.p,{children:`position of evaluator in ui`})}),_jsx(ParamField,{body:`queryFilter`,type:`String`,id:`param-query-filter-11`,children:_jsx(_components.p,{children:`Optional query used to filter over a given data granularity (ex. session, trace)`})}),_jsx(ParamField,{body:`columnMappings`,type:`JSON`,id:`param-column-mappings-2`,children:_jsx(_components.p,{children:`Mapping of evaluator variable names to dataset column names`})}),_jsxs(ParamField,{body:`subqueryColumnMappings`,type:`[SubqueryColumnMappingInput!]`,id:`param-subquery-column-mappings-2`,children:[_jsx(_components.p,{children:`Subquery-aware variable mappings. Populated instead of columnMappings on tasks that have a multiSpanQuery.`}),_jsxs(Expandable,{title:`SubqueryColumnMappingInput fields`,children:[_jsx(ParamField,{body:`variableName`,type:`String!`,required:true,id:`param-variable-name-2`,children:_jsx(_components.p,{children:`Evaluator variable name`})}),_jsx(ParamField,{body:`subqueries`,type:`[String!]!`,required:true,id:`param-subqueries-5`,children:_jsx(_components.p,{children:`Source subquery names (A-E) from the taskās multi_span_query that may populate this variable. When multiple listed subqueries match for a unit, their resolved values are concatenated. The list must contain at least one subquery; an empty list matches nothing and is rejected.`})}),_jsx(ParamField,{body:`attributePath`,type:`String!`,required:true,id:`param-attribute-path-2`,children:_jsx(_components.p,{children:`Span attribute path to resolve within each subquery`})})]})]})]})}),_jsx(ParamField,{body:`experiments`,type:`[ID!]`,id:`param-experiments-2`}),_jsx(ParamField,{body:`postProcessingSteps`,type:`[OnlineTaskPostProcessingStepInput!]`,id:`param-post-processing-steps-2`,children:_jsxs(Expandable,{title:`OnlineTaskPostProcessingStepInput fields`,children:[_jsx(ParamField,{body:`targetType`,type:`String!`,required:true,id:`param-target-type-2`,children:_jsx(_components.p,{children:`The type of the target (e.g. dataset, annotation queue)`})}),_jsx(ParamField,{body:`targetId`,type:`ID!`,required:true,id:`param-target-id-2`,children:_jsx(_components.p,{children:`The ID of the specific target (e.g. dataset ID)`})}),_jsx(ParamField,{body:`position`,type:`Int!`,required:true,id:`param-position-13`,children:_jsx(_components.p,{children:`Ordering position of the post-processing step`})}),_jsx(ParamField,{body:`queryFilter`,type:`String`,id:`param-query-filter-12`,children:_jsx(_components.p,{children:`Optional filter expression for selecting which data is added to target`})})]})}),_jsx(ParamField,{body:`clientMutationId`,type:`String`,id:`param-client-mutation-id-6`})]})}),`\n`,_jsx(Heading,{level:`4`,id:`returns-7`,children:`Returns`}),`\n`,_jsx(ResponseField,{name:`evalTask`,type:`OnlineTask!`,id:`param-eval-task-2`,children:_jsxs(Expandable,{title:`OnlineTask fields`,children:[_jsxs(_components.p,{children:[`Scalar fields: `,_jsx(_components.code,{children:`id`}),`, `,_jsx(_components.code,{children:`taskType`}),`, `,_jsx(_components.code,{children:`name`}),`, `,_jsx(_components.code,{children:`samplingRate`}),`, `,_jsx(_components.code,{children:`lastRunAt`}),`, `,_jsx(_components.code,{children:`queryFilter`}),`, `,_jsx(_components.code,{children:`createdAt`}),`, `,_jsx(_components.code,{children:`updatedAt`}),`, `,_jsx(_components.code,{children:`deletedAt`}),`, `,_jsx(_components.code,{children:`runContinuously`}),`, `,_jsx(_components.code,{children:`tracingEnabled`}),`, `,_jsx(_components.code,{children:`experimentIds`}),`, `,_jsx(_components.code,{children:`hasUnavailableEvaluatorIntegration`}),`.`]}),_jsxs(_components.p,{children:[`Object fields (select subfields): `,_jsx(_components.code,{children:`model`}),`, `,_jsx(_components.code,{children:`multiSpanQuery`}),`, `,_jsx(_components.code,{children:`createdBy`}),`, `,_jsx(_components.code,{children:`llmConfig`}),`, `,_jsx(_components.code,{children:`taskConfig`}),`, `,_jsx(_components.code,{children:`evaluators`}),`, `,_jsx(_components.code,{children:`onlineTaskEvaluators`}),`, `,_jsx(_components.code,{children:`allEvaluatorConfigs`}),`, `,_jsx(_components.code,{children:`taskRuns`}),`, `,_jsx(_components.code,{children:`experiments`}),`, `,_jsx(_components.code,{children:`dataset`}),`, `,_jsx(_components.code,{children:`postProcessingSteps`}),`.`]})]})}),`\n`,_jsx(Heading,{level:`4`,id:`example-7`,children:`Example`}),`\n`,_jsxs(_components.p,{children:[`Only required input fields are shown. Replace `,_jsx(_components.code,{children:`\u003cID>`}),` and `,_jsx(_components.code,{children:`\u003cstring>`}),` placeholders with real values; the `,_jsx(_components.a,{href:`/ax/graphql-reference/queries/object-graph`,children:`object graph`}),` page shows how to look IDs up.`]}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Mutation`,numberOfLines:`5`,language:`graphql`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default github-dark-default`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0d1117`,color:`#1f2328`,\"--shiki-dark\":`#e6edf3`},language:`graphql`,children:_jsxs(_components.code,{language:`graphql`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#FF7B72`},children:`mutation`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#D2A8FF`},children:` PatchEvalTaskWithEvalHub`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:`$input`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#79C0FF`},children:`PatchEvalTaskWithEvalHubMutationInput`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#FF7B72`},children:`!`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:` patchEvalTaskWithEvalHub`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:`input`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`: `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:`$input`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:` evalTask`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:` { `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:`id`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:` name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Variables`,numberOfLines:`5`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default github-dark-default`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0d1117`,color:`#1f2328`,\"--shiki-dark\":`#e6edf3`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#7EE787`},children:` \"input\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#7EE787`},children:` \"onlineTaskId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#A5D6FF`},children:`\"\u003cID>\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`}`})}),`\n`]})})})]}),`\n`,_jsx(Heading,{level:`3`,id:`migratetasktoevalhub`,children:`migrateTaskToEvalHub`}),`\n`,_jsx(_components.p,{children:`migrates a taskās evaluators to eval hub`}),`\n`,_jsx(_components.p,{children:_jsx(_components.code,{children:`migrateTaskToEvalHub(input: MigrateTaskToEvalHubMutationInput!): MigrateTaskToEvalHubMutationPayload`})}),`\n`,_jsx(Heading,{level:`4`,id:`arguments-8`,children:`Arguments`}),`\n`,_jsx(ParamField,{body:`input`,type:`MigrateTaskToEvalHubMutationInput!`,required:true,id:`param-input-7`,children:_jsxs(Expandable,{title:`MigrateTaskToEvalHubMutationInput fields`,children:[_jsx(ParamField,{body:`onlineTaskId`,type:`ID!`,required:true,id:`param-online-task-id-2`,children:_jsx(_components.p,{children:`The online task id`})}),_jsx(ParamField,{body:`clientMutationId`,type:`String`,id:`param-client-mutation-id-7`})]})}),`\n`,_jsx(Heading,{level:`4`,id:`returns-8`,children:`Returns`}),`\n`,_jsx(ResponseField,{name:`onlineTask`,type:`OnlineTask!`,id:`param-online-task`,children:_jsxs(Expandable,{title:`OnlineTask fields`,children:[_jsxs(_components.p,{children:[`Scalar fields: `,_jsx(_components.code,{children:`id`}),`, `,_jsx(_components.code,{children:`taskType`}),`, `,_jsx(_components.code,{children:`name`}),`, `,_jsx(_components.code,{children:`samplingRate`}),`, `,_jsx(_components.code,{children:`lastRunAt`}),`, `,_jsx(_components.code,{children:`queryFilter`}),`, `,_jsx(_components.code,{children:`createdAt`}),`, `,_jsx(_components.code,{children:`updatedAt`}),`, `,_jsx(_components.code,{children:`deletedAt`}),`, `,_jsx(_components.code,{children:`runContinuously`}),`, `,_jsx(_components.code,{children:`tracingEnabled`}),`, `,_jsx(_components.code,{children:`experimentIds`}),`, `,_jsx(_components.code,{children:`hasUnavailableEvaluatorIntegration`}),`.`]}),_jsxs(_components.p,{children:[`Object fields (select subfields): `,_jsx(_components.code,{children:`model`}),`, `,_jsx(_components.code,{children:`multiSpanQuery`}),`, `,_jsx(_components.code,{children:`createdBy`}),`, `,_jsx(_components.code,{children:`llmConfig`}),`, `,_jsx(_components.code,{children:`taskConfig`}),`, `,_jsx(_components.code,{children:`evaluators`}),`, `,_jsx(_components.code,{children:`onlineTaskEvaluators`}),`, `,_jsx(_components.code,{children:`allEvaluatorConfigs`}),`, `,_jsx(_components.code,{children:`taskRuns`}),`, `,_jsx(_components.code,{children:`experiments`}),`, `,_jsx(_components.code,{children:`dataset`}),`, `,_jsx(_components.code,{children:`postProcessingSteps`}),`.`]})]})}),`\n`,_jsx(Heading,{level:`4`,id:`example-8`,children:`Example`}),`\n`,_jsxs(_components.p,{children:[`Only required input fields are shown. Replace `,_jsx(_components.code,{children:`\u003cID>`}),` and `,_jsx(_components.code,{children:`\u003cstring>`}),` placeholders with real values; the `,_jsx(_components.a,{href:`/ax/graphql-reference/queries/object-graph`,children:`object graph`}),` page shows how to look IDs up.`]}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Mutation`,numberOfLines:`5`,language:`graphql`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default github-dark-default`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0d1117`,color:`#1f2328`,\"--shiki-dark\":`#e6edf3`},language:`graphql`,children:_jsxs(_components.code,{language:`graphql`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#FF7B72`},children:`mutation`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#D2A8FF`},children:` MigrateTaskToEvalHub`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:`$input`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#79C0FF`},children:`MigrateTaskToEvalHubMutationInput`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#FF7B72`},children:`!`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:` migrateTaskToEvalHub`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:`input`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`: `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:`$input`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:` onlineTask`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:` { `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:`id`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:` name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Variables`,numberOfLines:`5`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default github-dark-default`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0d1117`,color:`#1f2328`,\"--shiki-dark\":`#e6edf3`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#7EE787`},children:` \"input\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#7EE787`},children:` \"onlineTaskId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#A5D6FF`},children:`\"\u003cID>\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`}`})}),`\n`]})})})]}),`\n`,_jsx(Heading,{level:`3`,id:`runonlinetask`,children:`runOnlineTask`}),`\n`,_jsx(_components.p,{children:`Run an online task`}),`\n`,_jsx(_components.p,{children:_jsx(_components.code,{children:`runOnlineTask(input: RunOnlineTaskMutationInput!): RunOnlineTaskMutationPayload`})}),`\n`,_jsx(Heading,{level:`4`,id:`arguments-9`,children:`Arguments`}),`\n`,_jsx(ParamField,{body:`input`,type:`RunOnlineTaskMutationInput!`,required:true,id:`param-input-8`,children:_jsxs(Expandable,{title:`RunOnlineTaskMutationInput fields`,children:[_jsx(ParamField,{body:`onlineTaskId`,type:`ID`,id:`param-online-task-id-3`,children:_jsx(_components.p,{children:`The task id for the task to be processed`})}),_jsx(ParamField,{body:`dataStartTime`,type:`DateTime`,id:`param-data-start-time`,children:_jsx(_components.p,{children:`Start time of the data processed by the online task`})}),_jsx(ParamField,{body:`dataEndTime`,type:`DateTime`,id:`param-data-end-time`,children:_jsx(_components.p,{children:`Start time of the data processed by the online task`})}),_jsx(ParamField,{body:`maxSpans`,type:`Int`,id:`param-max-spans`,children:_jsx(_components.p,{children:`Maximum number of spans processed by the online task. If not specified, default to 10,000.`})}),_jsx(ParamField,{body:`overrideEvaluations`,type:`Boolean`,id:`param-override-evaluations`,children:_jsx(_components.p,{children:`Whether to override the existing evaluation labels for the task.`})}),_jsx(ParamField,{body:`isErrorRetry`,type:`Boolean`,id:`param-is-error-retry`,children:_jsx(_components.p,{children:`When true, the worker reproduces the source runās capped row set by omitting eval-null scan filters. Used by Rerun on Errors.`})}),_jsx(ParamField,{body:`experimentIds`,type:`[ID!]`,id:`param-experiment-ids`,children:_jsx(_components.p,{children:`The experiment ids to run the task on`})}),_jsx(ParamField,{body:`clientMutationId`,type:`String`,id:`param-client-mutation-id-8`})]})}),`\n`,_jsx(Heading,{level:`4`,id:`returns-9`,children:`Returns`}),`\n`,_jsx(ResponseField,{name:`result`,type:`RunOnlineTaskResponse!`,id:`param-result`,children:_jsxs(_components.p,{children:[`Result for queuing online task run on date range Union of `,_jsx(_components.code,{children:`TaskError`}),`, `,_jsx(_components.code,{children:`CreateTaskRunResponse`}),`. Use inline fragments (`,_jsx(_components.code,{children:`... on TypeName`}),`).`]})}),`\n`,_jsx(Heading,{level:`4`,id:`example-9`,children:`Example`}),`\n`,_jsxs(_components.p,{children:[`Only required input fields are shown. Replace `,_jsx(_components.code,{children:`\u003cID>`}),` and `,_jsx(_components.code,{children:`\u003cstring>`}),` placeholders with real values; the `,_jsx(_components.a,{href:`/ax/graphql-reference/queries/object-graph`,children:`object graph`}),` page shows how to look IDs up.`]}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Mutation`,numberOfLines:`5`,language:`graphql`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default github-dark-default`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0d1117`,color:`#1f2328`,\"--shiki-dark\":`#e6edf3`},language:`graphql`,children:_jsxs(_components.code,{language:`graphql`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#FF7B72`},children:`mutation`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#D2A8FF`},children:` RunOnlineTask`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:`$input`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#79C0FF`},children:`RunOnlineTaskMutationInput`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#FF7B72`},children:`!`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:` runOnlineTask`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:`input`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`: `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:`$input`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:` result`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:` { `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:`__typename`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Variables`,numberOfLines:`3`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default github-dark-default`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0d1117`,color:`#1f2328`,\"--shiki-dark\":`#e6edf3`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#7EE787`},children:` \"input\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`: {}`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`}`})}),`\n`]})})})]}),`\n`,_jsx(Heading,{level:`3`,id:`cancelonlinetaskrun`,children:`cancelOnlineTaskRun`}),`\n`,_jsx(_components.p,{children:`Cancel an online task run`}),`\n`,_jsx(_components.p,{children:_jsx(_components.code,{children:`cancelOnlineTaskRun(input: CancelOnlineTaskRunMutationInput!): CancelOnlineTaskRunMutationPayload`})}),`\n`,_jsx(Heading,{level:`4`,id:`arguments-10`,children:`Arguments`}),`\n`,_jsx(ParamField,{body:`input`,type:`CancelOnlineTaskRunMutationInput!`,required:true,id:`param-input-9`,children:_jsxs(Expandable,{title:`CancelOnlineTaskRunMutationInput fields`,children:[_jsx(ParamField,{body:`onlineTaskRunId`,type:`ID!`,required:true,id:`param-online-task-run-id`,children:_jsx(_components.p,{children:`The run id for the task to be processed`})}),_jsx(ParamField,{body:`clientMutationId`,type:`String`,id:`param-client-mutation-id-9`})]})}),`\n`,_jsx(Heading,{level:`4`,id:`returns-10`,children:`Returns`}),`\n`,_jsx(ResponseField,{name:`result`,type:`CancelOnlineTaskResponse!`,id:`param-result-1`,children:_jsxs(_components.p,{children:[`Result for cancelling online task run Union of `,_jsx(_components.code,{children:`TaskError`}),`, `,_jsx(_components.code,{children:`CancelTaskRunResponse`}),`. Use inline fragments (`,_jsx(_components.code,{children:`... on TypeName`}),`).`]})}),`\n`,_jsx(Heading,{level:`4`,id:`example-10`,children:`Example`}),`\n`,_jsxs(_components.p,{children:[`Only required input fields are shown. Replace `,_jsx(_components.code,{children:`\u003cID>`}),` and `,_jsx(_components.code,{children:`\u003cstring>`}),` placeholders with real values; the `,_jsx(_components.a,{href:`/ax/graphql-reference/queries/object-graph`,children:`object graph`}),` page shows how to look IDs up.`]}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Mutation`,numberOfLines:`5`,language:`graphql`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default github-dark-default`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0d1117`,color:`#1f2328`,\"--shiki-dark\":`#e6edf3`},language:`graphql`,children:_jsxs(_components.code,{language:`graphql`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#FF7B72`},children:`mutation`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#D2A8FF`},children:` CancelOnlineTaskRun`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:`$input`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#79C0FF`},children:`CancelOnlineTaskRunMutationInput`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#FF7B72`},children:`!`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:` cancelOnlineTaskRun`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:`input`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`: `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:`$input`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:` result`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:` { `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:`__typename`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Variables`,numberOfLines:`5`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default github-dark-default`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0d1117`,color:`#1f2328`,\"--shiki-dark\":`#e6edf3`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#7EE787`},children:` \"input\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#7EE787`},children:` \"onlineTaskRunId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#A5D6FF`},children:`\"\u003cID>\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`}`})}),`\n`]})})})]}),`\n`,_jsx(Heading,{level:`3`,id:`deleteonlinetask`,children:`deleteOnlineTask`}),`\n`,_jsx(_components.p,{children:_jsx(_components.code,{children:`deleteOnlineTask(input: DeleteOnlineTaskMutationInput!): DeleteOnlineTaskMutationPayload`})}),`\n`,_jsx(Heading,{level:`4`,id:`arguments-11`,children:`Arguments`}),`\n`,_jsx(ParamField,{body:`input`,type:`DeleteOnlineTaskMutationInput!`,required:true,id:`param-input-10`,children:_jsxs(Expandable,{title:`DeleteOnlineTaskMutationInput fields`,children:[_jsx(ParamField,{body:`onlineTaskIds`,type:`[ID!]!`,required:true,id:`param-online-task-ids`,children:_jsx(_components.p,{children:`The IDs of the online tasks to delete. Maximum 50 per request; callers must implement their own batching for larger sets.`})}),_jsx(ParamField,{body:`clientMutationId`,type:`String`,id:`param-client-mutation-id-10`})]})}),`\n`,_jsx(Heading,{level:`4`,id:`returns-11`,children:`Returns`}),`\n`,_jsx(ResponseField,{name:`success`,type:`Boolean!`,id:`param-success-1`,children:_jsx(_components.p,{children:`True when all requested tasks were deleted (failedTasks is empty). Kept for backward compatibility.`})}),`\n`,_jsx(ResponseField,{name:`deletedTaskIds`,type:`[ID!]!`,id:`param-deleted-task-ids`,children:_jsx(_components.p,{children:`IDs of the tasks that were successfully deleted.`})}),`\n`,_jsxs(ResponseField,{name:`failedTasks`,type:`[DeleteOnlineTaskFailure!]!`,id:`param-failed-tasks`,children:[_jsx(_components.p,{children:`Tasks that could not be deleted, each with the reason for failure. The caller should inspect and retry or investigate individually.`}),_jsx(Expandable,{title:`DeleteOnlineTaskFailure fields`,children:_jsxs(_components.p,{children:[`Scalar fields: `,_jsx(_components.code,{children:`taskId`}),`, `,_jsx(_components.code,{children:`message`}),`.`]})})]}),`\n`,_jsx(Heading,{level:`4`,id:`example-11`,children:`Example`}),`\n`,_jsxs(_components.p,{children:[`Only required input fields are shown. Replace `,_jsx(_components.code,{children:`\u003cID>`}),` and `,_jsx(_components.code,{children:`\u003cstring>`}),` placeholders with real values; the `,_jsx(_components.a,{href:`/ax/graphql-reference/queries/object-graph`,children:`object graph`}),` page shows how to look IDs up.`]}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Mutation`,numberOfLines:`7`,language:`graphql`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default github-dark-default`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0d1117`,color:`#1f2328`,\"--shiki-dark\":`#e6edf3`},language:`graphql`,children:_jsxs(_components.code,{language:`graphql`,numberOfLines:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#FF7B72`},children:`mutation`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#D2A8FF`},children:` DeleteOnlineTask`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:`$input`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#79C0FF`},children:`DeleteOnlineTaskMutationInput`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#FF7B72`},children:`!`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:` deleteOnlineTask`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:`input`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`: `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:`$input`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`) {`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:` success`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:` deletedTaskIds`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:` failedTasks`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:` { `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:`message`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Variables`,numberOfLines:`7`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default github-dark-default`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0d1117`,color:`#1f2328`,\"--shiki-dark\":`#e6edf3`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#7EE787`},children:` \"input\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#7EE787`},children:` \"onlineTaskIds\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#A5D6FF`},children:` \"\u003cID>\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`}`})}),`\n`]})})})]}),`\n`,_jsx(Heading,{level:`3`,id:`runexperimenttask`,children:`runExperimentTask`}),`\n`,_jsx(_components.p,{children:`Run an experiment task with configurable LLM interactions`}),`\n`,_jsx(_components.p,{children:_jsx(_components.code,{children:`runExperimentTask(input: RunExperimentTaskMutationInput!): RunExperimentTaskMutationPayload`})}),`\n`,_jsx(Heading,{level:`4`,id:`arguments-12`,children:`Arguments`}),`\n`,_jsx(ParamField,{body:`input`,type:`RunExperimentTaskMutationInput!`,required:true,id:`param-input-11`,children:_jsxs(Expandable,{title:`RunExperimentTaskMutationInput fields`,children:[_jsx(ParamField,{body:`datasetId`,type:`ID!`,required:true,id:`param-dataset-id-3`,children:_jsx(_components.p,{children:`The dataset id for the experiment`})}),_jsx(ParamField,{body:`datasetName`,type:`String!`,required:true,id:`param-dataset-name`,children:_jsx(_components.p,{children:`The dataset name for the experiment`})}),_jsx(ParamField,{body:`datasetVersionId`,type:`ID!`,required:true,id:`param-dataset-version-id`,children:_jsx(_components.p,{children:`The dataset version id for the experiment`})}),_jsx(ParamField,{body:`spaceId`,type:`ID!`,required:true,id:`param-space-id-1`,children:_jsx(_components.p,{children:`The space id for the experiment`})}),_jsxs(ParamField,{body:`exampleOverrides`,type:`[ExampleOverridesInput!]!`,required:true,id:`param-example-overrides`,children:[_jsx(_components.p,{children:`The example overrides for the experiment`}),_jsxs(Expandable,{title:`ExampleOverridesInput fields`,children:[_jsx(ParamField,{body:`exampleId`,type:`String!`,required:true,id:`param-example-id`}),_jsx(ParamField,{body:`overridesJSON`,type:`JSON!`,required:true,id:`param-overrides-json`})]})]}),_jsx(ParamField,{body:`exampleIds`,type:`[String!]`,id:`param-example-ids`,children:_jsx(_components.p,{children:`The example ids to run the experiment on`})}),_jsx(ParamField,{body:`examplesToRunCount`,type:`Int`,id:`param-examples-to-run-count`,children:_jsx(_components.p,{children:`The number of examples to run the experiment on`})}),_jsx(ParamField,{body:`queryFilter`,type:`String`,id:`param-query-filter-13`,children:_jsx(_components.p,{children:`Optional dataset query filter. When set, the experiment (and associated evaluations) run only on examples matching the filter.`})}),_jsxs(ParamField,{body:`runConfigurations`,type:`[RunExperimentConfigInput!]!`,required:true,id:`param-run-configurations`,children:[_jsx(_components.p,{children:`The run configurations for the experiment`}),_jsxs(Expandable,{title:`RunExperimentConfigInput fields`,children:[_jsx(ParamField,{body:`experimentType`,type:`ExperimentTypeEnum!`,required:true,id:`param-experiment-type`,children:_jsxs(_components.p,{children:[`Discriminant for what kind of work is performed per example. One of: āllm_generationā, ātemplate_evaluationā, ācode_evaluationā, āagent_callā. One of: `,_jsx(_components.code,{children:`llm_generation`}),`, `,_jsx(_components.code,{children:`template_evaluation`}),`, `,_jsx(_components.code,{children:`code_evaluation`}),`, `,_jsx(_components.code,{children:`agent_call`}),`.`]})}),_jsxs(ParamField,{body:`input`,type:`LLMInput`,id:`param-input-12`,children:[_jsx(_components.p,{children:`LLM input (messages, model, integration). Required for llm_generation; provider/model fields also used for template_evaluation. Not used for agent_call.`}),_jsxs(Expandable,{title:`LLMInput fields`,children:[_jsx(ParamField,{body:`provider`,type:`ExternalLLMProvider!`,required:true,id:`param-provider-3`,children:_jsxs(_components.p,{children:[`The provider to use for the call. One of: `,_jsx(_components.code,{children:`openAI`}),`, `,_jsx(_components.code,{children:`azureOpenAI`}),`, `,_jsx(_components.code,{children:`anthropic`}),`, `,_jsx(_components.code,{children:`vertexAI`}),`, `,_jsx(_components.code,{children:`awsBedrock`}),`, `,_jsx(_components.code,{children:`custom`}),`, `,_jsx(_components.code,{children:`nvidiaNim`}),`, `,_jsx(_components.code,{children:`gemini`}),`, `,_jsx(_components.code,{children:`litellm`}),`, `,_jsx(_components.code,{children:`fireworks`}),`, `,_jsx(_components.code,{children:`togetherAi`}),`.`]})}),_jsx(ParamField,{body:`model`,type:`String`,id:`param-model`,children:_jsx(_components.p,{children:`The model to use for the call.`})}),_jsx(ParamField,{body:`messages`,type:`[LLMMessageInput!]!`,required:true,id:`param-messages`,children:_jsxs(_components.p,{children:[`The full message to send to the LLM (e.g., a prompt template with all variables filled in). Nested `,_jsx(_components.code,{children:`LLMMessageInput`}),` (same shape as above).`]})}),_jsx(ParamField,{body:`invocationParams`,type:`InvocationParamsInput!`,required:true,id:`param-invocation-params`,children:_jsxs(_components.p,{children:[`The params to call the LLM with. Nested `,_jsx(_components.code,{children:`InvocationParamsInput`}),` (same shape as above).`]})}),_jsx(ParamField,{body:`providerParams`,type:`ProviderParamsInput!`,required:true,id:`param-provider-params`,children:_jsxs(_components.p,{children:[`The provider params to use for the call. Nested `,_jsx(_components.code,{children:`ProviderParamsInput`}),` (same shape as above).`]})}),_jsx(ParamField,{body:`integrationId`,type:`ID`,id:`param-integration-id-7`,children:_jsx(_components.p,{children:`The selected named LLM integration id (relay global id). If provided, server will use its configuration.`})}),_jsx(ParamField,{body:`id`,type:`String`,id:`param-id-6`,children:_jsx(_components.p,{children:`Unique identifier for this input`})})]})]}),_jsx(ParamField,{body:`inputVariableFormat`,type:`PromptVersionInputVariableFormatEnum`,id:`param-input-variable-format`,children:_jsxs(_components.p,{children:[`The input variable format for determining prompt variables in the messages. Only applicable for llm_generation. One of: `,_jsx(_components.code,{children:`F_STRING`}),`, `,_jsx(_components.code,{children:`MUSTACHE`}),`, `,_jsx(_components.code,{children:`NONE`}),`.`]})}),_jsx(ParamField,{body:`experimentName`,type:`String!`,required:true,id:`param-experiment-name`,children:_jsx(_components.p,{children:`Name for the experiment`})}),_jsx(ParamField,{body:`instanceId`,type:`Int!`,required:true,id:`param-instance-id`,children:_jsx(_components.p,{children:`The instance id for the experiment`})}),_jsx(ParamField,{body:`promptVersionId`,type:`ID`,id:`param-prompt-version-id`,children:_jsx(_components.p,{children:`The version ID of the prompt from Prompt Hub (if loaded from hub)`})}),_jsxs(ParamField,{body:`templateConfig`,type:`TemplateEvalConfigInput`,id:`param-template-config`,children:[_jsx(_components.p,{children:`Required when experimentType = ātemplate_evaluationā.`}),_jsxs(Expandable,{title:`TemplateEvalConfigInput fields`,children:[_jsx(ParamField,{body:`template`,type:`String!`,required:true,id:`param-template-6`,children:_jsx(_components.p,{children:`The evaluation prompt template.`})}),_jsx(ParamField,{body:`provideExplanation`,type:`Boolean!`,required:true,id:`param-provide-explanation`,children:_jsx(_components.p,{children:`Whether to include LLM explanations in output.`})}),_jsx(ParamField,{body:`classificationChoices`,type:`JSON`,id:`param-classification-choices-6`,children:_jsx(_components.p,{children:`Map of choice label to numeric score (e.g. {relevant: 1, irrelevant: 0}). Required when templateConfig is provided.`})}),_jsx(ParamField,{body:`columnMapping`,type:`JSON`,id:`param-column-mapping`,children:_jsx(_components.p,{children:`Maps named eval param keys to dataset column paths.`})}),_jsx(ParamField,{body:`evaluatorVersionId`,type:`ID`,id:`param-evaluator-version-id-3`,children:_jsx(_components.p,{children:`The evaluator version ID from Eval Hub (if the template eval was loaded from hub)`})})]})]}),_jsxs(ParamField,{body:`codeEvalConfig`,type:`CodeEvalConfigInput`,id:`param-code-eval-config`,children:[_jsx(_components.p,{children:`Required when experimentType = ācode_evaluationā.`}),_jsxs(Expandable,{title:`CodeEvalConfigInput fields`,children:[_jsx(ParamField,{body:`codeEvalClass`,type:`String!`,required:true,id:`param-code-eval-class`,children:_jsx(_components.p,{children:`Managed evaluator class (e.g. JSONParsable, MatchesRegex) or āCustomā.`})}),_jsx(ParamField,{body:`evalParamsJson`,type:`String`,id:`param-eval-params-json`,children:_jsx(_components.p,{children:`JSON-encoded params for managed evaluator classes.`})}),_jsx(ParamField,{body:`evaluationClass`,type:`String`,id:`param-evaluation-class-4`,children:_jsx(_components.p,{children:`Class name for managed evaluators.`})}),_jsx(ParamField,{body:`customCodeEvalInfo`,type:`CustomCodeEvalInfoInput`,id:`param-custom-code-eval-info`,children:_jsxs(_components.p,{children:[`Only set when codeEvalClass is āCustomā. Nested `,_jsx(_components.code,{children:`CustomCodeEvalInfoInput`}),` (same shape as above).`]})}),_jsx(ParamField,{body:`columnMapping`,type:`JSON!`,required:true,id:`param-column-mapping-1`,children:_jsx(_components.p,{children:`Maps named eval param keys to dataset column paths.`})})]})]}),_jsxs(ParamField,{body:`agentConfig`,type:`AgentConfigInput`,id:`param-agent-config`,children:[_jsx(_components.p,{children:`Required when experimentType = āagent_callā.`}),_jsxs(Expandable,{title:`AgentConfigInput fields`,children:[_jsx(ParamField,{body:`remoteEndpointIntegrationId`,type:`ID!`,required:true,id:`param-remote-endpoint-integration-id`,children:_jsx(_components.p,{children:`Global ID of the remote endpoint integration to invoke.`})}),_jsx(ParamField,{body:`inputTemplate`,type:`JSON!`,required:true,id:`param-input-template`,children:_jsx(_components.p,{children:`Fully-merged JSON request body. {{column}} mustache refs are substituted at execution time using each dataset row.`})})]})]}),_jsx(ParamField,{body:`requestTimeoutSeconds`,type:`Int`,id:`param-request-timeout-seconds`,children:_jsx(_components.p,{children:`Per-call LLM timeout in seconds (whole number, 30-1800) for llm_generation and template_evaluation runs; also applies to any LLM evaluator judge calls attached to the run. Rejected for other experiment types. Null uses the system default.`})})]})]}),_jsx(ParamField,{body:`tracingMetadata`,type:`JSON`,id:`param-tracing-metadata`,children:_jsx(_components.p,{children:`The tracing metadata for the experiment`})}),_jsx(ParamField,{body:`evaluationTaskIds`,type:`[String!]`,id:`param-evaluation-task-ids`,children:_jsx(_components.p,{children:`List of evaluation task IDs to run after the experiment completes`})}),_jsx(ParamField,{body:`clientMutationId`,type:`String`,id:`param-client-mutation-id-11`})]})}),`\n`,_jsx(Heading,{level:`4`,id:`returns-12`,children:`Returns`}),`\n`,_jsx(ResponseField,{name:`result`,type:`RunExperimentTaskResponse!`,id:`param-result-2`,children:_jsxs(_components.p,{children:[`Result for running experiment task Union of `,_jsx(_components.code,{children:`RunExperimentTaskSuccess`}),`, `,_jsx(_components.code,{children:`RunExperimentTaskError`}),`. Use inline fragments (`,_jsx(_components.code,{children:`... on TypeName`}),`).`]})}),`\n`,_jsx(Heading,{level:`4`,id:`example-12`,children:`Example`}),`\n`,_jsxs(_components.p,{children:[`Only required input fields are shown. Replace `,_jsx(_components.code,{children:`\u003cID>`}),` and `,_jsx(_components.code,{children:`\u003cstring>`}),` placeholders with real values; the `,_jsx(_components.a,{href:`/ax/graphql-reference/queries/object-graph`,children:`object graph`}),` page shows how to look IDs up.`]}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Mutation`,numberOfLines:`5`,language:`graphql`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default github-dark-default`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0d1117`,color:`#1f2328`,\"--shiki-dark\":`#e6edf3`},language:`graphql`,children:_jsxs(_components.code,{language:`graphql`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#FF7B72`},children:`mutation`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#D2A8FF`},children:` RunExperimentTask`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:`$input`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#79C0FF`},children:`RunExperimentTaskMutationInput`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#FF7B72`},children:`!`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:` runExperimentTask`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:`input`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`: `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:`$input`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:` result`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:` { `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:`__typename`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Variables`,numberOfLines:`21`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default github-dark-default`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0d1117`,color:`#1f2328`,\"--shiki-dark\":`#e6edf3`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`21`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#7EE787`},children:` \"input\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#7EE787`},children:` \"datasetId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#A5D6FF`},children:`\"\u003cID>\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#7EE787`},children:` \"datasetName\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#A5D6FF`},children:`\"\u003cstring>\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#7EE787`},children:` \"datasetVersionId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#A5D6FF`},children:`\"\u003cID>\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#7EE787`},children:` \"spaceId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#A5D6FF`},children:`\"\u003cID>\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#7EE787`},children:` \"exampleOverrides\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#7EE787`},children:` \"exampleId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#A5D6FF`},children:`\"\u003cstring>\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#7EE787`},children:` \"overridesJSON\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`: {}`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#7EE787`},children:` \"runConfigurations\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#7EE787`},children:` \"experimentType\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#A5D6FF`},children:`\"llm_generation\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#7EE787`},children:` \"experimentName\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#A5D6FF`},children:`\"\u003cstring>\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#7EE787`},children:` \"instanceId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#79C0FF`},children:`1`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`}`})}),`\n`]})})})]}),`\n`,_jsx(Heading,{level:`3`,id:`createpromptoptimizationtask`,children:`createPromptOptimizationTask`}),`\n`,_jsx(_components.p,{children:`Create a new prompt optimization task`}),`\n`,_jsx(_components.p,{children:_jsx(_components.code,{children:`createPromptOptimizationTask(input: CreatePromptOptimizationTaskMutationInput!): CreatePromptOptimizationTaskMutationPayload`})}),`\n`,_jsx(Heading,{level:`4`,id:`arguments-13`,children:`Arguments`}),`\n`,_jsx(ParamField,{body:`input`,type:`CreatePromptOptimizationTaskMutationInput!`,required:true,id:`param-input-13`,children:_jsxs(Expandable,{title:`CreatePromptOptimizationTaskMutationInput fields`,children:[_jsx(ParamField,{body:`datasetId`,type:`ID!`,required:true,id:`param-dataset-id-4`,children:_jsx(_components.p,{children:`The dataset id to use for prompt optimization`})}),_jsx(ParamField,{body:`experimentId`,type:`ID`,id:`param-experiment-id`,children:_jsx(_components.p,{children:`Optional experiment ID to use as datasource. Only one experiment is supported for prompt optimization tasks. If not provided, the dataset will be used.`})}),_jsx(ParamField,{body:`name`,type:`String!`,required:true,id:`param-name-22`,children:_jsx(_components.p,{children:`The name of the prompt optimization task`})}),_jsx(ParamField,{body:`runContinuously`,type:`Boolean!`,required:true,id:`param-run-continuously-3`,children:_jsx(_components.p,{children:`Whether the online task runs continuously`})}),_jsxs(ParamField,{body:`llmConfig`,type:`OnlineTaskLLMConfigInput!`,required:true,id:`param-llm-config-7`,children:[_jsx(_components.p,{children:`The LLM config for the online task`}),_jsxs(Expandable,{title:`OnlineTaskLLMConfigInput fields`,children:[_jsx(ParamField,{body:`integrationId`,type:`ID!`,required:true,id:`param-integration-id-8`,children:_jsx(_components.p,{children:`The selected named LLM integration id (relay global id). If provided, server will use its configuration.`})}),_jsx(ParamField,{body:`modelName`,type:`String!`,required:true,id:`param-model-name-9`,children:_jsx(_components.p,{children:`The LLM model`})}),_jsx(ParamField,{body:`invocationParameters`,type:`JSONObject!`,required:true,id:`param-invocation-parameters-7`,children:_jsx(_components.p,{children:`parameters used when running the Llm`})}),_jsx(ParamField,{body:`providerParameters`,type:`JSONObject!`,required:true,id:`param-provider-parameters-7`,children:_jsx(_components.p,{children:`parameters used to initialize the Llm`})}),_jsx(ParamField,{body:`temperature`,type:`Float`,id:`param-temperature-3`,children:_jsx(_components.p,{children:`The temperature of the LLM config`})}),_jsx(ParamField,{body:`provider`,type:`LLMIntegrationProvider`,id:`param-provider-4`,children:_jsxs(_components.p,{children:[`The LLM provider One of: `,_jsx(_components.code,{children:`openAI`}),`, `,_jsx(_components.code,{children:`anthropic`}),`, `,_jsx(_components.code,{children:`awsBedrock`}),`, `,_jsx(_components.code,{children:`azureOpenAI`}),`, `,_jsx(_components.code,{children:`vertexAI`}),`, `,_jsx(_components.code,{children:`custom`}),`, `,_jsx(_components.code,{children:`nvidiaNim`}),`, `,_jsx(_components.code,{children:`gemini`}),`, `,_jsx(_components.code,{children:`litellm`}),`, `,_jsx(_components.code,{children:`fireworks`}),`, `,_jsx(_components.code,{children:`togetherAi`}),`, `,_jsx(_components.code,{children:`cursor`}),`, `,_jsx(_components.code,{children:`typeSafeAi`}),`.`]})}),_jsx(ParamField,{body:`deploymentName`,type:`String`,id:`param-deployment-name-3`,children:_jsx(_components.p,{children:`The deployment name of the LLM config. Required for azure openai provider`})}),_jsx(ParamField,{body:`apiVersion`,type:`String`,id:`param-api-version-3`,children:_jsx(_components.p,{children:`The api version of the LLM config. Required for azure openai provider`})}),_jsx(ParamField,{body:`apiEndpoint`,type:`String`,id:`param-api-endpoint-3`,children:_jsx(_components.p,{children:`The api endpoint of the LLM config. Required for azure openai provider`})}),_jsx(ParamField,{body:`region`,type:`String`,id:`param-region-3`,children:_jsx(_components.p,{children:`The region of the LLM config`})}),_jsx(ParamField,{body:`maxTokens`,type:`Float`,id:`param-max-tokens-3`,children:_jsx(_components.p,{children:`The max tokens of the LLM config`})}),_jsx(ParamField,{body:`maxCompletionTokens`,type:`Float`,id:`param-max-completion-tokens-3`,children:_jsx(_components.p,{children:`The max completion tokens of the LLM config`})}),_jsx(ParamField,{body:`topP`,type:`Float`,id:`param-top-p-3`,children:_jsx(_components.p,{children:`The top P of the LLM config`})}),_jsx(ParamField,{body:`topK`,type:`Float`,id:`param-top-k-3`,children:_jsx(_components.p,{children:`The top K of the LLM config`})}),_jsx(ParamField,{body:`stop`,type:`[String!]`,id:`param-stop-3`,children:_jsx(_components.p,{children:`The stop associated with the config`})}),_jsx(ParamField,{body:`customModelEndpointId`,type:`String`,id:`param-custom-model-endpoint-id-3`,children:_jsx(_components.p,{children:`The id of the Custom Model Endpoint. Required if provider is custom.`})})]})]}),_jsxs(ParamField,{body:`promptOptimizationConfig`,type:`PromptOptimizationConfigInput!`,required:true,id:`param-prompt-optimization-config`,children:[_jsx(_components.p,{children:`The prompt optimization config`}),_jsxs(Expandable,{title:`PromptOptimizationConfigInput fields`,children:[_jsx(ParamField,{body:`userInstructions`,type:`String!`,required:true,id:`param-user-instructions`,children:_jsx(_components.p,{children:`The user instructions for the config`})}),_jsx(ParamField,{body:`outputColumn`,type:`String!`,required:true,id:`param-output-column`,children:_jsx(_components.p,{children:`The output column for the config`})}),_jsx(ParamField,{body:`feedbackColumns`,type:`[String!]!`,required:true,id:`param-feedback-columns`,children:_jsx(_components.p,{children:`The feedback columns for the config`})}),_jsx(ParamField,{body:`batchSize`,type:`Int!`,required:true,id:`param-batch-size`,children:_jsx(_components.p,{children:`The batch size for the config`})}),_jsx(ParamField,{body:`promptId`,type:`ID!`,required:true,id:`param-prompt-id`,children:_jsx(_components.p,{children:`The prompt id for the config`})})]})]}),_jsx(ParamField,{body:`tracingEnabled`,type:`Boolean`,id:`param-tracing-enabled-2`,children:_jsx(_components.p,{children:`Whether tracing is enabled for the online task`})}),_jsx(ParamField,{body:`clientMutationId`,type:`String`,id:`param-client-mutation-id-12`})]})}),`\n`,_jsx(Heading,{level:`4`,id:`returns-13`,children:`Returns`}),`\n`,_jsx(ResponseField,{name:`promptOptimizationTask`,type:`OnlineTask!`,id:`param-prompt-optimization-task`,children:_jsxs(Expandable,{title:`OnlineTask fields`,children:[_jsxs(_components.p,{children:[`Scalar fields: `,_jsx(_components.code,{children:`id`}),`, `,_jsx(_components.code,{children:`taskType`}),`, `,_jsx(_components.code,{children:`name`}),`, `,_jsx(_components.code,{children:`samplingRate`}),`, `,_jsx(_components.code,{children:`lastRunAt`}),`, `,_jsx(_components.code,{children:`queryFilter`}),`, `,_jsx(_components.code,{children:`createdAt`}),`, `,_jsx(_components.code,{children:`updatedAt`}),`, `,_jsx(_components.code,{children:`deletedAt`}),`, `,_jsx(_components.code,{children:`runContinuously`}),`, `,_jsx(_components.code,{children:`tracingEnabled`}),`, `,_jsx(_components.code,{children:`experimentIds`}),`, `,_jsx(_components.code,{children:`hasUnavailableEvaluatorIntegration`}),`.`]}),_jsxs(_components.p,{children:[`Object fields (select subfields): `,_jsx(_components.code,{children:`model`}),`, `,_jsx(_components.code,{children:`multiSpanQuery`}),`, `,_jsx(_components.code,{children:`createdBy`}),`, `,_jsx(_components.code,{children:`llmConfig`}),`, `,_jsx(_components.code,{children:`taskConfig`}),`, `,_jsx(_components.code,{children:`evaluators`}),`, `,_jsx(_components.code,{children:`onlineTaskEvaluators`}),`, `,_jsx(_components.code,{children:`allEvaluatorConfigs`}),`, `,_jsx(_components.code,{children:`taskRuns`}),`, `,_jsx(_components.code,{children:`experiments`}),`, `,_jsx(_components.code,{children:`dataset`}),`, `,_jsx(_components.code,{children:`postProcessingSteps`}),`.`]})]})}),`\n`,_jsx(Heading,{level:`4`,id:`example-13`,children:`Example`}),`\n`,_jsxs(_components.p,{children:[`Only required input fields are shown. Replace `,_jsx(_components.code,{children:`\u003cID>`}),` and `,_jsx(_components.code,{children:`\u003cstring>`}),` placeholders with real values; the `,_jsx(_components.a,{href:`/ax/graphql-reference/queries/object-graph`,children:`object graph`}),` page shows how to look IDs up.`]}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Mutation`,numberOfLines:`5`,language:`graphql`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default github-dark-default`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0d1117`,color:`#1f2328`,\"--shiki-dark\":`#e6edf3`},language:`graphql`,children:_jsxs(_components.code,{language:`graphql`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#FF7B72`},children:`mutation`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#D2A8FF`},children:` CreatePromptOptimizationTask`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:`$input`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#79C0FF`},children:`CreatePromptOptimizationTaskMutationInput`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#FF7B72`},children:`!`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:` createPromptOptimizationTask`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:`input`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`: `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:`$input`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:` promptOptimizationTask`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:` { `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:`id`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:` name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Variables`,numberOfLines:`22`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default github-dark-default`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0d1117`,color:`#1f2328`,\"--shiki-dark\":`#e6edf3`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`22`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#7EE787`},children:` \"input\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#7EE787`},children:` \"datasetId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#A5D6FF`},children:`\"\u003cID>\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#7EE787`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#A5D6FF`},children:`\"\u003cstring>\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#7EE787`},children:` \"runContinuously\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#79C0FF`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#7EE787`},children:` \"llmConfig\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#7EE787`},children:` \"integrationId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#A5D6FF`},children:`\"\u003cID>\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#7EE787`},children:` \"modelName\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#A5D6FF`},children:`\"\u003cstring>\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#7EE787`},children:` \"invocationParameters\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#A5D6FF`},children:`\"\u003cJSONObject>\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#7EE787`},children:` \"providerParameters\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#A5D6FF`},children:`\"\u003cJSONObject>\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#7EE787`},children:` \"promptOptimizationConfig\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#7EE787`},children:` \"userInstructions\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#A5D6FF`},children:`\"\u003cstring>\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#7EE787`},children:` \"outputColumn\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#A5D6FF`},children:`\"\u003cstring>\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#7EE787`},children:` \"feedbackColumns\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#A5D6FF`},children:` \"\u003cstring>\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#7EE787`},children:` \"batchSize\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#79C0FF`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#7EE787`},children:` \"promptId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#A5D6FF`},children:`\"\u003cID>\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`}`})}),`\n`]})})})]}),`\n`,_jsx(Heading,{level:`3`,id:`patchpromptoptimizationtask`,children:`patchPromptOptimizationTask`}),`\n`,_jsx(_components.p,{children:_jsx(_components.code,{children:`patchPromptOptimizationTask(input: PatchPromptOptimizationTaskMutationInput!): PatchPromptOptimizationTaskMutationPayload`})}),`\n`,_jsx(Heading,{level:`4`,id:`arguments-14`,children:`Arguments`}),`\n`,_jsx(ParamField,{body:`input`,type:`PatchPromptOptimizationTaskMutationInput!`,required:true,id:`param-input-14`,children:_jsxs(Expandable,{title:`PatchPromptOptimizationTaskMutationInput fields`,children:[_jsx(ParamField,{body:`onlineTaskId`,type:`ID!`,required:true,id:`param-online-task-id-4`,children:_jsx(_components.p,{children:`The online task id for the eval task to be patched`})}),_jsx(ParamField,{body:`datasetId`,type:`ID`,id:`param-dataset-id-5`,children:_jsx(_components.p,{children:`The dataset id for the dataset to be evaluated`})}),_jsx(ParamField,{body:`name`,type:`String`,id:`param-name-23`,children:_jsx(_components.p,{children:`The name of the online task`})}),_jsx(ParamField,{body:`runContinuously`,type:`Boolean`,id:`param-run-continuously-4`,children:_jsx(_components.p,{children:`Whether the online task runs continuously`})}),_jsxs(ParamField,{body:`llmConfig`,type:`OnlineTaskLLMConfigInput`,id:`param-llm-config-8`,children:[_jsx(_components.p,{children:`The LLM config for the online task`}),_jsxs(Expandable,{title:`OnlineTaskLLMConfigInput fields`,children:[_jsx(ParamField,{body:`integrationId`,type:`ID!`,required:true,id:`param-integration-id-9`,children:_jsx(_components.p,{children:`The selected named LLM integration id (relay global id). If provided, server will use its configuration.`})}),_jsx(ParamField,{body:`modelName`,type:`String!`,required:true,id:`param-model-name-10`,children:_jsx(_components.p,{children:`The LLM model`})}),_jsx(ParamField,{body:`invocationParameters`,type:`JSONObject!`,required:true,id:`param-invocation-parameters-8`,children:_jsx(_components.p,{children:`parameters used when running the Llm`})}),_jsx(ParamField,{body:`providerParameters`,type:`JSONObject!`,required:true,id:`param-provider-parameters-8`,children:_jsx(_components.p,{children:`parameters used to initialize the Llm`})}),_jsx(ParamField,{body:`temperature`,type:`Float`,id:`param-temperature-4`,children:_jsx(_components.p,{children:`The temperature of the LLM config`})}),_jsx(ParamField,{body:`provider`,type:`LLMIntegrationProvider`,id:`param-provider-5`,children:_jsxs(_components.p,{children:[`The LLM provider One of: `,_jsx(_components.code,{children:`openAI`}),`, `,_jsx(_components.code,{children:`anthropic`}),`, `,_jsx(_components.code,{children:`awsBedrock`}),`, `,_jsx(_components.code,{children:`azureOpenAI`}),`, `,_jsx(_components.code,{children:`vertexAI`}),`, `,_jsx(_components.code,{children:`custom`}),`, `,_jsx(_components.code,{children:`nvidiaNim`}),`, `,_jsx(_components.code,{children:`gemini`}),`, `,_jsx(_components.code,{children:`litellm`}),`, `,_jsx(_components.code,{children:`fireworks`}),`, `,_jsx(_components.code,{children:`togetherAi`}),`, `,_jsx(_components.code,{children:`cursor`}),`, `,_jsx(_components.code,{children:`typeSafeAi`}),`.`]})}),_jsx(ParamField,{body:`deploymentName`,type:`String`,id:`param-deployment-name-4`,children:_jsx(_components.p,{children:`The deployment name of the LLM config. Required for azure openai provider`})}),_jsx(ParamField,{body:`apiVersion`,type:`String`,id:`param-api-version-4`,children:_jsx(_components.p,{children:`The api version of the LLM config. Required for azure openai provider`})}),_jsx(ParamField,{body:`apiEndpoint`,type:`String`,id:`param-api-endpoint-4`,children:_jsx(_components.p,{children:`The api endpoint of the LLM config. Required for azure openai provider`})}),_jsx(ParamField,{body:`region`,type:`String`,id:`param-region-4`,children:_jsx(_components.p,{children:`The region of the LLM config`})}),_jsx(ParamField,{body:`maxTokens`,type:`Float`,id:`param-max-tokens-4`,children:_jsx(_components.p,{children:`The max tokens of the LLM config`})}),_jsx(ParamField,{body:`maxCompletionTokens`,type:`Float`,id:`param-max-completion-tokens-4`,children:_jsx(_components.p,{children:`The max completion tokens of the LLM config`})}),_jsx(ParamField,{body:`topP`,type:`Float`,id:`param-top-p-4`,children:_jsx(_components.p,{children:`The top P of the LLM config`})}),_jsx(ParamField,{body:`topK`,type:`Float`,id:`param-top-k-4`,children:_jsx(_components.p,{children:`The top K of the LLM config`})}),_jsx(ParamField,{body:`stop`,type:`[String!]`,id:`param-stop-4`,children:_jsx(_components.p,{children:`The stop associated with the config`})}),_jsx(ParamField,{body:`customModelEndpointId`,type:`String`,id:`param-custom-model-endpoint-id-4`,children:_jsx(_components.p,{children:`The id of the Custom Model Endpoint. Required if provider is custom.`})})]})]}),_jsxs(ParamField,{body:`promptOptimizationConfig`,type:`PromptOptimizationConfigInput`,id:`param-prompt-optimization-config-1`,children:[_jsx(_components.p,{children:`The prompt optimization config`}),_jsxs(Expandable,{title:`PromptOptimizationConfigInput fields`,children:[_jsx(ParamField,{body:`userInstructions`,type:`String!`,required:true,id:`param-user-instructions-1`,children:_jsx(_components.p,{children:`The user instructions for the config`})}),_jsx(ParamField,{body:`outputColumn`,type:`String!`,required:true,id:`param-output-column-1`,children:_jsx(_components.p,{children:`The output column for the config`})}),_jsx(ParamField,{body:`feedbackColumns`,type:`[String!]!`,required:true,id:`param-feedback-columns-1`,children:_jsx(_components.p,{children:`The feedback columns for the config`})}),_jsx(ParamField,{body:`batchSize`,type:`Int!`,required:true,id:`param-batch-size-1`,children:_jsx(_components.p,{children:`The batch size for the config`})}),_jsx(ParamField,{body:`promptId`,type:`ID!`,required:true,id:`param-prompt-id-1`,children:_jsx(_components.p,{children:`The prompt id for the config`})})]})]}),_jsx(ParamField,{body:`tracingEnabled`,type:`Boolean`,id:`param-tracing-enabled-3`,children:_jsx(_components.p,{children:`Whether tracing is enabled for the online task`})}),_jsx(ParamField,{body:`clientMutationId`,type:`String`,id:`param-client-mutation-id-13`})]})}),`\n`,_jsx(Heading,{level:`4`,id:`returns-14`,children:`Returns`}),`\n`,_jsx(ResponseField,{name:`promptOptimizationTask`,type:`OnlineTask!`,id:`param-prompt-optimization-task-1`,children:_jsxs(Expandable,{title:`OnlineTask fields`,children:[_jsxs(_components.p,{children:[`Scalar fields: `,_jsx(_components.code,{children:`id`}),`, `,_jsx(_components.code,{children:`taskType`}),`, `,_jsx(_components.code,{children:`name`}),`, `,_jsx(_components.code,{children:`samplingRate`}),`, `,_jsx(_components.code,{children:`lastRunAt`}),`, `,_jsx(_components.code,{children:`queryFilter`}),`, `,_jsx(_components.code,{children:`createdAt`}),`, `,_jsx(_components.code,{children:`updatedAt`}),`, `,_jsx(_components.code,{children:`deletedAt`}),`, `,_jsx(_components.code,{children:`runContinuously`}),`, `,_jsx(_components.code,{children:`tracingEnabled`}),`, `,_jsx(_components.code,{children:`experimentIds`}),`, `,_jsx(_components.code,{children:`hasUnavailableEvaluatorIntegration`}),`.`]}),_jsxs(_components.p,{children:[`Object fields (select subfields): `,_jsx(_components.code,{children:`model`}),`, `,_jsx(_components.code,{children:`multiSpanQuery`}),`, `,_jsx(_components.code,{children:`createdBy`}),`, `,_jsx(_components.code,{children:`llmConfig`}),`, `,_jsx(_components.code,{children:`taskConfig`}),`, `,_jsx(_components.code,{children:`evaluators`}),`, `,_jsx(_components.code,{children:`onlineTaskEvaluators`}),`, `,_jsx(_components.code,{children:`allEvaluatorConfigs`}),`, `,_jsx(_components.code,{children:`taskRuns`}),`, `,_jsx(_components.code,{children:`experiments`}),`, `,_jsx(_components.code,{children:`dataset`}),`, `,_jsx(_components.code,{children:`postProcessingSteps`}),`.`]})]})}),`\n`,_jsx(Heading,{level:`4`,id:`example-14`,children:`Example`}),`\n`,_jsxs(_components.p,{children:[`Only required input fields are shown. Replace `,_jsx(_components.code,{children:`\u003cID>`}),` and `,_jsx(_components.code,{children:`\u003cstring>`}),` placeholders with real values; the `,_jsx(_components.a,{href:`/ax/graphql-reference/queries/object-graph`,children:`object graph`}),` page shows how to look IDs up.`]}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Mutation`,numberOfLines:`5`,language:`graphql`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default github-dark-default`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0d1117`,color:`#1f2328`,\"--shiki-dark\":`#e6edf3`},language:`graphql`,children:_jsxs(_components.code,{language:`graphql`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#FF7B72`},children:`mutation`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#D2A8FF`},children:` PatchPromptOptimizationTask`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:`$input`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#79C0FF`},children:`PatchPromptOptimizationTaskMutationInput`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#FF7B72`},children:`!`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:` patchPromptOptimizationTask`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:`input`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`: `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:`$input`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:` promptOptimizationTask`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:` { `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:`id`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#FFA657`},children:` name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Variables`,numberOfLines:`5`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default github-dark-default`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0d1117`,color:`#1f2328`,\"--shiki-dark\":`#e6edf3`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#7EE787`},children:` \"input\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#7EE787`},children:` \"onlineTaskId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#A5D6FF`},children:`\"\u003cID>\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#E6EDF3`},children:`}`})}),`\n`]})})})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":{"theme":{"light":"github-light-default","dark":"github-dark-default"}},"config":{},"pageMetadata":{"title":"Evaluator and task mutations","description":"Create evaluators and run online eval, experiment and prompt optimization tasks. Arguments, return types and a validated example for each of the 14 mutations.","keywords":["graphql","evaluators","online tasks","eval task","experiment task","prompt optimization","eval hub"],"href":"/ax/graphql-reference/mutations/evaluators-and-tasks"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Mutations in this page","slug":"mutations-in-this-page","depth":2,"children":[]},{"title":"Reference","slug":"reference","depth":2,"children":[{"title":"createEvaluator","slug":"createevaluator","depth":3,"children":[]},{"title":"Arguments","slug":"arguments","depth":4,"children":[]},{"title":"Returns","slug":"returns","depth":4,"children":[]},{"title":"Example","slug":"example","depth":4,"children":[]},{"title":"createEvaluatorVersion","slug":"createevaluatorversion","depth":3,"children":[]},{"title":"Arguments","slug":"arguments-2","depth":4,"children":[]},{"title":"Returns","slug":"returns-2","depth":4,"children":[]},{"title":"Example","slug":"example-2","depth":4,"children":[]},{"title":"editEvaluator","slug":"editevaluator","depth":3,"children":[]},{"title":"Arguments","slug":"arguments-3","depth":4,"children":[]},{"title":"Returns","slug":"returns-3","depth":4,"children":[]},{"title":"Example","slug":"example-3","depth":4,"children":[]},{"title":"deleteEvaluator","slug":"deleteevaluator","depth":3,"children":[]},{"title":"Arguments","slug":"arguments-4","depth":4,"children":[]},{"title":"Returns","slug":"returns-4","depth":4,"children":[]},{"title":"Example","slug":"example-4","depth":4,"children":[]},{"title":"createEvalTask","slug":"createevaltask","depth":3,"children":[]},{"title":"Arguments","slug":"arguments-5","depth":4,"children":[]},{"title":"Returns","slug":"returns-5","depth":4,"children":[]},{"title":"Example","slug":"example-5","depth":4,"children":[]},{"title":"patchEvalTask","slug":"patchevaltask","depth":3,"children":[]},{"title":"Arguments","slug":"arguments-6","depth":4,"children":[]},{"title":"Returns","slug":"returns-6","depth":4,"children":[]},{"title":"Example","slug":"example-6","depth":4,"children":[]},{"title":"patchEvalTaskWithEvalHub","slug":"patchevaltaskwithevalhub","depth":3,"children":[]},{"title":"Arguments","slug":"arguments-7","depth":4,"children":[]},{"title":"Returns","slug":"returns-7","depth":4,"children":[]},{"title":"Example","slug":"example-7","depth":4,"children":[]},{"title":"migrateTaskToEvalHub","slug":"migratetasktoevalhub","depth":3,"children":[]},{"title":"Arguments","slug":"arguments-8","depth":4,"children":[]},{"title":"Returns","slug":"returns-8","depth":4,"children":[]},{"title":"Example","slug":"example-8","depth":4,"children":[]},{"title":"runOnlineTask","slug":"runonlinetask","depth":3,"children":[]},{"title":"Arguments","slug":"arguments-9","depth":4,"children":[]},{"title":"Returns","slug":"returns-9","depth":4,"children":[]},{"title":"Example","slug":"example-9","depth":4,"children":[]},{"title":"cancelOnlineTaskRun","slug":"cancelonlinetaskrun","depth":3,"children":[]},{"title":"Arguments","slug":"arguments-10","depth":4,"children":[]},{"title":"Returns","slug":"returns-10","depth":4,"children":[]},{"title":"Example","slug":"example-10","depth":4,"children":[]},{"title":"deleteOnlineTask","slug":"deleteonlinetask","depth":3,"children":[]},{"title":"Arguments","slug":"arguments-11","depth":4,"children":[]},{"title":"Returns","slug":"returns-11","depth":4,"children":[]},{"title":"Example","slug":"example-11","depth":4,"children":[]},{"title":"runExperimentTask","slug":"runexperimenttask","depth":3,"children":[]},{"title":"Arguments","slug":"arguments-12","depth":4,"children":[]},{"title":"Returns","slug":"returns-12","depth":4,"children":[]},{"title":"Example","slug":"example-12","depth":4,"children":[]},{"title":"createPromptOptimizationTask","slug":"createpromptoptimizationtask","depth":3,"children":[]},{"title":"Arguments","slug":"arguments-13","depth":4,"children":[]},{"title":"Returns","slug":"returns-13","depth":4,"children":[]},{"title":"Example","slug":"example-13","depth":4,"children":[]},{"title":"patchPromptOptimizationTask","slug":"patchpromptoptimizationtask","depth":3,"children":[]},{"title":"Arguments","slug":"arguments-14","depth":4,"children":[]},{"title":"Returns","slug":"returns-14","depth":4,"children":[]},{"title":"Example","slug":"example-14","depth":4,"children":[]}]}],"codeExamples":{}},"jsLinks":["/docs/_mintlify/custom/arize-ax/6a30b7a67da02161/analytics.js","/docs/_mintlify/custom/arize-ax/67a4d27b62fababa/product-selector.js"],"subdomain":"arize-ax","siteName":"Arize AX Docs","title":"Evaluator and task mutations - Arize AX Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-07T18:39:15.050Z","originalFileLocation":"ax/graphql-reference/mutations/evaluators-and-tasks.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Create evaluators and run online eval, experiment and prompt optimization tasks. Arguments, return types and a validated example for each of the 14 mutations.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Arize AX Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/arize-ax/vxzD83QsbAzzm43O/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/arize-ax/vxzD83QsbAzzm43O/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/arize-ax/vxzD83QsbAzzm43O/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/arize-ax/vxzD83QsbAzzm43O/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/arize-ax/vxzD83QsbAzzm43O/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/arize-ax/vxzD83QsbAzzm43O/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/arize-ax/vxzD83QsbAzzm43O/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/arize-ax/vxzD83QsbAzzm43O/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/arize-ax/vxzD83QsbAzzm43O/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Evaluator and task mutations - Arize AX Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create evaluators and run online eval, experiment and prompt optimization tasks. Arguments, return types and a validated example for each of the 14 mutations.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Arize AX Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://arize.com/docs/ax/graphql-reference/mutations/evaluators-and-tasks\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://arize-ax.mintlify.site/docs/_mintlify/api/og/v2?division=Mutation+reference\u0026amp;title=Evaluator+and+task+mutations\u0026amp;description=Create+evaluators+and+run+online+eval%2C+experiment+and+prompt+optimization+tasks.+Arguments%2C+return+types+and+a+validated+example+for+each+of+the+14+mutations.\u0026amp;theme=6b2e1c1a14346acb1262754f\u0026amp;signature=09adef6e28acc3e950ea6bde057392e5e3f3c5e87e2c5183448bd5e16471f13e\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Evaluator and task mutations - Arize AX Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create evaluators and run online eval, experiment and prompt optimization tasks. Arguments, return types and a validated example for each of the 14 mutations.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://arize-ax.mintlify.site/docs/_mintlify/api/og/v2?division=Mutation+reference\u0026amp;title=Evaluator+and+task+mutations\u0026amp;description=Create+evaluators+and+run+online+eval%2C+experiment+and+prompt+optimization+tasks.+Arguments%2C+return+types+and+a+validated+example+for+each+of+the+14+mutations.\u0026amp;theme=6b2e1c1a14346acb1262754f\u0026amp;signature=09adef6e28acc3e950ea6bde057392e5e3f3c5e87e2c5183448bd5e16471f13e\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/arize-ax/vxzD83QsbAzzm43O/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Arize AX Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#7A0047\">\u003clink data-mint-head rel=\"canonical\" href=\"https://arize.com/docs/ax/graphql-reference/mutations/evaluators-and-tasks\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/ax/graphql-reference/mutations/evaluators-and-tasks.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://arize.com/#organization\",\"name\":\"Arize AX Docs\",\"url\":\"https://arize.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/arize-ax/V-uvingrGLOCK4VD/logo/light.svg?fit=max\u0026auto=format\u0026n=V-uvingrGLOCK4VD\u0026q=85\u0026s=cc58ee9388d5b5253d39b65cc662908f\"}},{\"@type\":\"WebSite\",\"@id\":\"https://arize.com/docs#website\",\"name\":\"Arize AX Docs\",\"url\":\"https://arize.com/docs\",\"publisher\":{\"@id\":\"https://arize.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://arize.com/docs/ax/graphql-reference/mutations/evaluators-and-tasks#webpage\",\"url\":\"https://arize.com/docs/ax/graphql-reference/mutations/evaluators-and-tasks\",\"name\":\"Evaluator and task mutations\",\"description\":\"Create evaluators and run online eval, experiment and prompt optimization tasks. Arguments, return types and a validated example for each of the 14 mutations.\",\"dateModified\":\"2026-10-07T18:39:15.050Z\",\"isPartOf\":{\"@id\":\"https://arize.com/docs#website\"},\"breadcrumb\":{\"@id\":\"https://arize.com/docs/ax/graphql-reference/mutations/evaluators-and-tasks#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://arize.com/docs/ax/graphql-reference/mutations/evaluators-and-tasks#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API reference\",\"item\":\"https://arize.com/docs/ax/rest-reference/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"GraphQL\",\"item\":\"https://arize.com/docs/ax/graphql-reference\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Mutation reference\",\"item\":\"https://arize.com/docs/ax/graphql-reference/mutations/index\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Evaluator and task mutations\",\"item\":\"https://arize.com/docs/ax/graphql-reference/mutations/evaluators-and-tasks\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://arize.com/docs/ax/graphql-reference/mutations/evaluators-and-tasks#article\",\"headline\":\"Evaluator and task mutations\",\"name\":\"Evaluator and task mutations\",\"description\":\"Create evaluators and run online eval, experiment and prompt optimization tasks. Arguments, return types and a validated example for each of the 14 mutations.\",\"url\":\"https://arize.com/docs/ax/graphql-reference/mutations/evaluators-and-tasks\",\"mainEntityOfPage\":{\"@id\":\"https://arize.com/docs/ax/graphql-reference/mutations/evaluators-and-tasks#webpage\"},\"dateModified\":\"2026-10-07T18:39:15.050Z\",\"keywords\":\"graphql, evaluators, online tasks, eval task, experiment task, prompt optimization, eval hub\",\"publisher\":{\"@id\":\"https://arize.com/#organization\"},\"isPartOf\":{\"@id\":\"https://arize.com/docs#website\"}}]}\u003c/script>","siteName":"Arize AX Docs","nav":{"global":null,"tabs":[{"tab":"Get Started","pages":[{"title":"Get Started","href":"/ax"}]},{"tab":"Guides","pages":[{"title":"Guides","href":"/ax/cookbooks"}]},{"tab":"Integrations","pages":[{"title":"Integrations","href":"/ax/integrations"}]},{"tab":"APIs, SDKs, \u0026 Skills","pages":[{"title":"APIs, SDKs \u0026 Skills","sidebarTitle":"Overview","href":"/api-reference/overview"},{"title":"Choose the right interface for your workload","sidebarTitle":"Choosing an interface","href":"/api-reference/choosing-an-interface"},{"group":"Skills","pages":[{"title":"Skills","sidebarTitle":"Overview","href":"/ax/skills/overview"},{"title":"Install \u0026 authenticate","sidebarTitle":"Install \u0026 authenticate","href":"/ax/skills/install"},{"title":"Skill catalog","sidebarTitle":"Skill catalog","href":"/ax/skills/catalog"}]},{"group":"MCP server","pages":[{"title":"Arize AX MCP Server","sidebarTitle":"Overview","href":"/api-clients/mcp/overview"},{"title":"Connect to the AX MCP Server","sidebarTitle":"Connect your client","href":"/api-clients/mcp/connect"},{"group":"Reference","pages":[{"title":"AX MCP Authentication","sidebarTitle":"Authentication","href":"/api-clients/mcp/authentication"},{"title":"AX MCP Conventions","sidebarTitle":"Conventions","href":"/api-clients/mcp/conventions"},{"title":"AX MCP Endpoints","sidebarTitle":"Endpoints","href":"/api-clients/mcp/endpoints"},{"title":"Arize AX MCP Server FAQ","sidebarTitle":"FAQ","href":"/api-clients/mcp/faq"},{"title":"AX MCP Tool Catalog","sidebarTitle":"Tool catalog","href":"/api-clients/mcp/tool-catalog"}]}]},{"group":"API reference","pages":[{"group":"REST","pages":[{"title":"Arize REST API","sidebarTitle":"Overview","href":"/ax/rest-reference/overview"},{"title":"Error Reference","sidebarTitle":"Errors","href":"/ax/rest-reference/errors"},{"title":"Download OpenAPI Spec","href":"/ax/rest-reference/download-openapi-spec"},{"group":"Endpoints","pages":[{"group":"AI Integrations","pages":[{"title":"List AI integrations","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml get /v2/ai-integrations","href":"/api-reference/ai-integrations/list-ai-integrations"},{"title":"Create an AI integration","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml post /v2/ai-integrations","href":"/api-reference/ai-integrations/create-an-ai-integration"},{"title":"Get an AI integration","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml get /v2/ai-integrations/{integration_id}","href":"/api-reference/ai-integrations/get-an-ai-integration"},{"title":"Delete an AI integration","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml delete /v2/ai-integrations/{integration_id}","href":"/api-reference/ai-integrations/delete-an-ai-integration"},{"title":"Update an AI integration","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml patch /v2/ai-integrations/{integration_id}","href":"/api-reference/ai-integrations/update-an-ai-integration"}]},{"group":"Alignment","pages":[{"title":"List alignment tasks","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml get /v2/alignment-tasks","href":"/api-reference/alignment/list-alignment-tasks"},{"title":"Create alignment task","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml post /v2/alignment-tasks","href":"/api-reference/alignment/create-alignment-task"},{"title":"Get alignment task","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml get /v2/alignment-tasks/{alignment_task_id}","href":"/api-reference/alignment/get-alignment-task"},{"title":"List alignment runs","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml get /v2/alignment-tasks/{alignment_task_id}/runs","href":"/api-reference/alignment/list-alignment-runs"},{"title":"Create alignment run","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml post /v2/alignment-tasks/{alignment_task_id}/runs","href":"/api-reference/alignment/create-alignment-run"}]},{"group":"Annotation Configs","pages":[{"title":"List annotation configs","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml get /v2/annotation-configs","href":"/api-reference/annotation-configs/list-annotation-configs"},{"title":"Create an annotation config","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml post /v2/annotation-configs","href":"/api-reference/annotation-configs/create-an-annotation-config"},{"title":"Get an annotation config","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml get /v2/annotation-configs/{annotation_config_id}","href":"/api-reference/annotation-configs/get-an-annotation-config"},{"title":"Delete an annotation config","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml delete /v2/annotation-configs/{annotation_config_id}","href":"/api-reference/annotation-configs/delete-an-annotation-config"},{"title":"Update an annotation config","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml patch /v2/annotation-configs/{annotation_config_id}","href":"/api-reference/annotation-configs/update-an-annotation-config"},{"title":"List tags on an annotation config","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml get /v2/annotation-configs/{annotation_config_id}/tags","href":"/api-reference/annotation-configs/list-tags-on-an-annotation-config"},{"title":"Attach tags to a annotation config","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml post /v2/annotation-configs/{annotation_config_id}/tags","href":"/api-reference/annotation-configs/attach-tags-to-a-annotation-config"}]},{"group":"Annotation Queues","pages":[{"title":"List annotation queues","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml get /v2/annotation-queues","href":"/api-reference/annotation-queues/list-annotation-queues"},{"title":"Create an annotation queue","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml post /v2/annotation-queues","href":"/api-reference/annotation-queues/create-an-annotation-queue"},{"title":"Get an annotation queue","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml get /v2/annotation-queues/{annotation_queue_id}","href":"/api-reference/annotation-queues/get-an-annotation-queue"},{"title":"Delete an annotation queue","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml delete /v2/annotation-queues/{annotation_queue_id}","href":"/api-reference/annotation-queues/delete-an-annotation-queue"},{"title":"Update an annotation queue","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml patch /v2/annotation-queues/{annotation_queue_id}","href":"/api-reference/annotation-queues/update-an-annotation-queue"},{"title":"List annotation queue records","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml get /v2/annotation-queues/{annotation_queue_id}/records","href":"/api-reference/annotation-queues/list-annotation-queue-records"},{"title":"Create annotation queue records","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml post /v2/annotation-queues/{annotation_queue_id}/records","href":"/api-reference/annotation-queues/create-annotation-queue-records"},{"title":"Delete annotation queue records","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml delete /v2/annotation-queues/{annotation_queue_id}/records","href":"/api-reference/annotation-queues/delete-annotation-queue-records"},{"title":"Annotate a record","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml post /v2/annotation-queues/{annotation_queue_id}/records/{annotation_queue_record_id}/annotate","href":"/api-reference/annotation-queues/annotate-a-record"},{"title":"Assign users to a record","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml post /v2/annotation-queues/{annotation_queue_id}/records/{annotation_queue_record_id}/assign","href":"/api-reference/annotation-queues/assign-users-to-a-record"},{"title":"List tags on an annotation queue","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml get /v2/annotation-queues/{annotation_queue_id}/tags","href":"/api-reference/annotation-queues/list-tags-on-an-annotation-queue"},{"title":"Attach tags to a annotation queue","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml post /v2/annotation-queues/{annotation_queue_id}/tags","href":"/api-reference/annotation-queues/attach-tags-to-a-annotation-queue"}]},{"group":"API Keys","pages":[{"title":"List API keys","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml get /v2/api-keys","href":"/api-reference/api-keys/list-api-keys"},{"title":"Create an API key","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml post /v2/api-keys","href":"/api-reference/api-keys/create-an-api-key"},{"title":"Refresh an API key","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml post /v2/api-keys/{api_key_id}/refresh","href":"/api-reference/api-keys/refresh-an-api-key"},{"title":"Revoke an API key","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml put /v2/api-keys/{api_key_id}/revoke","href":"/api-reference/api-keys/revoke-an-api-key"}]},{"group":"Audit Logs","pages":[{"title":"List audit logs","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml get /v2/audit-logs","href":"/api-reference/audit-logs/list-audit-logs"}]},{"group":"Dashboards","pages":[{"title":"List dashboards","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml get /v2/dashboards","href":"/api-reference/dashboards/list-dashboards"},{"title":"Create a dashboard","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml post /v2/dashboards","href":"/api-reference/dashboards/create-a-dashboard"},{"title":"Get a dashboard","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml get /v2/dashboards/{dashboard_id}","href":"/api-reference/dashboards/get-a-dashboard"},{"title":"List dashboard widgets","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml get /v2/dashboards/{dashboard_id}/widgets","href":"/api-reference/dashboards/list-dashboard-widgets"},{"title":"Get a dashboard widget","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml get /v2/dashboards/{dashboard_id}/widgets/{widget_id}","href":"/api-reference/dashboards/get-a-dashboard-widget"}]},{"group":"Datasets","pages":[{"title":"List datasets","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml get /v2/datasets","href":"/api-reference/datasets/list-datasets"},{"title":"Create a dataset","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml post /v2/datasets","href":"/api-reference/datasets/create-a-dataset"},{"title":"Get a dataset","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml get /v2/datasets/{dataset_id}","href":"/api-reference/datasets/get-a-dataset"},{"title":"Delete a dataset","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml delete /v2/datasets/{dataset_id}","href":"/api-reference/datasets/delete-a-dataset"},{"title":"Update a dataset","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml patch /v2/datasets/{dataset_id}","href":"/api-reference/datasets/update-a-dataset"},{"title":"List dataset examples","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml get /v2/datasets/{dataset_id}/examples","href":"/api-reference/datasets/list-dataset-examples"},{"title":"Add new examples to a dataset","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml post /v2/datasets/{dataset_id}/examples","href":"/api-reference/datasets/add-new-examples-to-a-dataset"},{"title":"Delete dataset examples","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml delete /v2/datasets/{dataset_id}/examples","href":"/api-reference/datasets/delete-dataset-examples"},{"title":"Update existing examples in a dataset","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml patch /v2/datasets/{dataset_id}/examples","href":"/api-reference/datasets/update-existing-examples-in-a-dataset"},{"title":"Annotate a batch of dataset examples","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml post /v2/datasets/{dataset_id}/examples/annotate","href":"/api-reference/datasets/annotate-a-batch-of-dataset-examples"},{"title":"Search dataset examples","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml post /v2/datasets/{dataset_id}/examples/search","href":"/api-reference/datasets/search-dataset-examples"},{"title":"List tags on a dataset","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml get /v2/datasets/{dataset_id}/tags","href":"/api-reference/datasets/list-tags-on-a-dataset"},{"title":"Attach tags to a dataset","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml post /v2/datasets/{dataset_id}/tags","href":"/api-reference/datasets/attach-tags-to-a-dataset"},{"title":"Detach tags from a dataset","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml delete /v2/datasets/{dataset_id}/tags","href":"/api-reference/datasets/detach-tags-from-a-dataset"}]},{"group":"Evaluators","pages":[{"title":"List evaluator templates","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml get /v2/evaluator-templates","href":"/api-reference/evaluators/list-evaluator-templates"},{"title":"Get evaluator version","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml get /v2/evaluator-versions/{version_id}","href":"/api-reference/evaluators/get-evaluator-version"},{"title":"List evaluators","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml get /v2/evaluators","href":"/api-reference/evaluators/list-evaluators"},{"title":"Create evaluator","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml post /v2/evaluators","href":"/api-reference/evaluators/create-evaluator"},{"title":"Get evaluator","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml get /v2/evaluators/{evaluator_id}","href":"/api-reference/evaluators/get-evaluator"},{"title":"Delete evaluator","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml delete /v2/evaluators/{evaluator_id}","href":"/api-reference/evaluators/delete-evaluator"},{"title":"Update evaluator","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml patch /v2/evaluators/{evaluator_id}","href":"/api-reference/evaluators/update-evaluator"},{"title":"List tags on an evaluator","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml get /v2/evaluators/{evaluator_id}/tags","href":"/api-reference/evaluators/list-tags-on-an-evaluator"},{"title":"Attach tags to a evaluator","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml post /v2/evaluators/{evaluator_id}/tags","href":"/api-reference/evaluators/attach-tags-to-a-evaluator"},{"title":"Detach tags from a evaluator","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml delete /v2/evaluators/{evaluator_id}/tags","href":"/api-reference/evaluators/detach-tags-from-a-evaluator"},{"title":"List evaluator versions","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml get /v2/evaluators/{evaluator_id}/versions","href":"/api-reference/evaluators/list-evaluator-versions"},{"title":"Create evaluator version","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml post /v2/evaluators/{evaluator_id}/versions","href":"/api-reference/evaluators/create-evaluator-version"},{"title":"Delete evaluator versions","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml delete /v2/evaluators/{evaluator_id}/versions","href":"/api-reference/evaluators/delete-evaluator-versions"}]},{"group":"Experiments","pages":[{"title":"List experiments","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml get /v2/experiments","href":"/api-reference/experiments/list-experiments"},{"title":"Create an experiment","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml post /v2/experiments","href":"/api-reference/experiments/create-an-experiment"},{"title":"Get an experiment","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml get /v2/experiments/{experiment_id}","href":"/api-reference/experiments/get-an-experiment"},{"title":"Delete an experiment","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml delete /v2/experiments/{experiment_id}","href":"/api-reference/experiments/delete-an-experiment"},{"title":"List experiment runs","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml get /v2/experiments/{experiment_id}/runs","href":"/api-reference/experiments/list-experiment-runs"},{"title":"Append runs to an experiment","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml post /v2/experiments/{experiment_id}/runs","href":"/api-reference/experiments/append-runs-to-an-experiment"},{"title":"Annotate a batch of experiment runs","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml post /v2/experiments/{experiment_id}/runs/annotate","href":"/api-reference/experiments/annotate-a-batch-of-experiment-runs"},{"title":"Search experiment runs","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml post /v2/experiments/{experiment_id}/runs/search","href":"/api-reference/experiments/search-experiment-runs"},{"title":"List tags on an experiment","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml get /v2/experiments/{experiment_id}/tags","href":"/api-reference/experiments/list-tags-on-an-experiment"},{"title":"Attach tags to a experiment","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml post /v2/experiments/{experiment_id}/tags","href":"/api-reference/experiments/attach-tags-to-a-experiment"}]},{"group":"Integrations","pages":[{"title":"List integrations","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml get /v2/integrations","href":"/api-reference/integrations/list-integrations"},{"title":"Create an integration","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml post /v2/integrations","href":"/api-reference/integrations/create-an-integration"},{"title":"Get an integration","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml get /v2/integrations/{integration_id}","href":"/api-reference/integrations/get-an-integration"},{"title":"Delete an integration","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml delete /v2/integrations/{integration_id}","href":"/api-reference/integrations/delete-an-integration"},{"title":"Update an integration","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml patch /v2/integrations/{integration_id}","href":"/api-reference/integrations/update-an-integration"}]},{"group":"Monitors","pages":[{"title":"List monitors","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml get /v2/monitors","href":"/api-reference/monitors/list-monitors"},{"title":"Get a monitor","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml get /v2/monitors/{monitor_id}","href":"/api-reference/monitors/get-a-monitor"},{"title":"List tags on a monitor","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml get /v2/monitors/{monitor_id}/tags","href":"/api-reference/monitors/list-tags-on-a-monitor"},{"title":"Attach tags to a monitor","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml post /v2/monitors/{monitor_id}/tags","href":"/api-reference/monitors/attach-tags-to-a-monitor"},{"title":"Detach tags from a monitor","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml delete /v2/monitors/{monitor_id}/tags","href":"/api-reference/monitors/detach-tags-from-a-monitor"}]},{"group":"Organizations","pages":[{"title":"List organizations","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml get /v2/organizations","href":"/api-reference/organizations/list-organizations"},{"title":"Create an organization","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml post /v2/organizations","href":"/api-reference/organizations/create-an-organization"},{"title":"Get an organization","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml get /v2/organizations/{org_id}","href":"/api-reference/organizations/get-an-organization"},{"title":"Delete an organization","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml delete /v2/organizations/{org_id}","href":"/api-reference/organizations/delete-an-organization"},{"title":"Update an organization","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml patch /v2/organizations/{org_id}","href":"/api-reference/organizations/update-an-organization"},{"title":"Add a user to an organization","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml post /v2/organizations/{org_id}/users","href":"/api-reference/organizations/add-a-user-to-an-organization"},{"title":"Remove a user from an organization","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml delete /v2/organizations/{org_id}/users/{user_id}","href":"/api-reference/organizations/remove-a-user-from-an-organization"}]},{"group":"Projects","pages":[{"title":"List projects","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml get /v2/projects","href":"/api-reference/projects/list-projects"},{"title":"Create a project","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml post /v2/projects","href":"/api-reference/projects/create-a-project"},{"title":"Get a project","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml get /v2/projects/{project_id}","href":"/api-reference/projects/get-a-project"},{"title":"Delete a project","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml delete /v2/projects/{project_id}","href":"/api-reference/projects/delete-a-project"},{"title":"Update a project","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml patch /v2/projects/{project_id}","href":"/api-reference/projects/update-a-project"},{"title":"List tags on a project","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml get /v2/projects/{project_id}/tags","href":"/api-reference/projects/list-tags-on-a-project"},{"title":"Attach tags to a project","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml post /v2/projects/{project_id}/tags","href":"/api-reference/projects/attach-tags-to-a-project"},{"title":"Detach tags from a project","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml delete /v2/projects/{project_id}/tags","href":"/api-reference/projects/detach-tags-from-a-project"}]},{"group":"Prompts","pages":[{"title":"List prompts","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml get /v2/prompts","href":"/api-reference/prompts/list-prompts"},{"title":"Create a prompt","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml post /v2/prompts","href":"/api-reference/prompts/create-a-prompt"},{"title":"Get a prompt","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml get /v2/prompts/{prompt_id}","href":"/api-reference/prompts/get-a-prompt"},{"title":"Delete a prompt","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml delete /v2/prompts/{prompt_id}","href":"/api-reference/prompts/delete-a-prompt"},{"title":"Update a prompt","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml patch /v2/prompts/{prompt_id}","href":"/api-reference/prompts/update-a-prompt"},{"title":"Resolve a label to a prompt version","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml get /v2/prompts/{prompt_id}/labels/{label_name}","href":"/api-reference/prompts/resolve-a-label-to-a-prompt-version"},{"title":"List tags on a prompt","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml get /v2/prompts/{prompt_id}/tags","href":"/api-reference/prompts/list-tags-on-a-prompt"},{"title":"Attach tags to a prompt","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml post /v2/prompts/{prompt_id}/tags","href":"/api-reference/prompts/attach-tags-to-a-prompt"},{"title":"Detach tags from a prompt","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml delete /v2/prompts/{prompt_id}/tags","href":"/api-reference/prompts/detach-tags-from-a-prompt"},{"title":"List prompt versions","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml get /v2/prompts/{prompt_id}/versions","href":"/api-reference/prompts/list-prompt-versions"},{"title":"Create a prompt version","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml post /v2/prompts/{prompt_id}/versions","href":"/api-reference/prompts/create-a-prompt-version"},{"title":"Get a prompt version","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml get /v2/prompt-versions/{version_id}","href":"/api-reference/prompts/get-a-prompt-version"},{"title":"Set labels on a prompt version","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml put /v2/prompt-versions/{version_id}/labels","href":"/api-reference/prompts/set-labels-on-a-prompt-version"},{"title":"Remove a label from a prompt version","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml delete /v2/prompt-versions/{version_id}/labels/{label_name}","href":"/api-reference/prompts/remove-a-label-from-a-prompt-version"}]},{"group":"Resource Restrictions","pages":[{"title":"List resource restrictions the caller is permitted to manage.","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml get /v2/resource-restrictions","href":"/api-reference/resource-restrictions/list-resource-restrictions-the-caller-is-permitted-to-manage"},{"title":"Restrict a resource","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml post /v2/resource-restrictions","href":"/api-reference/resource-restrictions/restrict-a-resource"},{"title":"Unrestrict a resource","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml delete /v2/resource-restrictions/{resource_id}","href":"/api-reference/resource-restrictions/unrestrict-a-resource"}]},{"group":"Role Bindings","pages":[{"title":"List role bindings","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml get /v2/role-bindings","href":"/api-reference/role-bindings/list-role-bindings"},{"title":"Create a role binding","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml post /v2/role-bindings","href":"/api-reference/role-bindings/create-a-role-binding"},{"title":"Get a role binding","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml get /v2/role-bindings/{binding_id}","href":"/api-reference/role-bindings/get-a-role-binding"},{"title":"Delete a role binding","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml delete /v2/role-bindings/{binding_id}","href":"/api-reference/role-bindings/delete-a-role-binding"},{"title":"Update a role binding","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml patch /v2/role-bindings/{binding_id}","href":"/api-reference/role-bindings/update-a-role-binding"}]},{"group":"Roles","pages":[{"title":"List roles","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml get /v2/roles","href":"/api-reference/roles/list-roles"},{"title":"Create a role","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml post /v2/roles","href":"/api-reference/roles/create-a-role"},{"title":"Get a role","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml get /v2/roles/{role_id}","href":"/api-reference/roles/get-a-role"},{"title":"Delete a role","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml delete /v2/roles/{role_id}","href":"/api-reference/roles/delete-a-role"},{"title":"Update a role","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml patch /v2/roles/{role_id}","href":"/api-reference/roles/update-a-role"}]},{"group":"SAML","pages":[{"title":"List SAML identity providers","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml get /v2/saml-identity-providers","href":"/api-reference/saml/list-saml-identity-providers"},{"title":"Create a SAML identity provider","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml post /v2/saml-identity-providers","href":"/api-reference/saml/create-a-saml-identity-provider"},{"title":"Get a SAML identity provider","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml get /v2/saml-identity-providers/{idp_id}","href":"/api-reference/saml/get-a-saml-identity-provider"},{"title":"Remove a SAML identity provider","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml delete /v2/saml-identity-providers/{idp_id}","href":"/api-reference/saml/remove-a-saml-identity-provider"},{"title":"Update supplied SAML configuration fields","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml patch /v2/saml-identity-providers/{idp_id}","href":"/api-reference/saml/update-supplied-saml-configuration-fields"},{"title":"List SAML role mappings","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml get /v2/saml-identity-providers/{idp_id}/role-mappings","href":"/api-reference/saml/list-saml-role-mappings"},{"title":"Add a SAML role mapping","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml post /v2/saml-identity-providers/{idp_id}/role-mappings","href":"/api-reference/saml/add-a-saml-role-mapping"},{"title":"Remove a SAML role mapping","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml delete /v2/saml-identity-providers/{idp_id}/role-mappings/{mapping_id}","href":"/api-reference/saml/remove-a-saml-role-mapping"},{"title":"Update supplied mapping fields","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml patch /v2/saml-identity-providers/{idp_id}/role-mappings/{mapping_id}","href":"/api-reference/saml/update-supplied-mapping-fields"}]},{"group":"Spaces","pages":[{"title":"List spaces","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml get /v2/spaces","href":"/api-reference/spaces/list-spaces"},{"title":"Create a space","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml post /v2/spaces","href":"/api-reference/spaces/create-a-space"},{"title":"Get a space","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml get /v2/spaces/{space_id}","href":"/api-reference/spaces/get-a-space"},{"title":"Delete a space","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml delete /v2/spaces/{space_id}","href":"/api-reference/spaces/delete-a-space"},{"title":"Update a space","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml patch /v2/spaces/{space_id}","href":"/api-reference/spaces/update-a-space"},{"title":"Add a user to a space","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml post /v2/spaces/{space_id}/users","href":"/api-reference/spaces/add-a-user-to-a-space"},{"title":"Remove a user from a space","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml delete /v2/spaces/{space_id}/users/{user_id}","href":"/api-reference/spaces/remove-a-user-from-a-space"}]},{"group":"Spans","pages":[{"title":"List spans","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml post /v2/spans","href":"/api-reference/spans/list-spans"},{"title":"Delete spans","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml delete /v2/spans","href":"/api-reference/spans/delete-spans"},{"title":"Annotate a batch of project spans","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml post /v2/spans/annotate","href":"/api-reference/spans/annotate-a-batch-of-project-spans"}]},{"group":"Tags","pages":[{"title":"Create a tag","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml post /v2/tags","href":"/api-reference/tags/create-a-tag"},{"title":"Delete a tag","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml delete /v2/tags/{tag_id}","href":"/api-reference/tags/delete-a-tag"},{"title":"Update a tag","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml patch /v2/tags/{tag_id}","href":"/api-reference/tags/update-a-tag"}]},{"group":"Tasks","pages":[{"title":"List tasks","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml get /v2/tasks","href":"/api-reference/tasks/list-tasks"},{"title":"Create task","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml post /v2/tasks","href":"/api-reference/tasks/create-task"},{"title":"Get task","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml get /v2/tasks/{task_id}","href":"/api-reference/tasks/get-task"},{"title":"Delete task","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml delete /v2/tasks/{task_id}","href":"/api-reference/tasks/delete-task"},{"title":"Update task","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml patch /v2/tasks/{task_id}","href":"/api-reference/tasks/update-task"},{"title":"List task runs","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml get /v2/tasks/{task_id}/runs","href":"/api-reference/tasks/list-task-runs"},{"title":"Trigger a task run","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml post /v2/tasks/{task_id}/trigger","href":"/api-reference/tasks/trigger-a-task-run"},{"title":"Get task run","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml get /v2/task-runs/{run_id}","href":"/api-reference/tasks/get-task-run"},{"title":"Cancel task run","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml post /v2/task-runs/{run_id}/cancel","href":"/api-reference/tasks/cancel-task-run"}]},{"group":"Traces","pages":[{"title":"List traces","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml post /v2/traces","href":"/api-reference/traces/list-traces"}]},{"group":"Users","pages":[{"title":"List users","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml get /v2/users","href":"/api-reference/users/list-users"},{"title":"Create a user","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml post /v2/users","href":"/api-reference/users/create-a-user"},{"title":"Get a user","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml get /v2/users/{user_id}","href":"/api-reference/users/get-a-user"},{"title":"Delete a user","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml delete /v2/users/{user_id}","href":"/api-reference/users/delete-a-user"},{"title":"Update a user","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml patch /v2/users/{user_id}","href":"/api-reference/users/update-a-user"},{"title":"Resend a user invitation","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml post /v2/users/{user_id}/resend-invitation","href":"/api-reference/users/resend-a-user-invitation"},{"title":"Trigger a password-reset email for a user","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml post /v2/users/{user_id}/reset-password","href":"/api-reference/users/trigger-a-password-reset-email-for-a-user"}]},{"group":"Webhooks","pages":[{"title":"List webhook subscriptions","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml get /v2/webhook-subscriptions","href":"/api-reference/webhooks/list-webhook-subscriptions"},{"title":"Create a webhook subscription","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml post /v2/webhook-subscriptions","href":"/api-reference/webhooks/create-a-webhook-subscription"},{"title":"Get a webhook subscription","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml get /v2/webhook-subscriptions/{subscription_id}","href":"/api-reference/webhooks/get-a-webhook-subscription"},{"title":"Delete a webhook subscription","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml delete /v2/webhook-subscriptions/{subscription_id}","href":"/api-reference/webhooks/delete-a-webhook-subscription"},{"title":"List webhooks","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml get /v2/webhooks","href":"/api-reference/webhooks/list-webhooks"},{"title":"Create a webhook","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml post /v2/webhooks","href":"/api-reference/webhooks/create-a-webhook"},{"title":"Get a webhook","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml get /v2/webhooks/{webhook_id}","href":"/api-reference/webhooks/get-a-webhook"},{"title":"Delete a webhook","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml delete /v2/webhooks/{webhook_id}","href":"/api-reference/webhooks/delete-a-webhook"},{"title":"Update a webhook","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml patch /v2/webhooks/{webhook_id}","href":"/api-reference/webhooks/update-a-webhook"},{"title":"List a webhook's delivery attempts","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml get /v2/webhooks/{webhook_id}/delivery-attempts","href":"/api-reference/webhooks/list-a-webhooks-delivery-attempts"},{"title":"Send a test event to a webhook","deprecated":null,"version":null,"openapi":"https://api.arize.com/v2/spec.yaml post /v2/webhooks/{webhook_id}/test","href":"/api-reference/webhooks/send-a-test-event-to-a-webhook"}]}]}]},{"group":"GraphQL","pages":[{"title":"GraphQL API","sidebarTitle":"GraphQL API Overview","href":"/ax/graphql-reference"},{"title":"Getting Started with GraphQL","href":"/ax/graphql-reference/overview/getting-started-with-graphql"},{"title":"API Explorer","href":"/ax/graphql-reference/overview/api-explorer"},{"group":"How to use GraphQL","pages":[{"title":"How to Use GraphQL","sidebarTitle":"Overview","href":"/ax/graphql-reference/overview/how-to-use-graphql"},{"title":"Forming Calls","href":"/ax/graphql-reference/overview/how-to-use-graphql/forming-calls"},{"title":"Using global node IDs","href":"/ax/graphql-reference/overview/how-to-use-graphql/using-global-node-ids"},{"title":"Querying Nested Data","href":"/ax/graphql-reference/overview/how-to-use-graphql/querying-nested-data"},{"title":"Notebook Examples","href":"/ax/graphql-reference/overview/how-to-use-graphql/notebook-examples"},{"title":"Mutations","href":"/ax/graphql-reference/overview/how-to-use-graphql/mutations"}]},{"title":"Resource Limitations","href":"/ax/graphql-reference/overview/resource-limitations"},{"group":"Guides","pages":[{"title":"Managing spaces, keys and SSO with GraphQL","href":"/ax/graphql-reference/guides/admin"},{"title":"Managing monitors with GraphQL","href":"/ax/graphql-reference/guides/monitors"},{"title":"Managing dashboards with GraphQL","href":"/ax/graphql-reference/guides/dashboards"},{"title":"Managing projects and models with GraphQL","href":"/ax/graphql-reference/guides/projects-and-models"},{"title":"Importing data with GraphQL","href":"/ax/graphql-reference/guides/data-import"},{"title":"Managing evaluators and tasks with GraphQL","href":"/ax/graphql-reference/guides/evaluators-and-tasks"},{"title":"Managing datasets and annotations with GraphQL","href":"/ax/graphql-reference/guides/datasets-and-annotations"},{"title":"Managing prompts with GraphQL","href":"/ax/graphql-reference/guides/prompts"},{"title":"Managing LLM integrations with GraphQL","href":"/ax/graphql-reference/guides/llm-integrations"},{"title":"Managed agents and Signal via GraphQL","href":"/ax/graphql-reference/guides/managed-agents-and-signal"}]},{"group":"Mutation reference","pages":[{"title":"All GraphQL mutations","href":"/ax/graphql-reference/mutations/index"},{"title":"Admin mutations","href":"/ax/graphql-reference/mutations/admin"},{"title":"Monitor mutations","href":"/ax/graphql-reference/mutations/monitors"},{"title":"Dashboard mutations","href":"/ax/graphql-reference/mutations/dashboards"},{"title":"Project and model mutations","href":"/ax/graphql-reference/mutations/projects-and-models"},{"title":"Data import mutations","description":"Control file and table import jobs, integration keys and BYOB connectors. Arguments, return types and a validated example for each of the 24 mutations.","href":"/ax/graphql-reference/mutations/data-import"},{"title":"Evaluator and task mutations","href":"/ax/graphql-reference/mutations/evaluators-and-tasks"},{"title":"Dataset and annotation mutations","description":"Tag datasets and experiments, edit examples, and manage annotation queues. Arguments, return types and a validated example for each of the 9 mutations.","href":"/ax/graphql-reference/mutations/datasets-and-annotations"},{"title":"Prompt mutations","href":"/ax/graphql-reference/mutations/prompts"},{"title":"LLM integration mutations","href":"/ax/graphql-reference/mutations/llm-integrations"},{"title":"Managed agent and Signal mutations","href":"/ax/graphql-reference/mutations/managed-agents-and-signal"}]},{"group":"Query reference","pages":[{"title":"Root queries","href":"/ax/graphql-reference/queries/root-queries"},{"title":"Object graph","href":"/ax/graphql-reference/queries/object-graph"}]}]}]},{"group":"API clients","pages":[{"group":"Python SDK","pages":[{"title":"Python SDK","sidebarTitle":"Overview","href":"/api-clients/python/overview"},{"group":"Version 8","pages":[{"title":"Python SDK v8","sidebarTitle":"Overview","href":"/api-clients/python/version-8/overview"},{"group":"Tutorial","pages":[{"title":"Send Traces to Arize AX","href":"/api-clients/python/version-8/tutorial/get-started-tracing-with-arize-sdk"},{"title":"Run and Log Evals to Measure Performance","href":"/api-clients/python/version-8/tutorial/get-started-evaluations-with-arize-sdk"},{"title":"Iterate with Experiments","href":"/api-clients/python/version-8/tutorial/get-started-datasets-experiments-with-arize-sdk"}]},{"title":"OpenTelemetry Tracing","href":"/api-clients/python/version-8/tracing"},{"title":"AI Integrations","href":"/api-clients/python/version-8/client-resources/ai-integrations"},{"title":"Annotation Configs","href":"/api-clients/python/version-8/client-resources/annotation-configs"},{"title":"Annotation Queues","href":"/api-clients/python/version-8/client-resources/annotation-queues"},{"title":"API Keys","href":"/api-clients/python/version-8/client-resources/api-keys"},{"title":"Audit Logs","href":"/api-clients/python/version-8/client-resources/audit-logs"},{"title":"Datasets","href":"/api-clients/python/version-8/client-resources/datasets"},{"title":"Evaluators","href":"/api-clients/python/version-8/client-resources/evaluators"},{"title":"Experiments","href":"/api-clients/python/version-8/client-resources/experiments"},{"title":"Integrations","href":"/api-clients/python/version-8/client-resources/integrations"},{"title":"ML Models","href":"/api-clients/python/version-8/client-resources/ml-models"},{"title":"Organizations","href":"/api-clients/python/version-8/client-resources/organizations"},{"title":"Projects","href":"/api-clients/python/version-8/client-resources/projects"},{"title":"Prompts","href":"/api-clients/python/version-8/client-resources/prompts"},{"title":"Resource Restrictions","href":"/api-clients/python/version-8/client-resources/resource-restrictions"},{"title":"Role Bindings","href":"/api-clients/python/version-8/client-resources/role-bindings"},{"title":"Roles","href":"/api-clients/python/version-8/client-resources/roles"},{"title":"SAML Identity Providers","href":"/api-clients/python/version-8/client-resources/saml-identity-providers"},{"title":"Spaces","href":"/api-clients/python/version-8/client-resources/spaces"},{"title":"Spans","href":"/api-clients/python/version-8/client-resources/spans"},{"title":"Tasks","href":"/api-clients/python/version-8/client-resources/tasks"},{"title":"Traces","href":"/api-clients/python/version-8/client-resources/traces"},{"title":"Users","href":"/api-clients/python/version-8/client-resources/users"},{"title":"Webhooks","href":"/api-clients/python/version-8/client-resources/webhooks"},{"title":"Embeddings","href":"/api-clients/python/version-8/embeddings"},{"title":"Utilities","href":"/api-clients/python/version-8/utils"},{"group":"Migration from v7","pages":[{"title":"Migration Overview","sidebarTitle":"Overview","href":"/api-clients/python/version-8/migration/index"},{"title":"Migrate Pandas Client","sidebarTitle":"Pandas Client","href":"/api-clients/python/version-8/migration/pandas-client"},{"title":"Migrate Stream Client","sidebarTitle":"Stream Client","href":"/api-clients/python/version-8/migration/stream-client"},{"group":"Datasets Client","pages":[{"title":"Migrate Datasets Client","sidebarTitle":"Datasets","href":"/api-clients/python/version-8/migration/datasets-client"},{"title":"Migrate Experiments Client","sidebarTitle":"Experiments","href":"/api-clients/python/version-8/migration/experiments-client"}]},{"title":"Migrate Exporter Client","sidebarTitle":"Exporter","href":"/api-clients/python/version-8/migration/exporter-client"}]}]},{"group":"Version 7","pages":[{"title":"Python SDK v7","sidebarTitle":"Overview","href":"/api-clients/python/version-7/overview"},{"title":"Export Data API","href":"/api-clients/python/version-7/export-data-api"},{"title":"Prompt Hub API","href":"/api-clients/python/version-7/prompt-hub-api"},{"group":"Pandas Batch Logging","pages":[{"title":"Pandas batch logging","sidebarTitle":"Overview","href":"/api-clients/python/version-7/ml-logging/arize-pandas"},{"title":"Client","href":"/api-clients/python/version-7/ml-logging/arize-pandas/client"},{"title":"Log","href":"/api-clients/python/version-7/ml-logging/arize-pandas/log"},{"title":"Schema","href":"/api-clients/python/version-7/ml-logging/arize-pandas/schema"},{"title":"TypedColumns","href":"/api-clients/python/version-7/ml-logging/arize-pandas/typedcolumns"},{"title":"EmbeddingColumnNames","href":"/api-clients/python/version-7/ml-logging/arize-pandas/embeddingcolumnnames"},{"title":"ObjectDetectionColumnNames","href":"/api-clients/python/version-7/ml-logging/arize-pandas/objectdetectioncolumnnames"},{"title":"PromptTemplateColumnNames","href":"/api-clients/python/version-7/ml-logging/arize-pandas/prompttemplatecolumnnames"},{"title":"LLMConfigColumnNames","href":"/api-clients/python/version-7/ml-logging/arize-pandas/llmconfigcolumnnames"},{"title":"LLMRunMetadataColumnNames","href":"/api-clients/python/version-7/ml-logging/arize-pandas/llmrunmetadatacolumnnames"},{"title":"NLP_Metrics","sidebarTitle":"NLPĀ Metrics","href":"/api-clients/python/version-7/ml-logging/arize-pandas/llm-evaluation"},{"title":"AutoEmbeddings","href":"/api-clients/python/version-7/ml-logging/arize-pandas/autoembeddings"},{"title":"Utils.Types.ModelTypes","href":"/api-clients/python/version-7/ml-logging/arize-pandas/utils.types.modeltypes"},{"title":"Utils.Types.Metrics","href":"/api-clients/python/version-7/ml-logging/arize-pandas/utils.types.metrics"},{"title":"Utils.Types.Environments","href":"/api-clients/python/version-7/ml-logging/arize-pandas/utils.types.environments"}]},{"group":"Single Record Logging","pages":[{"title":"Single Record Logging","sidebarTitle":"Overview","href":"/api-clients/python/version-7/ml-logging/arize-log"},{"title":"Client","href":"/api-clients/python/version-7/ml-logging/arize-log/client"},{"title":"Log","href":"/api-clients/python/version-7/ml-logging/arize-log/logpage"},{"title":"TypedValue","href":"/api-clients/python/version-7/ml-logging/arize-log/typedvalue"},{"title":"Ranking","href":"/api-clients/python/version-7/ml-logging/arize-log/ranking"},{"title":"Multi class","href":"/api-clients/python/version-7/ml-logging/arize-log/multi-class"},{"title":"Object detection","href":"/api-clients/python/version-7/ml-logging/arize-log/objectdetection"},{"title":"Embedding","href":"/api-clients/python/version-7/ml-logging/arize-log/embedding"},{"title":"LLMRunMetadata","href":"/api-clients/python/version-7/ml-logging/arize-log/llmrunmetadata"},{"title":"Utils.Types.ModelTypes","href":"/api-clients/python/version-7/ml-logging/arize-log/utils.types.modeltypes"},{"title":"Utils.Types.Metrics","href":"/api-clients/python/version-7/ml-logging/arize-log/utils.types.metrics"},{"title":"Utils.Types.Environments","href":"/api-clients/python/version-7/ml-logging/arize-log/utils.types.environments"}]}]}]},{"group":"TypeScript SDK","pages":[{"group":"Version 1","pages":[{"title":"TypeScript SDK v1","sidebarTitle":"Overview","href":"/api-clients/typescript/version-1/overview"},{"title":"AI Integrations","href":"/api-clients/typescript/version-1/client-resources/ai-integrations"},{"title":"Annotation Configs","href":"/api-clients/typescript/version-1/client-resources/annotation-configs"},{"title":"Annotation Queues","href":"/api-clients/typescript/version-1/client-resources/annotation-queues"},{"title":"API Keys","href":"/api-clients/typescript/version-1/client-resources/api-keys"},{"title":"Audit Logs","href":"/api-clients/typescript/version-1/client-resources/audit-logs"},{"title":"Datasets","href":"/api-clients/typescript/version-1/client-resources/datasets"},{"title":"Evaluators","href":"/api-clients/typescript/version-1/client-resources/evaluators"},{"title":"Experiments","href":"/api-clients/typescript/version-1/client-resources/experiments"},{"title":"Integrations","href":"/api-clients/typescript/version-1/client-resources/integrations"},{"title":"Organizations","href":"/api-clients/typescript/version-1/client-resources/organizations"},{"title":"Projects","href":"/api-clients/typescript/version-1/client-resources/projects"},{"title":"Prompts","href":"/api-clients/typescript/version-1/client-resources/prompts"},{"title":"Resource Restrictions","href":"/api-clients/typescript/version-1/client-resources/resource-restrictions"},{"title":"Role Bindings","href":"/api-clients/typescript/version-1/client-resources/role-bindings"},{"title":"Roles","href":"/api-clients/typescript/version-1/client-resources/roles"},{"title":"Spaces","href":"/api-clients/typescript/version-1/client-resources/spaces"},{"title":"Spans","href":"/api-clients/typescript/version-1/client-resources/spans"},{"title":"Tasks","href":"/api-clients/typescript/version-1/client-resources/tasks"},{"title":"Traces","href":"/api-clients/typescript/version-1/client-resources/traces"},{"title":"Users","href":"/api-clients/typescript/version-1/client-resources/users"},{"title":"Webhooks","href":"/api-clients/typescript/version-1/client-resources/webhooks"}]}]},{"group":"Golang SDK","pages":[{"group":"Version 2","pages":[{"title":"Go SDK v2","sidebarTitle":"Overview","href":"/api-clients/go/version-2/overview"},{"title":"AI Integrations","href":"/api-clients/go/version-2/client-resources/ai-integrations"},{"title":"Annotation Configs","href":"/api-clients/go/version-2/client-resources/annotation-configs"},{"title":"Annotation Queues","href":"/api-clients/go/version-2/client-resources/annotation-queues"},{"title":"API Keys","href":"/api-clients/go/version-2/client-resources/api-keys"},{"title":"Audit Logs","href":"/api-clients/go/version-2/client-resources/audit-logs"},{"title":"Datasets","href":"/api-clients/go/version-2/client-resources/datasets"},{"title":"Evaluators","href":"/api-clients/go/version-2/client-resources/evaluators"},{"title":"Experiments","href":"/api-clients/go/version-2/client-resources/experiments"},{"title":"Integrations","href":"/api-clients/go/version-2/client-resources/integrations"},{"title":"Organizations","href":"/api-clients/go/version-2/client-resources/organizations"},{"title":"Projects","href":"/api-clients/go/version-2/client-resources/projects"},{"title":"Prompts","href":"/api-clients/go/version-2/client-resources/prompts"},{"title":"Resource Restrictions","href":"/api-clients/go/version-2/client-resources/resource-restrictions"},{"title":"Role Bindings","href":"/api-clients/go/version-2/client-resources/role-bindings"},{"title":"Roles","href":"/api-clients/go/version-2/client-resources/roles"},{"title":"Spaces","href":"/api-clients/go/version-2/client-resources/spaces"},{"title":"Spans","href":"/api-clients/go/version-2/client-resources/spans"},{"title":"Tasks","href":"/api-clients/go/version-2/client-resources/tasks"},{"title":"Traces","href":"/api-clients/go/version-2/client-resources/traces"},{"title":"Users","href":"/api-clients/go/version-2/client-resources/users"},{"title":"Webhooks","href":"/api-clients/go/version-2/client-resources/webhooks"}]}]},{"group":"CLI","pages":[{"title":"AX CLI","sidebarTitle":"Overview","href":"/api-clients/cli/overview"},{"title":"AI Integrations","href":"/api-clients/cli/ai-integrations"},{"title":"Annotation Configs","href":"/api-clients/cli/annotation-configs"},{"title":"Annotation Queues","href":"/api-clients/cli/annotation-queues"},{"title":"API Keys","href":"/api-clients/cli/api-keys"},{"title":"Auth","href":"/api-clients/cli/auth"},{"title":"Datasets","href":"/api-clients/cli/datasets"},{"title":"Evaluators","href":"/api-clients/cli/evaluators"},{"title":"Experiments","href":"/api-clients/cli/experiments"},{"title":"Instrument","href":"/api-clients/cli/instrument"},{"title":"Integrations","href":"/api-clients/cli/integrations"},{"title":"Organizations","href":"/api-clients/cli/organizations"},{"title":"Profiles","href":"/api-clients/cli/profiles"},{"title":"Projects","href":"/api-clients/cli/projects"},{"title":"Prompts","href":"/api-clients/cli/prompts"},{"title":"Resource Restrictions","href":"/api-clients/cli/resource-restrictions"},{"title":"Role Bindings","href":"/api-clients/cli/role-bindings"},{"title":"Roles","href":"/api-clients/cli/roles"},{"title":"Skills","href":"/api-clients/cli/skills"},{"title":"Spaces","href":"/api-clients/cli/spaces"},{"title":"Spans","href":"/api-clients/cli/spans"},{"title":"Tasks","href":"/api-clients/cli/tasks"},{"title":"Traces","href":"/api-clients/cli/traces"},{"title":"Upgrade","href":"/api-clients/cli/upgrade"},{"title":"Users","href":"/api-clients/cli/users"},{"title":"Webhooks","href":"/api-clients/cli/webhooks"}]},{"group":"Managed Agents CLI","pages":[{"title":"Managed Agents CLI (ag)","sidebarTitle":"Overview","href":"/api-clients/ag/overview"},{"title":"Sessions","href":"/api-clients/ag/sessions"},{"title":"Presets","href":"/api-clients/ag/presets"},{"title":"Skills","href":"/api-clients/ag/skills"},{"title":"Automations","href":"/api-clients/ag/automations"},{"title":"Signal","href":"/api-clients/ag/signal"}]}]}]},{"tab":"Learn","pages":[{"title":"Learn","href":"/ax/learn"}]},{"tab":"Concepts","pages":[{"title":"Concepts","href":"/ax/concepts/otel-openinference/overview"}]},{"tab":"Self-Hosting","pages":[{"title":"Self-Hosting","href":"/ax/selfhosting"}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/ax/release-notes"}]}]},"basePath":"","title":"Evaluator and task mutations - Arize AX Docs","buildId":"dpl_3pZeXn3XukjzFRgAX73A7GNDfRJ1","deploymentId":"dpl_3pZeXn3XukjzFRgAX73A7GNDfRJ1","dynamics":[],"chunks":[]}