Target project for the request. Required when authenticating with a user session token (a user credential is only meaningful scoped to a project); for an API key it is optional and, if given, must match the key's project.
Response
Successful Response
One saved widget answered for one window.
The per-widget answer of a dashboard data read, addressed by widget id:
status says what happened — ok carries the engine's columns/rows/
meta; skipped is a feed or legacy detector widget (a trace list, not
an aggregate — read those with list_traces and the feed's filters);
error carries a short reason and no rows when the stored spec no
longer validates or the engine rejects it — so a broken widget is still a
200 a script can branch on. One widget has no fan-out to protect, so the
rows follow run_widget_query: a series comes back whole and every
other display returns what the engine returns. truncated is kept for
parity with the dashboard read and is always false here. window is
the window the rows were answered for — the one to name with any figure.
range is the preset id the caller gave (or the default's, when they
gave nothing) and None for explicit bounds. clamped is True when the
plan's retention pulled start_time forward — the honest reason a
caller's window and the answered one differ.
{"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/widgets/get-widget-data","slug":"/api-reference/widgets/get-widget-data","pageMetadata":{"title":"Get Widget Data","description":"Answer one saved widget for a window, with a status instead of an exception.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/public/widgets/{widget_id}/data","href":"/api-reference/widgets/get-widget-data","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: \"Answer one saved widget for a window, with a status instead of an exception.\"\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}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Get Widget Data","description":"Answer one saved widget for a window, with a status instead of an exception.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/public/widgets/{widget_id}/data","href":"/api-reference/widgets/get-widget-data","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"description":"Answer one saved widget for a window, with a status instead of an exception.","operationId":"get_widget_data","parameters":["bf4ba484-5279-4d28-956a-ce62156867b2","95b4a2bf-1db9-4e4e-8a3f-4a5929043955","432b5eef-ecf2-43a4-a38d-7ae848a92be7","55ff2699-1849-4d07-9187-c8d808a1078b","5e2947b4-e382-4aaf-8240-cc763dba613c"],"responses":{"200":"9ae8d958-e2d2-4b9f-a967-e3b0ed600a5a","401":"f4192e24-2791-48c6-b198-acef1cc5f128","404":"1a27ddbd-867e-4982-8f79-de3a751c57b7","422":"ddf86b82-04ab-46d9-88f4-b1eb826f40ee","503":"491722dd-492d-499e-abfb-e886071432fa"},"security":["154edd55-0c2d-4561-b580-cb73b0c2222c"],"summary":"Get Widget Data","tags":["Widgets"],"x-tool":{"description":"Answer one saved widget for a window — the way to say what a widget shows without re-sending its spec. Prefer this over run_widget_query whenever the widget already exists on a dashboard; run_widget_query is for a spec that is saved nowhere. Takes a widget id plus a window like run_widget_query (range preset or explicit start_time/end_time; neither means the site's default). The answer carries a status: ok with every row the engine returns (a series comes back whole; no row cap), skipped for a trace feed or legacy detector widget (read those with list_traces and the feed's filters), or error with a reason when the stored spec no longer runs. Every figure you report must come from these rows, and name the window it was answered for — the response echoes it and says when retention clamped it.","enabled":true,"name":"get_widget_data"},"method":"get","type":"path","servers":["8ae2b8ec-5d46-4cd6-b341-439f21217297","44011aa4-1038-4223-aaf9-82d2181cca8b"],"path":"/api/v1/public/widgets/{widget_id}/data","baseUrlOptions":["https://app.traceroot.ai","{baseUrl}"],"title":"Get Widget Data","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"bf4ba484-5279-4d28-956a-ce62156867b2":{"in":"path","name":"widget_id","required":true,"schema":{"title":"Widget Id","type":"string","isRequired":true,"uniqueKey":"","typeLabel":"string"}},"95b4a2bf-1db9-4e4e-8a3f-4a5929043955":{"description":"A preset window ending now, by the site picker's id. Give this or explicit start_time/end_time; neither means the site's 24-hour default.","in":"query","name":"range","required":false,"schema":{"oneOf":[{"type":"string","title":"Range","description":"A preset window ending now, by the site picker's id. Give this or explicit start_time/end_time; neither means the site's 24-hour default.","enum":["30m","1h","3h","6h","1d","7d","14d","30d","60d","90d"],"uniqueKey":"oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","title":"Range","description":"A preset window ending now, by the site picker's id. Give this or explicit start_time/end_time; neither means the site's 24-hour default.","uniqueKey":"oneOf.1","typeLabel":"null"}],"isRequired":false,"uniqueKey":"","typeLabel":"enum\u003cstring> | null"}},"432b5eef-ecf2-43a4-a38d-7ae848a92be7":{"in":"query","name":"start_time","required":false,"schema":{"oneOf":[{"type":"string","title":"Start Time","format":"date-time","uniqueKey":"oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Start Time","uniqueKey":"oneOf.1","typeLabel":"null"}],"isRequired":false,"uniqueKey":"","typeLabel":"string\u003cdate-time> | null"}},"55ff2699-1849-4d07-9187-c8d808a1078b":{"in":"query","name":"end_time","required":false,"schema":{"oneOf":[{"type":"string","title":"End Time","format":"date-time","uniqueKey":"oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"End Time","uniqueKey":"oneOf.1","typeLabel":"null"}],"isRequired":false,"uniqueKey":"","typeLabel":"string\u003cdate-time> | null"}},"5e2947b4-e382-4aaf-8240-cc763dba613c":{"description":"Target project for the request. Required when authenticating with a user session token (a user credential is only meaningful scoped to a project); for an API key it is optional and, if given, must match the key's project.","in":"query","name":"project_id","required":false,"schema":{"oneOf":[{"type":"string","title":"Project Id","description":"Target project for the request. Required when authenticating with a user session token (a user credential is only meaningful scoped to a project); for an API key it is optional and, if given, must match the key's project.","uniqueKey":"oneOf.0","typeLabel":"string"},{"type":"null","title":"Project Id","description":"Target project for the request. Required when authenticating with a user session token (a user credential is only meaningful scoped to a project); for an API key it is optional and, if given, must match the key's project.","uniqueKey":"oneOf.1","typeLabel":"null"}],"isRequired":false,"uniqueKey":"","typeLabel":"string | null"}}},"responses":{"9ae8d958-e2d2-4b9f-a967-e3b0ed600a5a":{"content":{"application/json":{"schema":{"description":"One saved widget answered for one window.\n\nThe per-widget answer of a dashboard data read, addressed by widget id:\n``status`` says what happened — ``ok`` carries the engine's columns/rows/\nmeta; ``skipped`` is a feed or legacy detector widget (a trace list, not\nan aggregate — read those with ``list_traces`` and the feed's filters);\n``error`` carries a short reason and no rows when the stored spec no\nlonger validates or the engine rejects it — so a broken widget is still a\n200 a script can branch on. One widget has no fan-out to protect, so the\nrows follow ``run_widget_query``: a series comes back whole and every\nother display returns what the engine returns. ``truncated`` is kept for\nparity with the dashboard read and is always false here. ``window`` is\nthe window the rows were answered for — the one to name with any figure.","properties":{"status":{"enum":["ok","skipped","error"],"title":"Status","type":"string","isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"widget":{"description":"The identity of the widget a data read answered, with its dashboard.\n\n``spec`` is the stored spec the read ran, as ``get_widget`` returns it.","properties":{"dashboard_id":{"title":"Dashboard Id","type":"string","isRequired":true,"uniqueKey":"widget.dashboard_id","typeLabel":"string"},"id":{"title":"Id","type":"string","isRequired":true,"uniqueKey":"widget.id","typeLabel":"string"},"title":{"title":"Title","type":"string","isRequired":true,"uniqueKey":"widget.title","typeLabel":"string"},"type":{"title":"Type","type":"string","isRequired":true,"uniqueKey":"widget.type","typeLabel":"string"},"dashboard_name":{"oneOf":[{"type":"string","title":"Dashboard Name","uniqueKey":"widget.dashboard_name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Dashboard Name","uniqueKey":"widget.dashboard_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"widget.dashboard_name","typeLabel":"string | null"},"spec":{"oneOf":[{"title":"Spec"},{"type":"null","title":"Spec","uniqueKey":"widget.spec.oneOf.1","typeLabel":"null"}],"uniqueKey":"widget.spec","typeLabel":"null"}},"required":["id","dashboard_id","title","type"],"title":"WidgetRef","type":"object","isRequired":true,"uniqueKey":"widget","typeLabel":"WidgetRef · object"},"window":{"description":"The window a query was actually answered for.\n\n``range`` is the preset id the caller gave (or the default's, when they\ngave nothing) and None for explicit bounds. ``clamped`` is True when the\nplan's retention pulled ``start_time`` forward — the honest reason a\ncaller's window and the answered one differ.","properties":{"clamped":{"title":"Clamped","type":"boolean","isRequired":true,"uniqueKey":"window.clamped","typeLabel":"boolean"},"end_time":{"format":"date-time","title":"End Time","type":"string","isRequired":true,"uniqueKey":"window.end_time","typeLabel":"string\u003cdate-time>"},"range":{"oneOf":[{"type":"string","title":"Range","enum":["30m","1h","3h","6h","1d","7d","14d","30d","60d","90d"],"isRequired":true,"uniqueKey":"window.range.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","title":"Range","isRequired":true,"uniqueKey":"window.range.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"window.range","typeLabel":"enum\u003cstring> | null"},"start_time":{"format":"date-time","title":"Start Time","type":"string","isRequired":true,"uniqueKey":"window.start_time","typeLabel":"string\u003cdate-time>"}},"required":["start_time","end_time","range","clamped"],"title":"QueryWindow","type":"object","isRequired":true,"uniqueKey":"window","typeLabel":"QueryWindow · object"},"columns":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"columns.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Columns","uniqueKey":"columns.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Columns","uniqueKey":"columns.oneOf.1","typeLabel":"null"}],"uniqueKey":"columns","typeLabel":"string[] | null"},"error":{"oneOf":[{"type":"string","title":"Error","uniqueKey":"error.oneOf.0","typeLabel":"string"},{"type":"null","title":"Error","uniqueKey":"error.oneOf.1","typeLabel":"null"}],"uniqueKey":"error","typeLabel":"string | null"},"meta":{"oneOf":[{"type":"object","title":"Meta","additionalProperties":true,"uniqueKey":"meta.oneOf.0","typeLabel":"Meta · object"},{"type":"null","title":"Meta","uniqueKey":"meta.oneOf.1","typeLabel":"null"}],"uniqueKey":"meta","typeLabel":"Meta · object | null"},"rows":{"oneOf":[{"type":"array","items":{"items":{"oneOf":[{}],"uniqueKey":"rows.oneOf.0.items.[INDEX].items.[INDEX]","typeLabel":"any"},"type":"array","uniqueKey":"rows.oneOf.0.items.[INDEX]","typeLabel":"any[]"},"title":"Rows","uniqueKey":"rows.oneOf.0","typeLabel":"any[][]"},{"type":"null","title":"Rows","uniqueKey":"rows.oneOf.1","typeLabel":"null"}],"uniqueKey":"rows","typeLabel":"any[][] | null"},"truncated":{"default":false,"title":"Truncated","type":"boolean","uniqueKey":"truncated","typeLabel":"boolean"}},"required":["widget","window","status"],"title":"WidgetDataResponse","type":"object","uniqueKey":"","typeLabel":"WidgetDataResponse · object"},"examples":{"Example":{"title":"Example","value":{"status":"ok","widget":{"dashboard_id":"\u003cstring>","id":"\u003cstring>","title":"\u003cstring>","type":"\u003cstring>","dashboard_name":"\u003cstring>","spec":"\u003cunknown>"},"window":{"clamped":true,"end_time":"2023-11-07T05:31:56Z","range":"30m","start_time":"2023-11-07T05:31:56Z"},"columns":["\u003cstring>"],"error":"\u003cstring>","meta":{},"rows":[["\u003cunknown>"]],"truncated":false}}},"exampleType":"generated"}},"description":"Successful Response","exampleType":"generated"},"f4192e24-2791-48c6-b198-acef1cc5f128":{"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"},"1a27ddbd-867e-4982-8f79-de3a751c57b7":{"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":"Widget not found","exampleType":"generated"},"ddf86b82-04ab-46d9-88f4-b1eb826f40ee":{"content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"oneOf":[{"type":"string","uniqueKey":"detail.items.[INDEX].loc.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"detail.items.[INDEX].loc.items.[INDEX].oneOf.1","typeLabel":"integer"}],"uniqueKey":"detail.items.[INDEX].loc.items.[INDEX]","typeLabel":"string | integer"},"title":"Location","type":"array","isRequired":true,"uniqueKey":"detail.items.[INDEX].loc","typeLabel":"(string | integer)[]"},"msg":{"title":"Message","type":"string","isRequired":true,"uniqueKey":"detail.items.[INDEX].msg","typeLabel":"string"},"type":{"title":"Error Type","type":"string","isRequired":true,"uniqueKey":"detail.items.[INDEX].type","typeLabel":"string"},"ctx":{"title":"Context","type":"object","uniqueKey":"detail.items.[INDEX].ctx","typeLabel":"Context · object"},"input":{"oneOf":[{"title":"Input"}],"uniqueKey":"detail.items.[INDEX].input","typeLabel":"any"}},"required":["loc","msg","type"],"title":"ValidationError","type":"object","uniqueKey":"detail.items.[INDEX]","typeLabel":"ValidationError · object"},"title":"Detail","type":"array","uniqueKey":"detail","typeLabel":"ValidationError · object[]"}},"title":"HTTPValidationError","type":"object","uniqueKey":"","typeLabel":"HTTPValidationError · object"},"examples":{"Example":{"title":"Example","value":{"detail":[{"loc":["\u003cstring>"],"msg":"\u003cstring>","type":"\u003cstring>","ctx":{},"input":"\u003cunknown>"}]}}},"exampleType":"generated"}},"description":"Validation Error","exampleType":"generated"},"491722dd-492d-499e-abfb-e886071432fa":{"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":{"154edd55-0c2d-4561-b580-cb73b0c2222c":{"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":"Get Widget Data - traceroot","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-05T22:52:04.823Z","originalFileLocation":"api-reference/widgets/get-widget-data.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=\"Answer one saved widget for a window, with a status instead of an exception.\">\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=\"Get Widget Data - traceroot\">\u003cmeta data-mint-head property=\"og:description\" content=\"Answer one saved widget for a window, with a status instead of an exception.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"traceroot\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://traceroot.ai/docs/api-reference/widgets/get-widget-data\">\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=Widgets\u0026amp;title=Get+Widget+Data\u0026amp;description=Answer+one+saved+widget+for+a+window%2C+with+a+status+instead+of+an+exception.\u0026amp;theme=d362eef18ac49c168b8bb565\u0026amp;signature=5e39b708ea2865a27c2baa138e3ce794e106112c230a67c65a9c08e18521f04c\">\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=\"Get Widget Data - traceroot\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Answer one saved widget for a window, with a status instead of an exception.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://tracerootai.mintlify.site/docs/_mintlify/api/og/v2?division=Widgets\u0026amp;title=Get+Widget+Data\u0026amp;description=Answer+one+saved+widget+for+a+window%2C+with+a+status+instead+of+an+exception.\u0026amp;theme=d362eef18ac49c168b8bb565\u0026amp;signature=5e39b708ea2865a27c2baa138e3ce794e106112c230a67c65a9c08e18521f04c\">\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/widgets/get-widget-data\">\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/widgets/get-widget-data.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/widgets/get-widget-data#webpage\",\"url\":\"https://traceroot.ai/docs/api-reference/widgets/get-widget-data\",\"name\":\"Get Widget Data\",\"description\":\"Answer one saved widget for a window, with a status instead of an exception.\",\"dateModified\":\"2026-11-05T22:52:04.823Z\",\"isPartOf\":{\"@id\":\"https://traceroot.ai/docs#website\"},\"breadcrumb\":{\"@id\":\"https://traceroot.ai/docs/api-reference/widgets/get-widget-data#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://traceroot.ai/docs/api-reference/widgets/get-widget-data#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Endpoints\",\"item\":\"https://traceroot.ai/docs/api-reference/alerts/list-alerts\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Widgets\",\"item\":\"https://traceroot.ai/docs/api-reference/widgets/create-a-dashboard-widget\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Get Widget Data\",\"item\":\"https://traceroot.ai/docs/api-reference/widgets/get-widget-data\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://traceroot.ai/docs/api-reference/widgets/get-widget-data#apireference\",\"headline\":\"Get Widget Data\",\"name\":\"Get Widget Data\",\"description\":\"Answer one saved widget for a window, with a status instead of an exception.\",\"url\":\"https://traceroot.ai/docs/api-reference/widgets/get-widget-data\",\"mainEntityOfPage\":{\"@id\":\"https://traceroot.ai/docs/api-reference/widgets/get-widget-data#webpage\"},\"dateModified\":\"2026-11-05T22:52:04.823Z\",\"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","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","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","description":"Edit a widget's title, spec, or display config.\n\nRequires MEMBER role or higher in the project's workspace (the write\nservice decides). A sent ``spec`` replaces the whole spec and is checked\nagainst the widget's stored type by the service; ``type`` is immutable.\n\nArgs:\n request (Request): Incoming request (rate-limit plumbing).\n response (Response): Outgoing response (rate-limit plumbing).\n auth (AccountStampedAuth): Account-scope user auth (session token or\n CLI access JWT); its resolved ``user_id`` becomes the actor.\n widget_id (str): The widget to edit.\n payload (UpdateWidgetRequest): The project and the fields to change.\n _live (None): Write-path liveness gate (blocks a revoked JWT session).\n\nReturns:\n UpdateWidgetResponse: The updated widget and the changed fields.\n\nRaises:\n HTTPException: The write service's 400/403/404 verbatim, or a 503\n when its response is ambiguous.","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":"Get Widget Data - 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"]}