using MeetKai.MKA1;
using MeetKai.MKA1.Types.Components;
using System.Collections.Generic;
var sdk = new SDK(bearerAuth: "<YOUR_BEARER_TOKEN_HERE>");
UpdateGuardrailsResourcePolicyRequest req = new UpdateGuardrailsResourcePolicyRequest() {
ResourceType = UpdateGuardrailsResourcePolicyRequestResourceType.Model,
ResourceId = "meetkai:functionary-urdu-mini-pak",
Guardrails = new List<GuardrailConfig>() {
GuardrailConfig.CreateBanWords(
new BanWordsGuardrail() {
CheckOutput = true,
Config = new BanWordsConfig() {
Words = new List<string>() {
"confidential",
},
},
}
),
},
};
var res = await sdk.Guardrails.UpdateGuardrailsResourcePolicyAsync(req);
// handle response
from meetkai_mka1 import SDK
with SDK(
bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
) as sdk:
res = sdk.guardrails.update_guardrails_resource_policy(resource_type="model", resource_id="meetkai:functionary-urdu-mini-pak", guardrails=[
{
"mode": "ban_words",
"enabled": True,
"check_output": True,
"config": {
"words": [
"confidential",
],
},
},
])
# Handle response
print(res)
Additional guardrails attached to a saved agent in the active team or a catalog model endpoint throughout the organization. Cluster, organization and team policies are always enforced as well. Model aliases resolve to canonical model IDs; auto is not an attachable endpoint. Only organization admins/owners may change these policies. Policies apply to saved-agent versions and future background executions independently of version snapshots. Configured fallback and image-reroute endpoint policies are checked before dispatch as well, even if a fallback is not eventually needed.
using MeetKai.MKA1;
using MeetKai.MKA1.Types.Components;
using System.Collections.Generic;
var sdk = new SDK(bearerAuth: "<YOUR_BEARER_TOKEN_HERE>");
UpdateGuardrailsResourcePolicyRequest req = new UpdateGuardrailsResourcePolicyRequest() {
ResourceType = UpdateGuardrailsResourcePolicyRequestResourceType.Model,
ResourceId = "meetkai:functionary-urdu-mini-pak",
Guardrails = new List<GuardrailConfig>() {
GuardrailConfig.CreateBanWords(
new BanWordsGuardrail() {
CheckOutput = true,
Config = new BanWordsConfig() {
Words = new List<string>() {
"confidential",
},
},
}
),
},
};
var res = await sdk.Guardrails.UpdateGuardrailsResourcePolicyAsync(req);
// handle response
from meetkai_mka1 import SDK
with SDK(
bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
) as sdk:
res = sdk.guardrails.update_guardrails_resource_policy(resource_type="model", resource_id="meetkai:functionary-urdu-mini-pak", guardrails=[
{
"mode": "ban_words",
"enabled": True,
"check_output": True,
"config": {
"words": [
"confidential",
],
},
},
])
# Handle response
print(res)
Gateway auth: send Authorization: Bearer <mka1-api-key>. For multi-user server-side integrations, you can also send X-On-Behalf-Of: <external-user-id>.
{"docsConfig":{"theme":"almond","$schema":"https://mintlify.com/docs.json","name":"MKA1","colors":{"primary":"#46b5f6","light":"#46b5f6","dark":"#46b5f6"},"favicon":"https://mintcdn.com/meetkaiinc/D1VKjb5aEYk5ok3O/favicon.ico?fit=max\u0026auto=format\u0026n=D1VKjb5aEYk5ok3O\u0026q=85\u0026s=c8df593a5b482a4f855af23e58220515","navbar":{"primary":{"type":"button","label":"Console","href":"https://platform.mka1.com/"}},"footer":{},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"interaction":{"drilldown":false},"styling":{"latex":true},"navigation":{"languages":[{"language":"en","default":true,"href":""},{"language":"es","href":"es/docs/platform-getting-started"},{"language":"pt-BR","href":"pt/docs/platform-getting-started"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"meetkaiinc","hasAudioNarration":false,"actualSubdomain":"meetkaiinc","customDomains":["docs.mka1.com"],"gitSource":{"type":"github","owner":"meetkai","repo":"mka1-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae50f96822866cf7d007b65","collectionId":"b83d9728-7377-407c-a29f-d50bf8ed3d36","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae50f96822866cf7d007b65"},"feedback":{"thumbs":true,"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ae518b87ae20cc89b5d0b28","clientVersion":"0.0.4043","searchFilterCounts":[{"language":"en","tag":"API Reference","count":514},{"language":"es","tag":"Referencia API","count":504},{"language":"pt-BR","tag":"Referência da API","count":502},{"language":"en","tag":"Agents","count":75},{"language":"en","tag":"Developers","count":68},{"language":"en","tag":"Organizations and access","count":64},{"language":"es","tag":"Organizations and access","count":64},{"language":"pt-BR","tag":"Organizations and access","count":64},{"language":"es","tag":"Agents","count":63},{"language":"pt-BR","tag":"Agents","count":63},{"language":"en","tag":"Tools and sandbox","count":62},{"language":"es","tag":"Tools and sandbox","count":60},{"language":"pt-BR","tag":"Tools and sandbox","count":59},{"language":"en","tag":"Compute","count":58},{"language":"es","tag":"Compute","count":51},{"language":"en","tag":"Evals and feedback","count":50},{"language":"es","tag":"Evals and feedback","count":50},{"language":"pt-BR","tag":"Evals and feedback","count":50},{"language":"pt-BR","tag":"Compute","count":47},{"language":"en","tag":"Usage and budgets","count":45},{"language":"es","tag":"Usage and budgets","count":45},{"language":"pt-BR","tag":"Usage and budgets","count":45},{"language":"en","tag":"Evals","count":41},{"language":"pt-BR","tag":"Desenvolvedores","count":37},{"language":"es","tag":"Evals","count":36},{"language":"pt-BR","tag":"Evals","count":36},{"language":"es","tag":"Models and routing","count":35},{"language":"en","tag":"Models and routing","count":34},{"language":"es","tag":"Desarrolladores","count":34},{"language":"pt-BR","tag":"Models and routing","count":34},{"language":"default","tag":"Referência da API","count":11},{"language":"default","tag":"API Reference","count":11},{"language":"default","tag":"Additional APIs","count":8},{"language":"default","tag":"Compute","count":8},{"language":"default","tag":"Billing","count":6},{"language":"default","tag":"Tracking Runs","count":6},{"language":"default","tag":"Agents","count":2},{"language":"default","tag":"Tools and sandbox","count":2},{"language":"default","tag":"MCP Vault","count":2},{"language":"default","tag":"Sandbox Connectors","count":2}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"byok-sep-25","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":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","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}],"googleFontsInlined":true},"customCss":[{"filePath":"albania-docs/styles.css","content":"@media (min-width:1024px){#content-container #content-area{max-width:none}}"},{"filePath":"styles.css","href":"/_mintlify/custom/meetkaiinc/cad50359cb983146/styles.css"}],"page":{"pagePath":"api-reference/guardrails/set-a-resource-guardrails-policy","slug":"/api-reference/guardrails/set-a-resource-guardrails-policy","pageMetadata":{"title":"Set a resource guardrails policy","description":"Additional guardrails attached to a saved agent in the active team or a catalog model endpoint throughout the organization. Cluster, organization and team policies are always enforced as well. Model aliases resolve to canonical model IDs; auto is not an attachable endpoint. Only organization admins/owners may change these policies. Policies apply to saved-agent versions and future background executions independently of version snapshots. Configured fallback and image-reroute endpoint policies are checked before dispatch as well, even if a fallback is not eventually needed.","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json put /api/v1/llm/guardrails/resource-policies","href":"/api-reference/guardrails/set-a-resource-guardrails-policy","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Additional guardrails attached to a saved agent in the active team or a catalog model endpoint throughout the organization. Cluster, organization and team policies are always enforced as well. Model aliases resolve to canonical model IDs; auto is not an attachable endpoint. Only organization admins/owners may change these policies. Policies apply to saved-agent versions and future background executions independently of version snapshots. Configured fallback and image-reroute endpoint policies are checked before dispatch as well, even if a fallback is not eventually needed.\"\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":"Set a resource guardrails policy","description":"Additional guardrails attached to a saved agent in the active team or a catalog model endpoint throughout the organization. Cluster, organization and team policies are always enforced as well. Model aliases resolve to canonical model IDs; auto is not an attachable endpoint. Only organization admins/owners may change these policies. Policies apply to saved-agent versions and future background executions independently of version snapshots. Configured fallback and image-reroute endpoint policies are checked before dispatch as well, even if a fallback is not eventually needed.","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json put /api/v1/llm/guardrails/resource-policies","href":"/api-reference/guardrails/set-a-resource-guardrails-policy","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"updateGuardrailsResourcePolicy","summary":"Set a resource guardrails policy","description":"Additional guardrails attached to a saved agent in the active team or a catalog model endpoint throughout the organization. Cluster, organization and team policies are always enforced as well. Model aliases resolve to canonical model IDs; auto is not an attachable endpoint. Only organization admins/owners may change these policies. Policies apply to saved-agent versions and future background executions independently of version snapshots. Configured fallback and image-reroute endpoint policies are checked before dispatch as well, even if a fallback is not eventually needed.","tags":["Guardrails"],"requestBody":"d08e9eba-078c-46ef-8955-ad185803309c","responses":{"200":"568a3c9d-7902-4e4b-b08d-2ef4ba8aad98"},"security":["ca2b9562-fc34-4173-a944-019b61cca48f"],"x-mk-auth-scope":"admin","x-gateway-auth":{"provider":"kong","supportsOnBehalfOf":true,"onBehalfOfHeader":"X-On-Behalf-Of"},"x-codeSamples":[{"lang":"go","label":"Go (SDK)","source":"package main\n\nimport(\n\t\"context\"\n\tmka1 \"github.com/MeetKai/mka1-sdks/go\"\n\t\"github.com/MeetKai/mka1-sdks/go/models/components\"\n\t\"log\"\n)\n\nfunc main() {\n ctx := context.Background()\n\n s := mka1.New(\n mka1.WithSecurity(\"\u003cYOUR_BEARER_TOKEN_HERE>\"),\n )\n\n res, err := s.Guardrails.UpdateGuardrailsResourcePolicy(ctx, components.UpdateGuardrailsResourcePolicyRequest{\n ResourceType: components.UpdateGuardrailsResourcePolicyRequestResourceTypeModel,\n ResourceID: \"meetkai:functionary-urdu-mini-pak\",\n Guardrails: []components.GuardrailConfig{\n components.CreateGuardrailConfigBanWords(\n components.BanWordsGuardrail{\n CheckOutput: mka1.Pointer(true),\n Config: \u0026components.BanWordsConfig{\n Words: []string{\n \"confidential\",\n },\n },\n },\n ),\n },\n })\n if err != nil {\n log.Fatal(err)\n }\n if res.GetGuardrailsResourcePolicyResponse != nil {\n // handle response\n }\n}"},{"lang":"csharp","label":"CSharp (SDK)","source":"using MeetKai.MKA1;\nusing MeetKai.MKA1.Types.Components;\nusing System.Collections.Generic;\n\nvar sdk = new SDK(bearerAuth: \"\u003cYOUR_BEARER_TOKEN_HERE>\");\n\nUpdateGuardrailsResourcePolicyRequest req = new UpdateGuardrailsResourcePolicyRequest() {\n ResourceType = UpdateGuardrailsResourcePolicyRequestResourceType.Model,\n ResourceId = \"meetkai:functionary-urdu-mini-pak\",\n Guardrails = new List\u003cGuardrailConfig>() {\n GuardrailConfig.CreateBanWords(\n new BanWordsGuardrail() {\n CheckOutput = true,\n Config = new BanWordsConfig() {\n Words = new List\u003cstring>() {\n \"confidential\",\n },\n },\n }\n ),\n },\n};\n\nvar res = await sdk.Guardrails.UpdateGuardrailsResourcePolicyAsync(req);\n\n// handle response"},{"lang":"python","label":"Python (SDK)","source":"from meetkai_mka1 import SDK\n\n\nwith SDK(\n bearer_auth=\"\u003cYOUR_BEARER_TOKEN_HERE>\",\n) as sdk:\n\n res = sdk.guardrails.update_guardrails_resource_policy(resource_type=\"model\", resource_id=\"meetkai:functionary-urdu-mini-pak\", guardrails=[\n {\n \"mode\": \"ban_words\",\n \"enabled\": True,\n \"check_output\": True,\n \"config\": {\n \"words\": [\n \"confidential\",\n ],\n },\n },\n ])\n\n # Handle response\n print(res)"},{"lang":"typescript","label":"Typescript (SDK)","source":"import { SDK } from \"@meetkai/mka1\";\n\nconst sdk = new SDK({\n bearerAuth: \"\u003cYOUR_BEARER_TOKEN_HERE>\",\n});\n\nasync function run() {\n const result = await sdk.guardrails.updateGuardrailsResourcePolicy({\n resourceType: \"model\",\n resourceId: \"meetkai:functionary-urdu-mini-pak\",\n guardrails: [\n {\n mode: \"ban_words\",\n enabled: true,\n checkOutput: true,\n config: {\n words: [\n \"confidential\",\n ],\n },\n },\n ],\n });\n\n console.log(result);\n}\n\nrun();"}],"method":"put","type":"path","servers":["bc4c9de1-0995-4511-8409-a625eafdffd2","74b881c7-dff8-4f36-8edf-33a8fa503cc7"],"path":"/api/v1/llm/guardrails/resource-policies","baseUrlOptions":["https://apigw.mka1.com","/"],"title":"Set a resource guardrails policy","codeSamples":[{"label":"Go (SDK)","lang":"go","source":"package main\n\nimport(\n\t\"context\"\n\tmka1 \"github.com/MeetKai/mka1-sdks/go\"\n\t\"github.com/MeetKai/mka1-sdks/go/models/components\"\n\t\"log\"\n)\n\nfunc main() {\n ctx := context.Background()\n\n s := mka1.New(\n mka1.WithSecurity(\"\u003cYOUR_BEARER_TOKEN_HERE>\"),\n )\n\n res, err := s.Guardrails.UpdateGuardrailsResourcePolicy(ctx, components.UpdateGuardrailsResourcePolicyRequest{\n ResourceType: components.UpdateGuardrailsResourcePolicyRequestResourceTypeModel,\n ResourceID: \"meetkai:functionary-urdu-mini-pak\",\n Guardrails: []components.GuardrailConfig{\n components.CreateGuardrailConfigBanWords(\n components.BanWordsGuardrail{\n CheckOutput: mka1.Pointer(true),\n Config: \u0026components.BanWordsConfig{\n Words: []string{\n \"confidential\",\n },\n },\n },\n ),\n },\n })\n if err != nil {\n log.Fatal(err)\n }\n if res.GetGuardrailsResourcePolicyResponse != nil {\n // handle response\n }\n}"},{"label":"CSharp (SDK)","lang":"csharp","source":"using MeetKai.MKA1;\nusing MeetKai.MKA1.Types.Components;\nusing System.Collections.Generic;\n\nvar sdk = new SDK(bearerAuth: \"\u003cYOUR_BEARER_TOKEN_HERE>\");\n\nUpdateGuardrailsResourcePolicyRequest req = new UpdateGuardrailsResourcePolicyRequest() {\n ResourceType = UpdateGuardrailsResourcePolicyRequestResourceType.Model,\n ResourceId = \"meetkai:functionary-urdu-mini-pak\",\n Guardrails = new List\u003cGuardrailConfig>() {\n GuardrailConfig.CreateBanWords(\n new BanWordsGuardrail() {\n CheckOutput = true,\n Config = new BanWordsConfig() {\n Words = new List\u003cstring>() {\n \"confidential\",\n },\n },\n }\n ),\n },\n};\n\nvar res = await sdk.Guardrails.UpdateGuardrailsResourcePolicyAsync(req);\n\n// handle response"},{"label":"Python (SDK)","lang":"python","source":"from meetkai_mka1 import SDK\n\n\nwith SDK(\n bearer_auth=\"\u003cYOUR_BEARER_TOKEN_HERE>\",\n) as sdk:\n\n res = sdk.guardrails.update_guardrails_resource_policy(resource_type=\"model\", resource_id=\"meetkai:functionary-urdu-mini-pak\", guardrails=[\n {\n \"mode\": \"ban_words\",\n \"enabled\": True,\n \"check_output\": True,\n \"config\": {\n \"words\": [\n \"confidential\",\n ],\n },\n },\n ])\n\n # Handle response\n print(res)"},{"label":"Typescript (SDK)","lang":"typescript","source":"import { SDK } from \"@meetkai/mka1\";\n\nconst sdk = new SDK({\n bearerAuth: \"\u003cYOUR_BEARER_TOKEN_HERE>\",\n});\n\nasync function run() {\n const result = await sdk.guardrails.updateGuardrailsResourcePolicy({\n resourceType: \"model\",\n resourceId: \"meetkai:functionary-urdu-mini-pak\",\n guardrails: [\n {\n mode: \"ban_words\",\n enabled: true,\n checkOutput: true,\n config: {\n words: [\n \"confidential\",\n ],\n },\n },\n ],\n });\n\n console.log(result);\n}\n\nrun();"}],"requiredOnlyExamples":false,"requestExampleType":"codeSamples","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"resource_type":{"enum":["agent","model"],"type":"string","description":"Saved agent or catalog model endpoint.","isRequired":true,"uniqueKey":"resource_type","typeLabel":"enum\u003cstring>"},"resource_id":{"type":"string","minLength":1,"maxLength":255,"description":"Canonical saved-agent ID or catalog model ID. Model aliases are resolved before storage.","isRequired":true,"uniqueKey":"resource_id","typeLabel":"string"},"guardrails":{"type":"array","maxItems":100,"items":{"oneOf":[{"type":"object","description":"Banned words guardrail","required":["mode"],"properties":{"mode":{"const":"ban_words","isRequired":true,"uniqueKey":"guardrails.items.[INDEX].oneOf.0.mode","typeLabel":"any"},"enabled":{"type":"boolean","default":true,"description":"Whether this guardrail is enabled","uniqueKey":"guardrails.items.[INDEX].oneOf.0.enabled","typeLabel":"boolean"},"check_output":{"type":"boolean","description":"Also apply this guardrail to model output, not just the request","uniqueKey":"guardrails.items.[INDEX].oneOf.0.check_output","typeLabel":"boolean"},"output_timing":{"enum":["final","streaming"],"type":"string","description":"When this rule checks model output: final (default) checks the finished text once, after it has streamed; streaming holds streamed text in a window and releases only text this rule has cleared","uniqueKey":"guardrails.items.[INDEX].oneOf.0.output_timing","typeLabel":"enum\u003cstring>"},"output_window":{"type":"object","properties":{"max_chars":{"type":"integer","minimum":100,"maximum":9007199254740991,"description":"Check once this many characters of unchecked text have accumulated","uniqueKey":"guardrails.items.[INDEX].oneOf.0.output_window.max_chars","typeLabel":"integer"},"max_ms":{"type":"integer","minimum":250,"maximum":2147483647,"description":"Check once the oldest unchecked text has been held this many milliseconds","uniqueKey":"guardrails.items.[INDEX].oneOf.0.output_window.max_ms","typeLabel":"integer"}},"description":"Window for streaming output checks; omit to use the gateway defaults. A check runs when max_chars characters or max_ms milliseconds of unchecked text have accumulated, whichever comes first","uniqueKey":"guardrails.items.[INDEX].oneOf.0.output_window","typeLabel":"object"},"input_sources":{"type":"array","items":{"enum":["user","system","assistant","tool","retrieval","image","audio"],"type":"string","description":"A source of model input: user (user messages and text sent to a sleeping response), system (system and developer messages, instructions and compaction summaries), assistant (earlier assistant messages), tool (function, custom tool, MCP, shell and code interpreter results), retrieval (file search, web search, web page, uploaded file and history search results), image (text read from images in messages) or audio (transcripts of audio in messages)","uniqueKey":"guardrails.items.[INDEX].oneOf.0.input_sources.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Request sources this guardrail checks before they reach the model. Omit to use the mode's default: every source for classifier; every source except system for ban_words, since instructions often name the terms they forbid; only what the user sends for prompt_injection and leakage, whose keyword patterns match ordinary instructions, replies and documents. An empty list checks no input, so the rule only checks output when check_output is set. Rules saved before this field existed were set to user messages only.","uniqueKey":"guardrails.items.[INDEX].oneOf.0.input_sources","typeLabel":"enum\u003cstring>[]"},"config":{"type":"object","properties":{"words":{"type":"array","items":{"type":"string","uniqueKey":"guardrails.items.[INDEX].oneOf.0.config.words.items.[INDEX]","typeLabel":"string"},"default":[],"description":"List of banned words or phrases","uniqueKey":"guardrails.items.[INDEX].oneOf.0.config.words","typeLabel":"string[]"},"rejection_message":{"type":"string","default":"I'm sorry, but I can't process this request as it contains content that isn't allowed. Please rephrase your message.","description":"The message to return when this guardrail is triggered","uniqueKey":"guardrails.items.[INDEX].oneOf.0.config.rejection_message","typeLabel":"string"}},"description":"Banned words configuration","uniqueKey":"guardrails.items.[INDEX].oneOf.0.config","typeLabel":"object"}},"uniqueKey":"guardrails.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","description":"Prompt injection guardrail","required":["mode"],"properties":{"mode":{"const":"prompt_injection","isRequired":true,"uniqueKey":"guardrails.items.[INDEX].oneOf.1.mode","typeLabel":"any"},"enabled":{"type":"boolean","default":true,"description":"Whether this guardrail is enabled","uniqueKey":"guardrails.items.[INDEX].oneOf.1.enabled","typeLabel":"boolean"},"check_output":{"type":"boolean","description":"Also apply this guardrail to model output, not just the request","uniqueKey":"guardrails.items.[INDEX].oneOf.1.check_output","typeLabel":"boolean"},"output_timing":{"enum":["final","streaming"],"type":"string","description":"When this rule checks model output: final (default) checks the finished text once, after it has streamed; streaming holds streamed text in a window and releases only text this rule has cleared","uniqueKey":"guardrails.items.[INDEX].oneOf.1.output_timing","typeLabel":"enum\u003cstring>"},"output_window":{"type":"object","properties":{"max_chars":{"type":"integer","minimum":100,"maximum":9007199254740991,"description":"Check once this many characters of unchecked text have accumulated","uniqueKey":"guardrails.items.[INDEX].oneOf.1.output_window.max_chars","typeLabel":"integer"},"max_ms":{"type":"integer","minimum":250,"maximum":2147483647,"description":"Check once the oldest unchecked text has been held this many milliseconds","uniqueKey":"guardrails.items.[INDEX].oneOf.1.output_window.max_ms","typeLabel":"integer"}},"description":"Window for streaming output checks; omit to use the gateway defaults. A check runs when max_chars characters or max_ms milliseconds of unchecked text have accumulated, whichever comes first","uniqueKey":"guardrails.items.[INDEX].oneOf.1.output_window","typeLabel":"object"},"input_sources":{"type":"array","items":{"enum":["user","system","assistant","tool","retrieval","image","audio"],"type":"string","description":"A source of model input: user (user messages and text sent to a sleeping response), system (system and developer messages, instructions and compaction summaries), assistant (earlier assistant messages), tool (function, custom tool, MCP, shell and code interpreter results), retrieval (file search, web search, web page, uploaded file and history search results), image (text read from images in messages) or audio (transcripts of audio in messages)","uniqueKey":"guardrails.items.[INDEX].oneOf.1.input_sources.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Request sources this guardrail checks before they reach the model. Omit to use the mode's default: every source for classifier; every source except system for ban_words, since instructions often name the terms they forbid; only what the user sends for prompt_injection and leakage, whose keyword patterns match ordinary instructions, replies and documents. An empty list checks no input, so the rule only checks output when check_output is set. Rules saved before this field existed were set to user messages only.","uniqueKey":"guardrails.items.[INDEX].oneOf.1.input_sources","typeLabel":"enum\u003cstring>[]"},"config":{"type":"object","properties":{"threshold":{"type":"number","minimum":0,"maximum":1,"default":0.7,"description":"Detection threshold (0-1)","uniqueKey":"guardrails.items.[INDEX].oneOf.1.config.threshold","typeLabel":"number"},"rejection_message":{"type":"string","default":"I'm sorry, but I can't process this request. Please rephrase your message in a different way.","description":"The message to return when this guardrail is triggered","uniqueKey":"guardrails.items.[INDEX].oneOf.1.config.rejection_message","typeLabel":"string"}},"description":"Prompt injection configuration","uniqueKey":"guardrails.items.[INDEX].oneOf.1.config","typeLabel":"object"}},"uniqueKey":"guardrails.items.[INDEX].oneOf.1","typeLabel":"object"},{"type":"object","description":"Leakage guardrail","required":["mode"],"properties":{"mode":{"const":"leakage","isRequired":true,"uniqueKey":"guardrails.items.[INDEX].oneOf.2.mode","typeLabel":"any"},"enabled":{"type":"boolean","default":true,"description":"Whether this guardrail is enabled","uniqueKey":"guardrails.items.[INDEX].oneOf.2.enabled","typeLabel":"boolean"},"check_output":{"type":"boolean","description":"Also apply this guardrail to model output, not just the request","uniqueKey":"guardrails.items.[INDEX].oneOf.2.check_output","typeLabel":"boolean"},"output_timing":{"enum":["final","streaming"],"type":"string","description":"When this rule checks model output: final (default) checks the finished text once, after it has streamed; streaming holds streamed text in a window and releases only text this rule has cleared","uniqueKey":"guardrails.items.[INDEX].oneOf.2.output_timing","typeLabel":"enum\u003cstring>"},"output_window":{"type":"object","properties":{"max_chars":{"type":"integer","minimum":100,"maximum":9007199254740991,"description":"Check once this many characters of unchecked text have accumulated","uniqueKey":"guardrails.items.[INDEX].oneOf.2.output_window.max_chars","typeLabel":"integer"},"max_ms":{"type":"integer","minimum":250,"maximum":2147483647,"description":"Check once the oldest unchecked text has been held this many milliseconds","uniqueKey":"guardrails.items.[INDEX].oneOf.2.output_window.max_ms","typeLabel":"integer"}},"description":"Window for streaming output checks; omit to use the gateway defaults. A check runs when max_chars characters or max_ms milliseconds of unchecked text have accumulated, whichever comes first","uniqueKey":"guardrails.items.[INDEX].oneOf.2.output_window","typeLabel":"object"},"input_sources":{"type":"array","items":{"enum":["user","system","assistant","tool","retrieval","image","audio"],"type":"string","description":"A source of model input: user (user messages and text sent to a sleeping response), system (system and developer messages, instructions and compaction summaries), assistant (earlier assistant messages), tool (function, custom tool, MCP, shell and code interpreter results), retrieval (file search, web search, web page, uploaded file and history search results), image (text read from images in messages) or audio (transcripts of audio in messages)","uniqueKey":"guardrails.items.[INDEX].oneOf.2.input_sources.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Request sources this guardrail checks before they reach the model. Omit to use the mode's default: every source for classifier; every source except system for ban_words, since instructions often name the terms they forbid; only what the user sends for prompt_injection and leakage, whose keyword patterns match ordinary instructions, replies and documents. An empty list checks no input, so the rule only checks output when check_output is set. Rules saved before this field existed were set to user messages only.","uniqueKey":"guardrails.items.[INDEX].oneOf.2.input_sources","typeLabel":"enum\u003cstring>[]"},"config":{"type":"object","properties":{"threshold":{"type":"number","minimum":0,"maximum":1,"default":0.7,"description":"Detection threshold (0-1)","uniqueKey":"guardrails.items.[INDEX].oneOf.2.config.threshold","typeLabel":"number"},"rejection_message":{"type":"string","default":"I'm sorry, but I can't help with that type of request. Please ask me something else.","description":"The message to return when this guardrail is triggered","uniqueKey":"guardrails.items.[INDEX].oneOf.2.config.rejection_message","typeLabel":"string"}},"description":"Leakage configuration","uniqueKey":"guardrails.items.[INDEX].oneOf.2.config","typeLabel":"object"}},"uniqueKey":"guardrails.items.[INDEX].oneOf.2","typeLabel":"object"},{"type":"object","required":["mode","config"],"properties":{"mode":{"const":"classifier","isRequired":true,"uniqueKey":"guardrails.items.[INDEX].oneOf.3.mode","typeLabel":"any"},"config":{"type":"object","properties":{"model":{"type":"string","minLength":1,"description":"Exact model ID available in the caller's organization registry","isRequired":true,"uniqueKey":"guardrails.items.[INDEX].oneOf.3.config.model","typeLabel":"string"},"prompt":{"type":"string","minLength":1,"maxLength":16000,"description":"Instructions defining when to block or allow content; content is supplied separately","isRequired":true,"uniqueKey":"guardrails.items.[INDEX].oneOf.3.config.prompt","typeLabel":"string"},"on_error":{"enum":["fail_closed","fail_open"],"type":"string","default":"fail_closed","description":"Stop the request or skip this classifier when evaluation fails","uniqueKey":"guardrails.items.[INDEX].oneOf.3.config.on_error","typeLabel":"enum\u003cstring>"},"rejection_message":{"type":"string","default":"This request is not allowed by your organization's content policy.","description":"Message returned when classification blocks content","uniqueKey":"guardrails.items.[INDEX].oneOf.3.config.rejection_message","typeLabel":"string"}},"required":["model","prompt"],"isRequired":true,"uniqueKey":"guardrails.items.[INDEX].oneOf.3.config","typeLabel":"object"},"enabled":{"type":"boolean","default":true,"description":"Whether this guardrail is enabled","uniqueKey":"guardrails.items.[INDEX].oneOf.3.enabled","typeLabel":"boolean"},"check_output":{"type":"boolean","description":"Also apply this guardrail to model output, not just the request","uniqueKey":"guardrails.items.[INDEX].oneOf.3.check_output","typeLabel":"boolean"},"output_timing":{"enum":["final","streaming"],"type":"string","description":"When this rule checks model output: final (default) checks the finished text once, after it has streamed; streaming holds streamed text in a window and releases only text this rule has cleared","uniqueKey":"guardrails.items.[INDEX].oneOf.3.output_timing","typeLabel":"enum\u003cstring>"},"output_window":{"type":"object","properties":{"max_chars":{"type":"integer","minimum":100,"maximum":9007199254740991,"description":"Check once this many characters of unchecked text have accumulated","uniqueKey":"guardrails.items.[INDEX].oneOf.3.output_window.max_chars","typeLabel":"integer"},"max_ms":{"type":"integer","minimum":250,"maximum":2147483647,"description":"Check once the oldest unchecked text has been held this many milliseconds","uniqueKey":"guardrails.items.[INDEX].oneOf.3.output_window.max_ms","typeLabel":"integer"}},"description":"Window for streaming output checks; omit to use the gateway defaults. A check runs when max_chars characters or max_ms milliseconds of unchecked text have accumulated, whichever comes first","uniqueKey":"guardrails.items.[INDEX].oneOf.3.output_window","typeLabel":"object"},"input_sources":{"type":"array","items":{"enum":["user","system","assistant","tool","retrieval","image","audio"],"type":"string","description":"A source of model input: user (user messages and text sent to a sleeping response), system (system and developer messages, instructions and compaction summaries), assistant (earlier assistant messages), tool (function, custom tool, MCP, shell and code interpreter results), retrieval (file search, web search, web page, uploaded file and history search results), image (text read from images in messages) or audio (transcripts of audio in messages)","uniqueKey":"guardrails.items.[INDEX].oneOf.3.input_sources.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Request sources this guardrail checks before they reach the model. Omit to use the mode's default: every source for classifier; every source except system for ban_words, since instructions often name the terms they forbid; only what the user sends for prompt_injection and leakage, whose keyword patterns match ordinary instructions, replies and documents. An empty list checks no input, so the rule only checks output when check_output is set. Rules saved before this field existed were set to user messages only.","uniqueKey":"guardrails.items.[INDEX].oneOf.3.input_sources","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"guardrails.items.[INDEX].oneOf.3","typeLabel":"object"}],"uniqueKey":"guardrails.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"guardrails","typeLabel":"object[]"}},"required":["resource_type","resource_id","guardrails"],"uniqueKey":"","typeLabel":"object"},"example":{"resource_type":"model","resource_id":"meetkai:functionary-urdu-mini-pak","guardrails":[{"mode":"ban_words","enabled":true,"check_output":true,"config":{"words":["confidential"]}}]},"examples":{"Example":{"title":"Example","value":{"resource_type":"model","resource_id":"meetkai:functionary-urdu-mini-pak","guardrails":[{"mode":"ban_words","enabled":true,"check_output":true,"config":{"words":["confidential"]}}]}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"568a3c9d-7902-4e4b-b08d-2ef4ba8aad98":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"object":{"const":"guardrails_resource_policy","isRequired":true,"uniqueKey":"object","typeLabel":"any"},"policy":{"oneOf":[{"type":"object","required":["resource_type","resource_id","team_id","guardrails","updated_at"],"properties":{"resource_type":{"enum":["agent","model"],"type":"string","description":"Saved agent or catalog model endpoint.","isRequired":true,"uniqueKey":"policy.oneOf.0.resource_type","typeLabel":"enum\u003cstring>"},"resource_id":{"type":"string","minLength":1,"maxLength":255,"description":"Canonical saved-agent ID or catalog model ID. Model aliases are resolved before storage.","isRequired":true,"uniqueKey":"policy.oneOf.0.resource_id","typeLabel":"string"},"team_id":{"oneOf":[{"type":"string","description":"Agent's team, or null for an organization-wide model endpoint policy.","isRequired":true,"uniqueKey":"policy.oneOf.0.team_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Agent's team, or null for an organization-wide model endpoint policy.","isRequired":true,"uniqueKey":"policy.oneOf.0.team_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"policy.oneOf.0.team_id","typeLabel":"string | null"},"guardrails":{"type":"array","items":{"oneOf":[{"type":"object","description":"Banned words guardrail","required":["mode"],"properties":{"mode":{"const":"ban_words","isRequired":true,"uniqueKey":"policy.oneOf.0.guardrails.items.[INDEX].oneOf.0.mode","typeLabel":"any"},"enabled":{"type":"boolean","default":true,"description":"Whether this guardrail is enabled","uniqueKey":"policy.oneOf.0.guardrails.items.[INDEX].oneOf.0.enabled","typeLabel":"boolean"},"check_output":{"type":"boolean","description":"Also apply this guardrail to model output, not just the request","uniqueKey":"policy.oneOf.0.guardrails.items.[INDEX].oneOf.0.check_output","typeLabel":"boolean"},"output_timing":{"enum":["final","streaming"],"type":"string","description":"When this rule checks model output: final (default) checks the finished text once, after it has streamed; streaming holds streamed text in a window and releases only text this rule has cleared","uniqueKey":"policy.oneOf.0.guardrails.items.[INDEX].oneOf.0.output_timing","typeLabel":"enum\u003cstring>"},"output_window":{"type":"object","properties":{"max_chars":{"type":"integer","minimum":100,"maximum":9007199254740991,"description":"Check once this many characters of unchecked text have accumulated","uniqueKey":"policy.oneOf.0.guardrails.items.[INDEX].oneOf.0.output_window.max_chars","typeLabel":"integer"},"max_ms":{"type":"integer","minimum":250,"maximum":2147483647,"description":"Check once the oldest unchecked text has been held this many milliseconds","uniqueKey":"policy.oneOf.0.guardrails.items.[INDEX].oneOf.0.output_window.max_ms","typeLabel":"integer"}},"description":"Window for streaming output checks; omit to use the gateway defaults. A check runs when max_chars characters or max_ms milliseconds of unchecked text have accumulated, whichever comes first","uniqueKey":"policy.oneOf.0.guardrails.items.[INDEX].oneOf.0.output_window","typeLabel":"object"},"input_sources":{"type":"array","items":{"enum":["user","system","assistant","tool","retrieval","image","audio"],"type":"string","description":"A source of model input: user (user messages and text sent to a sleeping response), system (system and developer messages, instructions and compaction summaries), assistant (earlier assistant messages), tool (function, custom tool, MCP, shell and code interpreter results), retrieval (file search, web search, web page, uploaded file and history search results), image (text read from images in messages) or audio (transcripts of audio in messages)","uniqueKey":"policy.oneOf.0.guardrails.items.[INDEX].oneOf.0.input_sources.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Request sources this guardrail checks before they reach the model. Omit to use the mode's default: every source for classifier; every source except system for ban_words, since instructions often name the terms they forbid; only what the user sends for prompt_injection and leakage, whose keyword patterns match ordinary instructions, replies and documents. An empty list checks no input, so the rule only checks output when check_output is set. Rules saved before this field existed were set to user messages only.","uniqueKey":"policy.oneOf.0.guardrails.items.[INDEX].oneOf.0.input_sources","typeLabel":"enum\u003cstring>[]"},"config":{"type":"object","properties":{"words":{"type":"array","items":{"type":"string","uniqueKey":"policy.oneOf.0.guardrails.items.[INDEX].oneOf.0.config.words.items.[INDEX]","typeLabel":"string"},"default":[],"description":"List of banned words or phrases","uniqueKey":"policy.oneOf.0.guardrails.items.[INDEX].oneOf.0.config.words","typeLabel":"string[]"},"rejection_message":{"type":"string","default":"I'm sorry, but I can't process this request as it contains content that isn't allowed. Please rephrase your message.","description":"The message to return when this guardrail is triggered","uniqueKey":"policy.oneOf.0.guardrails.items.[INDEX].oneOf.0.config.rejection_message","typeLabel":"string"}},"description":"Banned words configuration","uniqueKey":"policy.oneOf.0.guardrails.items.[INDEX].oneOf.0.config","typeLabel":"object"}},"uniqueKey":"policy.oneOf.0.guardrails.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","description":"Prompt injection guardrail","required":["mode"],"properties":{"mode":{"const":"prompt_injection","isRequired":true,"uniqueKey":"policy.oneOf.0.guardrails.items.[INDEX].oneOf.1.mode","typeLabel":"any"},"enabled":{"type":"boolean","default":true,"description":"Whether this guardrail is enabled","uniqueKey":"policy.oneOf.0.guardrails.items.[INDEX].oneOf.1.enabled","typeLabel":"boolean"},"check_output":{"type":"boolean","description":"Also apply this guardrail to model output, not just the request","uniqueKey":"policy.oneOf.0.guardrails.items.[INDEX].oneOf.1.check_output","typeLabel":"boolean"},"output_timing":{"enum":["final","streaming"],"type":"string","description":"When this rule checks model output: final (default) checks the finished text once, after it has streamed; streaming holds streamed text in a window and releases only text this rule has cleared","uniqueKey":"policy.oneOf.0.guardrails.items.[INDEX].oneOf.1.output_timing","typeLabel":"enum\u003cstring>"},"output_window":{"type":"object","properties":{"max_chars":{"type":"integer","minimum":100,"maximum":9007199254740991,"description":"Check once this many characters of unchecked text have accumulated","uniqueKey":"policy.oneOf.0.guardrails.items.[INDEX].oneOf.1.output_window.max_chars","typeLabel":"integer"},"max_ms":{"type":"integer","minimum":250,"maximum":2147483647,"description":"Check once the oldest unchecked text has been held this many milliseconds","uniqueKey":"policy.oneOf.0.guardrails.items.[INDEX].oneOf.1.output_window.max_ms","typeLabel":"integer"}},"description":"Window for streaming output checks; omit to use the gateway defaults. A check runs when max_chars characters or max_ms milliseconds of unchecked text have accumulated, whichever comes first","uniqueKey":"policy.oneOf.0.guardrails.items.[INDEX].oneOf.1.output_window","typeLabel":"object"},"input_sources":{"type":"array","items":{"enum":["user","system","assistant","tool","retrieval","image","audio"],"type":"string","description":"A source of model input: user (user messages and text sent to a sleeping response), system (system and developer messages, instructions and compaction summaries), assistant (earlier assistant messages), tool (function, custom tool, MCP, shell and code interpreter results), retrieval (file search, web search, web page, uploaded file and history search results), image (text read from images in messages) or audio (transcripts of audio in messages)","uniqueKey":"policy.oneOf.0.guardrails.items.[INDEX].oneOf.1.input_sources.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Request sources this guardrail checks before they reach the model. Omit to use the mode's default: every source for classifier; every source except system for ban_words, since instructions often name the terms they forbid; only what the user sends for prompt_injection and leakage, whose keyword patterns match ordinary instructions, replies and documents. An empty list checks no input, so the rule only checks output when check_output is set. Rules saved before this field existed were set to user messages only.","uniqueKey":"policy.oneOf.0.guardrails.items.[INDEX].oneOf.1.input_sources","typeLabel":"enum\u003cstring>[]"},"config":{"type":"object","properties":{"threshold":{"type":"number","minimum":0,"maximum":1,"default":0.7,"description":"Detection threshold (0-1)","uniqueKey":"policy.oneOf.0.guardrails.items.[INDEX].oneOf.1.config.threshold","typeLabel":"number"},"rejection_message":{"type":"string","default":"I'm sorry, but I can't process this request. Please rephrase your message in a different way.","description":"The message to return when this guardrail is triggered","uniqueKey":"policy.oneOf.0.guardrails.items.[INDEX].oneOf.1.config.rejection_message","typeLabel":"string"}},"description":"Prompt injection configuration","uniqueKey":"policy.oneOf.0.guardrails.items.[INDEX].oneOf.1.config","typeLabel":"object"}},"uniqueKey":"policy.oneOf.0.guardrails.items.[INDEX].oneOf.1","typeLabel":"object"},{"type":"object","description":"Leakage guardrail","required":["mode"],"properties":{"mode":{"const":"leakage","isRequired":true,"uniqueKey":"policy.oneOf.0.guardrails.items.[INDEX].oneOf.2.mode","typeLabel":"any"},"enabled":{"type":"boolean","default":true,"description":"Whether this guardrail is enabled","uniqueKey":"policy.oneOf.0.guardrails.items.[INDEX].oneOf.2.enabled","typeLabel":"boolean"},"check_output":{"type":"boolean","description":"Also apply this guardrail to model output, not just the request","uniqueKey":"policy.oneOf.0.guardrails.items.[INDEX].oneOf.2.check_output","typeLabel":"boolean"},"output_timing":{"enum":["final","streaming"],"type":"string","description":"When this rule checks model output: final (default) checks the finished text once, after it has streamed; streaming holds streamed text in a window and releases only text this rule has cleared","uniqueKey":"policy.oneOf.0.guardrails.items.[INDEX].oneOf.2.output_timing","typeLabel":"enum\u003cstring>"},"output_window":{"type":"object","properties":{"max_chars":{"type":"integer","minimum":100,"maximum":9007199254740991,"description":"Check once this many characters of unchecked text have accumulated","uniqueKey":"policy.oneOf.0.guardrails.items.[INDEX].oneOf.2.output_window.max_chars","typeLabel":"integer"},"max_ms":{"type":"integer","minimum":250,"maximum":2147483647,"description":"Check once the oldest unchecked text has been held this many milliseconds","uniqueKey":"policy.oneOf.0.guardrails.items.[INDEX].oneOf.2.output_window.max_ms","typeLabel":"integer"}},"description":"Window for streaming output checks; omit to use the gateway defaults. A check runs when max_chars characters or max_ms milliseconds of unchecked text have accumulated, whichever comes first","uniqueKey":"policy.oneOf.0.guardrails.items.[INDEX].oneOf.2.output_window","typeLabel":"object"},"input_sources":{"type":"array","items":{"enum":["user","system","assistant","tool","retrieval","image","audio"],"type":"string","description":"A source of model input: user (user messages and text sent to a sleeping response), system (system and developer messages, instructions and compaction summaries), assistant (earlier assistant messages), tool (function, custom tool, MCP, shell and code interpreter results), retrieval (file search, web search, web page, uploaded file and history search results), image (text read from images in messages) or audio (transcripts of audio in messages)","uniqueKey":"policy.oneOf.0.guardrails.items.[INDEX].oneOf.2.input_sources.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Request sources this guardrail checks before they reach the model. Omit to use the mode's default: every source for classifier; every source except system for ban_words, since instructions often name the terms they forbid; only what the user sends for prompt_injection and leakage, whose keyword patterns match ordinary instructions, replies and documents. An empty list checks no input, so the rule only checks output when check_output is set. Rules saved before this field existed were set to user messages only.","uniqueKey":"policy.oneOf.0.guardrails.items.[INDEX].oneOf.2.input_sources","typeLabel":"enum\u003cstring>[]"},"config":{"type":"object","properties":{"threshold":{"type":"number","minimum":0,"maximum":1,"default":0.7,"description":"Detection threshold (0-1)","uniqueKey":"policy.oneOf.0.guardrails.items.[INDEX].oneOf.2.config.threshold","typeLabel":"number"},"rejection_message":{"type":"string","default":"I'm sorry, but I can't help with that type of request. Please ask me something else.","description":"The message to return when this guardrail is triggered","uniqueKey":"policy.oneOf.0.guardrails.items.[INDEX].oneOf.2.config.rejection_message","typeLabel":"string"}},"description":"Leakage configuration","uniqueKey":"policy.oneOf.0.guardrails.items.[INDEX].oneOf.2.config","typeLabel":"object"}},"uniqueKey":"policy.oneOf.0.guardrails.items.[INDEX].oneOf.2","typeLabel":"object"},{"type":"object","required":["mode","config"],"properties":{"mode":{"const":"classifier","isRequired":true,"uniqueKey":"policy.oneOf.0.guardrails.items.[INDEX].oneOf.3.mode","typeLabel":"any"},"config":{"type":"object","properties":{"model":{"type":"string","minLength":1,"description":"Exact model ID available in the caller's organization registry","isRequired":true,"uniqueKey":"policy.oneOf.0.guardrails.items.[INDEX].oneOf.3.config.model","typeLabel":"string"},"prompt":{"type":"string","minLength":1,"maxLength":16000,"description":"Instructions defining when to block or allow content; content is supplied separately","isRequired":true,"uniqueKey":"policy.oneOf.0.guardrails.items.[INDEX].oneOf.3.config.prompt","typeLabel":"string"},"on_error":{"enum":["fail_closed","fail_open"],"type":"string","default":"fail_closed","description":"Stop the request or skip this classifier when evaluation fails","uniqueKey":"policy.oneOf.0.guardrails.items.[INDEX].oneOf.3.config.on_error","typeLabel":"enum\u003cstring>"},"rejection_message":{"type":"string","default":"This request is not allowed by your organization's content policy.","description":"Message returned when classification blocks content","uniqueKey":"policy.oneOf.0.guardrails.items.[INDEX].oneOf.3.config.rejection_message","typeLabel":"string"}},"required":["model","prompt"],"isRequired":true,"uniqueKey":"policy.oneOf.0.guardrails.items.[INDEX].oneOf.3.config","typeLabel":"object"},"enabled":{"type":"boolean","default":true,"description":"Whether this guardrail is enabled","uniqueKey":"policy.oneOf.0.guardrails.items.[INDEX].oneOf.3.enabled","typeLabel":"boolean"},"check_output":{"type":"boolean","description":"Also apply this guardrail to model output, not just the request","uniqueKey":"policy.oneOf.0.guardrails.items.[INDEX].oneOf.3.check_output","typeLabel":"boolean"},"output_timing":{"enum":["final","streaming"],"type":"string","description":"When this rule checks model output: final (default) checks the finished text once, after it has streamed; streaming holds streamed text in a window and releases only text this rule has cleared","uniqueKey":"policy.oneOf.0.guardrails.items.[INDEX].oneOf.3.output_timing","typeLabel":"enum\u003cstring>"},"output_window":{"type":"object","properties":{"max_chars":{"type":"integer","minimum":100,"maximum":9007199254740991,"description":"Check once this many characters of unchecked text have accumulated","uniqueKey":"policy.oneOf.0.guardrails.items.[INDEX].oneOf.3.output_window.max_chars","typeLabel":"integer"},"max_ms":{"type":"integer","minimum":250,"maximum":2147483647,"description":"Check once the oldest unchecked text has been held this many milliseconds","uniqueKey":"policy.oneOf.0.guardrails.items.[INDEX].oneOf.3.output_window.max_ms","typeLabel":"integer"}},"description":"Window for streaming output checks; omit to use the gateway defaults. A check runs when max_chars characters or max_ms milliseconds of unchecked text have accumulated, whichever comes first","uniqueKey":"policy.oneOf.0.guardrails.items.[INDEX].oneOf.3.output_window","typeLabel":"object"},"input_sources":{"type":"array","items":{"enum":["user","system","assistant","tool","retrieval","image","audio"],"type":"string","description":"A source of model input: user (user messages and text sent to a sleeping response), system (system and developer messages, instructions and compaction summaries), assistant (earlier assistant messages), tool (function, custom tool, MCP, shell and code interpreter results), retrieval (file search, web search, web page, uploaded file and history search results), image (text read from images in messages) or audio (transcripts of audio in messages)","uniqueKey":"policy.oneOf.0.guardrails.items.[INDEX].oneOf.3.input_sources.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Request sources this guardrail checks before they reach the model. Omit to use the mode's default: every source for classifier; every source except system for ban_words, since instructions often name the terms they forbid; only what the user sends for prompt_injection and leakage, whose keyword patterns match ordinary instructions, replies and documents. An empty list checks no input, so the rule only checks output when check_output is set. Rules saved before this field existed were set to user messages only.","uniqueKey":"policy.oneOf.0.guardrails.items.[INDEX].oneOf.3.input_sources","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"policy.oneOf.0.guardrails.items.[INDEX].oneOf.3","typeLabel":"object"}],"uniqueKey":"policy.oneOf.0.guardrails.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"policy.oneOf.0.guardrails","typeLabel":"object[]"},"updated_at":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"policy.oneOf.0.updated_at","typeLabel":"string\u003cdate-time>"}},"isRequired":true,"uniqueKey":"policy.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"policy.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"policy","typeLabel":"object | null"}},"required":["object","policy"],"uniqueKey":"","typeLabel":"object"},"example":{"object":"guardrails_resource_policy","policy":{"resource_type":"model","resource_id":"meetkai:functionary-urdu-mini-pak","team_id":null,"guardrails":[{"mode":"ban_words","enabled":true,"check_output":true,"config":{"words":["confidential"]}}],"updated_at":"2026-10-30T00:00:00Z"}},"examples":{"Example":{"title":"Example","value":{"object":"guardrails_resource_policy","policy":{"resource_type":"model","resource_id":"meetkai:functionary-urdu-mini-pak","team_id":null,"guardrails":[{"mode":"ban_words","enabled":true,"check_output":true,"config":{"words":["confidential"]}}],"updated_at":"2026-10-30T00:00:00Z"}}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"ca2b9562-fc34-4173-a944-019b61cca48f":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"API Key","description":"Gateway auth: send `Authorization: Bearer \u003cmka1-api-key>`. For multi-user server-side integrations, you can also send `X-On-Behalf-Of: \u003cexternal-user-id>`.","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"bc4c9de1-0995-4511-8409-a625eafdffd2":{"url":"https://apigw.mka1.com","description":"MKA1 API Gateway"},"74b881c7-dff8-4f36-8edf-33a8fa503cc7":{"url":"/","description":"Relative server URL (configurable via SDK constructor)"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"API Key","description":"Gateway auth: send `Authorization: Bearer \u003cmka1-api-key>`. For multi-user server-side integrations, you can also send `X-On-Behalf-Of: \u003cexternal-user-id>`.","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Gateway auth: send `Authorization: Bearer \u003cmka1-api-key>`. For multi-user server-side integrations, you can also send `X-On-Behalf-Of: \u003cexternal-user-id>`.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"https://apigw.mka1.com/speakeasy.json"},"subdomain":"meetkaiinc","siteName":"MKA1","title":"Set a resource guardrails policy - MKA1","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/api-reference/guardrails/set-a-resource-guardrails-policy","matchLevel":0},"es":{"href":"/es/docs/platform-getting-started","matchLevel":4},"pt-BR":{"href":"/pt/docs/platform-getting-started","matchLevel":4}}},"lastModified":"2026-10-30T22:23:17.666Z","originalFileLocation":"api-reference/guardrails/set-a-resource-guardrails-policy.mdx","locale":"en"},"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=\"Additional guardrails attached to a saved agent in the active team or a catalog model endpoint throughout the organization. Cluster, organization and team policies are always enforced as well. Model aliases resolve to canonical model IDs; auto is not an attachable endpoint. Only organization admins/owners may change these policies. Policies apply to saved-agent versions and future background executions independently of version snapshots. Configured fallback and image-reroute endpoint policies are checked before dispatch as well, even if a fallback is not eventually needed.\">\u003cmeta data-mint-head name=\"application-name\" content=\"MKA1\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/meetkaiinc/dUy-msO6P1V7k5WC/_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=\"/mintlify-assets/_mintlify/favicons/meetkaiinc/dUy-msO6P1V7k5WC/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/meetkaiinc/dUy-msO6P1V7k5WC/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/meetkaiinc/dUy-msO6P1V7k5WC/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/meetkaiinc/dUy-msO6P1V7k5WC/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/meetkaiinc/dUy-msO6P1V7k5WC/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/meetkaiinc/dUy-msO6P1V7k5WC/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/meetkaiinc/dUy-msO6P1V7k5WC/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/meetkaiinc/dUy-msO6P1V7k5WC/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Set a resource guardrails policy - MKA1\">\u003cmeta data-mint-head property=\"og:description\" content=\"Additional guardrails attached to a saved agent in the active team or a catalog model endpoint throughout the organization. Cluster, organization and team policies are always enforced as well. Model aliases resolve to canonical model IDs; auto is not an attachable endpoint. Only organization admins/owners may change these policies. Policies apply to saved-agent versions and future background executions independently of version snapshots. Configured fallback and image-reroute endpoint policies are checked before dispatch as well, even if a fallback is not eventually needed.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"MKA1\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.mka1.com/api-reference/guardrails/set-a-resource-guardrails-policy\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://meetkaiinc.mintlify.app/_mintlify/api/og/v2?division=Guardrails\u0026amp;title=Set+a+resource+guardrails+policy\u0026amp;description=Additional+guardrails+attached+to+a+saved+agent+in+the+active+team+or+a+catalog+model+endpoint+throughout+the+organization.+Cluster%2C+organization+and+team+polic\u0026amp;theme=b4ab3879cd06dd1cbd343f9f\u0026amp;signature=516f445b3fa512b1ded8126eeec9b9fc38f77051ca33f750baadc9de2cff5199\">\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=\"Set a resource guardrails policy - MKA1\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Additional guardrails attached to a saved agent in the active team or a catalog model endpoint throughout the organization. Cluster, organization and team policies are always enforced as well. Model aliases resolve to canonical model IDs; auto is not an attachable endpoint. Only organization admins/owners may change these policies. Policies apply to saved-agent versions and future background executions independently of version snapshots. Configured fallback and image-reroute endpoint policies are checked before dispatch as well, even if a fallback is not eventually needed.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://meetkaiinc.mintlify.app/_mintlify/api/og/v2?division=Guardrails\u0026amp;title=Set+a+resource+guardrails+policy\u0026amp;description=Additional+guardrails+attached+to+a+saved+agent+in+the+active+team+or+a+catalog+model+endpoint+throughout+the+organization.+Cluster%2C+organization+and+team+polic\u0026amp;theme=b4ab3879cd06dd1cbd343f9f\u0026amp;signature=516f445b3fa512b1ded8126eeec9b9fc38f77051ca33f750baadc9de2cff5199\">\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=\"/mintlify-assets/_mintlify/favicons/meetkaiinc/dUy-msO6P1V7k5WC/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"MKA1\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#46b5f6\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.mka1.com/api-reference/guardrails/set-a-resource-guardrails-policy\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/guardrails/set-a-resource-guardrails-policy.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.mka1.com/#organization\",\"name\":\"MKA1\",\"url\":\"https://docs.mka1.com\"},{\"@type\":\"WebSite\",\"@id\":\"https://docs.mka1.com#website\",\"name\":\"MKA1\",\"url\":\"https://docs.mka1.com\",\"publisher\":{\"@id\":\"https://docs.mka1.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.mka1.com/api-reference/guardrails/set-a-resource-guardrails-policy#webpage\",\"url\":\"https://docs.mka1.com/api-reference/guardrails/set-a-resource-guardrails-policy\",\"name\":\"Set a resource guardrails policy\",\"description\":\"Additional guardrails attached to a saved agent in the active team or a catalog model endpoint throughout the organization. Cluster, organization and team policies are always enforced as well. Model aliases resolve to canonical model IDs; auto is not an attachable endpoint. Only organization admins/owners may change these policies. Policies apply to saved-agent versions and future background executions independently of version snapshots. Configured fallback and image-reroute endpoint policies are checked before dispatch as well, even if a fallback is not eventually needed.\",\"dateModified\":\"2026-10-30T22:23:17.666Z\",\"isPartOf\":{\"@id\":\"https://docs.mka1.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.mka1.com/api-reference/guardrails/set-a-resource-guardrails-policy#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.mka1.com/api-reference/guardrails/set-a-resource-guardrails-policy#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Application utilities\",\"item\":\"https://docs.mka1.com/api-reference/batches/create-a-batch\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Guardrails\",\"item\":\"https://docs.mka1.com/api-reference/guardrails/get-effective-guardrails\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Set a resource guardrails policy\",\"item\":\"https://docs.mka1.com/api-reference/guardrails/set-a-resource-guardrails-policy\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.mka1.com/api-reference/guardrails/set-a-resource-guardrails-policy#apireference\",\"headline\":\"Set a resource guardrails policy\",\"name\":\"Set a resource guardrails policy\",\"description\":\"Additional guardrails attached to a saved agent in the active team or a catalog model endpoint throughout the organization. Cluster, organization and team policies are always enforced as well. Model aliases resolve to canonical model IDs; auto is not an attachable endpoint. Only organization admins/owners may change these policies. Policies apply to saved-agent versions and future background executions independently of version snapshots. Configured fallback and image-reroute endpoint policies are checked before dispatch as well, even if a fallback is not eventually needed.\",\"url\":\"https://docs.mka1.com/api-reference/guardrails/set-a-resource-guardrails-policy\",\"mainEntityOfPage\":{\"@id\":\"https://docs.mka1.com/api-reference/guardrails/set-a-resource-guardrails-policy#webpage\"},\"dateModified\":\"2026-10-30T22:23:17.666Z\",\"publisher\":{\"@id\":\"https://docs.mka1.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.mka1.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"MKA1\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"MKA1","nav":{"global":null,"languages":[{"language":"en","default":true,"tabs":[{"tab":"Home","pages":[{"title":"Home","href":""}]},{"tab":"Developers","pages":[{"title":"Developers","href":"/docs/platform-getting-started"}]},{"tab":"Applications","menu":[{"item":"MK Code","pages":[{"title":"MK Code","href":"/docs/mka1-code"}]}],"pages":[{"title":"Applications","href":"/docs/mka1-code"}]},{"tab":"Platform","pages":[{"title":"Platform","href":"/docs/platform-overview"}]},{"tab":"API Reference","hidden":false,"groups":[{"group":"Overview","public":true,"pages":[{"title":"API overview","href":"/api-reference/introduction"}]},{"group":"Responses and conversations","public":true,"pages":[{"group":"Responses","public":true,"pages":[{"title":"Create an agent-powered response with tool support","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/llm/responses","href":"/api-reference/responses/create-an-agent-powered-response-with-tool-support"},{"title":"List all responses with pagination","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/responses","href":"/api-reference/responses/list-all-responses-with-pagination"},{"title":"Retrieve response by ID with status and results","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/responses/{response_id}","href":"/api-reference/responses/retrieve-response-by-id-with-status-and-results"},{"title":"Update a response","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/llm/responses/{response_id}","href":"/api-reference/responses/update-a-response"},{"title":"Permanently delete a response and its data","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json delete /api/v1/llm/responses/{response_id}","href":"/api-reference/responses/permanently-delete-a-response-and-its-data"},{"title":"Cancel an in-progress background response","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/llm/responses/{response_id}/cancel","href":"/api-reference/responses/cancel-an-in-progress-background-response"},{"title":"Wake a sleeping background response","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/llm/responses/{response_id}/wake","href":"/api-reference/responses/wake-a-sleeping-background-response"},{"title":"List paginated input items for a response","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/responses/{response_id}/input_items","href":"/api-reference/responses/list-paginated-input-items-for-a-response"},{"title":"Compact a conversation","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/llm/responses/compact","href":"/api-reference/responses/compact-a-conversation"}]},{"group":"Conversations","public":true,"pages":[{"title":"Create a conversation","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/llm/conversations","href":"/api-reference/conversations/create-a-conversation"},{"title":"List conversations","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/conversations","href":"/api-reference/conversations/list-conversations"},{"title":"Retrieve a conversation","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/conversations/{conversation_id}","href":"/api-reference/conversations/retrieve-a-conversation"},{"title":"Update a conversation","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/llm/conversations/{conversation_id}","href":"/api-reference/conversations/update-a-conversation"},{"title":"Delete a conversation","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json delete /api/v1/llm/conversations/{conversation_id}","href":"/api-reference/conversations/delete-a-conversation"},{"title":"List conversation items","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/conversations/{conversation_id}/items","href":"/api-reference/conversations/list-conversation-items"},{"title":"Create conversation items","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/llm/conversations/{conversation_id}/items","href":"/api-reference/conversations/create-conversation-items"},{"title":"Delete multiple conversation items","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json delete /api/v1/llm/conversations/{conversation_id}/items","href":"/api-reference/conversations/delete-multiple-conversation-items"},{"title":"Retrieve a conversation item","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/conversations/{conversation_id}/items/{item_id}","href":"/api-reference/conversations/retrieve-a-conversation-item"},{"title":"Delete a conversation item","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json delete /api/v1/llm/conversations/{conversation_id}/items/{item_id}","href":"/api-reference/conversations/delete-a-conversation-item"}]}]},{"group":"Models and routing","public":true,"pages":[{"group":"Models","public":true,"pages":[{"title":"List available models","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/models","href":"/api-reference/models/list-available-models"},{"title":"Retrieve a model","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/models/{model_id}","href":"/api-reference/models/retrieve-a-model"},{"title":"Read a model's token quota","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/models/{model_id}/quota","href":"/api-reference/models/read-a-models-token-quota"},{"title":"Get an organization's token quota","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/models/orgs/{org_id}/token-quota","href":"/api-reference/models/get-an-organizations-token-quota"},{"title":"Set an organization's token quota","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json put /api/v1/llm/models/orgs/{org_id}/token-quota","href":"/api-reference/models/set-an-organizations-token-quota"},{"title":"List every organization's budget-enforcement override","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/models/orgs/budget-enforcement","href":"/api-reference/models/list-every-organizations-budget-enforcement-override"},{"title":"Get an organization's budget-enforcement setting","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/models/orgs/{org_id}/budget-enforcement","href":"/api-reference/models/get-an-organizations-budget-enforcement-setting"},{"title":"Set an organization's budget-enforcement setting","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json put /api/v1/llm/models/orgs/{org_id}/budget-enforcement","href":"/api-reference/models/set-an-organizations-budget-enforcement-setting"},{"title":"List the organization's model catalog","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/models/catalog","href":"/api-reference/models/list-the-organizations-model-catalog"},{"title":"Define a BYO catalog model","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/llm/models/catalog","href":"/api-reference/models/define-a-byo-catalog-model"},{"title":"Update a BYO catalog model","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json patch /api/v1/llm/models/catalog","href":"/api-reference/models/update-a-byo-catalog-model"},{"title":"Remove a BYO catalog model","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json delete /api/v1/llm/models/catalog","href":"/api-reference/models/remove-a-byo-catalog-model"},{"title":"Check a BYO catalog model's health","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/llm/models/catalog/health","href":"/api-reference/models/check-a-byo-catalog-models-health"},{"title":"List an organization's cluster model access","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/models/catalog/orgs/{org_id}/access","href":"/api-reference/models/list-an-organizations-cluster-model-access"},{"title":"Add cluster model access for an organization","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/llm/models/catalog/orgs/{org_id}/access","href":"/api-reference/models/add-cluster-model-access-for-an-organization"},{"title":"Replace an organization's cluster model access","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json put /api/v1/llm/models/catalog/orgs/{org_id}/access","href":"/api-reference/models/replace-an-organizations-cluster-model-access"},{"title":"List organizations with access to a cluster model","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/models/catalog/access","href":"/api-reference/models/list-organizations-with-access-to-a-cluster-model"},{"title":"List the organization's active model registry","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/models/registry","href":"/api-reference/models/list-the-organizations-active-model-registry"},{"title":"Activate a catalog entry","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/llm/models/registry","href":"/api-reference/models/activate-a-catalog-entry"},{"title":"Deactivate a model registry name","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json delete /api/v1/llm/models/registry","href":"/api-reference/models/deactivate-a-model-registry-name"},{"title":"List this org's auto-model overrides","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/models/auto","href":"/api-reference/models/list-this-orgs-auto-model-overrides"},{"title":"Set this org's auto policy for an endpoint","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json put /api/v1/llm/models/auto/{endpoint}","href":"/api-reference/models/set-this-orgs-auto-policy-for-an-endpoint"},{"title":"Clear this org's auto-model override for an endpoint","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json?language=pt-BR delete /api/v1/llm/models/auto/{endpoint}","href":"/api-reference/models/clear-this-orgs-auto-model-override-for-an-endpoint"},{"title":"Get the cluster currency","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/models/pricing/currency","href":"/api-reference/models/get-the-cluster-currency"},{"title":"Set the cluster currency","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json put /api/v1/llm/models/pricing/currency","href":"/api-reference/models/set-the-cluster-currency"},{"title":"List cluster-default model prices","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/models/pricing","href":"/api-reference/models/list-cluster-default-model-prices"},{"title":"Set a cluster-default model price","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json put /api/v1/llm/models/pricing","href":"/api-reference/models/set-a-cluster-default-model-price"},{"title":"Clear a cluster-default model price","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json delete /api/v1/llm/models/pricing","href":"/api-reference/models/clear-a-cluster-default-model-price"},{"title":"List an org's price overrides","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/models/pricing/org/{org_id}","href":"/api-reference/models/list-an-orgs-price-overrides"},{"title":"Set an org price override","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json put /api/v1/llm/models/pricing/org/{org_id}","href":"/api-reference/models/set-an-org-price-override"},{"title":"Clear an org price override","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json delete /api/v1/llm/models/pricing/org/{org_id}","href":"/api-reference/models/clear-an-org-price-override"},{"title":"List effective prices for the caller's models","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/models/pricing/effective","href":"/api-reference/models/list-effective-prices-for-the-callers-models"}]},{"group":"Embeddings","public":true,"pages":[{"title":"List available embedding models","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/embeddings/models","href":"/api-reference/embeddings/list-available-embedding-models"},{"title":"Create text embeddings","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/llm/embeddings","href":"/api-reference/embeddings/create-text-embeddings"}]},{"group":"Text Classification","public":true,"pages":[{"title":"Classify text into predefined categories","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/llm/classify","href":"/api-reference/text-classification/classify-text-into-predefined-categories"}]}]},{"group":"Images and audio","public":true,"pages":[{"group":"Images","public":true,"pages":[{"title":"Generate images from text descriptions","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/llm/images/generations","href":"/api-reference/images/generate-images-from-text-descriptions"}]},{"group":"Speech","public":true,"pages":[{"title":"Speech to text transcription","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/llm/speech/transcriptions","href":"/api-reference/speech/speech-to-text-transcription"},{"title":"Text to speech","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/llm/speech/tts","href":"/api-reference/speech/text-to-speech"},{"title":"Streaming text to speech","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/llm/speech/tts/stream","href":"/api-reference/speech/streaming-text-to-speech"},{"title":"Generate LiveKit room token","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/llm/speech/livekit/token","href":"/api-reference/speech/generate-livekit-room-token"},{"title":"List text-to-speech history","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/speech/tts/history","href":"/api-reference/speech/list-text-to-speech-history"},{"title":"Retrieve text-to-speech history item","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/speech/tts/history/{tts_id}","href":"/api-reference/speech/retrieve-text-to-speech-history-item"},{"title":"Delete text-to-speech history item","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json delete /api/v1/llm/speech/tts/history/{tts_id}","href":"/api-reference/speech/delete-text-to-speech-history-item"},{"title":"Retrieve text-to-speech audio","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/speech/tts/history/{tts_id}/content","href":"/api-reference/speech/retrieve-text-to-speech-audio"},{"title":"List speech-to-text history","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/speech/transcriptions/history","href":"/api-reference/speech/list-speech-to-text-history"},{"title":"Retrieve speech-to-text history item","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/speech/transcriptions/history/{stt_id}","href":"/api-reference/speech/retrieve-speech-to-text-history-item"},{"title":"Delete speech-to-text history item","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json delete /api/v1/llm/speech/transcriptions/history/{stt_id}","href":"/api-reference/speech/delete-speech-to-text-history-item"},{"title":"Retrieve speech-to-text audio","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/speech/transcriptions/history/{stt_id}/content","href":"/api-reference/speech/retrieve-speech-to-text-audio"}]}]},{"group":"Files and retrieval","public":true,"pages":[{"group":"Files","public":true,"pages":[{"title":"Upload file","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/llm/files","href":"/api-reference/files/upload-file"},{"title":"List files","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/files","href":"/api-reference/files/list-files"},{"title":"Retrieve file","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/files/{file_id}","href":"/api-reference/files/retrieve-file"},{"title":"Delete file","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json delete /api/v1/llm/files/{file_id}","href":"/api-reference/files/delete-file"},{"title":"Retrieve file content","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/files/{file_id}/content","href":"/api-reference/files/retrieve-file-content"}]},{"group":"Vector Stores","public":true,"pages":[{"title":"Create a vector store","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/llm/vector_stores","href":"/api-reference/vector-stores/create-a-vector-store"},{"title":"List vector stores","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/vector_stores","href":"/api-reference/vector-stores/list-vector-stores"},{"title":"Retrieve a vector store","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/vector_stores/{vector_store_id}","href":"/api-reference/vector-stores/retrieve-a-vector-store"},{"title":"Modify a vector store","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/llm/vector_stores/{vector_store_id}","href":"/api-reference/vector-stores/modify-a-vector-store"},{"title":"Delete a vector store","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json delete /api/v1/llm/vector_stores/{vector_store_id}","href":"/api-reference/vector-stores/delete-a-vector-store"},{"title":"Search a vector store","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/llm/vector_stores/{vector_store_id}/search","href":"/api-reference/vector-stores/search-a-vector-store"},{"title":"Add a file to a vector store","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/llm/vector_stores/{vector_store_id}/files","href":"/api-reference/vector-stores/add-a-file-to-a-vector-store"},{"title":"List files in a vector store","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/vector_stores/{vector_store_id}/files","href":"/api-reference/vector-stores/list-files-in-a-vector-store"},{"title":"Retrieve a vector store file","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/vector_stores/{vector_store_id}/files/{file_id}","href":"/api-reference/vector-stores/retrieve-a-vector-store-file"},{"title":"Update file attributes","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/llm/vector_stores/{vector_store_id}/files/{file_id}","href":"/api-reference/vector-stores/update-file-attributes"},{"title":"Remove file from vector store","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json delete /api/v1/llm/vector_stores/{vector_store_id}/files/{file_id}","href":"/api-reference/vector-stores/remove-file-from-vector-store"},{"title":"Retrieve parsed file content","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/vector_stores/{vector_store_id}/files/{file_id}/content","href":"/api-reference/vector-stores/retrieve-parsed-file-content"},{"title":"Batch add multiple files to vector store","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/llm/vector_stores/{vector_store_id}/file_batches","href":"/api-reference/vector-stores/batch-add-multiple-files-to-vector-store"},{"title":"Retrieve file batch status","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/vector_stores/{vector_store_id}/file_batches/{batch_id}","href":"/api-reference/vector-stores/retrieve-file-batch-status"},{"title":"Cancel batch file processing","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/llm/vector_stores/{vector_store_id}/file_batches/{batch_id}/cancel","href":"/api-reference/vector-stores/cancel-batch-file-processing"},{"title":"List files in a batch","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/vector_stores/{vector_store_id}/file_batches/{batch_id}/files","href":"/api-reference/vector-stores/list-files-in-a-batch"},{"title":"List vector store permissions","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/vector_stores/{vector_store_id}/permissions","href":"/api-reference/vector-stores/list-vector-store-permissions"},{"title":"Grant a vector store permission","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/llm/vector_stores/{vector_store_id}/permissions","href":"/api-reference/vector-stores/grant-a-vector-store-permission"},{"title":"Retrieve a vector store permission","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/vector_stores/{vector_store_id}/permissions/{user_id}","href":"/api-reference/vector-stores/retrieve-a-vector-store-permission"},{"title":"Remove a vector store permission","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json delete /api/v1/llm/vector_stores/{vector_store_id}/permissions/{user_id}","href":"/api-reference/vector-stores/remove-a-vector-store-permission"}]}]},{"group":"Agents","public":true,"pages":[{"group":"Agents","public":true,"pages":[{"title":"List reusable function tools","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/agents/function-tools","href":"/api-reference/agents/list-reusable-function-tools"},{"title":"Create a reusable function tool","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/agents/function-tools","href":"/api-reference/agents/create-a-reusable-function-tool"},{"title":"Get a reusable function tool","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/agents/function-tools/{tool_id}","href":"/api-reference/agents/get-a-reusable-function-tool"},{"title":"Replace a reusable function definition","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/agents/function-tools/{tool_id}","href":"/api-reference/agents/replace-a-reusable-function-definition"},{"title":"Delete a reusable function tool","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json delete /api/v1/agents/function-tools/{tool_id}","href":"/api-reference/agents/delete-a-reusable-function-tool"},{"title":"List imported OpenAPI tool sets","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/agents/openapi-tool-sets","href":"/api-reference/agents/list-imported-openapi-tool-sets"},{"title":"Import an OpenAPI document as a tool set","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/agents/openapi-tool-sets","href":"/api-reference/agents/import-an-openapi-document-as-a-tool-set"},{"title":"Get an imported OpenAPI tool set","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/agents/openapi-tool-sets/{tool_set_id}","href":"/api-reference/agents/get-an-imported-openapi-tool-set"},{"title":"Replace an OpenAPI tool set with a new import","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/agents/openapi-tool-sets/{tool_set_id}","href":"/api-reference/agents/replace-an-openapi-tool-set-with-a-new-import"},{"title":"Delete an OpenAPI tool set","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json delete /api/v1/agents/openapi-tool-sets/{tool_set_id}","href":"/api-reference/agents/delete-an-openapi-tool-set"},{"title":"List agents","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/agents","href":"/api-reference/agents/list-agents"},{"title":"Create an agent","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/agents","href":"/api-reference/agents/create-an-agent"},{"title":"Retrieve an agent","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/agents/{agent_id}","href":"/api-reference/agents/retrieve-an-agent"},{"title":"Update an agent","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/agents/{agent_id}","href":"/api-reference/agents/update-an-agent"},{"title":"Soft-delete an agent","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json delete /api/v1/agents/{agent_id}","href":"/api-reference/agents/soft-delete-an-agent"},{"title":"Restore a soft-deleted agent","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/agents/{agent_id}/restore","href":"/api-reference/agents/restore-a-soft-deleted-agent"}]},{"group":"Agent Versions","public":true,"pages":[{"title":"List agent versions","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/agents/{agent_id}/versions","href":"/api-reference/agent-versions/list-agent-versions"},{"title":"Retrieve an agent version","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/agents/{agent_id}/versions/{version}","href":"/api-reference/agent-versions/retrieve-an-agent-version"},{"title":"Roll back an agent to a version","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/agents/{agent_id}/versions/{version}/rollback","href":"/api-reference/agent-versions/roll-back-an-agent-to-a-version"}]},{"group":"Agent Runs","public":true,"pages":[{"title":"List runs for an agent","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/agents/{agent_id}/runs","href":"/api-reference/agent-runs/list-runs-for-an-agent"},{"title":"Start a saved agent run","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/agents/{agent_id}/runs","href":"/api-reference/agent-runs/start-a-saved-agent-run"},{"title":"Stream agent run events","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/agents/{agent_id}/runs/{run_id}/events","href":"/api-reference/agent-runs/stream-agent-run-events"},{"title":"Cancel a saved-agent run","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/agents/{agent_id}/runs/{run_id}/cancel","href":"/api-reference/agent-runs/cancel-a-saved-agent-run"},{"title":"Wake a sleeping agent run","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/agents/{agent_id}/runs/{run_id}/wake","href":"/api-reference/agent-runs/wake-a-sleeping-agent-run"},{"title":"Approve or deny a pending MCP tool call","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/agents/{agent_id}/runs/{run_id}/mcp-approvals","href":"/api-reference/agent-runs/approve-or-deny-a-pending-mcp-tool-call"},{"title":"Retrieve an agent run","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/agents/{agent_id}/runs/{run_id}","href":"/api-reference/agent-runs/retrieve-an-agent-run"}]},{"group":"Agent Connectors","public":true,"pages":[{"title":"List connectors for an agent","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/agents/{id}/connectors","href":"/api-reference/agent-connectors/list-connectors-for-an-agent"},{"title":"Create a connector","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/agents/{id}/connectors","href":"/api-reference/agent-connectors/create-a-connector"},{"title":"Set up a WhatsApp app webhook (Beta)","deprecated":null,"version":null,"tag":"Beta","openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/agents/{id}/connectors/whatsapp/setup","href":"/api-reference/agent-connectors/set-up-a-whatsapp-app-webhook-beta"},{"title":"Retrieve a connector","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/agents/{id}/connectors/{connectorId}","href":"/api-reference/agent-connectors/retrieve-a-connector"},{"title":"Delete a connector","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json delete /api/v1/agents/{id}/connectors/{connectorId}","href":"/api-reference/agent-connectors/delete-a-connector"},{"title":"Activate a connector","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/agents/{id}/connectors/{connectorId}/activate","href":"/api-reference/agent-connectors/activate-a-connector"}]},{"group":"Agent Schedules","public":true,"pages":[{"title":"List schedules for an agent","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/agents/{agent_id}/schedules","href":"/api-reference/agent-schedules/list-schedules-for-an-agent"},{"title":"Create an agent schedule","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/agents/{agent_id}/schedules","href":"/api-reference/agent-schedules/create-an-agent-schedule"},{"title":"Retrieve an agent schedule","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/agents/{agent_id}/schedules/{schedule_id}","href":"/api-reference/agent-schedules/retrieve-an-agent-schedule"},{"title":"Update an agent schedule","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/agents/{agent_id}/schedules/{schedule_id}","href":"/api-reference/agent-schedules/update-an-agent-schedule"},{"title":"Delete an agent schedule","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json delete /api/v1/agents/{agent_id}/schedules/{schedule_id}","href":"/api-reference/agent-schedules/delete-an-agent-schedule"},{"title":"Pause an agent schedule","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/agents/{agent_id}/schedules/{schedule_id}/pause","href":"/api-reference/agent-schedules/pause-an-agent-schedule"},{"title":"Resume an agent schedule","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/agents/{agent_id}/schedules/{schedule_id}/resume","href":"/api-reference/agent-schedules/resume-an-agent-schedule"}]},{"group":"Memory Stores","public":true,"pages":[{"title":"Create memory store","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/llm/memory_stores","href":"/api-reference/memory-stores/create-memory-store"},{"title":"List memory stores","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/memory_stores","href":"/api-reference/memory-stores/list-memory-stores"},{"title":"Retrieve memory store","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/memory_stores/{memory_store_id}","href":"/api-reference/memory-stores/retrieve-memory-store"},{"title":"Update memory store","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/llm/memory_stores/{memory_store_id}","href":"/api-reference/memory-stores/update-memory-store"},{"title":"Delete memory store","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json delete /api/v1/llm/memory_stores/{memory_store_id}","href":"/api-reference/memory-stores/delete-memory-store"},{"title":"Create memory entry","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/llm/memory_stores/{memory_store_id}/entries","href":"/api-reference/memory-stores/create-memory-entry"},{"title":"List memory entries","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/memory_stores/{memory_store_id}/entries","href":"/api-reference/memory-stores/list-memory-entries"},{"title":"Retrieve memory entry","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/memory_stores/{memory_store_id}/entries/{entry_id}","href":"/api-reference/memory-stores/retrieve-memory-entry"},{"title":"Update memory entry","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/llm/memory_stores/{memory_store_id}/entries/{entry_id}","href":"/api-reference/memory-stores/update-memory-entry"},{"title":"Delete memory entry","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json delete /api/v1/llm/memory_stores/{memory_store_id}/entries/{entry_id}","href":"/api-reference/memory-stores/delete-memory-entry"}]}]},{"group":"Tools and sandbox","public":true,"pages":[{"group":"MCP Vault","public":true,"pages":[{"title":"Create MCP server","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/llm/mcp/servers","href":"/api-reference/mcp-vault/create-mcp-server"},{"title":"List MCP servers","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/mcp/servers","href":"/api-reference/mcp-vault/list-mcp-servers"},{"title":"Retrieve MCP server","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/mcp/servers/{server_id}","href":"/api-reference/mcp-vault/retrieve-mcp-server"},{"title":"Update MCP server","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/llm/mcp/servers/{server_id}","href":"/api-reference/mcp-vault/update-mcp-server"},{"title":"Delete MCP server","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json delete /api/v1/llm/mcp/servers/{server_id}","href":"/api-reference/mcp-vault/delete-mcp-server"},{"title":"Create MCP credential","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/llm/mcp/servers/{server_id}/credentials","href":"/api-reference/mcp-vault/create-mcp-credential"},{"title":"List MCP credentials","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/mcp/servers/{server_id}/credentials","href":"/api-reference/mcp-vault/list-mcp-credentials"},{"title":"Delete MCP credential","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json delete /api/v1/llm/mcp/credentials/{credential_id}","href":"/api-reference/mcp-vault/delete-mcp-credential"},{"title":"Test MCP server","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/llm/mcp/servers/{server_id}/test","href":"/api-reference/mcp-vault/test-mcp-server"}]},{"group":"Skills","public":true,"pages":[{"title":"Create skill","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/llm/skills","href":"/api-reference/skills/create-skill"},{"title":"List skills","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/skills","href":"/api-reference/skills/list-skills"},{"title":"Retrieve skill","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/skills/{skill_id}","href":"/api-reference/skills/retrieve-skill"},{"title":"Update skill","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/llm/skills/{skill_id}","href":"/api-reference/skills/update-skill"},{"title":"Delete skill","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json delete /api/v1/llm/skills/{skill_id}","href":"/api-reference/skills/delete-skill"},{"title":"Download skill content","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/skills/{skill_id}/content","href":"/api-reference/skills/download-skill-content"},{"title":"Create skill version","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/llm/skills/{skill_id}/versions","href":"/api-reference/skills/create-skill-version"},{"title":"List skill versions","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/skills/{skill_id}/versions","href":"/api-reference/skills/list-skill-versions"},{"title":"Retrieve skill version","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/skills/{skill_id}/versions/{version}","href":"/api-reference/skills/retrieve-skill-version"},{"title":"Delete skill version","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json delete /api/v1/llm/skills/{skill_id}/versions/{version}","href":"/api-reference/skills/delete-skill-version"},{"title":"Download skill version content","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/skills/{skill_id}/versions/{version}/content","href":"/api-reference/skills/download-skill-version-content"},{"title":"List preconfigured skills","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/skills/preconfigured","href":"/api-reference/skills/list-preconfigured-skills"}]},{"group":"Sessions","public":true,"pages":[{"title":"Get Effective Network Policy","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/sandbox/network-policy","href":"/api-reference/sessions/get-effective-network-policy"},{"title":"Get Tenant Network Policy","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/sandbox/network-policy/{scope}","href":"/api-reference/sessions/get-tenant-network-policy"},{"title":"Set Tenant Network Policy","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json put /api/v1/sandbox/network-policy/{scope}","href":"/api-reference/sessions/set-tenant-network-policy"},{"title":"Get Tenant Resource Policy","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/sandbox/resource-policy/{scope}","href":"/api-reference/sessions/get-tenant-resource-policy"},{"title":"Set Tenant Resource Policy","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json put /api/v1/sandbox/resource-policy/{scope}","href":"/api-reference/sessions/set-tenant-resource-policy"},{"title":"Create Session","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/sandbox/sessions","href":"/api-reference/sessions/create-session"},{"title":"List Sessions","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/sandbox/sessions","href":"/api-reference/sessions/list-sessions"},{"title":"Get Session","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/sandbox/sessions/{session_id}","href":"/api-reference/sessions/get-session"},{"title":"Terminate Session","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/sandbox/sessions/{session_id}/terminate","href":"/api-reference/sessions/terminate-session"}]},{"group":"Execution","public":true,"pages":[{"title":"Run Command","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/sandbox/sessions/{session_id}/commands","href":"/api-reference/execution/run-command"},{"title":"Run Code","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/sandbox/sessions/{session_id}/code","href":"/api-reference/execution/run-code"}]},{"group":"Workspace","public":true,"pages":[{"title":"Get Workspace Manifest","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/sandbox/sessions/{session_id}/workspace","href":"/api-reference/workspace/get-workspace-manifest"},{"title":"Download Workspace File","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/sandbox/sessions/{session_id}/workspace/files/{file_path}","href":"/api-reference/workspace/download-workspace-file"},{"title":"Upload Workspace File","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json put /api/v1/sandbox/sessions/{session_id}/workspace/files/{file_path}","href":"/api-reference/workspace/upload-workspace-file"},{"title":"Download Workspace Archive","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/sandbox/sessions/{session_id}/workspace/archive","href":"/api-reference/workspace/download-workspace-archive"},{"title":"Upload Workspace Archive","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json put /api/v1/sandbox/sessions/{session_id}/workspace/archive","href":"/api-reference/workspace/upload-workspace-archive"}]},{"group":"Sandbox Usage","public":true,"pages":[{"title":"Get Sandbox Usage","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/sandbox/usage","href":"/api-reference/sandbox-usage/get-sandbox-usage"}]},{"group":"Sandbox Pricing","public":true,"pages":[{"title":"Get Sandbox Pricing","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/sandbox/pricing","href":"/api-reference/sandbox-pricing/get-sandbox-pricing"},{"title":"Set Sandbox Pricing","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json put /api/v1/sandbox/pricing","href":"/api-reference/sandbox-pricing/set-sandbox-pricing"}]},{"group":"Browser","public":true,"pages":[{"title":"Get Browser Session URL","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/sandbox/sessions/{session_id}/browser-url","href":"/api-reference/browser/get-browser-session-url"},{"title":"Get Browser Session URL (Deprecated)","deprecated":true,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/sandbox/sessions/{session_id}/url","href":"/api-reference/browser/get-browser-session-url-deprecated"},{"title":"Proxy Browser Port Request","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/sandbox/sessions/{session_id}/ports/{port}/{subpath}","href":"/api-reference/browser/proxy-browser-port-request"}]},{"group":"Sandbox GitHub","public":true,"pages":[{"title":"Start GitHub Authorization","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/sandbox/github/oauth/intents","href":"/api-reference/sandbox-github/start-github-authorization"},{"title":"Connect GitHub Account","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/sandbox/github/oauth/connections","href":"/api-reference/sandbox-github/connect-github-account"},{"title":"Get GitHub Connection","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/sandbox/github/oauth/connections","href":"/api-reference/sandbox-github/get-github-connection"},{"title":"Disconnect GitHub Account","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json delete /api/v1/sandbox/github/oauth/connections","href":"/api-reference/sandbox-github/disconnect-github-account"},{"title":"List GitHub Repositories","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/sandbox/github/repositories","href":"/api-reference/sandbox-github/list-github-repositories"},{"title":"Refresh GitHub Repositories","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/sandbox/github/repositories/refresh","href":"/api-reference/sandbox-github/refresh-github-repositories"},{"title":"Resolve GitHub Reference","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/sandbox/github/repositories/resolve","href":"/api-reference/sandbox-github/resolve-github-reference"},{"title":"Clone GitHub Repository into Session","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/sandbox/sessions/{session_id}/github/read-clone","href":"/api-reference/sandbox-github/clone-github-repository-into-session"},{"title":"List Session Repositories","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/sandbox/sessions/{session_id}/github/repositories","href":"/api-reference/sandbox-github/list-session-repositories"},{"title":"Add Session Repository","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json put /api/v1/sandbox/sessions/{session_id}/github/repositories/{repository_id}","href":"/api-reference/sandbox-github/add-session-repository"},{"title":"Dismiss Failed Session Repository","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json delete /api/v1/sandbox/sessions/{session_id}/github/repositories/{repository_id}","href":"/api-reference/sandbox-github/dismiss-failed-session-repository"},{"title":"Push Session to GitHub","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/sandbox/sessions/{session_id}/github/push","href":"/api-reference/sandbox-github/push-session-to-github"},{"title":"Create or Update Pull Request","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/sandbox/sessions/{session_id}/github/pull-request","href":"/api-reference/sandbox-github/create-or-update-pull-request"}]},{"group":"Sandbox Environments","public":true,"pages":[{"title":"List Environments","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/sandbox/environments","href":"/api-reference/sandbox-environments/list-environments"},{"title":"Create Environment","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/sandbox/environments","href":"/api-reference/sandbox-environments/create-environment"},{"title":"Get Environment","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/sandbox/environments/{environment_id}","href":"/api-reference/sandbox-environments/get-environment"},{"title":"Update Environment","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json put /api/v1/sandbox/environments/{environment_id}","href":"/api-reference/sandbox-environments/update-environment"},{"title":"Delete Environment","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json delete /api/v1/sandbox/environments/{environment_id}","href":"/api-reference/sandbox-environments/delete-environment"},{"title":"Run Environment Setup","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/sandbox/sessions/{session_id}/environment-setup","href":"/api-reference/sandbox-environments/run-environment-setup"}]}]},{"group":"Evals and feedback","public":true,"pages":[{"group":"Evals","public":true,"pages":[{"title":"Create an eval suite","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/llm/evals/suites","href":"/api-reference/evals/create-an-eval-suite"},{"title":"List eval suites","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/evals/suites","href":"/api-reference/evals/list-eval-suites"},{"title":"Get an eval suite","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/evals/suites/{suite_id}","href":"/api-reference/evals/get-an-eval-suite"},{"title":"Delete an eval suite","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json delete /api/v1/llm/evals/suites/{suite_id}","href":"/api-reference/evals/delete-an-eval-suite"},{"title":"Create an eval suite version","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/llm/evals/suites/{suite_id}/versions","href":"/api-reference/evals/create-an-eval-suite-version"},{"title":"List eval suite versions","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/evals/suites/{suite_id}/versions","href":"/api-reference/evals/list-eval-suite-versions"},{"title":"Get an eval suite version","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/evals/suites/{suite_id}/versions/{version}","href":"/api-reference/evals/get-an-eval-suite-version"},{"title":"List eval suite shares","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/evals/suites/{suite_id}/shares","href":"/api-reference/evals/list-eval-suite-shares"},{"title":"Share an eval suite with an org","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/llm/evals/suites/{suite_id}/shares","href":"/api-reference/evals/share-an-eval-suite-with-an-org"},{"title":"Unshare an eval suite from an org","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json delete /api/v1/llm/evals/suites/{suite_id}/shares/{org_id}","href":"/api-reference/evals/unshare-an-eval-suite-from-an-org"},{"title":"List leaderboard runs for an eval suite","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/evals/suites/{suite_id}/leaderboard-runs","href":"/api-reference/evals/list-leaderboard-runs-for-an-eval-suite"},{"title":"Get the coding-agent leaderboard for an eval suite","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/evals/suites/{suite_id}/leaderboard","href":"/api-reference/evals/get-the-coding-agent-leaderboard-for-an-eval-suite"},{"title":"Count tokens from stored text for a suite's unmeasured samples","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/llm/evals/suites/{suite_id}/tokens/measure","href":"/api-reference/evals/count-tokens-from-stored-text-for-a-suites-unmeasured-samples"},{"title":"Create an eval run","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/llm/evals/runs","href":"/api-reference/evals/create-an-eval-run"},{"title":"List eval runs","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/evals/runs","href":"/api-reference/evals/list-eval-runs"},{"title":"Get an eval run","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/evals/runs/{run_id}","href":"/api-reference/evals/get-an-eval-run"},{"title":"Delete an eval run","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json delete /api/v1/llm/evals/runs/{run_id}","href":"/api-reference/evals/delete-an-eval-run"},{"title":"Cancel an eval run","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/llm/evals/runs/{run_id}/cancel","href":"/api-reference/evals/cancel-an-eval-run"},{"title":"Rerun failed eval samples","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/llm/evals/runs/{run_id}/rerun-failed","href":"/api-reference/evals/rerun-failed-eval-samples"},{"title":"Retry an eval run","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/llm/evals/runs/{run_id}/retry","href":"/api-reference/evals/retry-an-eval-run"},{"title":"Get an eval run overview","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/evals/runs/{run_id}/overview","href":"/api-reference/evals/get-an-eval-run-overview"},{"title":"List eval samples","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/evals/runs/{run_id}/samples","href":"/api-reference/evals/list-eval-samples"},{"title":"Get eval sample audio","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/evals/runs/{run_id}/samples/{sample_index}/audio","href":"/api-reference/evals/get-eval-sample-audio"},{"title":"Get an eval sample trajectory","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/evals/runs/{run_id}/samples/{sample_index}/trajectory","href":"/api-reference/evals/get-an-eval-sample-trajectory"},{"title":"Upload an eval sample trajectory","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json put /api/v1/llm/evals/runs/{run_id}/samples/{sample_index}/trajectory","href":"/api-reference/evals/upload-an-eval-sample-trajectory"},{"title":"Get eval run artifacts","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/evals/runs/{run_id}/artifacts","href":"/api-reference/evals/get-eval-run-artifacts"},{"title":"Import a finished coding-agent run","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/llm/evals/imports/agent-run","href":"/api-reference/evals/import-a-finished-coding-agent-run"},{"title":"Append trials to an open coding-agent run","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/llm/evals/runs/{run_id}/trials","href":"/api-reference/evals/append-trials-to-an-open-coding-agent-run"},{"title":"Import historical eval results from Hugging Face","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/llm/evals/imports/huggingface-results","href":"/api-reference/evals/import-historical-eval-results-from-hugging-face"},{"title":"Create an eval schedule","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/llm/evals/schedules","href":"/api-reference/evals/create-an-eval-schedule"},{"title":"List eval schedules","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/evals/schedules","href":"/api-reference/evals/list-eval-schedules"},{"title":"Get an eval schedule","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/evals/schedules/{schedule_id}","href":"/api-reference/evals/get-an-eval-schedule"},{"title":"Update an eval schedule","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json patch /api/v1/llm/evals/schedules/{schedule_id}","href":"/api-reference/evals/update-an-eval-schedule"},{"title":"Delete an eval schedule","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json delete /api/v1/llm/evals/schedules/{schedule_id}","href":"/api-reference/evals/delete-an-eval-schedule"},{"title":"Trigger an eval schedule now","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/llm/evals/schedules/{schedule_id}/trigger","href":"/api-reference/evals/trigger-an-eval-schedule-now"},{"title":"List runs created by an eval schedule","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/evals/schedules/{schedule_id}/runs","href":"/api-reference/evals/list-runs-created-by-an-eval-schedule"}]},{"group":"Feedback","public":true,"pages":[{"title":"Submit feedback for chat completion","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/llm/feedback/completions","href":"/api-reference/feedback/submit-feedback-for-chat-completion"},{"title":"List chat completion feedback","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/feedback/completions","href":"/api-reference/feedback/list-chat-completion-feedback"},{"title":"Retrieve feedback by completion ID","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/feedback/completions/{id}","href":"/api-reference/feedback/retrieve-feedback-by-completion-id"},{"title":"Update existing completion feedback","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json put /api/v1/llm/feedback/completions/{id}","href":"/api-reference/feedback/update-existing-completion-feedback"},{"title":"Batch retrieve feedback for multiple completions","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/llm/feedback/completions/batch","href":"/api-reference/feedback/batch-retrieve-feedback-for-multiple-completions"},{"title":"Submit feedback for response","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/llm/feedback/responses","href":"/api-reference/feedback/submit-feedback-for-response"},{"title":"List response feedback","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/feedback/responses","href":"/api-reference/feedback/list-response-feedback"},{"title":"Retrieve feedback by response ID","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/feedback/responses/{id}","href":"/api-reference/feedback/retrieve-feedback-by-response-id"},{"title":"Update existing response feedback","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json put /api/v1/llm/feedback/responses/{id}","href":"/api-reference/feedback/update-existing-response-feedback"},{"title":"Batch retrieve feedback for multiple responses","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/llm/feedback/responses/batch","href":"/api-reference/feedback/batch-retrieve-feedback-for-multiple-responses"},{"title":"Export completion feedback as CSV","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/feedback/export/completions","href":"/api-reference/feedback/export-completion-feedback-as-csv"},{"title":"Export response feedback as CSV","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/feedback/export/responses","href":"/api-reference/feedback/export-response-feedback-as-csv"},{"title":"Start feedback export","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/llm/feedback/export","href":"/api-reference/feedback/start-feedback-export"},{"title":"Get feedback export status","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/feedback/export/status","href":"/api-reference/feedback/get-feedback-export-status"}]}]},{"group":"Compute","public":true,"pages":[{"group":"Compute Jobs","public":true,"pages":[{"title":"List jobs","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/compute/jobs","href":"/api-reference/compute-jobs/list-jobs"},{"title":"Create a job","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/compute/jobs","href":"/api-reference/compute-jobs/create-a-job"},{"title":"Get a job","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/compute/jobs/{id}","href":"/api-reference/compute-jobs/get-a-job"},{"title":"List job events","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/compute/jobs/{id}/events","href":"/api-reference/compute-jobs/list-job-events"},{"title":"List observed job instances","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/compute/jobs/{id}/instances","href":"/api-reference/compute-jobs/list-observed-job-instances"},{"title":"List job logs","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/compute/jobs/{id}/logs","href":"/api-reference/compute-jobs/list-job-logs"},{"title":"Terminate a job","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/compute/jobs/{id}/terminate","href":"/api-reference/compute-jobs/terminate-a-job"}]},{"group":"Compute Services","public":true,"pages":[{"title":"List services","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/compute/services","href":"/api-reference/compute-services/list-services"},{"title":"Create a service","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/compute/services","href":"/api-reference/compute-services/create-a-service"},{"title":"Get a service","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/compute/services/{id}","href":"/api-reference/compute-services/get-a-service"},{"title":"List service events","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/compute/services/{id}/events","href":"/api-reference/compute-services/list-service-events"},{"title":"List observed service instances","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/compute/services/{id}/instances","href":"/api-reference/compute-services/list-observed-service-instances"},{"title":"List service logs","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/compute/services/{id}/logs","href":"/api-reference/compute-services/list-service-logs"},{"title":"Replace a service scaling policy","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json patch /api/v1/compute/services/{id}/scaling","href":"/api-reference/compute-services/replace-a-service-scaling-policy"},{"title":"Terminate a service","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/compute/services/{id}/terminate","href":"/api-reference/compute-services/terminate-a-service"}]},{"group":"Compute Catalog","public":true,"pages":[{"title":"List accelerators","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/compute/catalog/accelerators","href":"/api-reference/compute-catalog/list-accelerators"},{"title":"Get an accelerator","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/compute/catalog/accelerators/{name}","href":"/api-reference/compute-catalog/get-an-accelerator"},{"title":"List provider offers","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/compute/catalog/offers","href":"/api-reference/compute-catalog/list-provider-offers"},{"title":"List provider health","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/compute/catalog/providers","href":"/api-reference/compute-catalog/list-provider-health"},{"title":"Create a quote","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/compute/catalog/quotes","href":"/api-reference/compute-catalog/create-a-quote"}]},{"group":"Compute Secrets","public":true,"pages":[{"title":"List secrets","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/compute/secrets","href":"/api-reference/compute-secrets/list-secrets"},{"title":"Create a secret","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/compute/secrets","href":"/api-reference/compute-secrets/create-a-secret"},{"title":"Delete a secret","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json delete /api/v1/compute/secrets/{id}","href":"/api-reference/compute-secrets/delete-a-secret"},{"title":"Get a secret","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/compute/secrets/{id}","href":"/api-reference/compute-secrets/get-a-secret"},{"title":"Rotate a secret","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/compute/secrets/{id}/rotate","href":"/api-reference/compute-secrets/rotate-a-secret"}]},{"group":"Compute Volumes","public":true,"pages":[{"title":"List organization volumes","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/compute/volumes","href":"/api-reference/compute-volumes/list-organization-volumes"},{"title":"Create a standalone shared volume","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/compute/volumes","href":"/api-reference/compute-volumes/create-a-standalone-shared-volume"},{"title":"Permanently delete a standalone volume","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json delete /api/v1/compute/volumes/{id}","href":"/api-reference/compute-volumes/permanently-delete-a-standalone-volume"},{"title":"Get a standalone volume","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/compute/volumes/{id}","href":"/api-reference/compute-volumes/get-a-standalone-volume"},{"title":"List volume attachments","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/compute/volumes/{id}/attachments","href":"/api-reference/compute-volumes/list-volume-attachments"}]},{"group":"Compute Usage","public":true,"pages":[{"title":"Get usage","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/compute/usage","href":"/api-reference/compute-usage/get-usage"}]},{"group":"Compute Tenants","public":true,"pages":[{"title":"List tenants","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/compute/tenants","href":"/api-reference/compute-tenants/list-tenants"},{"title":"Get a tenant","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/compute/tenants/{org_id}","href":"/api-reference/compute-tenants/get-a-tenant"},{"title":"Update a tenant","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json put /api/v1/compute/tenants/{org_id}","href":"/api-reference/compute-tenants/update-a-tenant"}]},{"group":"Compute Pricing","public":true,"pages":[{"title":"Get the latest committed storage price","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/compute/pricing","href":"/api-reference/compute-pricing/get-the-latest-committed-storage-price"},{"title":"Create an immutable storage-price version","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json put /api/v1/compute/pricing","href":"/api-reference/compute-pricing/create-an-immutable-storage-price-version"}]},{"group":"Tracking Experiments","public":true,"pages":[{"title":"Create","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/2.0/mlflow/experiments/create","href":"/api-reference/tracking-experiments/create"},{"title":"Search","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/2.0/mlflow/experiments/search","href":"/api-reference/tracking-experiments/search"},{"title":"Get","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/2.0/mlflow/experiments/get","href":"/api-reference/tracking-experiments/get"},{"title":"GetByName","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/2.0/mlflow/experiments/get-by-name","href":"/api-reference/tracking-experiments/getbyname"},{"title":"Delete","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/2.0/mlflow/experiments/delete","href":"/api-reference/tracking-experiments/delete"}]},{"group":"Tracking Runs","public":true,"pages":[{"title":"Create","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/2.0/mlflow/runs/create","href":"/api-reference/tracking-runs/create"},{"title":"Get","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/2.0/mlflow/runs/get","href":"/api-reference/tracking-runs/get"},{"title":"Search","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/2.0/mlflow/runs/search","href":"/api-reference/tracking-runs/search"},{"title":"Update","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/2.0/mlflow/runs/update","href":"/api-reference/tracking-runs/update"},{"title":"Delete","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/2.0/mlflow/runs/delete","href":"/api-reference/tracking-runs/delete"},{"title":"Restore","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/2.0/mlflow/runs/restore","href":"/api-reference/tracking-runs/restore"},{"title":"LogMetric","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json?language=es post /api/2.0/mlflow/runs/log-metric","href":"/api-reference/tracking-runs/logmetric"},{"title":"LogParameter","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json?language=es post /api/2.0/mlflow/runs/log-parameter","href":"/api-reference/tracking-runs/logparameter"},{"title":"SetTag","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/2.0/mlflow/runs/set-tag","href":"/api-reference/tracking-runs/settag"},{"title":"DeleteTag","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/2.0/mlflow/runs/delete-tag","href":"/api-reference/tracking-runs/deletetag"},{"title":"LogBatch","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json?language=pt-BR post /api/2.0/mlflow/runs/log-batch","href":"/api-reference/tracking-runs/logbatch"},{"title":"LogInputs","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json?language=pt-BR post /api/2.0/mlflow/runs/log-inputs","href":"/api-reference/tracking-runs/loginputs"},{"title":"GetMetricHistory","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/2.0/mlflow/metrics/get-history","href":"/api-reference/tracking-runs/getmetrichistory"}]}]},{"group":"Repositories","public":true,"pages":[{"group":"Repositories","public":true,"pages":[{"title":"List the caller's org's repositories","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/repos","href":"/api-reference/repositories/list-the-callers-orgs-repositories"},{"title":"Create a repository","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/repos","href":"/api-reference/repositories/create-a-repository"},{"title":"Delete a repository","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json delete /api/v1/repos/{org}/{name}","href":"/api-reference/repositories/delete-a-repository"},{"title":"Get a repository","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/repos/{org}/{name}","href":"/api-reference/repositories/get-a-repository"},{"title":"Update a repository's labels","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json patch /api/v1/repos/{org}/{name}","href":"/api-reference/repositories/update-a-repositorys-labels"}]},{"group":"Image tags","public":true,"pages":[{"title":"List an image repository's tags","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/repos/{org}/{name}/tags","href":"/api-reference/repositories/list-an-image-repositorys-tags"},{"title":"Delete an image tag","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json delete /api/v1/repos/{org}/{name}/tags/{tag}","href":"/api-reference/repositories/delete-an-image-tag"}]}]},{"group":"Dataset generations","public":true,"pages":[{"group":"Generations","public":true,"pages":[{"title":"List Generations","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/datasets/generations","href":"/api-reference/generations/list-generations"},{"title":"Create Generation","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/datasets/generations","href":"/api-reference/generations/create-generation"},{"title":"Get Generation","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/datasets/generations/{generation_id}","href":"/api-reference/generations/get-generation"},{"title":"Get Logs","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/datasets/generations/{generation_id}/logs","href":"/api-reference/generations/get-logs"},{"title":"Get Events","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/datasets/generations/{generation_id}/events","href":"/api-reference/generations/get-events"},{"title":"Cancel Generation","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/datasets/generations/{generation_id}/cancel","href":"/api-reference/generations/cancel-generation"}]},{"group":"Generators","public":true,"pages":[{"title":"List Generators","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/datasets/generators","href":"/api-reference/generators/list-generators"},{"title":"Get Generator","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/datasets/generators/{generator_id}","href":"/api-reference/generators/get-generator"},{"title":"Quote Generator","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/datasets/generators/{generator_id}/quote","href":"/api-reference/generators/quote-generator"}]},{"group":"Formats","public":true,"pages":[{"title":"List Formats","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/datasets/formats","href":"/api-reference/formats/list-formats"},{"title":"Get Format","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/datasets/formats/{format_id}","href":"/api-reference/formats/get-format"}]}]},{"group":"Organizations and access","public":true,"pages":[{"group":"Organization","public":true,"pages":[{"title":"List organization members","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/authentication/orgs/{orgId}/members","href":"/api-reference/organization/list-organization-members"},{"title":"Invite an organization member","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/authentication/orgs/{orgId}/invitations","href":"/api-reference/organization/invite-an-organization-member"},{"title":"Change an organization member's role","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json patch /api/v1/authentication/orgs/{orgId}/members/{memberId}","href":"/api-reference/organization/change-an-organization-members-role"},{"title":"Remove an organization member","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json delete /api/v1/authentication/orgs/{orgId}/members/{memberId}","href":"/api-reference/organization/remove-an-organization-member"},{"title":"Read enterprise SSO role mapping policy","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/authentication/sso/policy","href":"/api-reference/organization/read-enterprise-sso-role-mapping-policy"},{"title":"Update enterprise SSO role mapping policy","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/authentication/sso/policy","href":"/api-reference/organization/update-enterprise-sso-role-mapping-policy"},{"title":"Read current network policy management access","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/authentication/network-policy/access","href":"/api-reference/organization/read-current-network-policy-management-access"},{"title":"Create a team","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/authentication/orgs/{orgId}/teams","href":"/api-reference/organization/create-a-team"},{"title":"List teams in an org","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/authentication/orgs/{orgId}/teams","href":"/api-reference/organization/list-teams-in-an-org"},{"title":"Get a team","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/authentication/orgs/{orgId}/teams/{teamId}","href":"/api-reference/organization/get-a-team"},{"title":"Rename a team","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json patch /api/v1/authentication/orgs/{orgId}/teams/{teamId}","href":"/api-reference/organization/rename-a-team"},{"title":"Delete a team","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json delete /api/v1/authentication/orgs/{orgId}/teams/{teamId}","href":"/api-reference/organization/delete-a-team"},{"title":"Add a team member","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/authentication/orgs/{orgId}/teams/{teamId}/members","href":"/api-reference/organization/add-a-team-member"},{"title":"List team members","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/authentication/orgs/{orgId}/teams/{teamId}/members","href":"/api-reference/organization/list-team-members"},{"title":"Set a team member role","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json patch /api/v1/authentication/orgs/{orgId}/teams/{teamId}/members/{memberId}","href":"/api-reference/organization/set-a-team-member-role"},{"title":"Remove a team member","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json delete /api/v1/authentication/orgs/{orgId}/teams/{teamId}/members/{memberId}","href":"/api-reference/organization/remove-a-team-member"},{"title":"Create a service account","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/authentication/orgs/{orgId}/service-accounts","href":"/api-reference/organization/create-a-service-account"},{"title":"List service accounts","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/authentication/orgs/{orgId}/service-accounts","href":"/api-reference/organization/list-service-accounts"},{"title":"Get a service account","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/authentication/orgs/{orgId}/service-accounts/{saId}","href":"/api-reference/organization/get-a-service-account"},{"title":"Delete a service account","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json delete /api/v1/authentication/orgs/{orgId}/service-accounts/{saId}","href":"/api-reference/organization/delete-a-service-account"},{"title":"List a service account's API keys","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/authentication/orgs/{orgId}/service-accounts/{saId}/api-keys","href":"/api-reference/organization/list-a-service-accounts-api-keys"},{"title":"Update a service-account API key","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json patch /api/v1/authentication/orgs/{orgId}/service-accounts/{saId}/api-keys/{keyId}","href":"/api-reference/organization/update-a-service-account-api-key"},{"title":"Delete a service-account API key","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json delete /api/v1/authentication/orgs/{orgId}/service-accounts/{saId}/api-keys/{keyId}","href":"/api-reference/organization/delete-a-service-account-api-key"},{"title":"Rotate a service-account API key's secret","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/authentication/orgs/{orgId}/service-accounts/{saId}/api-keys/{keyId}/regenerate","href":"/api-reference/organization/rotate-a-service-account-api-keys-secret"},{"title":"Get basic organization details","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/authentication/orgs/{orgId}","href":"/api-reference/organization/get-basic-organization-details"},{"title":"Patch organization metadata (cluster-admin)","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json patch /api/v1/authentication/orgs/{orgId}","href":"/api-reference/organization/patch-organization-metadata-cluster-admin"},{"title":"Get an org's usage quota","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/authentication/orgs/{orgId}/quota","href":"/api-reference/organization/get-an-orgs-usage-quota"},{"title":"Set an org's usage quota (cluster-admin)","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json patch /api/v1/authentication/orgs/{orgId}/quota","href":"/api-reference/organization/set-an-orgs-usage-quota-cluster-admin"},{"title":"Get an org's rate limit","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/authentication/orgs/{orgId}/rate-limit","href":"/api-reference/organization/get-an-orgs-rate-limit"},{"title":"Set an org's rate limit (cluster-admin)","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json patch /api/v1/authentication/orgs/{orgId}/rate-limit","href":"/api-reference/organization/set-an-orgs-rate-limit-cluster-admin"},{"title":"Get an org's inbound IP rules","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/authentication/orgs/{orgId}/inbound-rules","href":"/api-reference/organization/get-an-orgs-inbound-ip-rules"},{"title":"Replace an org's inbound IP rules (org owner/admin, browser session)","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json put /api/v1/authentication/orgs/{orgId}/inbound-rules","href":"/api-reference/organization/replace-an-orgs-inbound-ip-rules-org-owneradmin-browser-session"}]},{"group":"Cluster Admin","public":true,"pages":[{"title":"Create a cluster invitation","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/authentication/admin/cluster/invitations","href":"/api-reference/cluster-admin/create-a-cluster-invitation"},{"title":"List cluster invitations","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/authentication/admin/cluster/invitations","href":"/api-reference/cluster-admin/list-cluster-invitations"},{"title":"Update a pending cluster invitation","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json patch /api/v1/authentication/admin/cluster/invitations/{id}","href":"/api-reference/cluster-admin/update-a-pending-cluster-invitation"},{"title":"Revoke a cluster invitation","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json delete /api/v1/authentication/admin/cluster/invitations/{id}","href":"/api-reference/cluster-admin/revoke-a-cluster-invitation"},{"title":"List all organizations","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/authentication/admin/cluster/orgs","href":"/api-reference/cluster-admin/list-all-organizations"},{"title":"Get an organization","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/authentication/admin/cluster/orgs/{id}","href":"/api-reference/cluster-admin/get-an-organization"},{"title":"Soft-delete an organization","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json delete /api/v1/authentication/admin/cluster/orgs/{id}","href":"/api-reference/cluster-admin/soft-delete-an-organization"},{"title":"Invite members on behalf of an organization","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/authentication/admin/cluster/orgs/{id}/invitations","href":"/api-reference/cluster-admin/invite-members-on-behalf-of-an-organization"},{"title":"Suspend an organization","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/authentication/admin/cluster/orgs/{id}/suspend","href":"/api-reference/cluster-admin/suspend-an-organization"},{"title":"Unsuspend an organization","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/authentication/admin/cluster/orgs/{id}/unsuspend","href":"/api-reference/cluster-admin/unsuspend-an-organization"},{"title":"Request an org owner-key recovery","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/authentication/admin/cluster/orgs/{id}/owner-key","href":"/api-reference/cluster-admin/request-an-org-owner-key-recovery"},{"title":"List owner-key recovery requests","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/authentication/admin/cluster/owner-key-recoveries","href":"/api-reference/cluster-admin/list-owner-key-recovery-requests"},{"title":"Get an owner-key recovery request","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/authentication/admin/cluster/owner-key-recoveries/{id}","href":"/api-reference/cluster-admin/get-an-owner-key-recovery-request"},{"title":"Approve an owner-key recovery","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/authentication/admin/cluster/owner-key-recoveries/{id}/approve","href":"/api-reference/cluster-admin/approve-an-owner-key-recovery"},{"title":"Reject an owner-key recovery","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/authentication/admin/cluster/owner-key-recoveries/{id}/reject","href":"/api-reference/cluster-admin/reject-an-owner-key-recovery"},{"title":"Read cluster-invite info (public)","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/authentication/cluster-invite/info","href":"/api-reference/cluster-admin/read-cluster-invite-info-public"},{"title":"Accept a cluster invitation (public)","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/authentication/cluster-invite/accept","href":"/api-reference/cluster-admin/accept-a-cluster-invitation-public"}]},{"group":"Resource Authorization","public":true,"pages":[{"title":"Create a new resource","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/authorization/llm/create","href":"/api-reference/resource-authorization/create-a-new-resource"},{"title":"Delete a resource","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json delete /api/v1/authorization/llm/delete","href":"/api-reference/resource-authorization/delete-a-resource"},{"title":"Grant permission to a user or make public","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/authorization/llm/grant","href":"/api-reference/resource-authorization/grant-permission-to-a-user-or-make-public"},{"title":"Revoke permission from a user or remove public access","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/authorization/llm/revoke","href":"/api-reference/resource-authorization/revoke-permission-from-a-user-or-remove-public-access"},{"title":"List resources the user has access to","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/authorization/llm/list","href":"/api-reference/resource-authorization/list-resources-the-user-has-access-to"},{"title":"List users with permissions","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/authorization/llm/list-users","href":"/api-reference/resource-authorization/list-users-with-permissions"},{"title":"Check user permission","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/authorization/llm/check","href":"/api-reference/resource-authorization/check-user-permission"}]},{"group":"API Key","public":true,"pages":[{"title":"Mint a scoped API key","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/authentication/api-key/scoped","href":"/api-reference/api-key/mint-a-scoped-api-key"},{"title":"List scoped API keys","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/authentication/api-key/scoped/list","href":"/api-reference/api-key/list-scoped-api-keys"},{"title":"Update a scoped API key","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/authentication/api-key/scoped/update","href":"/api-reference/api-key/update-a-scoped-api-key"},{"title":"Rotate a scoped API key's secret","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/authentication/api-key/scoped/regenerate","href":"/api-reference/api-key/rotate-a-scoped-api-keys-secret"},{"title":"Delete a scoped API key","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/authentication/api-key/scoped/delete","href":"/api-reference/api-key/delete-a-scoped-api-key"},{"title":"Exchange API key for a JWT token","deprecated":true,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/authentication/api-key/exchange-token","href":"/api-reference/api-key/exchange-api-key-for-a-jwt-token"},{"title":"Exchange API key for a JWT token","deprecated":true,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/authentication/api-key/exchange-token","href":"/api-reference/api-key/exchange-api-key-for-a-jwt-token"}]},{"group":"Session","public":true,"pages":[{"title":"Find an unfinished invitation for the signed-in recipient","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/authentication/pending-invitation","href":"/api-reference/session/find-an-unfinished-invitation-for-the-signed-in-recipient"},{"title":"Exchange a live session for a delegated access token","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/authentication/session/exchange-token","href":"/api-reference/session/exchange-a-live-session-for-a-delegated-access-token"}]}]},{"group":"Usage and budgets","public":true,"pages":[{"group":"Usage","public":true,"pages":[{"title":"Get completions usage","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/usage/completions","href":"/api-reference/usage/get-completions-usage"},{"title":"Get responses usage","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/usage/responses","href":"/api-reference/usage/get-responses-usage"},{"title":"Get conversations usage","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/usage/conversations","href":"/api-reference/usage/get-conversations-usage"},{"title":"Get embeddings usage","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/usage/embeddings","href":"/api-reference/usage/get-embeddings-usage"},{"title":"Get extract usage","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/usage/extract","href":"/api-reference/usage/get-extract-usage"},{"title":"Get classify usage","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/usage/classify","href":"/api-reference/usage/get-classify-usage"},{"title":"Get vector stores usage","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/usage/vector_stores","href":"/api-reference/usage/get-vector-stores-usage"},{"title":"Get files usage","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/usage/files","href":"/api-reference/usage/get-files-usage"},{"title":"Get cost by model","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/usage/costs","href":"/api-reference/usage/get-cost-by-model"},{"title":"Aggregate cost by dimension","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/budgeting/usage/costs","href":"/api-reference/usage/aggregate-cost-by-dimension"}]},{"group":"Budgets","public":true,"pages":[{"title":"List budgets","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/budgeting/budgets","href":"/api-reference/budgets/list-budgets"},{"title":"List org budgets","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/budgeting/budgets/org","href":"/api-reference/budgets/list-org-budgets"},{"title":"Set an org budget","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json put /api/v1/budgeting/budgets/org","href":"/api-reference/budgets/set-an-org-budget"},{"title":"Delete an org budget","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json delete /api/v1/budgeting/budgets/org","href":"/api-reference/budgets/delete-an-org-budget"},{"title":"List org budget events","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/budgeting/budgets/org/events","href":"/api-reference/budgets/list-org-budget-events"},{"title":"List apikey budgets","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/budgeting/budgets/apikey/{apiKeyId}","href":"/api-reference/budgets/list-apikey-budgets"},{"title":"Set an apikey budget","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json put /api/v1/budgeting/budgets/apikey/{apiKeyId}","href":"/api-reference/budgets/set-an-apikey-budget"},{"title":"Delete an apikey budget","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json delete /api/v1/budgeting/budgets/apikey/{apiKeyId}","href":"/api-reference/budgets/delete-an-apikey-budget"},{"title":"List apikey budget events","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/budgeting/budgets/apikey/{apiKeyId}/events","href":"/api-reference/budgets/list-apikey-budget-events"},{"title":"List user budgets","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/budgeting/budgets/user/{id}","href":"/api-reference/budgets/list-user-budgets"},{"title":"Set a user budget","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json put /api/v1/budgeting/budgets/user/{id}","href":"/api-reference/budgets/set-a-user-budget"},{"title":"Delete a user budget","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json delete /api/v1/budgeting/budgets/user/{id}","href":"/api-reference/budgets/delete-a-user-budget"},{"title":"List user budget events","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/budgeting/budgets/user/{id}/events","href":"/api-reference/budgets/list-user-budget-events"},{"title":"List team budgets","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/budgeting/budgets/team/{id}","href":"/api-reference/budgets/list-team-budgets"},{"title":"Set a team budget","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json put /api/v1/budgeting/budgets/team/{id}","href":"/api-reference/budgets/set-a-team-budget"},{"title":"Delete a team budget","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json delete /api/v1/budgeting/budgets/team/{id}","href":"/api-reference/budgets/delete-a-team-budget"},{"title":"List team budget events","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/budgeting/budgets/team/{id}/events","href":"/api-reference/budgets/list-team-budget-events"},{"title":"List external user budgets","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/budgeting/budgets/external-user/{id}","href":"/api-reference/budgets/list-external-user-budgets"},{"title":"Set a external user budget","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json put /api/v1/budgeting/budgets/external-user/{id}","href":"/api-reference/budgets/set-a-external-user-budget"},{"title":"Delete a external user budget","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json delete /api/v1/budgeting/budgets/external-user/{id}","href":"/api-reference/budgets/delete-a-external-user-budget"},{"title":"List external user budget events","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/budgeting/budgets/external-user/{id}/events","href":"/api-reference/budgets/list-external-user-budget-events"},{"title":"List per-user default budgets","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/budgeting/budgets/user-default","href":"/api-reference/budgets/list-per-user-default-budgets"},{"title":"Set a per-user default budget","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json put /api/v1/budgeting/budgets/user-default","href":"/api-reference/budgets/set-a-per-user-default-budget"},{"title":"Delete a per-user default budget","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json delete /api/v1/budgeting/budgets/user-default","href":"/api-reference/budgets/delete-a-per-user-default-budget"},{"title":"List per-user default budget events","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/budgeting/budgets/user-default/events","href":"/api-reference/budgets/list-per-user-default-budget-events"},{"title":"List per-team default budgets","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/budgeting/budgets/team-default","href":"/api-reference/budgets/list-per-team-default-budgets"},{"title":"Set a per-team default budget","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json put /api/v1/budgeting/budgets/team-default","href":"/api-reference/budgets/set-a-per-team-default-budget"},{"title":"Delete a per-team default budget","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json delete /api/v1/budgeting/budgets/team-default","href":"/api-reference/budgets/delete-a-per-team-default-budget"},{"title":"List per-team default budget events","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/budgeting/budgets/team-default/events","href":"/api-reference/budgets/list-per-team-default-budget-events"},{"title":"List per-external user default budgets","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/budgeting/budgets/external-user-default","href":"/api-reference/budgets/list-per-external-user-default-budgets"},{"title":"Set a per-external user default budget","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json put /api/v1/budgeting/budgets/external-user-default","href":"/api-reference/budgets/set-a-per-external-user-default-budget"},{"title":"Delete a per-external user default budget","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json delete /api/v1/budgeting/budgets/external-user-default","href":"/api-reference/budgets/delete-a-per-external-user-default-budget"},{"title":"List per-external user default budget events","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/budgeting/budgets/external-user-default/events","href":"/api-reference/budgets/list-per-external-user-default-budget-events"}]},{"group":"Settings","public":true,"pages":[{"title":"Get display currency","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/budgeting/settings/currency","href":"/api-reference/settings/get-display-currency"},{"title":"Set display currency","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json put /api/v1/budgeting/settings/currency","href":"/api-reference/settings/set-display-currency"}]}]},{"group":"Application utilities","public":true,"pages":[{"group":"Batches","public":true,"pages":[{"title":"Create a batch","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/llm/batches","href":"/api-reference/batches/create-a-batch"},{"title":"List batches","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/batches","href":"/api-reference/batches/list-batches"},{"title":"Get a batch","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/batches/{batch_id}","href":"/api-reference/batches/get-a-batch"},{"title":"Cancel a batch","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/llm/batches/{batch_id}/cancel","href":"/api-reference/batches/cancel-a-batch"}]},{"group":"Extract","public":true,"pages":[{"title":"Extract structured data with inline JSON Schema","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/llm/extract","href":"/api-reference/extract/extract-structured-data-with-inline-json-schema"},{"title":"Create reusable extraction schema template","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/llm/extract/schema","href":"/api-reference/extract/create-reusable-extraction-schema-template"},{"title":"Get extraction schema by ID","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/extract/schema/{schema_id}","href":"/api-reference/extract/get-extraction-schema-by-id"},{"title":"Update extraction schema by ID","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json put /api/v1/llm/extract/schema/{schema_id}","href":"/api-reference/extract/update-extraction-schema-by-id"},{"title":"Delete extraction schema by ID","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json delete /api/v1/llm/extract/schema/{schema_id}","href":"/api-reference/extract/delete-extraction-schema-by-id"},{"title":"Extract data using saved schema template","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/llm/extract/schema/{schema_id}","href":"/api-reference/extract/extract-data-using-saved-schema-template"}]},{"group":"Guardrails","public":true,"pages":[{"title":"Get effective guardrails","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/guardrails","href":"/api-reference/guardrails/get-effective-guardrails"},{"title":"Update guardrails policy","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json put /api/v1/llm/guardrails","href":"/api-reference/guardrails/update-guardrails-policy"},{"title":"Delete guardrails policy","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json delete /api/v1/llm/guardrails","href":"/api-reference/guardrails/delete-guardrails-policy"},{"title":"List guardrails policies","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/guardrails/policies","href":"/api-reference/guardrails/list-guardrails-policies"},{"title":"Test content against guardrails","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/llm/guardrails/test","href":"/api-reference/guardrails/test-content-against-guardrails"},{"title":"Get the cluster default guardrails","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/guardrails/cluster-default","href":"/api-reference/guardrails/get-the-cluster-default-guardrails"},{"title":"Update the cluster default guardrails","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json put /api/v1/llm/guardrails/cluster-default","href":"/api-reference/guardrails/update-the-cluster-default-guardrails"},{"title":"Reset the cluster default guardrails","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json delete /api/v1/llm/guardrails/cluster-default","href":"/api-reference/guardrails/reset-the-cluster-default-guardrails"},{"title":"Get an organization's cluster default enrollment","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/guardrails/cluster-default/orgs/{org_id}","href":"/api-reference/guardrails/get-an-organizations-cluster-default-enrollment"},{"title":"Enroll an organization in the cluster default","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json put /api/v1/llm/guardrails/cluster-default/orgs/{org_id}","href":"/api-reference/guardrails/enroll-an-organization-in-the-cluster-default"},{"title":"Get a resource guardrails policy","description":"Additional guardrails attached to a saved agent in the active team or a catalog model endpoint throughout the organization. Cluster, organization and team policies are always enforced as well. Model aliases resolve to canonical model IDs; auto is not an attachable endpoint. Only organization admins/owners may change these policies. Policies apply to saved-agent versions and future background executions independently of version snapshots. Configured fallback and image-reroute endpoint policies are checked before dispatch as well, even if a fallback is not eventually needed.","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/guardrails/resource-policies","href":"/api-reference/guardrails/get-a-resource-guardrails-policy"},{"title":"Set a resource guardrails policy","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json put /api/v1/llm/guardrails/resource-policies","href":"/api-reference/guardrails/set-a-resource-guardrails-policy"},{"title":"Remove a resource guardrails policy","description":"Additional guardrails attached to a saved agent in the active team or a catalog model endpoint throughout the organization. Cluster, organization and team policies are always enforced as well. Model aliases resolve to canonical model IDs; auto is not an attachable endpoint. Only organization admins/owners may change these policies. Policies apply to saved-agent versions and future background executions independently of version snapshots. Configured fallback and image-reroute endpoint policies are checked before dispatch as well, even if a fallback is not eventually needed.","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json delete /api/v1/llm/guardrails/resource-policies","href":"/api-reference/guardrails/remove-a-resource-guardrails-policy"}]},{"group":"Prompts","public":true,"pages":[{"title":"Create a prompt","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/llm/prompts","href":"/api-reference/prompts/create-a-prompt"},{"title":"List prompts","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/prompts","href":"/api-reference/prompts/list-prompts"},{"title":"Get a prompt","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/prompts/{id}","href":"/api-reference/prompts/get-a-prompt"},{"title":"Update a prompt","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json put /api/v1/llm/prompts/{id}","href":"/api-reference/prompts/update-a-prompt"},{"title":"Delete a prompt","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json delete /api/v1/llm/prompts/{id}","href":"/api-reference/prompts/delete-a-prompt"},{"title":"Create a new version","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/llm/prompts/{id}/versions","href":"/api-reference/prompts/create-a-new-version"},{"title":"List versions","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/prompts/{id}/versions","href":"/api-reference/prompts/list-versions"},{"title":"Get a specific version","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/prompts/{id}/versions/{version}","href":"/api-reference/prompts/get-a-specific-version"},{"title":"Rollback to a version","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/llm/prompts/{id}/rollback","href":"/api-reference/prompts/rollback-to-a-version"}]}]},{"group":"Analytics","public":true,"pages":[{"group":"Projects","public":true,"pages":[{"title":"Create a project","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/analytics/projects","href":"/api-reference/analyticsprojects/create-an-analytics-project"},{"title":"List projects","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/analytics/projects","href":"/api-reference/analyticsprojects/list-accessible-analytics-projects"},{"title":"Get a project","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/analytics/projects/{id}","href":"/api-reference/analyticsprojects/get-an-analytics-project"},{"title":"Update a project","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json patch /api/v1/analytics/projects/{id}","href":"/api-reference/analyticsprojects/rename-an-active-analytics-project"},{"title":"Archive a project","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json delete /api/v1/analytics/projects/{id}","href":"/api-reference/analyticsprojects/archive-an-analytics-project"}]},{"group":"Capture keys","public":true,"pages":[{"title":"Create a capture key","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/analytics/projects/{id}/keys","href":"/api-reference/analyticskeys/create-a-capture-key-and-return-its-secret-once"},{"title":"List capture keys","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/analytics/projects/{id}/keys","href":"/api-reference/analyticskeys/list-capture-key-metadata"},{"title":"Revoke a capture key","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json delete /api/v1/analytics/projects/{id}/keys/{keyId}","href":"/api-reference/analyticskeys/revoke-a-capture-key"}]},{"group":"Events","public":true,"pages":[{"title":"Capture events","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/analytics/capture","href":"/api-reference/analytics/durably-accept-a-batch-of-events"},{"title":"Query events","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/analytics/projects/{id}/query","href":"/api-reference/analytics/query-event-counts-or-unique-visitors"}]},{"group":"Event search","public":true,"pages":[{"title":"Search events","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/analytics/projects/{id}/events/search","href":"/api-reference/analyticsevents/search-events-in-a-time-range"}]},{"group":"Visitor search","public":true,"pages":[{"title":"Search visitors","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/analytics/projects/{id}/visitors/search","href":"/api-reference/analyticsvisitors/search-visitors-in-a-time-range"}]}]},{"group":"Legacy APIs","public":true,"pages":[{"group":"Chat Completions","public":true,"pages":[{"title":"[Deprecated] Chat completions for OpenAI SDK/client usage","deprecated":true,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/llm/chat/completions","href":"/api-reference/chat-completions/[deprecated]-chat-completions-for-openai-sdkclient-usage"},{"title":"[Deprecated] Streaming chat completions for generated SDK usage","deprecated":true,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/llm/chat/completions/stream","href":"/api-reference/chat-completions/[deprecated]-streaming-chat-completions-for-generated-sdk-usage"}]},{"group":"Fine-Tuning","public":true,"pages":[{"title":"[Deprecated] Create a fine-tuning job","deprecated":true,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/llm/fine_tuning/jobs","href":"/api-reference/fine-tuning/[deprecated]-create-a-fine-tuning-job"},{"title":"[Deprecated] List fine-tuning jobs","deprecated":true,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/fine_tuning/jobs","href":"/api-reference/fine-tuning/[deprecated]-list-fine-tuning-jobs"},{"title":"[Deprecated] Retrieve a fine-tuning job","deprecated":true,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/fine_tuning/jobs/{fine_tuning_job_id}","href":"/api-reference/fine-tuning/[deprecated]-retrieve-a-fine-tuning-job"},{"title":"[Deprecated] Cancel a fine-tuning job","deprecated":true,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/llm/fine_tuning/jobs/{fine_tuning_job_id}/cancel","href":"/api-reference/fine-tuning/[deprecated]-cancel-a-fine-tuning-job"},{"title":"[Deprecated] Pause a fine-tuning job","deprecated":true,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/llm/fine_tuning/jobs/{fine_tuning_job_id}/pause","href":"/api-reference/fine-tuning/[deprecated]-pause-a-fine-tuning-job"},{"title":"[Deprecated] Resume a fine-tuning job","deprecated":true,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/llm/fine_tuning/jobs/{fine_tuning_job_id}/resume","href":"/api-reference/fine-tuning/[deprecated]-resume-a-fine-tuning-job"},{"title":"[Deprecated] List fine-tuning events","deprecated":true,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/fine_tuning/jobs/{fine_tuning_job_id}/events","href":"/api-reference/fine-tuning/[deprecated]-list-fine-tuning-events"},{"title":"[Deprecated] List fine-tuning checkpoints","deprecated":true,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/fine_tuning/jobs/{fine_tuning_job_id}/checkpoints","href":"/api-reference/fine-tuning/[deprecated]-list-fine-tuning-checkpoints"}]}]},{"group":"Additional APIs","public":true,"pages":[{"group":"Audit","public":true,"pages":[{"title":"Get a request trace","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/llm/audit/requests/{request_id}/trace","href":"/api-reference/audit/get-a-request-trace"}]},{"group":"Sandbox Connectors","public":true,"pages":[{"title":"List Connectors","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/sandbox/connectors","href":"/api-reference/sandbox-connectors/list-connectors"},{"title":"Start Connector Sign-In","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/sandbox/connectors/oauth/intents","href":"/api-reference/sandbox-connectors/start-connector-sign-in"},{"title":"Finish Connector Sign-In","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/sandbox/connectors/oauth/connections","href":"/api-reference/sandbox-connectors/finish-connector-sign-in"},{"title":"Set Connector API Key","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json put /api/v1/sandbox/connectors/connections/{connector_key}/api-key","href":"/api-reference/sandbox-connectors/set-connector-api-key"},{"title":"Disconnect Connector","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json delete /api/v1/sandbox/connectors/connections/{connector_key}","href":"/api-reference/sandbox-connectors/disconnect-connector"},{"title":"List Connector Tools","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/sandbox/connectors/connections/{connector_key}/tools","href":"/api-reference/sandbox-connectors/list-connector-tools"},{"title":"Set Connector Tool Allowlist","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json put /api/v1/sandbox/connectors/connections/{connector_key}/tools","href":"/api-reference/sandbox-connectors/set-connector-tool-allowlist"}]},{"group":"Billing","public":true,"pages":[{"title":"Get apiv1budgetingbillingorg","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json?language=es get /api/v1/budgeting/billing/org","href":"/api-reference/billing/get-apiv1budgetingbillingorg"},{"title":"Put apiv1budgetingbillingorgenabled","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json?language=es put /api/v1/budgeting/billing/org/enabled","href":"/api-reference/billing/put-apiv1budgetingbillingorgenabled"},{"title":"Put apiv1budgetingbillingorgprofile","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json?language=es put /api/v1/budgeting/billing/org/profile","href":"/api-reference/billing/put-apiv1budgetingbillingorgprofile"},{"title":"Post apiv1budgetingbillingorgsetup session","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json?language=es post /api/v1/budgeting/billing/org/setup-session","href":"/api-reference/billing/post-apiv1budgetingbillingorgsetup-session"},{"title":"Post apiv1budgetingbillingorgportal session","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json?language=es post /api/v1/budgeting/billing/org/portal-session","href":"/api-reference/billing/post-apiv1budgetingbillingorgportal-session"},{"title":"Get apiv1budgetingbillingorginvoices","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json?language=es get /api/v1/budgeting/billing/org/invoices","href":"/api-reference/billing/get-apiv1budgetingbillingorginvoices"}]},{"group":"Feature Flags","public":true,"pages":[{"title":"List flags","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/flags","href":"/api-reference/feature-flags/list-flags"},{"title":"Create a flag","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/flags","href":"/api-reference/feature-flags/create-a-flag"},{"title":"List projects","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/flags/-/projects","href":"/api-reference/feature-flags/list-projects"},{"title":"Create a project","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/flags/-/projects","href":"/api-reference/feature-flags/create-a-project"},{"title":"Delete an empty project","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json delete /api/v1/flags/-/projects/{project}","href":"/api-reference/feature-flags/delete-an-empty-project"},{"title":"Get a project","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/flags/-/projects/{project}","href":"/api-reference/feature-flags/get-a-project"},{"title":"Rename a project","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json patch /api/v1/flags/-/projects/{project}","href":"/api-reference/feature-flags/rename-a-project"},{"title":"List audit entries, newest first","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/flags/audit","href":"/api-reference/feature-flags/list-audit-entries-newest-first"},{"title":"List environments","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/flags/environments","href":"/api-reference/feature-flags/list-environments"},{"title":"Create an environment","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/flags/environments","href":"/api-reference/feature-flags/create-an-environment"},{"title":"Delete an environment and every flag setting in it","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json delete /api/v1/flags/environments/{env}","href":"/api-reference/feature-flags/delete-an-environment-and-every-flag-setting-in-it"},{"title":"Rename an environment","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json patch /api/v1/flags/environments/{env}","href":"/api-reference/feature-flags/rename-an-environment"},{"title":"Evaluate every flag for an identity","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/flags/environments/{env}/evaluate","href":"/api-reference/feature-flags/evaluate-every-flag-for-an-identity"},{"title":"Evaluate every flag for an identity with traits","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/flags/environments/{env}/evaluate","href":"/api-reference/feature-flags/evaluate-every-flag-for-an-identity-with-traits"},{"title":"Revoke an environment evaluation key","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json delete /api/v1/flags/environments/{env}/evaluation-key","href":"/api-reference/feature-flags/revoke-an-environment-evaluation-key"},{"title":"Generate or replace an environment evaluation key","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/flags/environments/{env}/evaluation-key","href":"/api-reference/feature-flags/generate-or-replace-an-environment-evaluation-key"},{"title":"Delete a flag and its settings in every environment","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json delete /api/v1/flags/{key}","href":"/api-reference/feature-flags/delete-a-flag-and-its-settings-in-every-environment"},{"title":"Get a flag","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json get /api/v1/flags/{key}","href":"/api-reference/feature-flags/get-a-flag"},{"title":"Update a flag's name, description, default value, or project","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json patch /api/v1/flags/{key}","href":"/api-reference/feature-flags/update-a-flags-name-description-default-value-or-project"},{"title":"Archive a flag","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/flags/{key}/archive","href":"/api-reference/feature-flags/archive-a-flag"},{"title":"Replace a flag's settings in one environment","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json put /api/v1/flags/{key}/environments/{env}","href":"/api-reference/feature-flags/replace-a-flags-settings-in-one-environment"},{"title":"Restore an archived flag","deprecated":null,"version":null,"openapi":"https://apigw.mka1.com/speakeasy.json post /api/v1/flags/{key}/unarchive","href":"/api-reference/feature-flags/restore-an-archived-flag"}]}]}]}]},{"language":"es","pages":[{"title":"es","href":"/es/docs/platform-getting-started"}]},{"language":"pt-BR","pages":[{"title":"pt-BR","href":"/pt/docs/platform-getting-started"}]}]},"basePath":"","title":"Set a resource guardrails policy - MKA1","buildId":"dpl_G9nrg4qeJSZtah1Ziwbc2n6WkLch","deploymentId":"dpl_G9nrg4qeJSZtah1Ziwbc2n6WkLch","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-B7XKH4J3.js","utils-lOYzL7z-.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DF6jUUIM.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Dpsj5f7C.js","snippetPresets-CYeiDe8v.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-CUFz1YZ_.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-D8H_iLS4.js","shallow-DdluZBHX.js","getApiPlaygroundDisplay-B9922vev.js","CodeSnippet-CMoRNGYs.js","CodeSnippets-DwyrPHuw.js","Page-DSVu9Ucl.js","getPastedJson-G-zIvlHh.js","icon-B03fnEy0.js","MethodPill-CW7teklc.js","DuplicateIcon-CtO8eekd.js","createIcon-DZTKdM_A.js","DynamicMarkdown-D5M2At0B.js","SectionHeading-C_2NaA2U.js","axios-vUo_bRtp.js","Markdown-D7QRHV3m.js","clsx-D1Z-ELXV.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-lvhuD9Du.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-CKfC4ywL.js"]}