Run a configuration under a name. The name identifies the run plan: send a name already in use and that plan’s configuration is replaced with this one, send a new name and the plan is created, send no name and one is derived from what the run covers and what it runs against.
Project API key for sending traces and accessing project-scoped resources. Format: sk-lw-... (no underscore). Obtain one by creating a project via the Admin API or the LangWatch UI.
The run plan this run joins or creates. A run plan is identified by its name, so sending the same name again replaces that plan's configuration with this one. Leave it out and the name is derived from what the run covers and what it runs against. Up to 200 characters.
Repeat the same key to make a retry join the batch the first call started instead of running everything again. Send the same request with it: the same key over a different configuration starts its own batch. Defaults to a new key per call.
Constant values applied to every scenario in the run, e.g. a fixture id or a tenant. A value supplied here overrides the scenario's own default for that name, and a target that names the same parameter in its runParameters overrides it for that target.
One short line describing why this batch was run, e.g. a commit hash or what you changed. It is stored on every run of the batch and shown beside the run in the platform. Up to 200 characters.
Where to watch this run in the LangWatch platform.
Last modified on August 28, 2026
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"LangWatch","description":"LangWatch is an open-source LLMOps platform for observability, evaluations, prompt optimization, and agent testing.","colors":{"primary":"#e17100","light":"#fe9a00","dark":"#e17100"},"logo":{"light":"https://mintcdn.com/langwatch/RHmZel47SBF9eSZV/logo/dark.svg?fit=max\u0026auto=format\u0026n=RHmZel47SBF9eSZV\u0026q=85\u0026s=27fe16868ec581a9af33ced4398a0671","dark":"https://mintcdn.com/langwatch/RHmZel47SBF9eSZV/logo/light.svg?fit=max\u0026auto=format\u0026n=RHmZel47SBF9eSZV\u0026q=85\u0026s=08e9fbfe7cc5eff149cf77ee0809fe4f"},"favicon":"https://mintcdn.com/langwatch/AB8PLEfk80GQISzj/favicon.svg?fit=max\u0026auto=format\u0026n=AB8PLEfk80GQISzj\u0026q=85\u0026s=2f4e9559be1b98d8ad4afe23097bfbc3","api":{"playground":{"display":"interactive"},"examples":{"defaults":"required","languages":["python","typescript","curl"]}},"appearance":{"default":"system","strict":false},"navbar":{"links":[{"href":"https://docs.langwatch.ai/llms.txt","label":"llms.txt"},{"href":"https://app.langwatch.ai/?utm_source=docs\u0026utm_medium=docs\u0026utm_campaign=navbar-signin","label":"Sign In"}],"primary":{"type":"github","href":"https://github.com/langwatch/langwatch"}},"search":{"prompt":"Search the LangWatch docs"},"seo":{"organization":{"name":"LangWatch","url":"https://langwatch.ai","logo":"https://langwatch.ai/docs/logo/light.svg","sameAs":["https://github.com/langwatch/langwatch","https://x.com/langwatchai","https://www.linkedin.com/company/langwatch/","https://www.youtube.com/@LangWatch"]},"indexing":"navigable"},"integrations":{"gtm":{"tagId":"GTM-KJ4S6Z9C"}},"banner":{"content":"**[Get started with LangWatch Skills in seconds](https://langwatch.ai/docs/skills/directory):** Set up evals, scenario tests, and tracing just by asking your AI coding assistant.","dismissible":true},"errors":{"404":{"redirect":false,"title":"Page not found","description":"Most moved pages redirect on their own. If one of our own links sent you here, report it and we will fix it."}},"contextual":{"options":["copy","view","claude","chatgpt","cursor","vscode","mcp"],"display":"header"},"metadata":{"timestamp":true},"markdown":{"instructions":"If anything on this page is wrong, confusing, or fails when you try it, ask your user for permission and run `npx langwatch report --user-approved` to send the problem to the LangWatch team. No login is needed and secrets are redacted locally. `npx langwatch report --help` has the details."},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"Get Support","icon":"life-ring","href":"https://docs.langwatch.ai/support#email-support"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"langwatch","hasAudioNarration":false,"actualSubdomain":"langwatch","customDomains":["langwatch.ai"],"gitSource":{"type":"github","owner":"langwatch","repo":"langwatch","deployBranch":"main","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6aec7ec98029e5fb8e3e607a","collectionId":"e1cd5cc9-04d1-4cd2-bacb-78997b8375f7","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6aec7ec98029e5fb8e3e607a"},"feedback":{"thumbs":true},"entitlements":{},"buildId":"6aee67965b2d9a50d6c3cf82","clientVersion":"0.0.4076","searchFilterCounts":[{"language":"default","tag":"API Reference","count":416},{"language":"default","tag":"Platform","count":139},{"language":"default","tag":"Observability","count":108},{"language":"default","tag":"AI Gateway","count":77},{"language":"default","tag":"Self Hosting","count":43},{"language":"default","tag":"Evaluations","count":38},{"language":"default","tag":"SDKs","count":38},{"language":"default","tag":"Built-in Evaluators","count":33},{"language":"default","tag":"AI Governance","count":30},{"language":"default","tag":"Coding Agents","count":28}]},"assistantConfig":{},"basePath":"/docs","hasChatPermissions":false,"hasWebMcpPermissions":false,"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":[{"filePath":"style.css","content":".tabs .overflow-x-auto{overflow-x:visible!important}a[href=\"https://github.com/langwatch/langwatch\"] .text-sm{white-space:nowrap}[aria-controls~=\"accordion\"]{padding-right:8px;padding-left:8px;align-items:start}[aria-controls~=\"accordion\"] p:last-child{font-size:14px;margin-top:0.5rem}[aria-controls~=\"accordion\"] [class=\"mr-0.5\"]{margin-top:5px}[aria-controls~=\"accordion\"][aria-expanded=\"true\"] [class=\"mr-0.5\"]{margin-top:8px}#sidebar-group .lg\\:text-sm{font-size:0.85rem!important}#sidebar-group .lg\\:leading-6{line-height:1.375rem!important}#sidebar-group .mb-5{margin-bottom:0.75rem!important}#sidebar-group .sm\\:mb-4{margin-bottom:0.5rem!important}#sidebar-group .py-1\\.5{padding-top:0.25rem!important;padding-bottom:0.25rem!important}#sidebar-group .mt-12 .lg\\:mt-8{margin-top:2rem!important}#sidebar-group .mb-3\\.5{margin-bottom:0.5rem!important}#sidebar-group h5{font-size:0.9rem!important}#sidebar-group svg{height:0.8rem!important;width:0.8rem!important}#sidebar-group svg[viewBox=\"0 -9 3 24\"]{stroke-width:1px!important;height:28px!important;width:12px!important;opacity:0.8!important}#sidebar-group .group{position:relative!important;padding-right:20px!important}#sidebar-group .group svg[viewBox=\"0 -9 3 24\"]{position:absolute!important;right:8px!important;top:50%!important;transform:translateY(-50%)!important}#sidebar-group .duration-75{transform:none!important}#sidebar-group .group svg[viewBox=\"0 -9 3 24\"].duration-75{transform:translateY(-50%)!important}#sidebar-group .group svg[viewBox=\"0 -9 3 24\"].duration-75.rotate-90{transform:translateY(-50%) rotate(90deg)!important}.line-highlight{background:rgb(85 215 153 / 0.2)!important}.line-highlight:before{background:rgb(85 215 153 / 0.2)!important;border-left:4px solid rgb(85 215 153)!important}.line-highlight:after{background:rgb(85 215 153 / 0.2)!important}code{max-width:100%;overflow-x:auto}.lw-copy-prompt{border:1px solid #e5e7eb;border-radius:12px;padding:12px 16px;display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;transition:all 0.15s;margin-bottom:8px}.lw-copy-prompt:hover{background:#f9fafb}.lw-copy-btn{display:flex;align-items:center;gap:6px;padding:6px 12px;border-radius:8px;border:1px solid #e5e7eb;background:transparent;cursor:pointer;font-size:13px;font-weight:500;transition:all 0.15s;white-space:nowrap;color:inherit}.lw-copy-btn .lw-check-icon{display:none}.lw-copy-btn .lw-copy-icon{display:flex;align-items:center;gap:6px}.lw-copy-btn[data-copied] .lw-copy-icon{display:none}.lw-copy-btn[data-copied] .lw-check-icon{display:flex;align-items:center;gap:6px}.lw-copy-btn[data-copied]{background:#ecfdf5;color:#059669;border-color:#059669}.lw-copy-prompt[data-copied] .lw-copy-line-icon{display:none!important}.lw-copy-prompt[data-copied] .lw-copy-line-check{display:flex!important}.dark .lw-copy-prompt{border-color:#374151}.dark .lw-copy-prompt:hover{background:transparent;border-color:#6b7280}.dark .lw-copy-prompt:hover span{color:#f9fafb}.dark .lw-copy-btn{border-color:#374151}.dark .lw-copy-prompt:hover .lw-copy-btn{border-color:#6b7280;color:#f9fafb}.dark .lw-copy-btn[data-copied]{background:rgba(5, 150, 105, 0.15);border-color:rgba(5, 150, 105, 0.4);color:#059669}.lw-skill-install{border:1px solid #e5e7eb;border-radius:12px;padding:20px 24px;margin-bottom:16px}.lw-skill-install.lw-skill-highlighted{border-color:rgba(225, 113, 0, 0.4);background:rgba(225, 113, 0, 0.06)}.dark .lw-skill-install{border-color:#374151}.dark .lw-skill-install.lw-skill-highlighted{border-color:rgba(225, 113, 0, 0.4)}.lw-inline-copy-btn{display:inline-flex;align-items:center;padding:2px;border:none;background:transparent;color:#9ca3af;cursor:pointer;transition:color 0.15s;vertical-align:middle}.lw-inline-copy-btn:hover{color:#6b7280}.dark .lw-inline-copy-btn:hover{color:#d1d5db}.lw-info-box{display:flex;gap:12px;padding:16px;border:1px solid #e5e7eb;border-radius:12px;background:#f9fafb;margin-bottom:16px;margin-top:32px}.lw-info-box-icon{flex-shrink:0;color:#6b7280;margin-top:6px}.lw-info-box-content{flex:1;min-width:0;font-size:14px}.lw-info-box-content p{margin:0 0 8px}.lw-info-box-content p:last-child{margin-bottom:0}.lw-info-box-content pre{margin:8px 0 0!important}.lw-info-box-content [data-component-part=\"code-block-root\"]{padding-top:6px!important}.lw-info-box-content .code-block{margin-bottom:0!important}.dark .lw-info-box{border-color:#374151;background:rgba(255, 255, 255, 0.03)}.dark .lw-info-box-icon{color:#9ca3af}.lw-accordion{border:1px solid #e5e7eb;border-radius:12px;margin-bottom:8px;overflow:hidden}.lw-accordion-header{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;cursor:pointer;transition:background 0.15s;list-style:none}.lw-accordion-header:hover{background:#f9fafb}.lw-accordion-title{font-size:14px}.lw-accordion-chevron{flex-shrink:0;transition:transform 0.2s;color:#9ca3af}.lw-accordion[data-open] .lw-accordion-chevron{transform:rotate(180deg)}.lw-accordion-body{display:none;padding:0 16px 16px;border-top:1px solid #e5e7eb}.lw-accordion[data-open] .lw-accordion-body{display:block}.lw-accordion-static .lw-accordion-header{cursor:default}.lw-accordion-static .lw-accordion-header:hover{background:transparent}.lw-prompt-source{display:none}.lw-accordion-commands{display:flex;gap:16px;margin-top:12px}.lw-accordion-cmd-col{flex:1;min-width:0}.lw-accordion-cmd-label{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:0.05em;color:#6b7280;margin-bottom:6px}.lw-accordion-cmd-box{display:flex;align-items:center;gap:8px;padding:8px 12px;background:#f9fafb;border-radius:8px;border:1px solid #e5e7eb;cursor:pointer;transition:border-color 0.15s}.lw-accordion-cmd-box:hover{border-color:#d1d5db}.lw-accordion-cmd-box code{font-size:13px;font-family:var(--font-mono, monospace);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1;min-width:0;background:transparent!important;padding:0!important;border:none!important}.lw-slash-command{color:#e17100;font-weight:600}.lw-accordion-cmd-box[data-copied]{border-color:#059669;background:#ecfdf5}.lw-accordion-cmd-box[data-copied] .lw-copy-line-icon{display:none!important}.lw-accordion-cmd-box[data-copied] .lw-copy-line-check{display:inline-flex!important}.lw-accordion-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.lw-accordion-action{display:flex;align-items:center;gap:8px;padding:6px 12px 6px 6px;border:1px solid #e5e7eb;border-radius:8px;background:transparent;cursor:pointer;text-decoration:none;color:inherit;transition:all 0.15s;text-align:left}.lw-accordion-action:hover{background:#f9fafb;border-color:#d1d5db}.lw-accordion-action-icon{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border:1px solid #e5e7eb;border-radius:6px;color:#6b7280;flex-shrink:0}.lw-accordion-action-text{display:flex;flex-direction:column;line-height:1.2}.lw-accordion-action-title{font-size:13px;font-weight:500}.lw-accordion-action-subtitle{font-size:11px;font-weight:400;color:#9ca3af}.lw-accordion-action[data-copied]{background:#ecfdf5;border-color:#059669}.lw-accordion-action[data-copied] .lw-copy-line-icon{display:none!important}.lw-accordion-action[data-copied] .lw-copy-line-check{display:flex!important}.dark .lw-accordion{border-color:#374151}.dark .lw-accordion-header:hover{background:rgba(255, 255, 255, 0.03)}.dark .lw-accordion-static .lw-accordion-header:hover{background:transparent}.dark .lw-accordion-body{border-top-color:#374151}.dark .lw-accordion-cmd-box{background:rgba(255, 255, 255, 0.05);border-color:#374151}.dark .lw-accordion-cmd-box:hover{border-color:#6b7280}.dark .lw-accordion-cmd-box[data-copied]{background:rgba(5, 150, 105, 0.15);border-color:rgba(5, 150, 105, 0.4)}.dark .lw-accordion-action{border-color:#374151}.dark .lw-accordion-action-icon{border-color:#374151}.dark .lw-accordion-action:hover{background:rgba(255, 255, 255, 0.03);border-color:#6b7280}.dark .lw-accordion-action[data-copied]{background:rgba(5, 150, 105, 0.15);border-color:rgba(5, 150, 105, 0.4)}.dark .lw-accordion-chevron{color:#6b7280}.dark .lw-slash-command{color:#fe9a00}#sidebar-group .group>img{align-self:center}#footer{flex-wrap:wrap;row-gap:0}.lw-agent-report{flex:0 0 100%;font-size:14px;color:#9ca3af;padding-bottom:12px}.lw-agent-report a{color:inherit;text-decoration:underline;text-underline-offset:2px}.lw-agent-report a:hover{color:#6b7280}.lw-agent-report code{font-size:13px;white-space:nowrap;background:rgba(0, 0, 0, 0.04);border:1px solid #e5e7eb;border-radius:4px;padding:1px 5px}.dark .lw-agent-report{color:#6b7280}.dark .lw-agent-report a:hover{color:#9ca3af}.dark .lw-agent-report code{background:rgba(255, 255, 255, 0.05);border-color:#374151}"}],"page":{"pagePath":"api-reference/run-plans/create-run","slug":"/api-reference/run-plans/create-run","pageMetadata":{"title":"Run a configuration under a name","openapi":"POST /api/v1/run-plans/run","description":"Run a configuration under a name. The name identifies the run plan: send a name already in use and that plan's configuration is replaced with this one, send a new name and the plan is created, send no name and one is derived from what the run covers and what it runs against.","href":"/api-reference/run-plans/create-run"},"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: \"Run a configuration under a name. The name identifies the run plan: send a name already in use and that plan’s configuration is replaced with this one, send a new name and the plan is created, send no name and one is derived from what the run covers and what it runs against.\"\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":"Run a configuration under a name","openapi":"POST /api/v1/run-plans/run","description":"Run a configuration under a name. The name identifies the run plan: send a name already in use and that plan's configuration is replaced with this one, send a new name and the plan is created, send no name and one is derived from what the run covers and what it runs against.","href":"/api-reference/run-plans/create-run"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/docs/_mintlify/custom/langwatch/1c7dbbb4aa0b0c87/expand-menus.js","/docs/_mintlify/custom/langwatch/fdd2d1ee81d630a0/posthog.js"],"openApiReferenceData":{"operation":{"operationId":"runRunPlan","responses":{"200":"81b8d33b-9196-4bca-b29f-e0b679c8eefb"},"description":"Run a configuration under a name. The name identifies the run plan: send a name already in use and that plan's configuration is replaced with this one, send a new name and the plan is created, send no name and one is derived from what the run covers and what it runs against.","tags":["Run Plans"],"security":["c6917b07-54f0-4c43-b461-9ec9159e855d"],"x-access-policy":{"kind":"handlerManaged","credential":["project_api_key"],"permissions":["scenarios:create"]},"requestBody":"e800e04b-3ffc-422e-a148-4eb8fc80f2cf","method":"post","type":"path","servers":["3d7670a2-14fa-45d0-92c8-b70abfa8804f"],"path":"/api/v1/run-plans/run","baseUrlOptions":["https://app.langwatch.ai"],"title":"","codeSamples":[],"requestExampleLanguages":["python","typescript","bash"],"requiredOnlyExamples":true,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"config":{"type":"object","properties":{"scope":{"oneOf":[{"type":"object","description":"What the run plan covers: all (every active scenario), test_suites (the scenarios filed in the named test suites), labels (the scenarios carrying any of the labels), or scenarios (the scenarioIds sent with the configuration). A dynamic scope is resolved again at every run, so a scenario written later runs without editing the plan.","required":["mode"],"properties":{"mode":{"type":"string","const":"all","isRequired":true,"uniqueKey":"config.scope.oneOf.0.mode","typeLabel":"string"}},"isRequired":true,"uniqueKey":"config.scope.oneOf.0","typeLabel":"object"},{"type":"object","description":"What the run plan covers: all (every active scenario), test_suites (the scenarios filed in the named test suites), labels (the scenarios carrying any of the labels), or scenarios (the scenarioIds sent with the configuration). A dynamic scope is resolved again at every run, so a scenario written later runs without editing the plan.","required":["mode","testSuiteIds"],"properties":{"mode":{"type":"string","const":"test_suites","isRequired":true,"uniqueKey":"config.scope.oneOf.1.mode","typeLabel":"string"},"testSuiteIds":{"type":"array","items":{"type":"string","uniqueKey":"config.scope.oneOf.1.testSuiteIds.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"config.scope.oneOf.1.testSuiteIds","typeLabel":"string[]"}},"isRequired":true,"uniqueKey":"config.scope.oneOf.1","typeLabel":"object"},{"type":"object","description":"What the run plan covers: all (every active scenario), test_suites (the scenarios filed in the named test suites), labels (the scenarios carrying any of the labels), or scenarios (the scenarioIds sent with the configuration). A dynamic scope is resolved again at every run, so a scenario written later runs without editing the plan.","required":["mode","labels"],"properties":{"mode":{"type":"string","const":"labels","isRequired":true,"uniqueKey":"config.scope.oneOf.2.mode","typeLabel":"string"},"labels":{"type":"array","items":{"type":"string","uniqueKey":"config.scope.oneOf.2.labels.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"config.scope.oneOf.2.labels","typeLabel":"string[]"}},"isRequired":true,"uniqueKey":"config.scope.oneOf.2","typeLabel":"object"},{"type":"object","description":"What the run plan covers: all (every active scenario), test_suites (the scenarios filed in the named test suites), labels (the scenarios carrying any of the labels), or scenarios (the scenarioIds sent with the configuration). A dynamic scope is resolved again at every run, so a scenario written later runs without editing the plan.","required":["mode"],"properties":{"mode":{"type":"string","const":"scenarios","isRequired":true,"uniqueKey":"config.scope.oneOf.3.mode","typeLabel":"string"}},"isRequired":true,"uniqueKey":"config.scope.oneOf.3","typeLabel":"object"}],"isRequired":true,"uniqueKey":"config.scope","typeLabel":"object"},"targets":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["prompt","http","code","workflow","connected","voice"],"isRequired":true,"uniqueKey":"config.targets.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"referenceId":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"config.targets.items.[INDEX].referenceId","typeLabel":"string"},"scenarioMappings":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"oneOf":[{"type":"object","required":["type","sourceId","path"],"properties":{"type":{"type":"string","const":"source","isRequired":true,"uniqueKey":"config.targets.items.[INDEX].scenarioMappings.additionalProperties.oneOf.0.type","typeLabel":"string"},"sourceId":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"config.targets.items.[INDEX].scenarioMappings.additionalProperties.oneOf.0.sourceId","typeLabel":"string"},"path":{"type":"array","items":{"type":"string","uniqueKey":"config.targets.items.[INDEX].scenarioMappings.additionalProperties.oneOf.0.path.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"config.targets.items.[INDEX].scenarioMappings.additionalProperties.oneOf.0.path","typeLabel":"string[]"}},"additionalProperties":false,"uniqueKey":"config.targets.items.[INDEX].scenarioMappings.additionalProperties.oneOf.0","typeLabel":"object"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","const":"value","isRequired":true,"uniqueKey":"config.targets.items.[INDEX].scenarioMappings.additionalProperties.oneOf.1.type","typeLabel":"string"},"value":{"type":"string","isRequired":true,"uniqueKey":"config.targets.items.[INDEX].scenarioMappings.additionalProperties.oneOf.1.value","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"config.targets.items.[INDEX].scenarioMappings.additionalProperties.oneOf.1","typeLabel":"object"}],"uniqueKey":"config.targets.items.[INDEX].scenarioMappings.additionalProperties","typeLabel":"object"},"uniqueKey":"config.targets.items.[INDEX].scenarioMappings","typeLabel":"object"},"runParameters":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"oneOf":[{"type":"string","maxLength":4096,"uniqueKey":"config.targets.items.[INDEX].runParameters.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"number","uniqueKey":"config.targets.items.[INDEX].runParameters.additionalProperties.oneOf.1","typeLabel":"number"},{"type":"boolean","uniqueKey":"config.targets.items.[INDEX].runParameters.additionalProperties.oneOf.2","typeLabel":"boolean"}],"uniqueKey":"config.targets.items.[INDEX].runParameters.additionalProperties","typeLabel":"string | number | boolean"},"uniqueKey":"config.targets.items.[INDEX].runParameters","typeLabel":"object"},"runSecretParameterNames":{"maxItems":50,"type":"array","items":{"type":"string","maxLength":64,"uniqueKey":"config.targets.items.[INDEX].runSecretParameterNames.items.[INDEX]","typeLabel":"string"},"uniqueKey":"config.targets.items.[INDEX].runSecretParameterNames","typeLabel":"string[]"}},"required":["type","referenceId"],"additionalProperties":false,"uniqueKey":"config.targets.items.[INDEX]","typeLabel":"object"},"description":"The prompts, agents or workflows every scenario runs against. Every target runs every scenario, so naming more than one compares them in the same run.","isRequired":true,"uniqueKey":"config.targets","typeLabel":"object[]"},"repeatCount":{"description":"How many times each scenario and target pairing runs. Between 1 and 5; defaults to 1.","type":"integer","minimum":1,"maximum":5,"uniqueKey":"config.repeatCount","typeLabel":"integer"},"simulatorModel":{"oneOf":[{"type":"string","description":"The model that plays the user for every scenario in the run. Overrides each scenario's own choice. Leave it out for the scenario or project default.","maxLength":200,"pattern":"^[a-zA-Z0-9_-]+(?:\\/[^\\s/]+)+$","uniqueKey":"config.simulatorModel.oneOf.0","typeLabel":"string"},{"type":"null","description":"The model that plays the user for every scenario in the run. Overrides each scenario's own choice. Leave it out for the scenario or project default.","uniqueKey":"config.simulatorModel.oneOf.1","typeLabel":"null"}],"uniqueKey":"config.simulatorModel","typeLabel":"string | null"},"judgeModel":{"oneOf":[{"type":"string","description":"The model that judges every scenario in the run. Overrides each scenario's own choice. Leave it out for the scenario or project default.","maxLength":200,"pattern":"^[a-zA-Z0-9_-]+(?:\\/[^\\s/]+)+$","uniqueKey":"config.judgeModel.oneOf.0","typeLabel":"string"},{"type":"null","description":"The model that judges every scenario in the run. Overrides each scenario's own choice. Leave it out for the scenario or project default.","uniqueKey":"config.judgeModel.oneOf.1","typeLabel":"null"}],"uniqueKey":"config.judgeModel","typeLabel":"string | null"},"scenarioIds":{"description":"The scenarios a test_suites or scenarios scope covers. Read by a scenarios scope alone; a scope that states a rule resolves its own list at run time.","type":"array","items":{"type":"string","uniqueKey":"config.scenarioIds.items.[INDEX]","typeLabel":"string"},"uniqueKey":"config.scenarioIds","typeLabel":"string[]"},"evaluators":{"description":"The plan's own evaluators, run beside the ones attached to the test suites its scenarios belong to. A plan evaluator reads the conversation and the trace, never a scenario field. Leave it out to keep what the plan already holds.","maxItems":20,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64,"description":"The attachment id. Stable across edits of the attachment.","isRequired":true,"uniqueKey":"config.evaluators.items.[INDEX].id","typeLabel":"string"},"evaluatorId":{"type":"string","minLength":1,"description":"The id of the saved evaluator this attachment runs.","isRequired":true,"uniqueKey":"config.evaluators.items.[INDEX].evaluatorId","typeLabel":"string"},"required":{"type":"boolean","description":"Whether a failing result fails the scenario. A score-only evaluator reports and never gates.","isRequired":true,"uniqueKey":"config.evaluators.items.[INDEX].required","typeLabel":"boolean"},"mappings":{"type":"object","propertyNames":{"type":"string","minLength":1,"maxLength":128},"additionalProperties":{"oneOf":[{"type":"object","description":"Where one evaluator input reads its value. A source mapping names conversation (first_user_message, last_agent_message, transcript, messages), scenario (situation, criteria, or fields followed by a field identifier) or trace (contexts, spans, or tool_calls followed by a tool name and input or output). A value mapping is a literal.","required":["type","sourceId","path"],"properties":{"type":{"type":"string","const":"source","isRequired":true,"uniqueKey":"config.evaluators.items.[INDEX].mappings.additionalProperties.oneOf.0.type","typeLabel":"string"},"sourceId":{"type":"string","enum":["conversation","scenario","trace"],"isRequired":true,"uniqueKey":"config.evaluators.items.[INDEX].mappings.additionalProperties.oneOf.0.sourceId","typeLabel":"enum\u003cstring>"},"path":{"minItems":1,"maxItems":3,"type":"array","items":{"type":"string","minLength":1,"maxLength":256,"uniqueKey":"config.evaluators.items.[INDEX].mappings.additionalProperties.oneOf.0.path.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"config.evaluators.items.[INDEX].mappings.additionalProperties.oneOf.0.path","typeLabel":"string[]"}},"uniqueKey":"config.evaluators.items.[INDEX].mappings.additionalProperties.oneOf.0","typeLabel":"object"},{"type":"object","description":"Where one evaluator input reads its value. A source mapping names conversation (first_user_message, last_agent_message, transcript, messages), scenario (situation, criteria, or fields followed by a field identifier) or trace (contexts, spans, or tool_calls followed by a tool name and input or output). A value mapping is a literal.","required":["type","value"],"properties":{"type":{"type":"string","const":"value","isRequired":true,"uniqueKey":"config.evaluators.items.[INDEX].mappings.additionalProperties.oneOf.1.type","typeLabel":"string"},"value":{"type":"string","maxLength":65536,"isRequired":true,"uniqueKey":"config.evaluators.items.[INDEX].mappings.additionalProperties.oneOf.1.value","typeLabel":"string"}},"uniqueKey":"config.evaluators.items.[INDEX].mappings.additionalProperties.oneOf.1","typeLabel":"object"}],"uniqueKey":"config.evaluators.items.[INDEX].mappings.additionalProperties","typeLabel":"object"},"description":"Where each evaluator input reads its value, keyed by input name. Inputs left out are unmapped; a required input left unmapped refuses the run.","isRequired":true,"uniqueKey":"config.evaluators.items.[INDEX].mappings","typeLabel":"object"}},"required":["id","evaluatorId","required","mappings"],"description":"One evaluator that runs after every scenario run, with where each of its inputs reads from.","uniqueKey":"config.evaluators.items.[INDEX]","typeLabel":"object"},"uniqueKey":"config.evaluators","typeLabel":"object[]"}},"required":["scope","targets"],"description":"What this run covers and what it runs against. Written onto the run plan the name resolves.","isRequired":true,"uniqueKey":"config","typeLabel":"object"},"name":{"description":"The run plan this run joins or creates. A run plan is identified by its name, so sending the same name again replaces that plan's configuration with this one. Leave it out and the name is derived from what the run covers and what it runs against. Up to 200 characters.","type":"string","minLength":1,"maxLength":200,"uniqueKey":"name","typeLabel":"string"},"idempotencyKey":{"description":"Repeat the same key to make a retry join the batch the first call started instead of running everything again. Send the same request with it: the same key over a different configuration starts its own batch. Defaults to a new key per call.","type":"string","uniqueKey":"idempotencyKey","typeLabel":"string"},"parameters":{"description":"Constant values applied to every scenario in the run, e.g. a fixture id or a tenant. A value supplied here overrides the scenario's own default for that name, and a target that names the same parameter in its runParameters overrides it for that target.","type":"object","propertyNames":{"type":"string"},"additionalProperties":{"oneOf":[{"type":"string","maxLength":4096,"uniqueKey":"parameters.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"number","uniqueKey":"parameters.additionalProperties.oneOf.1","typeLabel":"number"},{"type":"boolean","uniqueKey":"parameters.additionalProperties.oneOf.2","typeLabel":"boolean"}],"uniqueKey":"parameters.additionalProperties","typeLabel":"string | number | boolean"},"uniqueKey":"parameters","typeLabel":"object"},"note":{"description":"One short line describing why this batch was run, e.g. a commit hash or what you changed. It is stored on every run of the batch and shown beside the run in the platform. Up to 200 characters.","type":"string","maxLength":200,"uniqueKey":"note","typeLabel":"string"}},"required":["config"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"config":{"scope":{"mode":"all"},"targets":[{"referenceId":"\u003cstring>","scenarioMappings":{},"runParameters":{},"runSecretParameterNames":["\u003cstring>"]}],"repeatCount":3,"simulatorModel":"\u003cstring>","judgeModel":"\u003cstring>","scenarioIds":["\u003cstring>"],"evaluators":[{"id":"\u003cstring>","evaluatorId":"\u003cstring>","required":true,"mappings":{}}]},"name":"\u003cstring>","idempotencyKey":"\u003cstring>","parameters":{},"note":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"81b8d33b-9196-4bca-b29f-e0b679c8eefb":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"scheduled":{"type":"boolean","description":"True once the runs are queued.","isRequired":true,"uniqueKey":"scheduled","typeLabel":"boolean"},"batchRunId":{"type":"string","description":"The id of this batch. Every run started here carries it.","isRequired":true,"uniqueKey":"batchRunId","typeLabel":"string"},"setId":{"type":"string","description":"The result set the batch is filed under in the platform.","isRequired":true,"uniqueKey":"setId","typeLabel":"string"},"jobCount":{"type":"number","description":"How many runs were queued.","isRequired":true,"uniqueKey":"jobCount","typeLabel":"number"},"skippedArchived":{"type":"object","properties":{"scenarios":{"type":"array","items":{"type":"string","uniqueKey":"skippedArchived.scenarios.items.[INDEX]","typeLabel":"string"},"description":"Scenarios left out because they are archived.","isRequired":true,"uniqueKey":"skippedArchived.scenarios","typeLabel":"string[]"},"targets":{"type":"array","items":{"type":"string","uniqueKey":"skippedArchived.targets.items.[INDEX]","typeLabel":"string"},"description":"Targets left out because they are archived.","isRequired":true,"uniqueKey":"skippedArchived.targets","typeLabel":"string[]"}},"required":["scenarios","targets"],"additionalProperties":false,"description":"What the run left out, and why.","isRequired":true,"uniqueKey":"skippedArchived","typeLabel":"object"},"items":{"type":"array","items":{"type":"object","properties":{"scenarioRunId":{"type":"string","description":"The id of this single run.","isRequired":true,"uniqueKey":"\\items.items.[INDEX].scenarioRunId","typeLabel":"string"},"scenarioId":{"type":"string","description":"The scenario that was run.","isRequired":true,"uniqueKey":"\\items.items.[INDEX].scenarioId","typeLabel":"string"},"target":{"type":"object","properties":{"type":{"type":"string","enum":["prompt","http","code","workflow","connected","voice"],"isRequired":true,"uniqueKey":"\\items.items.[INDEX].target.type","typeLabel":"enum\u003cstring>"},"referenceId":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"\\items.items.[INDEX].target.referenceId","typeLabel":"string"},"scenarioMappings":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"oneOf":[{"type":"object","required":["type","sourceId","path"],"properties":{"type":{"type":"string","const":"source","isRequired":true,"uniqueKey":"\\items.items.[INDEX].target.scenarioMappings.additionalProperties.oneOf.0.type","typeLabel":"string"},"sourceId":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"\\items.items.[INDEX].target.scenarioMappings.additionalProperties.oneOf.0.sourceId","typeLabel":"string"},"path":{"type":"array","items":{"type":"string","uniqueKey":"\\items.items.[INDEX].target.scenarioMappings.additionalProperties.oneOf.0.path.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"\\items.items.[INDEX].target.scenarioMappings.additionalProperties.oneOf.0.path","typeLabel":"string[]"}},"additionalProperties":false,"uniqueKey":"\\items.items.[INDEX].target.scenarioMappings.additionalProperties.oneOf.0","typeLabel":"object"},{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","const":"value","isRequired":true,"uniqueKey":"\\items.items.[INDEX].target.scenarioMappings.additionalProperties.oneOf.1.type","typeLabel":"string"},"value":{"type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].target.scenarioMappings.additionalProperties.oneOf.1.value","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"\\items.items.[INDEX].target.scenarioMappings.additionalProperties.oneOf.1","typeLabel":"object"}],"uniqueKey":"\\items.items.[INDEX].target.scenarioMappings.additionalProperties","typeLabel":"object"},"uniqueKey":"\\items.items.[INDEX].target.scenarioMappings","typeLabel":"object"},"runParameters":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"oneOf":[{"type":"string","maxLength":4096,"uniqueKey":"\\items.items.[INDEX].target.runParameters.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"number","uniqueKey":"\\items.items.[INDEX].target.runParameters.additionalProperties.oneOf.1","typeLabel":"number"},{"type":"boolean","uniqueKey":"\\items.items.[INDEX].target.runParameters.additionalProperties.oneOf.2","typeLabel":"boolean"}],"uniqueKey":"\\items.items.[INDEX].target.runParameters.additionalProperties","typeLabel":"string | number | boolean"},"uniqueKey":"\\items.items.[INDEX].target.runParameters","typeLabel":"object"},"runSecretParameterNames":{"maxItems":50,"type":"array","items":{"type":"string","maxLength":64,"uniqueKey":"\\items.items.[INDEX].target.runSecretParameterNames.items.[INDEX]","typeLabel":"string"},"uniqueKey":"\\items.items.[INDEX].target.runSecretParameterNames","typeLabel":"string[]"}},"required":["type","referenceId"],"additionalProperties":false,"description":"What it was run against.","isRequired":true,"uniqueKey":"\\items.items.[INDEX].target","typeLabel":"object"},"name":{"oneOf":[{"description":"The scenario name, when known.","type":"string","isRequired":true,"uniqueKey":"\\items.items.[INDEX].name.oneOf.0","typeLabel":"string"},{"description":"The scenario name, when known.","type":"null","isRequired":true,"uniqueKey":"\\items.items.[INDEX].name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"\\items.items.[INDEX].name","typeLabel":"string | null"}},"required":["scenarioRunId","scenarioId","target","name"],"additionalProperties":false,"uniqueKey":"\\items.items.[INDEX]","typeLabel":"object"},"description":"Every run this call queued.","isRequired":true,"uniqueKey":"\\items","typeLabel":"object[]"},"runPlanId":{"type":"string","description":"The run plan this run was filed under.","isRequired":true,"uniqueKey":"runPlanId","typeLabel":"string"},"planName":{"type":"string","description":"The name that plan answers to.","isRequired":true,"uniqueKey":"planName","typeLabel":"string"},"created":{"type":"boolean","description":"True when this run created the plan, false when it joined a plan already there.","isRequired":true,"uniqueKey":"created","typeLabel":"boolean"},"platformUrl":{"type":"string","format":"uri","description":"Where to watch this run in the LangWatch platform.","isRequired":true,"uniqueKey":"platformUrl","typeLabel":"string\u003curi>"}},"required":["scheduled","batchRunId","setId","jobCount","skippedArchived","items","runPlanId","planName","created","platformUrl"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"scheduled":true,"batchRunId":"\u003cstring>","setId":"\u003cstring>","jobCount":123,"skippedArchived":{"scenarios":["\u003cstring>"],"targets":["\u003cstring>"]},"items":[{"scenarioRunId":"\u003cstring>","scenarioId":"\u003cstring>","target":{"type":"prompt","referenceId":"\u003cstring>","scenarioMappings":{},"runParameters":{},"runSecretParameterNames":["\u003cstring>"]},"name":"\u003cstring>"}],"runPlanId":"\u003cstring>","planName":"\u003cstring>","created":true,"platformUrl":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"c6917b07-54f0-4c43-b461-9ec9159e855d":{"project_api_key":{"type":"apiKey","in":"header","name":"X-Auth-Token","description":"Project API key for sending traces and accessing project-scoped resources. Format: sk-lw-... (no underscore). Obtain one by creating a project via the Admin API or the LangWatch UI.","scopes":[],"schemeName":"project_api_key"}}},"servers":{"3d7670a2-14fa-45d0-92c8-b70abfa8804f":{"url":"https://app.langwatch.ai"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"X-Auth-Token","description":"Project API key for sending traces and accessing project-scoped resources. Format: sk-lw-... (no underscore). Obtain one by creating a project via the Admin API or the LangWatch UI.","scopes":[],"schemeName":"project_api_key"},"schema":{"title":"X-Auth-Token","type":"string","description":"Project API key for sending traces and accessing project-scoped resources. Format: sk-lw-... (no underscore). Obtain one by creating a project via the Admin API or the LangWatch UI.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"project_api_key","name":"X-Auth-Token"}],"title":"project_api_key"}]},"originalFileLocation":"api-reference/openapiLangWatch.json"},"subdomain":"langwatch","siteName":"LangWatch","title":"Run a configuration under a name - LangWatch","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-08-28T10:22:21.677Z","gitLastModified":"2026-08-28T10:19:57.000Z","originalFileLocation":"api-reference/run-plans/create-run.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=\"Run a configuration under a name. The name identifies the run plan: send a name already in use and that plan\u0026#x27;s configuration is replaced with this one, send a new name and the plan is created, send no name and one is derived from what the run covers and what it runs against.\">\u003cmeta data-mint-head name=\"application-name\" content=\"LangWatch\">\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/langwatch/kXoUUhFGtPYqSZK4/_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/langwatch/kXoUUhFGtPYqSZK4/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/langwatch/kXoUUhFGtPYqSZK4/_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/langwatch/kXoUUhFGtPYqSZK4/_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/langwatch/kXoUUhFGtPYqSZK4/_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/langwatch/kXoUUhFGtPYqSZK4/_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/langwatch/kXoUUhFGtPYqSZK4/_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/langwatch/kXoUUhFGtPYqSZK4/_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/langwatch/kXoUUhFGtPYqSZK4/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Run a configuration under a name - LangWatch\">\u003cmeta data-mint-head property=\"og:description\" content=\"Run a configuration under a name. The name identifies the run plan: send a name already in use and that plan\u0026#x27;s configuration is replaced with this one, send a new name and the plan is created, send no name and one is derived from what the run covers and what it runs against.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"LangWatch\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://langwatch.ai/docs/api-reference/run-plans/create-run\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://langwatch.mintlify.site/docs/_mintlify/api/og/v2?division=Run+Plans\u0026amp;title=Run+a+configuration+under+a+name\u0026amp;description=Run+a+configuration+under+a+name.+The+name+identifies+the+run+plan%3A+send+a+name+already+in+use+and+that+plan%27s+configuration+is+replaced+with+this+one%2C+send+a+n\u0026amp;theme=c82022416a7a1873b973b6a4\u0026amp;signature=ab4828636774aa3c2d33dcc485cabed2279535a014359768961468a506e2100d\">\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=\"Run a configuration under a name - LangWatch\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Run a configuration under a name. The name identifies the run plan: send a name already in use and that plan\u0026#x27;s configuration is replaced with this one, send a new name and the plan is created, send no name and one is derived from what the run covers and what it runs against.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://langwatch.mintlify.site/docs/_mintlify/api/og/v2?division=Run+Plans\u0026amp;title=Run+a+configuration+under+a+name\u0026amp;description=Run+a+configuration+under+a+name.+The+name+identifies+the+run+plan%3A+send+a+name+already+in+use+and+that+plan%27s+configuration+is+replaced+with+this+one%2C+send+a+n\u0026amp;theme=c82022416a7a1873b973b6a4\u0026amp;signature=ab4828636774aa3c2d33dcc485cabed2279535a014359768961468a506e2100d\">\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/langwatch/kXoUUhFGtPYqSZK4/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"LangWatch\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#e17100\">\u003clink data-mint-head rel=\"canonical\" href=\"https://langwatch.ai/docs/api-reference/run-plans/create-run\">\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/run-plans/create-run.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://langwatch.ai/#organization\",\"name\":\"LangWatch\",\"url\":\"https://langwatch.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://langwatch.ai/docs/logo/light.svg\"},\"sameAs\":[\"https://github.com/langwatch/langwatch\",\"https://x.com/langwatchai\",\"https://www.linkedin.com/company/langwatch/\",\"https://www.youtube.com/@LangWatch\"]},{\"@type\":\"WebSite\",\"@id\":\"https://langwatch.ai/docs#website\",\"name\":\"LangWatch\",\"url\":\"https://langwatch.ai/docs\",\"publisher\":{\"@id\":\"https://langwatch.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://langwatch.ai/docs/api-reference/run-plans/create-run#webpage\",\"url\":\"https://langwatch.ai/docs/api-reference/run-plans/create-run\",\"name\":\"Run a configuration under a name\",\"description\":\"Run a configuration under a name. The name identifies the run plan: send a name already in use and that plan's configuration is replaced with this one, send a new name and the plan is created, send no name and one is derived from what the run covers and what it runs against.\",\"dateModified\":\"2026-08-28T10:19:57.000Z\",\"isPartOf\":{\"@id\":\"https://langwatch.ai/docs#website\"},\"breadcrumb\":{\"@id\":\"https://langwatch.ai/docs/api-reference/run-plans/create-run#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://langwatch.ai/docs/api-reference/run-plans/create-run#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Run Plans\",\"item\":\"https://langwatch.ai/docs/api-reference/run-plans/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Run a configuration under a name\",\"item\":\"https://langwatch.ai/docs/api-reference/run-plans/create-run\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://langwatch.ai/docs/api-reference/run-plans/create-run#apireference\",\"headline\":\"Run a configuration under a name\",\"name\":\"Run a configuration under a name\",\"description\":\"Run a configuration under a name. The name identifies the run plan: send a name already in use and that plan's configuration is replaced with this one, send a new name and the plan is created, send no name and one is derived from what the run covers and what it runs against.\",\"url\":\"https://langwatch.ai/docs/api-reference/run-plans/create-run\",\"mainEntityOfPage\":{\"@id\":\"https://langwatch.ai/docs/api-reference/run-plans/create-run#webpage\"},\"dateModified\":\"2026-08-28T10:19:57.000Z\",\"publisher\":{\"@id\":\"https://langwatch.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://langwatch.ai/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"LangWatch\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"LangWatch","nav":{"global":{"anchors":[{"anchor":"Get Support","icon":"life-ring","href":"https://docs.langwatch.ai/support#email-support"}]},"anchors":[{"anchor":"Platform","icon":"book-open","pages":[{"title":"Platform","href":"/introduction"}]},{"anchor":"Observability","icon":"plug","pages":[{"title":"Observability","href":"/integration/overview"}]},{"anchor":"AI Gateway","icon":"route","pages":[{"title":"AI Gateway","href":"/ai-gateway/overview"}]},{"anchor":"AI Governance","icon":"shield-check","pages":[{"title":"AI Governance","href":"/ai-governance/overview"}]},{"anchor":"Coding Agents","icon":"square-terminal","pages":[{"title":"Coding Agents","href":"/coding-agents/overview"}]},{"anchor":"Langy","icon":"robot","pages":[{"title":"Langy","href":"/langy/overview"}]},{"anchor":"Self Hosting","icon":"server","pages":[{"title":"Self Hosting","href":"/self-hosting/overview"}]},{"anchor":"API Reference","icon":"code","groups":[{"group":"Get Started","pages":[{"title":"Introduction","href":"/api-reference/introduction"}]},{"group":"Traces","pages":[{"title":"Overview","href":"/api-reference/traces/overview"},{"title":"Discover what the trace filter fields hold","openapi":"GET /api/v1/traces/facets","href":"/api-reference/traces/discover-what-the-trace-filter-fields-hold"},{"title":"Search traces","openapi":"POST /api/v1/traces/search","href":"/api-reference/traces/search"},{"title":"Get trace details","openapi":"GET /api/v1/traces/{traceId}","href":"/api-reference/traces/get-trace"},{"title":"Get Transcript","openapi":"GET /api/v1/traces/{traceId}/transcript","href":"/api-reference/traces/get-transcript"},{"title":"Update trace metadata","openapi":"PATCH /api/v1/traces/{traceId}/metadata","href":"/api-reference/traces/update-trace-metadata"},{"title":"Returns a public path for a trace","openapi":"POST /api/trace/{id}/share","href":"/api-reference/traces/action-share"},{"title":"Deletes a public path for a trace","openapi":"POST /api/trace/{id}/unshare","href":"/api-reference/traces/action-unshare"},{"title":"Projection DSL \u0026 field catalog","href":"/api-reference/traces/projection-dsl"}]},{"group":"Datasets","pages":[{"title":"Overview","href":"/api-reference/datasets/overview"},{"title":"List all non-archived datasets for the project","openapi":"GET /api/v1/dataset","href":"/api-reference/datasets/list-dataset"},{"title":"Create a new dataset","openapi":"POST /api/v1/dataset","href":"/api-reference/datasets/create-dataset"},{"title":"Create Attachments","openapi":"POST /api/v1/dataset/attachments","href":"/api-reference/datasets/create-attachments"},{"title":"Create an upload for an image or file cell","openapi":"POST /api/v1/dataset/attachments/uploads","href":"/api-reference/datasets/create-an-upload-for-an-image-or-file-cell"},{"title":"Evaluate a dataset","openapi":"POST /api/v1/dataset/evaluate","href":"/api-reference/datasets/evaluate-a-dataset"},{"title":"Create a dataset from an uploaded file","openapi":"POST /api/v1/dataset/imports","href":"/api-reference/datasets/create-a-dataset-from-an-uploaded-file"},{"title":"Create a new dataset from an uploaded file","openapi":"POST /api/v1/dataset/upload","href":"/api-reference/datasets/create-upload"},{"title":"List entries of a dataset","openapi":"GET /api/v1/dataset/{datasetSlug}/entries","href":"/api-reference/datasets/get-entries"},{"title":"Get a dataset by its slug or id","openapi":"GET /api/v1/dataset/{slugOrId}","href":"/api-reference/datasets/get-dataset"},{"title":"List records for a dataset","openapi":"GET /api/v1/dataset/{slugOrId}/records","href":"/api-reference/datasets/get-records"},{"title":"List dataset versions","openapi":"GET /api/v1/dataset/{slugOrId}/versions","href":"/api-reference/datasets/list-dataset-versions"},{"title":"Get a dataset version","openapi":"GET /api/v1/dataset/{slugOrId}/versions/{version}","href":"/api-reference/datasets/get-a-dataset-version"},{"title":"Update a dataset by its slug or id","openapi":"PATCH /api/v1/dataset/{slugOrId}","href":"/api-reference/datasets/update-dataset"},{"title":"Update or create a record in a dataset","openapi":"PATCH /api/v1/dataset/{slugOrId}/records/{recordId}","href":"/api-reference/datasets/update-records"},{"title":"Add dataset entries","openapi":"POST /api/v1/dataset/{datasetSlug}/entries","href":"/api-reference/datasets/post-dataset-entries"},{"title":"Import an uploaded file into a dataset","openapi":"POST /api/v1/dataset/{slugOrId}/imports","href":"/api-reference/datasets/import-an-uploaded-file-into-a-dataset"},{"title":"Create records in a dataset in batch","openapi":"POST /api/v1/dataset/{slugOrId}/records","href":"/api-reference/datasets/action-records"},{"title":"Upload a file","openapi":"POST /api/v1/dataset/{slugOrId}/upload","href":"/api-reference/datasets/action-upload"},{"title":"Save a dataset version","openapi":"POST /api/v1/dataset/{slugOrId}/versions","href":"/api-reference/datasets/save-a-dataset-version"},{"title":"Restore a dataset version","openapi":"POST /api/v1/dataset/{slugOrId}/versions/{version}/restore","href":"/api-reference/datasets/restore-a-dataset-version"},{"title":"Archive a dataset","openapi":"DELETE /api/v1/dataset/{slugOrId}","href":"/api-reference/datasets/delete-dataset"},{"title":"Delete records from a dataset by IDs","openapi":"DELETE /api/v1/dataset/{slugOrId}/records","href":"/api-reference/datasets/delete-records"}]},{"group":"Evaluators","pages":[{"title":"Overview","href":"/api-reference/evaluators-config/overview"},{"title":"Get all evaluators for a project","openapi":"GET /api/v1/evaluators","href":"/api-reference/evaluators-config/list-evaluators"},{"title":"Create a new evaluator","openapi":"POST /api/v1/evaluators","href":"/api-reference/evaluators-config/create-evaluators"},{"title":"Get Versions","openapi":"GET /api/v1/evaluators/{evaluatorId}/versions","href":"/api-reference/evaluators-config/get-versions"},{"title":"Get a specific evaluator by ID or slug","openapi":"GET /api/v1/evaluators/{idOrSlug}","href":"/api-reference/evaluators-config/get-evaluators"},{"title":"Update Labels","openapi":"PUT /api/v1/evaluators/{evaluatorId}/labels/{label}","href":"/api-reference/evaluators-config/update-labels"},{"title":"Update an existing evaluator","openapi":"PUT /api/v1/evaluators/{id}","href":"/api-reference/evaluators-config/update-evaluators"},{"title":"Remove a deploy label from an evaluator","openapi":"DELETE /api/v1/evaluators/{evaluatorId}/labels/{label}","href":"/api-reference/evaluators-config/delete-labels"},{"title":"Archive an evaluator","openapi":"DELETE /api/v1/evaluators/{id}","href":"/api-reference/evaluators-config/delete-evaluators"}]},{"group":"Built-in Evaluators","pages":[{"title":"Overview","href":"/api-reference/evaluators/overview"},{"group":"Expected Answer","pages":[{"openapi":"post /langevals/exact_match/evaluate","title":"Exact Match Evaluator","href":"/api-reference/evaluators/exact-match-evaluator"},{"openapi":"post /langevals/llm_answer_match/evaluate","title":"LLM Answer Match","href":"/api-reference/evaluators/llm-answer-match"},{"openapi":"post /ragas/factual_correctness/evaluate","title":"LLM Factual Match","href":"/api-reference/evaluators/llm-factual-match"},{"openapi":"post /ragas/bleu_score/evaluate","title":"BLEU Score","href":"/api-reference/evaluators/bleu-score"},{"openapi":"post /ragas/rouge_score/evaluate","title":"ROUGE Score","href":"/api-reference/evaluators/rouge-score"},{"openapi":"post /ragas/sql_query_equivalence/evaluate","title":"SQL Query Equivalence","href":"/api-reference/evaluators/sql-query-equivalence"},{"openapi":"post /langevals/similarity/evaluate","title":"Semantic Similarity Evaluator","href":"/api-reference/evaluators/semantic-similarity-evaluator"}]},{"group":"LLM as Judge","pages":[{"openapi":"post /langevals/llm_boolean/evaluate","title":"LLM-as-a-Judge Boolean Evaluator","href":"/api-reference/evaluators/llm-as-a-judge-boolean-evaluator"},{"openapi":"post /langevals/llm_category/evaluate","title":"LLM-as-a-Judge Category Evaluator","href":"/api-reference/evaluators/llm-as-a-judge-category-evaluator"},{"openapi":"post /langevals/llm_score/evaluate","title":"LLM-as-a-Judge Score Evaluator","href":"/api-reference/evaluators/llm-as-a-judge-score-evaluator"},{"openapi":"post /ragas/rubrics_based_scoring/evaluate","title":"Rubrics Based Scoring","href":"/api-reference/evaluators/rubrics-based-scoring"},{"openapi":"post /langevals/basic/evaluate","title":"Custom Basic Evaluator","href":"/api-reference/evaluators/custom-basic-evaluator"},{"openapi":"post /ragas/summarization_score/evaluate","title":"Summarization Score","href":"/api-reference/evaluators/summarization-score"}]},{"group":"RAG Quality","pages":[{"openapi":"post /ragas/faithfulness/evaluate","title":"Ragas Faithfulness","href":"/api-reference/evaluators/ragas-faithfulness"},{"openapi":"post /ragas/response_context_precision/evaluate","title":"Ragas Response Context Precision","href":"/api-reference/evaluators/ragas-response-context-precision"},{"openapi":"post /ragas/response_context_recall/evaluate","title":"Ragas Response Context Recall","href":"/api-reference/evaluators/ragas-response-context-recall"},{"openapi":"post /ragas/response_relevancy/evaluate","title":"Ragas Response Relevancy","href":"/api-reference/evaluators/ragas-response-relevancy"},{"openapi":"post /ragas/context_f1/evaluate","title":"Context F1","href":"/api-reference/evaluators/context-f1"},{"openapi":"post /ragas/context_precision/evaluate","title":"Context Precision","href":"/api-reference/evaluators/context-precision"},{"openapi":"post /ragas/context_recall/evaluate","title":"Context Recall","href":"/api-reference/evaluators/context-recall"}]},{"group":"Quality Aspects","pages":[{"openapi":"post /lingua/language_detection/evaluate","title":"Lingua Language Detection","href":"/api-reference/evaluators/lingua-language-detection"},{"openapi":"post /langevals/valid_format/evaluate","title":"Valid Format Evaluator","href":"/api-reference/evaluators/valid-format-evaluator"},{"openapi":"post /langevals/off_topic/evaluate","title":"Off Topic Evaluator","href":"/api-reference/evaluators/off-topic-evaluator"},{"openapi":"post /langevals/query_resolution/evaluate","title":"Query Resolution","href":"/api-reference/evaluators/query-resolution"}]},{"group":"Safety","pages":[{"openapi":"post /azure/content_safety/evaluate","title":"Azure Content Safety","href":"/api-reference/evaluators/azure-content-safety"},{"openapi":"post /azure/jailbreak/evaluate","title":"Azure Jailbreak Detection","href":"/api-reference/evaluators/azure-jailbreak-detection"},{"openapi":"post /azure/prompt_injection/evaluate","title":"Azure Prompt Shield","href":"/api-reference/evaluators/azure-prompt-shield"},{"openapi":"post /openai/moderation/evaluate","title":"OpenAI Moderation","href":"/api-reference/evaluators/openai-moderation"},{"openapi":"post /presidio/pii_detection/evaluate","title":"Presidio PII Detection","href":"/api-reference/evaluators/presidio-pii-detection"},{"openapi":"post /langevals/competitor_blocklist/evaluate","title":"Competitor Blocklist","href":"/api-reference/evaluators/competitor-blocklist"},{"openapi":"post /langevals/competitor_llm/evaluate","title":"Competitor Allowlist Check","href":"/api-reference/evaluators/competitor-allowlist-check"},{"openapi":"post /langevals/competitor_llm_function_call/evaluate","title":"Competitor LLM Check","href":"/api-reference/evaluators/competitor-llm-check"}]}]},{"group":"Evaluations","pages":[{"title":"Overview","href":"/api-reference/evaluations/overview"},{"title":"List the built-in evaluators","openapi":"GET /api/v1/evaluations/list","href":"/api-reference/evaluations/list-the-built-in-evaluators"},{"title":"Run an evaluator","openapi":"POST /api/v1/evaluations/{evaluator}/evaluate","href":"/api-reference/evaluations/run-an-evaluator"},{"title":"Run a namespaced evaluator","openapi":"POST /api/v1/evaluations/{evaluator}/{subpath}/evaluate","href":"/api-reference/evaluations/run-a-namespaced-evaluator"},{"title":"Run an evaluator as a guardrail","openapi":"POST /api/v1/guardrails/{evaluator}/evaluate","href":"/api-reference/evaluations/run-an-evaluator-as-a-guardrail"},{"title":"Report batch evaluation results","openapi":"POST /api/v1/evaluations/batch/log_results","href":"/api-reference/evaluations/report-batch-evaluation-results"}]},{"group":"Experiments","pages":[{"title":"Overview","href":"/api-reference/experiments/overview"},{"title":"Create an experiment","openapi":"POST /api/v1/experiment/init","href":"/api-reference/experiments/create-an-experiment"},{"title":"List experiments for the project","openapi":"GET /api/v1/experiments","href":"/api-reference/experiments/list-experiments-for-the-project"},{"title":"Run an experiment","openapi":"POST /api/v1/experiments/{slug}/run","href":"/api-reference/experiments/run-an-experiment"},{"title":"List runs of an experiment","openapi":"GET /api/v1/experiments/runs","href":"/api-reference/experiments/list-runs-of-an-experiment"},{"title":"Poll a run","openapi":"GET /api/v1/experiments/runs/{runId}","href":"/api-reference/experiments/poll-a-run"},{"title":"Read run results","openapi":"GET /api/v1/experiments/runs/{runId}/results","href":"/api-reference/experiments/read-run-results"},{"title":"Report DSPy optimizer steps","openapi":"POST /api/v1/dspy/log_steps","href":"/api-reference/experiments/report-dspy-optimizer-steps"},{"title":"Create an experiment and its setup","openapi":"POST /api/v1/experiments","href":"/api-reference/experiments/post-create-an-experiment"},{"title":"Read one experiment","openapi":"GET /api/v1/experiments/{slug}","href":"/api-reference/experiments/read-one-experiment"},{"title":"List an experiment's versions","openapi":"GET /api/v1/experiments/{slug}/versions","href":"/api-reference/experiments/list-an-experiment-s-versions"},{"title":"Read an experiment's setup","openapi":"GET /api/v1/experiments/{slug}/workbench-state","href":"/api-reference/experiments/read-an-experiment-s-setup"},{"title":"Save an experiment's setup","openapi":"PUT /api/v1/experiments/{slug}/workbench-state","href":"/api-reference/experiments/save-an-experiment-s-setup"},{"title":"Restore an experiment version","openapi":"POST /api/v1/experiments/{slug}/versions/{version}/restore","href":"/api-reference/experiments/restore-an-experiment-version"}]},{"group":"Monitors","pages":[{"title":"Overview","href":"/api-reference/monitors/overview"},{"title":"List Monitors","openapi":"GET /api/v1/monitors","href":"/api-reference/monitors/list-monitors"},{"title":"Create a new online evaluation monitor","openapi":"POST /api/v1/monitors","href":"/api-reference/monitors/create-monitors"},{"title":"Get a monitor by its ID","openapi":"GET /api/v1/monitors/{id}","href":"/api-reference/monitors/get-monitors"},{"title":"Update a monitor","openapi":"PATCH /api/v1/monitors/{id}","href":"/api-reference/monitors/update-monitors"},{"title":"Enable or disable a monitor","openapi":"POST /api/v1/monitors/{id}/toggle","href":"/api-reference/monitors/action-toggle"},{"title":"Delete a monitor","openapi":"DELETE /api/v1/monitors/{id}","href":"/api-reference/monitors/delete-monitors"}]},{"group":"Prompts","pages":[{"title":"Overview","href":"/api-reference/prompts/overview"},{"title":"Get prompts","openapi":"GET /api/v1/prompts","href":"/api-reference/prompts/get-prompts"},{"title":"List Tags","openapi":"GET /api/v1/prompts/tags","href":"/api-reference/prompts/list-tags"},{"title":"Create prompt","openapi":"POST /api/v1/prompts","href":"/api-reference/prompts/create-prompt"},{"title":"Create Tags","openapi":"POST /api/v1/prompts/tags","href":"/api-reference/prompts/create-tags"},{"title":"Get prompt","openapi":"GET /api/v1/prompts/{id}","href":"/api-reference/prompts/get-prompt"},{"title":"Get prompt versions","openapi":"GET /api/v1/prompts/{id}/versions","href":"/api-reference/prompts/get-prompt-versions"},{"title":"Update prompt","openapi":"PUT /api/v1/prompts/{id}","href":"/api-reference/prompts/update-prompt"},{"title":"Assign a tag","openapi":"PUT /api/v1/prompts/{id}/tags/{tag}","href":"/api-reference/prompts/update-tags"},{"title":"Rename a prompt tag definition","openapi":"PUT /api/v1/prompts/tags/{tag}","href":"/api-reference/prompts/put-update-tags"},{"title":"Sync/upsert a prompt with local content","openapi":"POST /api/v1/prompts/{id}/sync","href":"/api-reference/prompts/action-sync"},{"title":"Restore a prompt to a previous version","openapi":"POST /api/v1/prompts/{id}/versions/{versionId}/restore","href":"/api-reference/prompts/action-restore"},{"title":"Delete prompt","openapi":"DELETE /api/v1/prompts/{id}","href":"/api-reference/prompts/delete-prompt"},{"title":"Delete Tags","openapi":"DELETE /api/v1/prompts/tags/{tag}","href":"/api-reference/prompts/delete-tags"}]},{"group":"Annotations","pages":[{"title":"Overview","href":"/api-reference/annotations/overview"},{"title":"Get annotations","openapi":"GET /api/v1/annotations","href":"/api-reference/annotations/get-annotation"},{"title":"Get single annotation","openapi":"GET /api/v1/annotations/{id}","href":"/api-reference/annotations/get-single-annotation"},{"title":"Get annotations for a trace","openapi":"GET /api/v1/annotations/trace/{id}","href":"/api-reference/annotations/get-all-annotations-trace"},{"title":"Patch single annotation","openapi":"PATCH /api/v1/annotations/{id}","href":"/api-reference/annotations/patch-annotation"},{"title":"Create annotation for single trace","openapi":"POST /api/v1/annotations/trace/{id}","href":"/api-reference/annotations/create-annotation-trace"},{"title":"Delete single annotation","openapi":"DELETE /api/v1/annotations/{id}","href":"/api-reference/annotations/delete-annotation"}]},{"group":"Scenarios","pages":[{"title":"Overview","href":"/api-reference/scenarios/overview"},{"title":"Get all scenarios for a project","openapi":"GET /api/v1/scenarios","href":"/api-reference/scenarios/list-scenarios"},{"title":"Create a new scenario","openapi":"POST /api/v1/scenarios","href":"/api-reference/scenarios/create-scenarios"},{"title":"Get a specific scenario by ID","openapi":"GET /api/v1/scenarios/{id}","href":"/api-reference/scenarios/get-scenarios"},{"title":"List a scenario's versions","openapi":"GET /api/v1/scenarios/{id}/versions","href":"/api-reference/scenarios/list-a-scenario-s-versions"},{"title":"Read one scenario version","openapi":"GET /api/v1/scenarios/{id}/versions/{version}","href":"/api-reference/scenarios/read-one-scenario-version"},{"title":"Update an existing scenario","openapi":"PUT /api/v1/scenarios/{id}","href":"/api-reference/scenarios/update-scenarios"},{"title":"Update an existing scenario","openapi":"PATCH /api/v1/scenarios/{id}","href":"/api-reference/scenarios/patch-update-scenarios"},{"title":"Archive a scenario","openapi":"DELETE /api/v1/scenarios/{id}","href":"/api-reference/scenarios/delete-scenarios"}]},{"group":"Scenario Events","pages":[{"title":"Overview","href":"/api-reference/scenario-events/overview"},{"title":"Create a new scenario event","openapi":"POST /api/v1/scenario-events","href":"/api-reference/scenario-events/create-scenario-events"},{"title":"Create Browser Tab","openapi":"POST /api/v1/scenario-events/browser-tab","href":"/api-reference/scenario-events/create-browser-tab"},{"title":"Delete all events","openapi":"DELETE /api/v1/scenario-events","href":"/api-reference/scenario-events/delete-scenario-events"}]},{"group":"Simulation Runs","pages":[{"title":"Overview","href":"/api-reference/simulation-runs/overview"},{"title":"List Simulation Runs","openapi":"GET /api/v1/simulation-runs","href":"/api-reference/simulation-runs/list-simulation-runs"},{"title":"List batch summaries for a scenario set","openapi":"GET /api/v1/simulation-runs/batches/list","href":"/api-reference/simulation-runs/get-list-list"},{"title":"Get a single simulation run by its ID","openapi":"GET /api/v1/simulation-runs/{scenarioRunId}","href":"/api-reference/simulation-runs/get-simulation-runs"},{"title":"Get Batches","openapi":"GET /api/v1/simulation-runs/batches/{batchRunId}","href":"/api-reference/simulation-runs/get-batches"}]},{"group":"Instant Evals","pages":[{"title":"Overview","href":"/api-reference/instant-evals/overview"},{"title":"Estimate a run","openapi":"POST /api/v1/instant-evals/estimate","href":"/api-reference/instant-evals/estimate-a-run"},{"title":"Start a run","openapi":"POST /api/v1/instant-evals","href":"/api-reference/instant-evals/create-instant-evals"},{"title":"List the project's runs, newest first","openapi":"GET /api/v1/instant-evals","href":"/api-reference/instant-evals/list-instant-evals"},{"title":"Get Instant Evals","openapi":"GET /api/v1/instant-evals/{id}","href":"/api-reference/instant-evals/get-instant-evals"},{"title":"Read a run's results","openapi":"GET /api/v1/instant-evals/{id}/results","href":"/api-reference/instant-evals/read-a-run-s-results"},{"title":"Sample a run","openapi":"GET /api/v1/instant-evals/{id}/sample","href":"/api-reference/instant-evals/sample-a-run"},{"title":"Cancel a run","openapi":"POST /api/v1/instant-evals/{id}/cancel","href":"/api-reference/instant-evals/cancel-a-run"},{"title":"Running An Instant Eval","href":"/api-reference/instant-evals/running-an-instant-eval"}]},{"group":"Run Plans","pages":[{"title":"Overview","href":"/api-reference/run-plans/overview"},{"title":"List the project's run plans","openapi":"GET /api/v1/run-plans","description":"List the project's run plans. Archived plans are left out unless includeArchived is set. Test suites are not run plans and are listed by the test suites family.","href":"/api-reference/run-plans/list-run-plans"},{"title":"Run a configuration under a name","openapi":"POST /api/v1/run-plans/run","href":"/api-reference/run-plans/create-run"},{"title":"Read one run plan","openapi":"GET /api/v1/run-plans/{id}","description":"Read one run plan. An id the project does not hold, and a test suite id, both answer 404 suite_not_found.","href":"/api-reference/run-plans/get-run-plans"},{"title":"Run a plan again","openapi":"POST /api/v1/run-plans/{id}/run","href":"/api-reference/run-plans/run-a-plan-again"},{"title":"Archive a run plan","openapi":"DELETE /api/v1/run-plans/{id}","href":"/api-reference/run-plans/delete-run-plans"}]},{"group":"Test Suites","pages":[{"title":"Overview","href":"/api-reference/test-suites/overview"},{"title":"List the project's test suites","openapi":"GET /api/v1/test-suites","href":"/api-reference/test-suites/list-test-suites"},{"title":"Create a test suite","openapi":"POST /api/v1/test-suites","href":"/api-reference/test-suites/create-test-suites"},{"title":"Read one test suite","openapi":"GET /api/v1/test-suites/{id}","href":"/api-reference/test-suites/read-one-test-suite"},{"title":"Rename a test suite","openapi":"PATCH /api/v1/test-suites/{id}","href":"/api-reference/test-suites/update-test-suites"},{"title":"Run a test suite","openapi":"POST /api/v1/test-suites/{id}/run","href":"/api-reference/test-suites/run-a-test-suite"},{"title":"Archive a test suite","openapi":"DELETE /api/v1/test-suites/{id}","href":"/api-reference/test-suites/delete-test-suites"}]},{"group":"Suites","pages":[{"title":"Overview","href":"/api-reference/suites/overview"},{"title":"List all non-archived suites","openapi":"GET /api/v1/suites","href":"/api-reference/suites/list-suites"},{"title":"Create a new suite","openapi":"POST /api/v1/suites","href":"/api-reference/suites/create-suites"},{"title":"Get a suite","openapi":"GET /api/v1/suites/{id}","href":"/api-reference/suites/get-suites"},{"title":"Update a suite","openapi":"PATCH /api/v1/suites/{id}","href":"/api-reference/suites/update-suites"},{"title":"Duplicate a suite","openapi":"POST /api/v1/suites/{id}/duplicate","href":"/api-reference/suites/action-duplicate"},{"title":"Trigger a suite run","openapi":"POST /api/v1/suites/{id}/run","href":"/api-reference/suites/action-run"},{"title":"Archive a suite","openapi":"DELETE /api/v1/suites/{id}","href":"/api-reference/suites/delete-suites"}]},{"group":"Agents","pages":[{"title":"Overview","href":"/api-reference/agents/overview"},{"title":"List Agents","openapi":"GET /api/v1/agents","href":"/api-reference/agents/list-agents"},{"title":"List Poll","openapi":"GET /api/v1/agents/connect/poll","href":"/api-reference/agents/list-poll"},{"title":"Create Agents","openapi":"POST /api/v1/agents","href":"/api-reference/agents/create-agents"},{"title":"Create Frames","openapi":"POST /api/v1/agents/connect/frames","href":"/api-reference/agents/create-frames"},{"title":"Create Register","openapi":"POST /api/v1/agents/connect/register","href":"/api-reference/agents/create-register"},{"title":"List an agent's versions","openapi":"GET /api/v1/agents/{agentId}/versions","href":"/api-reference/agents/list-an-agent-s-versions"},{"title":"Get Agents","openapi":"GET /api/v1/agents/{id}","href":"/api-reference/agents/get-agents"},{"title":"Point a deploy label at an agent version","openapi":"PUT /api/v1/agents/{agentId}/labels/{label}","href":"/api-reference/agents/point-a-deploy-label-at-an-agent-version"},{"title":"Update Agents (PATCH)","openapi":"PATCH /api/v1/agents/{id}","href":"/api-reference/agents/update-agents"},{"title":"Update Agents (PUT)","openapi":"PUT /api/v1/agents/{id}","href":"/api-reference/agents/put-update-agents"},{"title":"Create Call","openapi":"POST /api/v1/agents/{id}/call","href":"/api-reference/agents/action-call"},{"title":"Create Test","openapi":"POST /api/v1/agents/{id}/test","href":"/api-reference/agents/action-test"},{"title":"Remove a deploy label from an agent","openapi":"DELETE /api/v1/agents/{agentId}/labels/{label}","href":"/api-reference/agents/remove-a-deploy-label-from-an-agent"},{"title":"Archive an agent","openapi":"DELETE /api/v1/agents/{id}","href":"/api-reference/agents/delete-agents"}]},{"group":"Coding Agents","pages":[{"title":"Overview","href":"/api-reference/coding-agents/overview"},{"title":"Get pull request coding agent usage","openapi":"GET /api/coding-agent/pull-request-usage","href":"/api-reference/coding-agents/get-pull-request-coding-agent-usage"},{"title":"Get pull request usage","openapi":"GET /api/v1/coding-agent/pull-request-usage","href":"/api-reference/coding-agents/get-pull-request-usage"},{"title":"List coding agent session events","openapi":"GET /api/v1/coding-agent/sessions/{sessionId}/events","href":"/api-reference/coding-agents/list-coding-agent-session-events"}]},{"group":"Triggers","pages":[{"title":"Overview","href":"/api-reference/triggers/overview"},{"title":"List Slack Connections","openapi":"GET /api/v1/slack-connections","href":"/api-reference/triggers/list-slack-connections"},{"title":"List all active triggers","openapi":"GET /api/v1/triggers","href":"/api-reference/triggers/list-triggers"},{"title":"Create a Slack alert trigger","openapi":"POST /api/v1/trigger/slack","href":"/api-reference/triggers/create-a-slack-alert-trigger"},{"title":"Create a new trigger","openapi":"POST /api/v1/triggers","href":"/api-reference/triggers/create-triggers"},{"title":"Get a trigger by its ID","openapi":"GET /api/v1/triggers/{triggerId}","href":"/api-reference/triggers/get-triggers"},{"title":"List an automation's fires","openapi":"GET /api/v1/triggers/{triggerId}/fires","href":"/api-reference/triggers/get-fires"},{"title":"Update a trigger","openapi":"PATCH /api/v1/triggers/{triggerId}","href":"/api-reference/triggers/update-triggers"},{"title":"Pause an automation","openapi":"POST /api/v1/triggers/{triggerId}/disable","href":"/api-reference/triggers/action-disable"},{"title":"Resume an automation","openapi":"POST /api/v1/triggers/{triggerId}/enable","href":"/api-reference/triggers/action-enable"},{"title":"Send a test fire","openapi":"POST /api/v1/triggers/{triggerId}/test-fire","href":"/api-reference/triggers/action-test-fire"},{"title":"Delete a trigger","openapi":"DELETE /api/v1/triggers/{triggerId}","href":"/api-reference/triggers/delete-triggers"}]},{"group":"Events","pages":[{"title":"Overview","href":"/api-reference/events/overview"},{"title":"Record a user event","openapi":"POST /api/v1/events/track","href":"/api-reference/events/create-track"}]},{"group":"Workflows","pages":[{"title":"Overview","href":"/api-reference/workflows/overview"},{"title":"List all non-archived workflows for the project","openapi":"GET /api/v1/workflows","href":"/api-reference/workflows/list-workflows"},{"title":"Get a workflow by its ID","openapi":"GET /api/v1/workflows/{id}","href":"/api-reference/workflows/get-workflows"},{"title":"Update a workflow's metadata","openapi":"PATCH /api/v1/workflows/{id}","href":"/api-reference/workflows/update-workflows"},{"title":"Run a workflow version (legacy path)","openapi":"POST /api/v1/optimization/{workflowId}/{versionId}","href":"/api-reference/workflows/run-a-workflow-version-legacy-path"},{"title":"Create Evaluate","openapi":"POST /api/v1/workflows/{id}/evaluate","href":"/api-reference/workflows/action-evaluate"},{"title":"Run a specific workflow version","openapi":"POST /api/v1/workflows/{workflowId}/{versionId}/run","href":"/api-reference/workflows/run-a-specific-workflow-version"},{"title":"Run a workflow","openapi":"POST /api/v1/workflows/{workflowId}/run","href":"/api-reference/workflows/run-a-workflow"},{"title":"Archive a workflow","openapi":"DELETE /api/v1/workflows/{id}","href":"/api-reference/workflows/delete-workflows"}]},{"group":"Dashboards","pages":[{"title":"Overview","href":"/api-reference/dashboards/overview"},{"title":"List dashboards","openapi":"GET /api/v1/dashboards","href":"/api-reference/dashboards/list-dashboards"},{"title":"Create a dashboard","openapi":"POST /api/v1/dashboards","href":"/api-reference/dashboards/create-a-dashboard"},{"title":"Get a dashboard","openapi":"GET /api/v1/dashboards/{dashboardId}","href":"/api-reference/dashboards/get-a-dashboard"},{"title":"List a dashboard's widgets","openapi":"GET /api/v1/dashboards/{dashboardId}/widgets","href":"/api-reference/dashboards/list-a-dashboard-s-widgets"},{"title":"Get a widget on a dashboard","openapi":"GET /api/v1/dashboards/{dashboardId}/widgets/{widgetId}","href":"/api-reference/dashboards/get-a-widget-on-a-dashboard"},{"title":"Update a dashboard","openapi":"PATCH /api/v1/dashboards/{dashboardId}","href":"/api-reference/dashboards/update-a-dashboard"},{"title":"Update a widget on a dashboard","openapi":"PATCH /api/v1/dashboards/{dashboardId}/widgets/{widgetId}","href":"/api-reference/dashboards/update-a-widget-on-a-dashboard"},{"title":"Create a widget on a dashboard","openapi":"POST /api/v1/dashboards/{dashboardId}/widgets","href":"/api-reference/dashboards/create-a-widget-on-a-dashboard"},{"title":"Delete a dashboard","openapi":"DELETE /api/v1/dashboards/{dashboardId}","href":"/api-reference/dashboards/delete-a-dashboard"},{"title":"Delete a widget on a dashboard","openapi":"DELETE /api/v1/dashboards/{dashboardId}/widgets/{widgetId}","href":"/api-reference/dashboards/delete-a-widget-on-a-dashboard"}]},{"group":"Reports","pages":[{"title":"Overview","href":"/api-reference/reports/overview"},{"title":"List Reports","openapi":"GET /api/v1/analytics/reports","href":"/api-reference/reports/list-reports"},{"title":"Create a new dashboard","openapi":"POST /api/v1/analytics/reports","href":"/api-reference/reports/create-reports"},{"title":"Get a dashboard by its id, including its graphs","openapi":"GET /api/v1/analytics/reports/{reportId}","href":"/api-reference/reports/get-reports"},{"title":"Update Reorder","openapi":"PUT /api/v1/analytics/reports/reorder","href":"/api-reference/reports/update-reorder"},{"title":"Rename a dashboard","openapi":"PATCH /api/v1/analytics/reports/{reportId}","href":"/api-reference/reports/update-reports"},{"title":"Delete a dashboard and its graphs","openapi":"DELETE /api/v1/analytics/reports/{reportId}","href":"/api-reference/reports/delete-reports"}]},{"group":"Graphs","pages":[{"title":"Overview","href":"/api-reference/graphs/overview"},{"title":"List Graphs","openapi":"GET /api/v1/graphs","href":"/api-reference/graphs/list-graphs"},{"title":"Create a custom graph on a dashboard","openapi":"POST /api/v1/graphs","href":"/api-reference/graphs/create-graphs"},{"title":"Get a custom graph by its ID","openapi":"GET /api/v1/graphs/{id}","href":"/api-reference/graphs/get-graphs"},{"title":"Update Graphs","openapi":"PATCH /api/v1/graphs/{id}","href":"/api-reference/graphs/update-graphs"},{"title":"Delete a custom graph","openapi":"DELETE /api/v1/graphs/{id}","href":"/api-reference/graphs/delete-graphs"}]},{"group":"Analytics","pages":[{"title":"Overview","href":"/api-reference/analytics/overview"},{"title":"Query analytics timeseries (legacy path)","openapi":"POST /api/v1/analytics","href":"/api-reference/analytics/query-analytics-timeseries-legacy-path"},{"title":"Create Timeseries","openapi":"POST /api/v1/analytics/timeseries","href":"/api-reference/analytics/create-timeseries"}]},{"group":"Query","pages":[{"title":"Overview","href":"/api-reference/query/overview"},{"title":"Discover both query languages","openapi":"GET /api/v1/query/reference","href":"/api-reference/query/discover-both-query-languages"},{"title":"Discover the queryable LangWatchQL schema","openapi":"GET /api/v1/query/schema","href":"/api-reference/query/discover-the-queryable-langwatchql-schema"},{"title":"Run a LangWatchQL query","openapi":"POST /api/v1/query","href":"/api-reference/query/run-a-langwatchql-query"},{"title":"Extraction And Eval Functions","href":"/api-reference/query/extraction-functions"}]},{"group":"Secrets","pages":[{"title":"Overview","href":"/api-reference/secrets/overview"},{"title":"List project secrets","openapi":"GET /api/v1/secrets","href":"/api-reference/secrets/list-project-secrets"},{"title":"Create a project secret","openapi":"POST /api/v1/secrets","href":"/api-reference/secrets/create-a-project-secret"},{"title":"Get project-secret metadata","openapi":"GET /api/v1/secrets/{id}","href":"/api-reference/secrets/get-project-secret-metadata"},{"title":"Replace a project secret value","openapi":"PUT /api/v1/secrets/{id}","href":"/api-reference/secrets/replace-a-project-secret-value"},{"title":"Delete a project secret","openapi":"DELETE /api/v1/secrets/{id}","href":"/api-reference/secrets/delete-a-project-secret"}]},{"group":"Agent Cache","pages":[{"title":"Overview","href":"/api-reference/agent-cache/overview"},{"title":"Read a cache entry","openapi":"GET /api/v1/agent-cache/{name}","href":"/api-reference/agent-cache/get-entry"},{"title":"Store a cache entry","openapi":"PUT /api/v1/agent-cache/{name}","href":"/api-reference/agent-cache/put-entry"},{"title":"Claim a cache entry","openapi":"POST /api/v1/agent-cache/{name}/claim","href":"/api-reference/agent-cache/claim-entry"},{"title":"Remove a cache entry","openapi":"DELETE /api/v1/agent-cache/{name}","href":"/api-reference/agent-cache/delete-entry"}]},{"group":"Model Providers","pages":[{"title":"Overview","href":"/api-reference/model-providers/overview"},{"title":"List Model Providers","openapi":"GET /api/v1/model-providers","href":"/api-reference/model-providers/list-model-providers"},{"title":"Create or update a model provider","openapi":"PUT /api/v1/model-providers/{provider}","href":"/api-reference/model-providers/update-model-providers"}]},{"group":"Projects","pages":[{"title":"Overview","href":"/api-reference/projects/overview"},{"title":"List projects","openapi":"GET /api/v1/projects","href":"/api-reference/projects/list-projects"},{"title":"Create project","openapi":"POST /api/v1/projects","href":"/api-reference/projects/create-project"},{"title":"Get project","openapi":"GET /api/v1/projects/{id}","href":"/api-reference/projects/get-project"},{"title":"Get project API key","openapi":"GET /api/v1/projects/{id}/api-key","href":"/api-reference/projects/get-api-key"},{"title":"List dashboards (deprecated path)","openapi":"GET /api/v1/projects/{projectId}/analytics/boards","href":"/api-reference/projects/list-dashboards-boards"},{"title":"Get a dashboard (deprecated path)","openapi":"GET /api/v1/projects/{projectId}/analytics/boards/{dashboardId}","href":"/api-reference/projects/get-a-dashboard-boards"},{"title":"List dashboard widgets","openapi":"GET /api/v1/projects/{projectId}/analytics/dashboard-widgets","href":"/api-reference/projects/list-dashboard-widgets"},{"title":"Get a dashboard widget","openapi":"GET /api/v1/projects/{projectId}/analytics/dashboard-widgets/{widgetId}","href":"/api-reference/projects/get-a-dashboard-widget"},{"title":"List dashboards","openapi":"GET /api/v1/projects/{projectId}/analytics/dashboards","href":"/api-reference/projects/list-dashboards"},{"title":"Get a dashboard","openapi":"GET /api/v1/projects/{projectId}/analytics/dashboards/{dashboardId}","href":"/api-reference/projects/get-a-dashboard"},{"title":"Update project","openapi":"PATCH /api/v1/projects/{id}","href":"/api-reference/projects/update-project"},{"title":"Update a dashboard widget","openapi":"PATCH /api/v1/projects/{projectId}/analytics/dashboard-widgets/{widgetId}","href":"/api-reference/projects/update-a-dashboard-widget"},{"title":"Regenerate project API key","openapi":"POST /api/v1/projects/{id}/regenerate-api-key","href":"/api-reference/projects/regenerate-api-key"},{"title":"Create a dashboard widget","openapi":"POST /api/v1/projects/{projectId}/analytics/dashboard-widgets","href":"/api-reference/projects/create-a-dashboard-widget"},{"title":"Add a dashboard widget to a dashboard","openapi":"POST /api/v1/projects/{projectId}/analytics/dashboard-widgets/{widgetId}/dashboard","href":"/api-reference/projects/add-a-dashboard-widget-to-a-dashboard"},{"title":"Archive project","openapi":"DELETE /api/v1/projects/{id}","href":"/api-reference/projects/archive-project"},{"title":"Delete a dashboard widget","openapi":"DELETE /api/v1/projects/{projectId}/analytics/dashboard-widgets/{widgetId}","href":"/api-reference/projects/delete-a-dashboard-widget"}]},{"group":"Teams","pages":[{"title":"Overview","href":"/api-reference/teams/overview"},{"title":"List teams","openapi":"GET /api/v1/teams","href":"/api-reference/teams/list-teams"},{"title":"Create team","openapi":"POST /api/v1/teams","href":"/api-reference/teams/create-team"},{"title":"Get team","openapi":"GET /api/v1/teams/{teamId}","href":"/api-reference/teams/get-team"},{"title":"List team members","openapi":"GET /api/v1/teams/{teamId}/members","href":"/api-reference/teams/list-members"},{"title":"List team projects","openapi":"GET /api/v1/teams/{teamId}/projects","href":"/api-reference/teams/list-projects"},{"title":"Update team","openapi":"PATCH /api/v1/teams/{teamId}","href":"/api-reference/teams/update-team"},{"title":"Add team member","openapi":"POST /api/v1/teams/{teamId}/members","href":"/api-reference/teams/add-member"},{"title":"Archive team","openapi":"DELETE /api/v1/teams/{teamId}","href":"/api-reference/teams/archive-team"},{"title":"Remove team member","openapi":"DELETE /api/v1/teams/{teamId}/members/{userId}","href":"/api-reference/teams/remove-member"}]},{"group":"Groups","pages":[{"title":"Overview","href":"/api-reference/groups/overview"},{"title":"List groups","openapi":"GET /api/v1/groups","href":"/api-reference/groups/list-groups"},{"title":"Create group","openapi":"POST /api/v1/groups","href":"/api-reference/groups/create-group"},{"title":"Get group","openapi":"GET /api/v1/groups/{groupId}","href":"/api-reference/groups/get-group"},{"title":"List group bindings","openapi":"GET /api/v1/groups/{groupId}/bindings","href":"/api-reference/groups/list-bindings"},{"title":"List group members","openapi":"GET /api/v1/groups/{groupId}/members","href":"/api-reference/groups/list-members"},{"title":"Rename group","openapi":"PATCH /api/v1/groups/{groupId}","href":"/api-reference/groups/rename-group"},{"title":"Add group binding","openapi":"POST /api/v1/groups/{groupId}/bindings","href":"/api-reference/groups/add-binding"},{"title":"Add group member","openapi":"POST /api/v1/groups/{groupId}/members","href":"/api-reference/groups/add-member"},{"title":"Delete group","openapi":"DELETE /api/v1/groups/{groupId}","href":"/api-reference/groups/delete-group"},{"title":"Remove group binding","openapi":"DELETE /api/v1/groups/{groupId}/bindings/{bindingId}","href":"/api-reference/groups/remove-binding"},{"title":"Remove group member","openapi":"DELETE /api/v1/groups/{groupId}/members/{userId}","href":"/api-reference/groups/remove-member"}]},{"group":"Organization","pages":[{"title":"Overview","href":"/api-reference/organization/overview"},{"title":"Get organization","openapi":"GET /api/v1/organization","href":"/api-reference/organization/get-organization"},{"title":"Update organization","openapi":"PATCH /api/v1/organization","href":"/api-reference/organization/update-organization"}]},{"group":"Members","pages":[{"title":"Overview","href":"/api-reference/members/overview"},{"title":"List members","openapi":"GET /api/v1/organization/members","href":"/api-reference/members/list-members"},{"title":"Get member","openapi":"GET /api/v1/organization/members/{userId}","href":"/api-reference/members/get-member"},{"title":"Get member access","openapi":"GET /api/v1/organization/members/{userId}/access","href":"/api-reference/members/get-member-access"},{"title":"Update member","openapi":"PATCH /api/v1/organization/members/{userId}","href":"/api-reference/members/update-member"},{"title":"Remove member","openapi":"DELETE /api/v1/organization/members/{userId}","href":"/api-reference/members/remove-member"}]},{"group":"Invites","pages":[{"title":"Overview","href":"/api-reference/invites/overview"},{"title":"List invites","openapi":"GET /api/v1/organization/invites","href":"/api-reference/invites/list-invites"},{"title":"Create invites","openapi":"POST /api/v1/organization/invites","href":"/api-reference/invites/create-invites"},{"title":"Revoke invite","openapi":"DELETE /api/v1/organization/invites/{inviteId}","href":"/api-reference/invites/revoke-invite"}]},{"group":"Roles","pages":[{"title":"Overview","href":"/api-reference/roles/overview"},{"title":"List permissions","openapi":"GET /api/v1/roles/permissions","href":"/api-reference/roles/list-permissions"},{"title":"List roles","openapi":"GET /api/v1/roles","href":"/api-reference/roles/list-roles"},{"title":"Create role","openapi":"POST /api/v1/roles","href":"/api-reference/roles/create-role"},{"title":"Get role","openapi":"GET /api/v1/roles/{id}","href":"/api-reference/roles/get-role"},{"title":"Update role","openapi":"PATCH /api/v1/roles/{id}","href":"/api-reference/roles/update-role"},{"title":"Delete role","openapi":"DELETE /api/v1/roles/{id}","href":"/api-reference/roles/delete-role"}]},{"group":"Grants","pages":[{"title":"Overview","href":"/api-reference/grants/overview"},{"title":"List grants","openapi":"GET /api/v1/grants","href":"/api-reference/grants/list-grants"},{"title":"Grant a role","openapi":"POST /api/v1/grants","href":"/api-reference/grants/grant-a-role"},{"title":"Get a grant","openapi":"GET /api/v1/grants/{grantId}","href":"/api-reference/grants/get-a-grant"},{"title":"Change a grant's role","openapi":"PATCH /api/v1/grants/{grantId}","href":"/api-reference/grants/change-a-grant-s-role"},{"title":"Revoke a grant","openapi":"DELETE /api/v1/grants/{grantId}","href":"/api-reference/grants/revoke-a-grant"}]},{"group":"Role Bindings","pages":[{"title":"Overview","tag":"Deprecated","href":"/api-reference/role-bindings/overview"},{"title":"List role bindings","deprecated":true,"openapi":"GET /api/v1/role-bindings","href":"/api-reference/role-bindings/list-role-bindings"},{"title":"Create role binding","deprecated":true,"openapi":"POST /api/v1/role-bindings","href":"/api-reference/role-bindings/create-role-binding"},{"title":"Update role binding","deprecated":true,"openapi":"PATCH /api/v1/role-bindings/{id}","href":"/api-reference/role-bindings/update-role-binding"},{"title":"Delete role binding","deprecated":true,"openapi":"DELETE /api/v1/role-bindings/{id}","href":"/api-reference/role-bindings/delete-role-binding"}]},{"group":"SCIM Tokens","pages":[{"title":"Overview","href":"/api-reference/scim-tokens/overview"},{"title":"List SCIM tokens","openapi":"GET /api/v1/scim-tokens","href":"/api-reference/scim-tokens/list-scim-tokens"},{"title":"Create SCIM token","openapi":"POST /api/v1/scim-tokens","href":"/api-reference/scim-tokens/create-scim-token"},{"title":"Revoke SCIM token","openapi":"DELETE /api/v1/scim-tokens/{id}","href":"/api-reference/scim-tokens/revoke-scim-token"}]},{"group":"SCIM","pages":[{"title":"Overview","href":"/api-reference/scim/overview"},{"title":"Get the SCIM service provider configuration","openapi":"GET /api/scim/v2/ServiceProviderConfig","href":"/api-reference/scim/service-provider-config"},{"title":"List the SCIM resource types","openapi":"GET /api/scim/v2/ResourceTypes","href":"/api-reference/scim/resource-types"},{"title":"List the SCIM resource schemas","openapi":"GET /api/scim/v2/Schemas","href":"/api-reference/scim/schemas"},{"title":"List provisioned users","openapi":"GET /api/scim/v2/Users","href":"/api-reference/scim/list-users"},{"title":"Provision a user","openapi":"POST /api/scim/v2/Users","href":"/api-reference/scim/create-user"},{"title":"Get a provisioned user","openapi":"GET /api/scim/v2/Users/{id}","href":"/api-reference/scim/get-user"},{"title":"Replace a provisioned user","openapi":"PUT /api/scim/v2/Users/{id}","href":"/api-reference/scim/replace-user"},{"title":"Update a provisioned user","openapi":"PATCH /api/scim/v2/Users/{id}","href":"/api-reference/scim/update-user"},{"title":"Deprovision a user","openapi":"DELETE /api/scim/v2/Users/{id}","href":"/api-reference/scim/delete-user"},{"title":"List provisioned groups","openapi":"GET /api/scim/v2/Groups","href":"/api-reference/scim/list-groups"},{"title":"Provision a group","openapi":"POST /api/scim/v2/Groups","href":"/api-reference/scim/create-group"},{"title":"Get a provisioned group","openapi":"GET /api/scim/v2/Groups/{id}","href":"/api-reference/scim/get-group"},{"title":"Replace a provisioned group","openapi":"PUT /api/scim/v2/Groups/{id}","href":"/api-reference/scim/replace-group"},{"title":"Update a provisioned group","openapi":"PATCH /api/scim/v2/Groups/{id}","href":"/api-reference/scim/update-group"},{"title":"Deprovision a group","openapi":"DELETE /api/scim/v2/Groups/{id}","href":"/api-reference/scim/delete-group"}]},{"group":"Organizations (Self-Hosted)","pages":[{"title":"Overview","href":"/api-reference/organizations/overview"},{"title":"List organizations","openapi":"GET /api/v1/organizations","href":"/api-reference/organizations/list-organizations"},{"title":"Create an organization","openapi":"POST /api/v1/organizations","href":"/api-reference/organizations/create-organization"},{"title":"Get an organization","openapi":"GET /api/v1/organizations/{organizationId}","href":"/api-reference/organizations/get-organization"}]},{"group":"API Keys","pages":[{"title":"Overview","href":"/api-reference/api-keys/overview"},{"title":"List API keys","openapi":"GET /api/v1/api-keys","href":"/api-reference/api-keys/list-api-keys"},{"title":"Create API key","openapi":"POST /api/v1/api-keys","href":"/api-reference/api-keys/create-api-key"},{"title":"Create a full-access API key","openapi":"POST /api/v1/api-keys/full-access","href":"/api-reference/api-keys/create-a-full-access-api-key"},{"title":"Create an ingestion API key","openapi":"POST /api/v1/api-keys/ingestion","href":"/api-reference/api-keys/create-an-ingestion-api-key"},{"title":"Get an API key","openapi":"GET /api/v1/api-keys/{id}","href":"/api-reference/api-keys/get-api-key"},{"title":"Update an API key","openapi":"PATCH /api/v1/api-keys/{id}","href":"/api-reference/api-keys/update-api-key"},{"title":"Revoke API key","openapi":"DELETE /api/v1/api-keys/{id}","href":"/api-reference/api-keys/revoke-api-key"}]},{"group":"Gateway: Virtual Keys","pages":[{"title":"Overview","href":"/api-reference/gateway-virtual-keys/overview"},{"title":"List virtual keys","openapi":"GET /api/gateway/v1/virtual-keys","href":"/api-reference/gateway-virtual-keys/list-virtual-keys"},{"title":"Create virtual key","openapi":"POST /api/gateway/v1/virtual-keys","href":"/api-reference/gateway-virtual-keys/create-virtual-key"},{"title":"Get virtual key","openapi":"GET /api/gateway/v1/virtual-keys/{id}","href":"/api-reference/gateway-virtual-keys/get-virtual-key"},{"title":"Read a virtual key's spend","openapi":"GET /api/gateway/v1/virtual-keys/{id}/spend","href":"/api-reference/gateway-virtual-keys/read-a-virtual-key-s-spend"},{"title":"Update virtual key","openapi":"PATCH /api/gateway/v1/virtual-keys/{id}","href":"/api-reference/gateway-virtual-keys/update-virtual-key"},{"title":"Disable virtual key","openapi":"POST /api/gateway/v1/virtual-keys/{id}/disable","href":"/api-reference/gateway-virtual-keys/disable-virtual-key"},{"title":"Enable virtual key","openapi":"POST /api/gateway/v1/virtual-keys/{id}/enable","href":"/api-reference/gateway-virtual-keys/enable-virtual-key"},{"title":"Revoke virtual key","openapi":"POST /api/gateway/v1/virtual-keys/{id}/revoke","href":"/api-reference/gateway-virtual-keys/revoke-virtual-key"},{"title":"Rotate virtual key secret","openapi":"POST /api/gateway/v1/virtual-keys/{id}/rotate","href":"/api-reference/gateway-virtual-keys/rotate-virtual-key-secret"}]},{"group":"Gateway: Budgets","pages":[{"title":"Overview","href":"/api-reference/gateway-budgets/overview"},{"title":"List budgets applicable to the project","openapi":"GET /api/gateway/v1/budgets","href":"/api-reference/gateway-budgets/list-budgets-applicable-to-the-project"},{"title":"Create budget","openapi":"POST /api/gateway/v1/budgets","href":"/api-reference/gateway-budgets/create-budget"},{"title":"Get budget","openapi":"GET /api/gateway/v1/budgets/{id}","href":"/api-reference/gateway-budgets/get-budget"},{"title":"Update budget","openapi":"PATCH /api/gateway/v1/budgets/{id}","href":"/api-reference/gateway-budgets/update-budget"},{"title":"Reset budget period","openapi":"POST /api/gateway/v1/budgets/{id}/reset","href":"/api-reference/gateway-budgets/reset-budget-period"},{"title":"Archive budget","openapi":"DELETE /api/gateway/v1/budgets/{id}","href":"/api-reference/gateway-budgets/archive-budget"}]},{"group":"Gateway: Cache Rules","pages":[{"title":"Overview","href":"/api-reference/gateway-cache-rules/overview"},{"title":"List cache-control rules","openapi":"GET /api/gateway/v1/cache-rules","href":"/api-reference/gateway-cache-rules/list-cache-control-rules"},{"title":"Create a cache rule","openapi":"POST /api/gateway/v1/cache-rules","href":"/api-reference/gateway-cache-rules/create-a-cache-rule"},{"title":"Get a cache rule","openapi":"GET /api/gateway/v1/cache-rules/{id}","href":"/api-reference/gateway-cache-rules/get-a-cache-rule"},{"title":"Update a cache rule","openapi":"PATCH /api/gateway/v1/cache-rules/{id}","href":"/api-reference/gateway-cache-rules/update-a-cache-rule"},{"title":"Archive a cache rule","openapi":"DELETE /api/gateway/v1/cache-rules/{id}","href":"/api-reference/gateway-cache-rules/archive-a-cache-rule"}]},{"group":"Gateway: Spend","pages":[{"title":"Overview","href":"/api-reference/gateway-spend/overview"},{"title":"List spend events","openapi":"GET /api/gateway/v1/spend-events","href":"/api-reference/gateway-spend/list-spend-events"},{"title":"List spend summaries","openapi":"GET /api/gateway/v1/spend-summaries","href":"/api-reference/gateway-spend/list-spend-summaries"},{"title":"Replay spend events to an endpoint","openapi":"POST /api/gateway/v1/spend-events/replay","href":"/api-reference/gateway-spend/replay-spend-events-to-an-endpoint"},{"title":"Read one end user's spend","openapi":"GET /api/gateway/v1/end-users/{id}/spend","href":"/api-reference/gateway-spend/read-one-end-user-s-spend"}]},{"group":"Webhooks","pages":[{"title":"Overview","href":"/api-reference/webhooks/overview"},{"title":"List webhook endpoints","openapi":"GET /api/webhooks/v1/endpoints","href":"/api-reference/webhooks/list-webhook-endpoints"},{"title":"List subscribable event types","openapi":"GET /api/webhooks/v1/event-types","href":"/api-reference/webhooks/list-subscribable-event-types"},{"title":"List emitted events","openapi":"GET /api/webhooks/v1/events","href":"/api-reference/webhooks/list-emitted-events"},{"title":"Create a webhook endpoint","openapi":"POST /api/webhooks/v1/endpoints","href":"/api-reference/webhooks/create-a-webhook-endpoint"},{"title":"Get a webhook endpoint","openapi":"GET /api/webhooks/v1/endpoints/{id}","href":"/api-reference/webhooks/get-a-webhook-endpoint"},{"title":"List an endpoint's delivery attempts","openapi":"GET /api/webhooks/v1/endpoints/{id}/deliveries","href":"/api-reference/webhooks/list-an-endpoint-s-delivery-attempts"},{"title":"Read an endpoint's delivery health","openapi":"GET /api/webhooks/v1/endpoints/{id}/health","href":"/api-reference/webhooks/read-an-endpoint-s-delivery-health"},{"title":"Get one emitted event","openapi":"GET /api/webhooks/v1/events/{id}","href":"/api-reference/webhooks/get-one-emitted-event"},{"title":"Update a webhook endpoint","openapi":"PATCH /api/webhooks/v1/endpoints/{id}","href":"/api-reference/webhooks/update-a-webhook-endpoint"},{"title":"Roll an endpoint's signing secret","openapi":"POST /api/webhooks/v1/endpoints/{id}/roll-secret","href":"/api-reference/webhooks/roll-an-endpoint-s-signing-secret"},{"title":"Send a test event to an endpoint","openapi":"POST /api/webhooks/v1/endpoints/{id}/test","href":"/api-reference/webhooks/send-a-test-event-to-an-endpoint"},{"title":"Archive a webhook endpoint","openapi":"DELETE /api/webhooks/v1/endpoints/{id}","href":"/api-reference/webhooks/archive-a-webhook-endpoint"}]}]}]},"basePath":"","title":"Run a configuration under a name - LangWatch","buildId":"dpl_ATnXPMW25DMPUr9VBw6kL6MfBt6T","deploymentId":"dpl_ATnXPMW25DMPUr9VBw6kL6MfBt6T","dynamics":["10e4515597","c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["BannerMarkdown-B5WzX-8C.js","dist-BPypQKlo.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","clsx-6wHzaN2_.js","html-void-elements-mCSPHezU.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","OpenApiReferenceProvider-CNqlzjVB.js","utils-BqFiXZ79.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-CnR4QBe6.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-BY2ZM1OO.js","snippetPresets-x-8ACO8V.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-Ch-SJE05.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CqqG_0NE.js","shallow-BXrZ2b0C.js","getApiPlaygroundDisplay-n7J_wkjq.js","CodeSnippet-CQsp4vyQ.js","CodeSnippets-BfuHqvZx.js","Page-CTxrMSpo.js","getPastedJson-BjrGIK1i.js","icon-7iLZnVOC.js","MethodPill-TBS1m84e.js","DuplicateIcon-BNMrV4Vs.js","createIcon-C5kCqeU2.js","DynamicMarkdown-Bq09mRwR.js","SectionHeading-G4Bflf5Q.js","axios-vUo_bRtp.js","Markdown-BTUds0aX.js","AssistantPageLink-o6bee4ro.js"]}