Upsert one test-case result. Idempotent on (run_id, test_case_id).
trace_id may be null now and set on a later call (out-of-order arrival).
scores is genuinely optional and carries three distinct meanings, so the
out-of-order flow (POST the result with its scores, then re-POST later just to
attach the OTel trace_id) cannot destroy them: absent → leave the existing
scores untouched, [] → clear them, non-empty → replace them. Do not give
this a default_factory=list, which would collapse the first two cases.
Every optional field is a partial update: a key the caller omits keeps its
stored value, while an explicit null clears it. Sending scores replaces
the result's scores ([] clears them); omitting it leaves them alone.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"traceroot","colors":{"primary":"#0f172a","light":"#FFFFFF","dark":"#000000"},"logo":{"light":"https://mintcdn.com/tracerootai/w6ZCi-88-jgYww6Q/logo/light.png?fit=max\u0026auto=format\u0026n=w6ZCi-88-jgYww6Q\u0026q=85\u0026s=923b414b9ceb5508b3852e0695a57a7d","dark":"https://mintcdn.com/tracerootai/w6ZCi-88-jgYww6Q/logo/dark.png?fit=max\u0026auto=format\u0026n=w6ZCi-88-jgYww6Q\u0026q=85\u0026s=ef53cb295cc00e48fc76dd371b7e6bbc","href":"https://traceroot.ai"},"favicon":"https://mintcdn.com/tracerootai/spyQTeLHpHTv8unV/logo/favicon.png?fit=max\u0026auto=format\u0026n=spyQTeLHpHTv8unV\u0026q=85\u0026s=5050ccc8990b316a62ef037190ee65e3","navbar":{"links":[{"href":"https://github.com/traceroot-ai/traceroot/tree/main/examples","label":"Examples"},{"href":"https://app.traceroot.ai","label":"traceroot Cloud"},{"icon":"discord","href":"https://discord.gg/TM2m3CtKuC","label":"Discord"}],"primary":{"type":"github","label":"Github","href":"https://github.com/traceroot-ai/traceroot"}},"footer":{"socials":{"github":"https://github.com/traceroot-ai","x":"https://x.com/TraceRootAI","linkedin":"https://www.linkedin.com/company/traceroot-ai","discord":"https://discord.gg/TM2m3CtKuC"}},"search":{},"fonts":{"heading":{"family":"Inter"},"body":{"family":"Inter"}},"integrations":{"posthog":{"apiKey":"phc_X8eeQUsyMb7bk5sw0msmN8ARBxurlVyQxC0uvHVul7C","apiHost":"https://us.i.posthog.com"}},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"thumbnails":{"appearance":"light","background":"https://mintcdn.com/tracerootai/w6ZCi-88-jgYww6Q/images/og-background.png?fit=max\u0026auto=format\u0026n=w6ZCi-88-jgYww6Q\u0026q=85\u0026s=659b20de18b6b429609af39183e06e79"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"tracerootai","hasAudioNarration":false,"actualSubdomain":"tracerootai","customDomains":["traceroot.ai"],"gitSource":{"type":"github","owner":"traceroot-ai","repo":"traceroot","deployBranch":"main","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6aed09b8176e2ff210e31c31","clientVersion":"0.0.4087","searchFilterCounts":[{"language":"default","tag":"API Reference","count":58},{"language":"default","tag":"Endpoints","count":57},{"language":"default","tag":"Documentation","count":36},{"language":"default","tag":"Integrations","count":26},{"language":"default","tag":"Frameworks","count":15},{"language":"default","tag":"Features","count":13},{"language":"default","tag":"Tracing","count":12},{"language":"default","tag":"Offline Eval","count":10},{"language":"default","tag":"Detectors","count":9},{"language":"default","tag":"Alerts","count":8}]},"assistantConfig":{},"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}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/offline-eval/upsert-one-test-case-result-with-scores","slug":"/api-reference/offline-eval/upsert-one-test-case-result-with-scores","pageMetadata":{"title":"Upsert one test-case result with scores","description":"Upsert one test-case result (and its scores). Idempotent on (run, test case).","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/public/evaluation-runs/{run_id}/results","href":"/api-reference/offline-eval/upsert-one-test-case-result-with-scores","autogeneratedByOpenApi":true},"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: \"Upsert one test-case result (and its scores). Idempotent on (run, test case).\"\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{jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const{Note}={..._provideComponents(),...props.components};if(!Note)_missingMdxReference(`Note`,true);return _jsx(Note,{children:`The TraceRoot SDKs call this endpoint for you; call it directly only where no SDK fits. It accepts a project API key only.`})}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":{"config":{},"pageMetadata":{"title":"Upsert one test-case result with scores","description":"Upsert one test-case result (and its scores). Idempotent on (run, test case).","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/public/evaluation-runs/{run_id}/results","href":"/api-reference/offline-eval/upsert-one-test-case-result-with-scores","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"description":"Upsert one test-case result (and its scores). Idempotent on (run, test case).","operationId":"upsert_result","parameters":["edccc4e3-15e0-4569-bad1-55dd81f3c61c"],"requestBody":"d19f792b-db59-4899-b391-db8fd025d45f","responses":{"200":"d12b12f9-6cc1-49a8-bd77-02344bd37955","400":"9158a2cc-5d29-4736-a759-59c7388be6f1","401":"5c32b5c0-8422-4e62-a5b7-16ae143ed8f2","404":"764b86a2-8f27-4d9f-9b48-3a94cd2895cd","413":"6e4c5f61-200f-454f-8c4e-201ad43735c4","422":"90f14750-d2b1-4919-8770-2a2a6e1a4edd","503":"4d4e47bf-7c7e-4e1c-bb3d-5cf7b76be4f3"},"security":["d744799d-5e53-4509-8261-941a9eacc023"],"summary":"Upsert one test-case result with scores","tags":["Offline Eval"],"x-mint":{"content":"\u003cNote>The TraceRoot SDKs call this endpoint for you; call it directly only where no SDK fits. It accepts a project API key only.\u003c/Note>"},"x-tool":{"enabled":false},"method":"post","type":"path","servers":["8ae2b8ec-5d46-4cd6-b341-439f21217297","44011aa4-1038-4223-aaf9-82d2181cca8b"],"path":"/api/v1/public/evaluation-runs/{run_id}/results","baseUrlOptions":["https://app.traceroot.ai","{baseUrl}"],"title":"Upsert one test-case result with scores","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"edccc4e3-15e0-4569-bad1-55dd81f3c61c":{"in":"path","name":"run_id","required":true,"schema":{"title":"Run Id","type":"string","isRequired":true,"uniqueKey":"","typeLabel":"string"}}},"requestBody":{"content":{"application/json":{"schema":{"description":"Upsert one test-case result. Idempotent on (``run_id``, ``test_case_id``).\n``trace_id`` may be null now and set on a later call (out-of-order arrival).\n\n``scores`` is genuinely optional and carries three distinct meanings, so the\nout-of-order flow (POST the result with its scores, then re-POST later just to\nattach the OTel ``trace_id``) cannot destroy them: absent → leave the existing\nscores untouched, ``[]`` → clear them, non-empty → replace them. Do not give\nthis a ``default_factory=list``, which would collapse the first two cases.\n\nEvery optional field is a *partial* update: a key the caller omits keeps its\nstored value, while an explicit null clears it. Sending ``scores`` replaces\nthe result's scores (``[]`` clears them); omitting it leaves them alone.","properties":{"input":{"maxLength":1000000,"title":"Input","type":"string","isRequired":true,"uniqueKey":"input","typeLabel":"string"},"status":{"enum":["passed","failed","errored","not_scored"],"title":"Status","type":"string","isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"test_case_id":{"maxLength":64,"minLength":1,"title":"Test Case Id","type":"string","isRequired":true,"uniqueKey":"test_case_id","typeLabel":"string"},"baseline_output":{"oneOf":[{"type":"string","title":"Baseline Output","maxLength":1000000,"uniqueKey":"baseline_output.oneOf.0","typeLabel":"string"},{"type":"null","title":"Baseline Output","uniqueKey":"baseline_output.oneOf.1","typeLabel":"null"}],"uniqueKey":"baseline_output","typeLabel":"string | null"},"candidate_output":{"oneOf":[{"type":"string","title":"Candidate Output","maxLength":1000000,"uniqueKey":"candidate_output.oneOf.0","typeLabel":"string"},{"type":"null","title":"Candidate Output","uniqueKey":"candidate_output.oneOf.1","typeLabel":"null"}],"uniqueKey":"candidate_output","typeLabel":"string | null"},"change":{"oneOf":[{"type":"string","title":"Change","enum":["improved","regressed","unchanged"],"uniqueKey":"change.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","title":"Change","uniqueKey":"change.oneOf.1","typeLabel":"null"}],"uniqueKey":"change","typeLabel":"enum\u003cstring> | null"},"cost":{"oneOf":[{"type":"number","title":"Cost","minimum":0,"uniqueKey":"cost.oneOf.0","typeLabel":"number"},{"type":"null","title":"Cost","uniqueKey":"cost.oneOf.1","typeLabel":"null"}],"uniqueKey":"cost","typeLabel":"number | null"},"duration_ms":{"oneOf":[{"type":"integer","title":"Duration Ms","maximum":9007199254740991,"minimum":0,"uniqueKey":"duration_ms.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Duration Ms","uniqueKey":"duration_ms.oneOf.1","typeLabel":"null"}],"uniqueKey":"duration_ms","typeLabel":"integer | null"},"expected_output":{"oneOf":[{"type":"string","title":"Expected Output","maxLength":1000000,"uniqueKey":"expected_output.oneOf.0","typeLabel":"string"},{"type":"null","title":"Expected Output","uniqueKey":"expected_output.oneOf.1","typeLabel":"null"}],"uniqueKey":"expected_output","typeLabel":"string | null"},"scores":{"items":{"description":"One scorer's outcome on one result. ``error`` set = the scorer failed to judge.","properties":{"scorer_name":{"maxLength":200,"minLength":1,"title":"Scorer Name","type":"string","isRequired":true,"uniqueKey":"scores.items.[INDEX].scorer_name","typeLabel":"string"},"scorer_version":{"maxLength":50,"minLength":1,"title":"Scorer Version","type":"string","isRequired":true,"uniqueKey":"scores.items.[INDEX].scorer_version","typeLabel":"string"},"bool_value":{"oneOf":[{"type":"boolean","title":"Bool Value","uniqueKey":"scores.items.[INDEX].bool_value.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Bool Value","uniqueKey":"scores.items.[INDEX].bool_value.oneOf.1","typeLabel":"null"}],"uniqueKey":"scores.items.[INDEX].bool_value","typeLabel":"boolean | null"},"error":{"oneOf":[{"type":"string","title":"Error","maxLength":5000,"uniqueKey":"scores.items.[INDEX].error.oneOf.0","typeLabel":"string"},{"type":"null","title":"Error","uniqueKey":"scores.items.[INDEX].error.oneOf.1","typeLabel":"null"}],"uniqueKey":"scores.items.[INDEX].error","typeLabel":"string | null"},"explanation":{"oneOf":[{"type":"string","title":"Explanation","maxLength":5000,"uniqueKey":"scores.items.[INDEX].explanation.oneOf.0","typeLabel":"string"},{"type":"null","title":"Explanation","uniqueKey":"scores.items.[INDEX].explanation.oneOf.1","typeLabel":"null"}],"uniqueKey":"scores.items.[INDEX].explanation","typeLabel":"string | null"},"numeric_value":{"oneOf":[{"type":"number","title":"Numeric Value","uniqueKey":"scores.items.[INDEX].numeric_value.oneOf.0","typeLabel":"number"},{"type":"null","title":"Numeric Value","uniqueKey":"scores.items.[INDEX].numeric_value.oneOf.1","typeLabel":"null"}],"uniqueKey":"scores.items.[INDEX].numeric_value","typeLabel":"number | null"},"passed":{"oneOf":[{"type":"boolean","title":"Passed","uniqueKey":"scores.items.[INDEX].passed.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Passed","uniqueKey":"scores.items.[INDEX].passed.oneOf.1","typeLabel":"null"}],"uniqueKey":"scores.items.[INDEX].passed","typeLabel":"boolean | null"},"string_value":{"oneOf":[{"type":"string","title":"String Value","maxLength":2000,"uniqueKey":"scores.items.[INDEX].string_value.oneOf.0","typeLabel":"string"},{"type":"null","title":"String Value","uniqueKey":"scores.items.[INDEX].string_value.oneOf.1","typeLabel":"null"}],"uniqueKey":"scores.items.[INDEX].string_value","typeLabel":"string | null"}},"required":["scorer_name","scorer_version"],"title":"ScoreInput","type":"object","uniqueKey":"scores.items.[INDEX]","typeLabel":"ScoreInput · object"},"maxItems":200,"title":"Scores","type":"array","uniqueKey":"scores","typeLabel":"ScoreInput · object[]"},"task_error":{"oneOf":[{"type":"string","title":"Task Error","maxLength":10000,"uniqueKey":"task_error.oneOf.0","typeLabel":"string"},{"type":"null","title":"Task Error","uniqueKey":"task_error.oneOf.1","typeLabel":"null"}],"uniqueKey":"task_error","typeLabel":"string | null"},"trace_id":{"oneOf":[{"type":"string","title":"Trace Id","maxLength":64,"minLength":1,"uniqueKey":"trace_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Trace Id","uniqueKey":"trace_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"trace_id","typeLabel":"string | null"}},"required":["test_case_id","input","status"],"title":"UpsertResultRequest","type":"object","uniqueKey":"","typeLabel":"UpsertResultRequest · object"},"examples":{"Example":{"title":"Example","value":{"input":"\u003cstring>","test_case_id":"\u003cstring>","baseline_output":"\u003cstring>","candidate_output":"\u003cstring>","cost":1,"duration_ms":4503599627370495,"expected_output":"\u003cstring>","scores":[{"scorer_name":"\u003cstring>","scorer_version":"\u003cstring>","bool_value":true,"error":"\u003cstring>","explanation":"\u003cstring>","numeric_value":123,"passed":true,"string_value":"\u003cstring>"}],"task_error":"\u003cstring>","trace_id":"\u003cstring>"}}},"exampleType":"generated"}},"required":true,"exampleType":"generated"},"responses":{"d12b12f9-6cc1-49a8-bd77-02344bd37955":{"content":{"application/json":{"schema":{"properties":{"evaluation_result_id":{"title":"Evaluation Result Id","type":"string","isRequired":true,"uniqueKey":"evaluation_result_id","typeLabel":"string"}},"required":["evaluation_result_id"],"title":"UpsertResultResponse","type":"object","uniqueKey":"","typeLabel":"UpsertResultResponse · object"},"examples":{"Example":{"title":"Example","value":{"evaluation_result_id":"\u003cstring>"}}},"exampleType":"generated"}},"description":"Successful Response","exampleType":"generated"},"9158a2cc-5d29-4736-a759-59c7388be6f1":{"content":{"application/json":{"schema":{"description":"The canonical public error envelope (matches the gateway's normalized shape).","properties":{"detail":{"title":"Detail","type":"string","isRequired":true,"uniqueKey":"detail","typeLabel":"string"}},"required":["detail"],"title":"ErrorResponse","type":"object","uniqueKey":"","typeLabel":"ErrorResponse · object"},"examples":{"Example":{"title":"Example","value":{"detail":"\u003cstring>"}}},"exampleType":"generated"}},"description":"Invalid request","exampleType":"generated"},"5c32b5c0-8422-4e62-a5b7-16ae143ed8f2":{"content":{"application/json":{"schema":{"description":"The canonical public error envelope (matches the gateway's normalized shape).","properties":{"detail":{"title":"Detail","type":"string","isRequired":true,"uniqueKey":"detail","typeLabel":"string"}},"required":["detail"],"title":"ErrorResponse","type":"object","uniqueKey":"","typeLabel":"ErrorResponse · object"},"examples":{"Example":{"title":"Example","value":{"detail":"\u003cstring>"}}},"exampleType":"generated"}},"description":"Authentication failed","exampleType":"generated"},"764b86a2-8f27-4d9f-9b48-3a94cd2895cd":{"content":{"application/json":{"schema":{"description":"The canonical public error envelope (matches the gateway's normalized shape).","properties":{"detail":{"title":"Detail","type":"string","isRequired":true,"uniqueKey":"detail","typeLabel":"string"}},"required":["detail"],"title":"ErrorResponse","type":"object","uniqueKey":"","typeLabel":"ErrorResponse · object"},"examples":{"Example":{"title":"Example","value":{"detail":"\u003cstring>"}}},"exampleType":"generated"}},"description":"Not found","exampleType":"generated"},"6e4c5f61-200f-454f-8c4e-201ad43735c4":{"content":{"application/json":{"schema":{"description":"The canonical public error envelope (matches the gateway's normalized shape).","properties":{"detail":{"title":"Detail","type":"string","isRequired":true,"uniqueKey":"detail","typeLabel":"string"}},"required":["detail"],"title":"ErrorResponse","type":"object","uniqueKey":"","typeLabel":"ErrorResponse · object"},"examples":{"Example":{"title":"Example","value":{"detail":"\u003cstring>"}}},"exampleType":"generated"}},"description":"Request body too large","exampleType":"generated"},"90f14750-d2b1-4919-8770-2a2a6e1a4edd":{"content":{"application/json":{"schema":{"description":"The canonical public error envelope (matches the gateway's normalized shape).","properties":{"detail":{"title":"Detail","type":"string","isRequired":true,"uniqueKey":"detail","typeLabel":"string"}},"required":["detail"],"title":"ErrorResponse","type":"object","uniqueKey":"","typeLabel":"ErrorResponse · object"},"examples":{"Example":{"title":"Example","value":{"detail":"\u003cstring>"}}},"exampleType":"generated"}},"description":"Validation error","exampleType":"generated"},"4d4e47bf-7c7e-4e1c-bb3d-5cf7b76be4f3":{"content":{"application/json":{"schema":{"description":"The canonical public error envelope (matches the gateway's normalized shape).","properties":{"detail":{"title":"Detail","type":"string","isRequired":true,"uniqueKey":"detail","typeLabel":"string"}},"required":["detail"],"title":"ErrorResponse","type":"object","uniqueKey":"","typeLabel":"ErrorResponse · object"},"examples":{"Example":{"title":"Example","value":{"detail":"\u003cstring>"}}},"exampleType":"generated"}},"description":"Authentication service unavailable","exampleType":"generated"}},"security":{"d744799d-5e53-4509-8261-941a9eacc023":{"BearerAuth":{"scheme":"bearer","type":"http","scopes":[],"schemeName":"BearerAuth"}}},"servers":{"8ae2b8ec-5d46-4cd6-b341-439f21217297":{"description":"TraceRoot Cloud","url":"https://app.traceroot.ai"},"44011aa4-1038-4223-aaf9-82d2181cca8b":{"description":"Self-hosted","url":"{baseUrl}","variables":{"baseUrl":{"default":"http://localhost:8000","description":"Your TraceRoot backend URL"}}}},"processedSecurityOptions":[{"schemes":[{"scheme":{"scheme":"bearer","type":"http","scopes":[],"schemeName":"BearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"BearerAuth","name":"Authorization"}],"title":"BearerAuth"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"tracerootai","siteName":"traceroot","title":"Upsert one test-case result with scores - traceroot","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-05T22:52:04.577Z","originalFileLocation":"api-reference/offline-eval/upsert-one-test-case-result-with-scores.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=\"system\"}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=\"Upsert one test-case result (and its scores). Idempotent on (run, test case).\">\u003cmeta data-mint-head name=\"application-name\" content=\"traceroot\">\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/tracerootai/oFGBx2VNS2taHdJt/_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/tracerootai/oFGBx2VNS2taHdJt/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/tracerootai/oFGBx2VNS2taHdJt/_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/tracerootai/oFGBx2VNS2taHdJt/_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/tracerootai/oFGBx2VNS2taHdJt/_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/tracerootai/oFGBx2VNS2taHdJt/_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/tracerootai/oFGBx2VNS2taHdJt/_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/tracerootai/oFGBx2VNS2taHdJt/_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/tracerootai/oFGBx2VNS2taHdJt/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Upsert one test-case result with scores - traceroot\">\u003cmeta data-mint-head property=\"og:description\" content=\"Upsert one test-case result (and its scores). Idempotent on (run, test case).\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"traceroot\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://traceroot.ai/docs/api-reference/offline-eval/upsert-one-test-case-result-with-scores\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://tracerootai.mintlify.site/docs/_mintlify/api/og/v2?division=Offline+Eval\u0026amp;title=Upsert+one+test-case+result+with+scores\u0026amp;description=Upsert+one+test-case+result+%28and+its+scores%29.+Idempotent+on+%28run%2C+test+case%29.\u0026amp;theme=d362eef18ac49c168b8bb565\u0026amp;signature=83f0ce2a2d715b878994ecc42a688e2651488abfc99f15d2580c6d5420164dc0\">\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=\"Upsert one test-case result with scores - traceroot\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Upsert one test-case result (and its scores). Idempotent on (run, test case).\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://tracerootai.mintlify.site/docs/_mintlify/api/og/v2?division=Offline+Eval\u0026amp;title=Upsert+one+test-case+result+with+scores\u0026amp;description=Upsert+one+test-case+result+%28and+its+scores%29.+Idempotent+on+%28run%2C+test+case%29.\u0026amp;theme=d362eef18ac49c168b8bb565\u0026amp;signature=83f0ce2a2d715b878994ecc42a688e2651488abfc99f15d2580c6d5420164dc0\">\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/tracerootai/oFGBx2VNS2taHdJt/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"traceroot\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0f172a\">\u003clink data-mint-head rel=\"canonical\" href=\"https://traceroot.ai/docs/api-reference/offline-eval/upsert-one-test-case-result-with-scores\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/api-reference/offline-eval/upsert-one-test-case-result-with-scores.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://traceroot.ai/#organization\",\"name\":\"traceroot\",\"url\":\"https://traceroot.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/tracerootai/w6ZCi-88-jgYww6Q/logo/light.png?fit=max\u0026auto=format\u0026n=w6ZCi-88-jgYww6Q\u0026q=85\u0026s=923b414b9ceb5508b3852e0695a57a7d\"}},{\"@type\":\"WebSite\",\"@id\":\"https://traceroot.ai/docs#website\",\"name\":\"traceroot\",\"url\":\"https://traceroot.ai/docs\",\"publisher\":{\"@id\":\"https://traceroot.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://traceroot.ai/docs/api-reference/offline-eval/upsert-one-test-case-result-with-scores#webpage\",\"url\":\"https://traceroot.ai/docs/api-reference/offline-eval/upsert-one-test-case-result-with-scores\",\"name\":\"Upsert one test-case result with scores\",\"description\":\"Upsert one test-case result (and its scores). Idempotent on (run, test case).\",\"dateModified\":\"2026-11-05T22:52:04.577Z\",\"isPartOf\":{\"@id\":\"https://traceroot.ai/docs#website\"},\"breadcrumb\":{\"@id\":\"https://traceroot.ai/docs/api-reference/offline-eval/upsert-one-test-case-result-with-scores#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://traceroot.ai/docs/api-reference/offline-eval/upsert-one-test-case-result-with-scores#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Endpoints\",\"item\":\"https://traceroot.ai/docs/api-reference/alerts/list-alerts\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Offline Eval\",\"item\":\"https://traceroot.ai/docs/api-reference/offline-eval/read-one-dataset-version-and-a-page-of-its-test-cases\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Upsert one test-case result with scores\",\"item\":\"https://traceroot.ai/docs/api-reference/offline-eval/upsert-one-test-case-result-with-scores\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://traceroot.ai/docs/api-reference/offline-eval/upsert-one-test-case-result-with-scores#apireference\",\"headline\":\"Upsert one test-case result with scores\",\"name\":\"Upsert one test-case result with scores\",\"description\":\"Upsert one test-case result (and its scores). Idempotent on (run, test case).\",\"url\":\"https://traceroot.ai/docs/api-reference/offline-eval/upsert-one-test-case-result-with-scores\",\"mainEntityOfPage\":{\"@id\":\"https://traceroot.ai/docs/api-reference/offline-eval/upsert-one-test-case-result-with-scores#webpage\"},\"dateModified\":\"2026-11-05T22:52:04.577Z\",\"publisher\":{\"@id\":\"https://traceroot.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://traceroot.ai/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"traceroot\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"traceroot","nav":{"global":null,"tabs":[{"tab":"Documentation","icon":"book-open","pages":[{"title":"Documentation","href":"/getting-started/introduction"}]},{"tab":"Integrations","icon":"puzzle-piece","pages":[{"title":"Integrations","href":"/integrations/overview"}]},{"tab":"API Reference","icon":"square-code","groups":[{"group":"Overview","pages":[{"title":"Authentication","href":"/api-reference/authentication"}]},{"group":"Endpoints","pages":[{"group":"Alerts","pages":[{"title":"List Alerts","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/public/alerts","href":"/api-reference/alerts/list-alerts"},{"title":"Create an alert","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/public/alerts","href":"/api-reference/alerts/create-an-alert"},{"title":"Get Alert","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/public/alerts/{alert_id}","href":"/api-reference/alerts/get-alert"},{"title":"Delete an alert","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /api/v1/public/alerts/{alert_id}","href":"/api-reference/alerts/delete-an-alert"},{"title":"Edit an alert rule","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /api/v1/public/alerts/{alert_id}","href":"/api-reference/alerts/edit-an-alert-rule"},{"title":"Pause or resume an alert","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /api/v1/public/alerts/{alert_id}/status","href":"/api-reference/alerts/pause-or-resume-an-alert"}]},{"group":"Dashboards","pages":[{"title":"List Dashboards","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/public/dashboards","href":"/api-reference/dashboards/list-dashboards"},{"title":"Create a dashboard","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/public/dashboards","href":"/api-reference/dashboards/create-a-dashboard"},{"title":"Get Dashboard","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/public/dashboards/{dashboard_id}","href":"/api-reference/dashboards/get-dashboard"},{"title":"Delete a dashboard","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /api/v1/public/dashboards/{dashboard_id}","href":"/api-reference/dashboards/delete-a-dashboard"},{"title":"Edit a dashboard","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /api/v1/public/dashboards/{dashboard_id}","href":"/api-reference/dashboards/edit-a-dashboard"},{"title":"Get Dashboard Data","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/public/dashboards/{dashboard_id}/data","href":"/api-reference/dashboards/get-dashboard-data"}]},{"group":"Offline Eval","pages":[{"title":"Read one dataset version and a page of its test cases","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/public/dataset-versions/{version_id}","href":"/api-reference/offline-eval/read-one-dataset-version-and-a-page-of-its-test-cases"},{"title":"List the project's evaluation datasets","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/public/datasets","href":"/api-reference/offline-eval/list-the-projects-evaluation-datasets"},{"title":"Read one evaluation dataset","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/public/datasets/{dataset_id}","href":"/api-reference/offline-eval/read-one-evaluation-dataset"},{"title":"List a dataset's published versions","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/public/datasets/{dataset_id}/versions","href":"/api-reference/offline-eval/list-a-datasets-published-versions"},{"title":"List the project's evaluation runs","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/public/evaluation-runs","href":"/api-reference/offline-eval/list-the-projects-evaluation-runs"},{"title":"Register an evaluation run","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/public/evaluation-runs","href":"/api-reference/offline-eval/register-an-evaluation-run"},{"title":"Read an evaluation run's summary","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/public/evaluation-runs/{run_id}","href":"/api-reference/offline-eval/read-an-evaluation-runs-summary"},{"title":"Complete/finalize an evaluation run","description":"Complete/fail a run, reporting final completeness counts.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/public/evaluation-runs/{run_id}/complete","href":"/api-reference/offline-eval/completefinalize-an-evaluation-run"},{"title":"Upsert one test-case result with scores","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/public/evaluation-runs/{run_id}/results","href":"/api-reference/offline-eval/upsert-one-test-case-result-with-scores"},{"title":"List the project's evaluations","description":"List evaluations, newest first, each with its run count and latest run.\n\n`next_cursor` is null on the last page.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/public/evaluations","href":"/api-reference/offline-eval/list-the-projects-evaluations"}]},{"group":"Detectors","pages":[{"title":"List Detectors","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/public/detectors","href":"/api-reference/detectors/list-detectors"},{"title":"Create a detector","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/public/detectors","href":"/api-reference/detectors/create-a-detector"},{"title":"List Findings","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/public/detectors/findings","href":"/api-reference/detectors/list-findings"},{"title":"Get Finding","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/public/detectors/findings/{finding_id}","href":"/api-reference/detectors/get-finding"},{"title":"Get Finding By Trace","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/public/detectors/traces/{trace_id}/finding","href":"/api-reference/detectors/get-finding-by-trace"},{"title":"Get Detector","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/public/detectors/{detector_id}","href":"/api-reference/detectors/get-detector"},{"title":"Delete a detector","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /api/v1/public/detectors/{detector_id}","href":"/api-reference/detectors/delete-a-detector"},{"title":"Edit a detector","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /api/v1/public/detectors/{detector_id}","href":"/api-reference/detectors/edit-a-detector"}]},{"group":"Account","pages":[{"title":"List Projects","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/public/projects","href":"/api-reference/account/list-projects"},{"title":"Create a project","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/public/projects","href":"/api-reference/account/create-a-project"},{"title":"Delete a project","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /api/v1/public/projects/{project_id}","href":"/api-reference/account/delete-a-project"},{"title":"Edit a project","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /api/v1/public/projects/{project_id}","href":"/api-reference/account/edit-a-project"},{"title":"List Workspaces","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/public/workspaces","href":"/api-reference/account/list-workspaces"},{"title":"Create a workspace","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/public/workspaces","href":"/api-reference/account/create-a-workspace"},{"title":"Delete a workspace","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /api/v1/public/workspaces/{workspace_id}","href":"/api-reference/account/delete-a-workspace"},{"title":"Rename a workspace","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /api/v1/public/workspaces/{workspace_id}","href":"/api-reference/account/rename-a-workspace"}]},{"group":"Sessions","pages":[{"title":"List Sessions","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/public/sessions","href":"/api-reference/sessions/list-sessions"},{"title":"Get Session","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/public/sessions/{session_id}","href":"/api-reference/sessions/get-session"}]},{"group":"Signals","pages":[{"title":"List Signals","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/public/signals","href":"/api-reference/signals/list-signals"},{"title":"Get Signal","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/public/signals/{signal_id}","href":"/api-reference/signals/get-signal"},{"title":"Resolve or reopen a signal","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /api/v1/public/signals/{signal_id}/status","href":"/api-reference/signals/resolve-or-reopen-a-signal"}]},{"group":"SQL","pages":[{"title":"Run Sql","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/public/sql","href":"/api-reference/sql/run-sql"},{"title":"Get Sql Schema","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/public/sql/schema","href":"/api-reference/sql/get-sql-schema"}]},{"group":"Traces","pages":[{"title":"List Traces","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/public/traces","href":"/api-reference/traces/list-traces"},{"title":"Ingest Traces","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/public/traces","href":"/api-reference/traces/ingest-traces"},{"title":"List Trace Filter Values","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/public/traces/filter-values/{field}","href":"/api-reference/traces/list-trace-filter-values"},{"title":"Get Trace","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/public/traces/{trace_id}","href":"/api-reference/traces/get-trace"},{"title":"Export Trace","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/public/traces/{trace_id}/export","href":"/api-reference/traces/export-trace"}]},{"group":"Whoami","pages":[{"title":"Whoami","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/public/whoami","href":"/api-reference/whoami/whoami"}]},{"group":"Widgets","pages":[{"title":"Create a dashboard widget","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/public/widgets","href":"/api-reference/widgets/create-a-dashboard-widget"},{"title":"Run Widget Query","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/public/widgets/query","href":"/api-reference/widgets/run-widget-query"},{"title":"Get Widget","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/public/widgets/{widget_id}","href":"/api-reference/widgets/get-widget"},{"title":"Delete a dashboard widget","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /api/v1/public/widgets/{widget_id}","href":"/api-reference/widgets/delete-a-dashboard-widget"},{"title":"Edit a dashboard widget","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /api/v1/public/widgets/{widget_id}","href":"/api-reference/widgets/edit-a-dashboard-widget"},{"title":"Get Widget Data","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/public/widgets/{widget_id}/data","href":"/api-reference/widgets/get-widget-data"}]}]}]}]},"basePath":"","title":"Upsert one test-case result with scores - traceroot","buildId":"dpl_BSPUBxEoKhhK7HzXVDPxdPvWx4xc","deploymentId":"dpl_BSPUBxEoKhhK7HzXVDPxdPvWx4xc","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-Do6EtGSl.js","utils-id4tQ6My.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-Byrixac4.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-nakYa3Zl.js","snippetPresets-Bq-pUS7h.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-CujTC_9K.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-FneVUsVu.js","shallow-DY9WpUCz.js","getApiPlaygroundDisplay-Bz8WpPfA.js","CodeSnippet-DgCuJg4G.js","CodeSnippets-Dub9c4T0.js","Page-CePXnjd1.js","getPastedJson-xdI8y2XB.js","icon--yVw5vkr.js","MethodPill-C47t7MdS.js","DuplicateIcon-BzwJ2LeC.js","createIcon-BzggGy84.js","DynamicMarkdown-AlxJK8VR.js","SectionHeading-CMlwFxdK.js","axios-vUo_bRtp.js","Markdown-BNgNrPsi.js","clsx-apD-Q0Oo.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-qmLwQyWY.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-Dc4qTkWx.js"]}