{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Portkey (Prisma AIRS AI Gateway) Docs","description":"Comprehensive documentation for AI Gateway, Guardrails, Observability, and Governance features.","colors":{"primary":"#0891B2","light":"#0891B2","dark":"#0891B2"},"logo":{"light":"https://mintcdn.com/portkey-docs/tHk-hgNjLbEj4dhh/images/portkey-PANW-company-logo-positive.png?fit=max\u0026auto=format\u0026n=tHk-hgNjLbEj4dhh\u0026q=85\u0026s=c5fb09014ff79616583b1d3bffe27450","dark":"https://mintcdn.com/portkey-docs/tHk-hgNjLbEj4dhh/images/portkey-PANW-company-logo-negative.png?fit=max\u0026auto=format\u0026n=tHk-hgNjLbEj4dhh\u0026q=85\u0026s=6025ca49ef544522f58ff471b7f75f8f"},"favicon":"https://mintcdn.com/portkey-docs/Hf1XgyjG_b79ym4Q/favicon.png?fit=max\u0026auto=format\u0026n=Hf1XgyjG_b79ym4Q\u0026q=85\u0026s=cbaa1bfc49bb6e3fd6cf499a5da313a3","api":{"openapi":"https://raw.githubusercontent.com/Portkey-AI/openapi/refs/heads/master/openapi.yaml","examples":{"prefill":true},"url":"full"},"navbar":{"links":[{"href":"https://portkey.ai/models","label":"Models"},{"href":"https://support.portkey.ai/forms/customer-portal-ticket-form","label":"Support"},{"href":"https://www.paloaltonetworks.in/ai-security/ai-gateway?utm_source=portkey\u0026utm_medium=referral\u0026utm_campaign=prisma_airs\u0026utm_content=docs_nav#contact","label":"Contact Us"}],"primary":{"type":"button","label":"Sign in","href":"https://stratacloudmanager.paloaltonetworks.com/"}},"footer":{"socials":{"x":"https://twitter.com/PortkeyAI","linkedin":"https://www.linkedin.com/company/portkey-ai","github":"https://git.new/portkey"},"links":[{"header":"For LLMs","items":[{"label":"llms.txt","href":"https://portkey.ai/docs/llms.txt"},{"label":"llms-full.txt","href":"https://portkey.ai/docs/llms-full.txt"}]},{"header":"Products","items":[{"label":"Observability","href":"https://portkey.ai/features/observability"},{"label":"AI Gateway","href":"https://portkey.ai/features/ai-gateway"},{"label":"Guardrails","href":"https://portkey.ai/features/guardrails"},{"label":"Prompt Management","href":"https://portkey.ai/features/prompt-management"},{"label":"Agents","href":"https://portkey.ai/features/agents"},{"label":"MCP Gateway","href":"https://portkey.ai/docs/product/mcp-gateway"},{"label":"Security","href":"https://portkey.ai/features/security-and-compliance"},{"label":"Auto-Instrumentation","href":"https://portkey.ai/features/auto-instrumentation"}]},{"header":"Resources","items":[{"label":"API Status","href":"https://status.portkey.ai/"},{"label":"Helm Charts","href":"https://github.com/portkey-ai/helm"},{"label":"AI Grants Finder","href":"https://grantsfinder.portkey.ai/"},{"label":"Events Calendar","href":"https://lu.ma/portkey"},{"label":"Blog","href":"https://portkey.ai/blog"},{"label":"Error Library","href":"https://portkey.ai/error-library"},{"label":"Models \u0026 Pricing","href":"https://portkey.ai/models"}]},{"header":"Company","items":[{"label":"Pricing","href":"https://portkey.ai/pricing"},{"label":"Compliances","href":"https://trust.portkey.ai/"},{"label":"Privacy Policy","href":"https://portkey.ai/privacy-policy"},{"label":"Terms of Service","href":"https://portkey.ai/terms"},{"label":"DPA","href":"https://portkey.ai/dpa"},{"label":"Cookie Policy","href":"https://portkey.ai/cookie-policy"}]}]},"seo":{"metatags":{"og:type":"website","og:site_name":"Portkey AI Gateway Docs"},"indexing":"navigable"},"styling":{"eyebrows":"breadcrumbs","codeblocks":"system","latex":true},"integrations":{"ga4":{"measurementId":"G-JJMXYE4DRL"}},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"toc"},"interaction":{"drilldown":true},"metadata":{"timestamp":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"portkey-docs","hasAudioNarration":false,"actualSubdomain":"portkey-docs","customDomains":["docs.portkey.ai","portkey.ai"],"gitSource":{"type":"github","owner":"portkey-ai","repo":"docs-core","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae4a3f4c2eaceb0e3450b94","collectionId":"3fc5fddf-cd0a-44c8-8c84-d700aea81ada","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae4a3f4c2eaceb0e3450b94"},"feedback":{"thumbs":true,"edits":true,"issues":true,"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ae4a3f4c2eaceb0e3450b94","clientVersion":"0.0.4043","searchFilterCounts":[{"language":"default","tag":"Integrations","count":699},{"language":"default","tag":"Product","count":382},{"language":"default","tag":"Docs","count":320},{"language":"default","tag":"LLM Integrations","count":307},{"language":"default","tag":"More","count":176},{"language":"default","tag":"Admin APIs","count":172},{"language":"default","tag":"Guardrails","count":101},{"language":"default","tag":"AI Gateway","count":99},{"language":"default","tag":"Admin API","count":95},{"language":"default","tag":"Documentation","count":91}],"searchSettings":{"isFiltersEnabled":true,"showContentSnippets":true}},"assistantConfig":{"enableAskAiButton":true,"enableStarterQuestions":true,"enableContextualStarterQuestions":true,"enableAskAiSearchBar":true,"deflection":{"enabled":true,"email":"support@portkey.ai","showHelpButton":true}},"basePath":"/docs","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":false},"customCss":[{"filePath":"style.css","content":"#banner{background:linear-gradient(90deg,#0d1b2e 0,#1a1040 40%,#2d0f22 100%);border-bottom:1px solid rgba(255,255,255,.08)}#banner a{color:#f0f0f0;text-decoration:none;font-weight:600;border-bottom:1px solid rgba(240,240,240,.5);padding-bottom:1px;transition:border-color .2s ease}#banner a:hover{border-bottom-color:#fff}"}],"page":{"pagePath":"aigw/api-reference/assistants/get-run","slug":"/aigw/api-reference/assistants/get-run","pageMetadata":{"title":"","description":"","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/PaloAltoNetworks/openapi/refs/heads/main/openapi.yaml get /threads/{thread_id}/runs/{run_id}","href":"/aigw/api-reference/assistants/get-run","autogeneratedByOpenApi":true},"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":{"codeStyling":"system","config":{},"pageMetadata":{"title":"","description":"","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/PaloAltoNetworks/openapi/refs/heads/main/openapi.yaml get /threads/{thread_id}/runs/{run_id}","href":"/aigw/api-reference/assistants/get-run","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"getRun","tags":["Assistants"],"parameters":["006f2afc-f923-4497-9b74-af0fcac2224b","7ea682d8-13a4-49bc-a7ae-4a1f70da299d"],"responses":{"200":"2c8b566e-359a-43cb-88cc-30b786104d3c"},"summary":"","description":"","x-airs-provenance":{"claims":[],"origin_kind":"human","text_digest":""},"x-mint":{"href":"/aigw/api-reference/assistants/get-run"},"method":"get","type":"path","servers":["347d8467-9373-4d8e-aaeb-5fa69d0b6e9a","7d3d4882-a19e-4860-99e8-16114c25690d"],"security":["683e6758-827f-4d44-8514-6a1d1ac90dd0"],"path":"/threads/{thread_id}/runs/{run_id}","baseUrlOptions":["https://aigw.portkey.ai/v1","https://self-hosted-gateway-url.example.com/v1"],"title":"","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated","prefillPlaygroundWithExample":true,"prefillPlaygroundExamples":[],"urlDisplay":"full"},"dependencies":{"parameters":{"006f2afc-f923-4497-9b74-af0fcac2224b":{"in":"path","name":"thread_id","required":true,"schema":{"type":"string","isRequired":true,"uniqueKey":"","typeLabel":"string"}},"7ea682d8-13a4-49bc-a7ae-4a1f70da299d":{"in":"path","name":"run_id","required":true,"schema":{"type":"string","isRequired":true,"uniqueKey":"","typeLabel":"string"}}},"responses":{"2c8b566e-359a-43cb-88cc-30b786104d3c":{"description":"","content":{"application/json":{"schema":{"type":"object","title":"A run on a thread","properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"id","typeLabel":"string"},"object":{"type":"string","enum":["thread.run"],"isRequired":true,"uniqueKey":"object","typeLabel":"enum\u003cstring>"},"created_at":{"type":"integer","isRequired":true,"uniqueKey":"created_at","typeLabel":"integer"},"thread_id":{"type":"string","isRequired":true,"uniqueKey":"thread_id","typeLabel":"string"},"assistant_id":{"type":"string","isRequired":true,"uniqueKey":"assistant_id","typeLabel":"string"},"status":{"type":"string","enum":["queued","in_progress","requires_action","cancelling","cancelled","failed","completed","incomplete","expired"],"isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"required_action":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["submit_tool_outputs"],"isRequired":true,"uniqueKey":"required_action.oneOf.0.type","typeLabel":"enum\u003cstring>"},"submit_tool_outputs":{"type":"object","properties":{"tool_calls":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"required_action.oneOf.0.submit_tool_outputs.tool_calls.items.[INDEX].id","typeLabel":"string"},"type":{"type":"string","enum":["function"],"isRequired":true,"uniqueKey":"required_action.oneOf.0.submit_tool_outputs.tool_calls.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"function":{"type":"object","properties":{"name":{"type":"string","isRequired":true,"uniqueKey":"required_action.oneOf.0.submit_tool_outputs.tool_calls.items.[INDEX].function.name","typeLabel":"string"},"arguments":{"type":"string","isRequired":true,"uniqueKey":"required_action.oneOf.0.submit_tool_outputs.tool_calls.items.[INDEX].function.arguments","typeLabel":"string"}},"required":["name","arguments"],"isRequired":true,"uniqueKey":"required_action.oneOf.0.submit_tool_outputs.tool_calls.items.[INDEX].function","typeLabel":"object"}},"required":["id","type","function"],"uniqueKey":"required_action.oneOf.0.submit_tool_outputs.tool_calls.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"required_action.oneOf.0.submit_tool_outputs.tool_calls","typeLabel":"object[]"}},"required":["tool_calls"],"isRequired":true,"uniqueKey":"required_action.oneOf.0.submit_tool_outputs","typeLabel":"object"}},"required":["type","submit_tool_outputs"],"isRequired":true,"uniqueKey":"required_action.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"type":{"type":"string","enum":["submit_tool_outputs"]},"submit_tool_outputs":{"type":"object","properties":{"tool_calls":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string","enum":["function"]},"function":{"type":"object","properties":{"name":{"type":"string"},"arguments":{"type":"string"}},"required":["name","arguments"]}},"required":["id","type","function"]}}},"required":["tool_calls"]}},"required":["type","submit_tool_outputs"],"isRequired":true,"uniqueKey":"required_action.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"required_action","typeLabel":"object | null"},"last_error":{"oneOf":[{"type":"object","properties":{"code":{"type":"string","enum":["server_error","rate_limit_exceeded","invalid_prompt"],"isRequired":true,"uniqueKey":"last_error.oneOf.0.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"last_error.oneOf.0.message","typeLabel":"string"}},"required":["code","message"],"isRequired":true,"uniqueKey":"last_error.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"code":{"type":"string","enum":["server_error","rate_limit_exceeded","invalid_prompt"]},"message":{"type":"string"}},"required":["code","message"],"isRequired":true,"uniqueKey":"last_error.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"last_error","typeLabel":"object | null"},"expires_at":{"oneOf":[{"type":"integer","isRequired":true,"uniqueKey":"expires_at.oneOf.0","typeLabel":"integer"},{"type":"null","isRequired":true,"uniqueKey":"expires_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"expires_at","typeLabel":"integer | null"},"started_at":{"oneOf":[{"type":"integer","isRequired":true,"uniqueKey":"started_at.oneOf.0","typeLabel":"integer"},{"type":"null","isRequired":true,"uniqueKey":"started_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"started_at","typeLabel":"integer | null"},"cancelled_at":{"oneOf":[{"type":"integer","isRequired":true,"uniqueKey":"cancelled_at.oneOf.0","typeLabel":"integer"},{"type":"null","isRequired":true,"uniqueKey":"cancelled_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"cancelled_at","typeLabel":"integer | null"},"failed_at":{"oneOf":[{"type":"integer","isRequired":true,"uniqueKey":"failed_at.oneOf.0","typeLabel":"integer"},{"type":"null","isRequired":true,"uniqueKey":"failed_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"failed_at","typeLabel":"integer | null"},"completed_at":{"oneOf":[{"type":"integer","isRequired":true,"uniqueKey":"completed_at.oneOf.0","typeLabel":"integer"},{"type":"null","isRequired":true,"uniqueKey":"completed_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"completed_at","typeLabel":"integer | null"},"incomplete_details":{"oneOf":[{"type":"object","properties":{"reason":{"type":"string","enum":["max_completion_tokens","max_prompt_tokens"],"uniqueKey":"incomplete_details.oneOf.0.reason","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"incomplete_details.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"reason":{"type":"string","enum":["max_completion_tokens","max_prompt_tokens"]}},"isRequired":true,"uniqueKey":"incomplete_details.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"incomplete_details","typeLabel":"object | null"},"model":{"type":"string","isRequired":true,"uniqueKey":"model","typeLabel":"string"},"instructions":{"type":"string","isRequired":true,"uniqueKey":"instructions","typeLabel":"string"},"tools":{"default":[],"type":"array","maxItems":20,"items":{"oneOf":[{"type":"object","title":"Code interpreter tool","required":["type"],"x-oaiExpandable":true,"properties":{"type":{"type":"string","enum":["code_interpreter"],"isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"tools.items.[INDEX].oneOf.0","typeLabel":"Code interpreter tool · object"},{"type":"object","title":"FileSearch tool","required":["type"],"x-oaiExpandable":true,"properties":{"type":{"type":"string","enum":["file_search"],"isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"file_search":{"type":"object","properties":{"max_num_results":{"type":"integer","minimum":1,"maximum":50,"uniqueKey":"tools.items.[INDEX].oneOf.1.file_search.max_num_results","typeLabel":"integer"}},"uniqueKey":"tools.items.[INDEX].oneOf.1.file_search","typeLabel":"object"}},"uniqueKey":"tools.items.[INDEX].oneOf.1","typeLabel":"FileSearch tool · object"},{"type":"object","title":"Function tool","required":["type","function"],"x-oaiExpandable":true,"properties":{"type":{"type":"string","enum":["function"],"isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.2.type","typeLabel":"enum\u003cstring>"},"function":{"type":"object","properties":{"name":{"type":"string","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.2.function.name","typeLabel":"string"},"description":{"type":"string","uniqueKey":"tools.items.[INDEX].oneOf.2.function.description","typeLabel":"string"},"parameters":{"type":"object","additionalProperties":true,"uniqueKey":"tools.items.[INDEX].oneOf.2.function.parameters","typeLabel":"object"},"strict":{"oneOf":[{"type":"boolean","default":false,"uniqueKey":"tools.items.[INDEX].oneOf.2.function.strict.oneOf.0","typeLabel":"boolean"},{"type":"null","default":false,"uniqueKey":"tools.items.[INDEX].oneOf.2.function.strict.oneOf.1","typeLabel":"null"}],"uniqueKey":"tools.items.[INDEX].oneOf.2.function.strict","typeLabel":"boolean | null"}},"required":["name"],"isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.2.function","typeLabel":"object"}},"uniqueKey":"tools.items.[INDEX].oneOf.2","typeLabel":"Function tool · object"}],"uniqueKey":"tools.items.[INDEX]","typeLabel":"Code interpreter tool · object | FileSearch tool · object | Function tool · object"},"isRequired":true,"uniqueKey":"tools","typeLabel":"(Code interpreter tool · object | FileSearch tool · object | Function tool · object)[]"},"metadata":{"oneOf":[{"type":"object","x-oaiTypeLabel":"map","isRequired":true,"uniqueKey":"metadata.oneOf.0","typeLabel":"object"},{"type":"null","x-oaiTypeLabel":"map","isRequired":true,"uniqueKey":"metadata.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"metadata","typeLabel":"object | null"},"usage":{"oneOf":[{"type":"object","properties":{"completion_tokens":{"type":"integer","isRequired":true,"uniqueKey":"usage.oneOf.0.completion_tokens","typeLabel":"integer"},"prompt_tokens":{"type":"integer","isRequired":true,"uniqueKey":"usage.oneOf.0.prompt_tokens","typeLabel":"integer"},"total_tokens":{"type":"integer","isRequired":true,"uniqueKey":"usage.oneOf.0.total_tokens","typeLabel":"integer"}},"required":["prompt_tokens","completion_tokens","total_tokens"],"isRequired":true,"uniqueKey":"usage.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"completion_tokens":{"type":"integer"},"prompt_tokens":{"type":"integer"},"total_tokens":{"type":"integer"}},"required":["prompt_tokens","completion_tokens","total_tokens"],"isRequired":true,"uniqueKey":"usage.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"usage","typeLabel":"object | null"},"max_prompt_tokens":{"oneOf":[{"type":"integer","minimum":256,"isRequired":true,"uniqueKey":"max_prompt_tokens.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":256,"isRequired":true,"uniqueKey":"max_prompt_tokens.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"max_prompt_tokens","typeLabel":"integer | null"},"max_completion_tokens":{"oneOf":[{"type":"integer","minimum":256,"isRequired":true,"uniqueKey":"max_completion_tokens.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":256,"isRequired":true,"uniqueKey":"max_completion_tokens.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"max_completion_tokens","typeLabel":"integer | null"},"truncation_strategy":{"oneOf":[{"type":"object","title":"Thread Truncation Controls","properties":{"type":{"type":"string","enum":["auto","last_messages"],"isRequired":true,"uniqueKey":"truncation_strategy.oneOf.0.type","typeLabel":"enum\u003cstring>"},"last_messages":{"oneOf":[{"type":"integer","minimum":1,"uniqueKey":"truncation_strategy.oneOf.0.last_messages.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":1,"uniqueKey":"truncation_strategy.oneOf.0.last_messages.oneOf.1","typeLabel":"null"}],"uniqueKey":"truncation_strategy.oneOf.0.last_messages","typeLabel":"integer | null"}},"required":["type"],"isRequired":true,"uniqueKey":"truncation_strategy.oneOf.0","typeLabel":"Thread Truncation Controls · object"},{"type":"null","title":"Thread Truncation Controls","properties":{"type":{"type":"string","enum":["auto","last_messages"]},"last_messages":{"oneOf":[{"type":"integer","minimum":1},{"type":"null","minimum":1}]}},"required":["type"],"isRequired":true,"uniqueKey":"truncation_strategy.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"truncation_strategy","typeLabel":"Thread Truncation Controls · object | null"},"tool_choice":{"oneOf":[{"type":"string","enum":["none","auto","required"],"x-oaiExpandable":true,"isRequired":true,"uniqueKey":"tool_choice.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"object","required":["type"],"x-oaiExpandable":true,"properties":{"type":{"type":"string","enum":["function","code_interpreter","file_search"],"isRequired":true,"uniqueKey":"tool_choice.oneOf.1.type","typeLabel":"enum\u003cstring>"},"function":{"type":"object","properties":{"name":{"type":"string","isRequired":true,"uniqueKey":"tool_choice.oneOf.1.function.name","typeLabel":"string"}},"required":["name"],"uniqueKey":"tool_choice.oneOf.1.function","typeLabel":"object"}},"isRequired":true,"uniqueKey":"tool_choice.oneOf.1","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"tool_choice.oneOf.2","typeLabel":"null"}],"isRequired":true,"uniqueKey":"tool_choice","typeLabel":"enum\u003cstring> | object | null"},"parallel_tool_calls":{"type":"boolean","default":true,"isRequired":true,"uniqueKey":"parallel_tool_calls","typeLabel":"boolean"},"response_format":{"oneOf":[{"type":"string","enum":["none","auto"],"x-oaiExpandable":true,"isRequired":true,"uniqueKey":"response_format.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"object","x-oaiExpandable":true,"properties":{"type":{"type":"string","enum":["text","json_object"],"default":"text","uniqueKey":"response_format.oneOf.1.type","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"response_format.oneOf.1","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"response_format.oneOf.2","typeLabel":"null"}],"isRequired":true,"uniqueKey":"response_format","typeLabel":"enum\u003cstring> | object | null"},"temperature":{"oneOf":[{"type":"number","uniqueKey":"temperature.oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"temperature.oneOf.1","typeLabel":"null"}],"uniqueKey":"temperature","typeLabel":"number | null"},"top_p":{"oneOf":[{"type":"number","uniqueKey":"top_p.oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"top_p.oneOf.1","typeLabel":"null"}],"uniqueKey":"top_p","typeLabel":"number | null"}},"required":["id","object","created_at","thread_id","assistant_id","status","required_action","last_error","expires_at","started_at","cancelled_at","failed_at","completed_at","model","instructions","tools","metadata","usage","incomplete_details","max_prompt_tokens","max_completion_tokens","truncation_strategy","tool_choice","parallel_tool_calls","response_format"],"uniqueKey":"","typeLabel":"A run on a thread · object"},"examples":{"Example":{"title":"Example","value":{"id":"\u003cstring>","object":"thread.run","created_at":123,"thread_id":"\u003cstring>","assistant_id":"\u003cstring>","status":"queued","required_action":{"type":"submit_tool_outputs","submit_tool_outputs":{"tool_calls":[{"id":"\u003cstring>","type":"function","function":{"name":"\u003cstring>","arguments":"\u003cstring>"}}]}},"last_error":{"code":"server_error","message":"\u003cstring>"},"expires_at":123,"started_at":123,"cancelled_at":123,"failed_at":123,"completed_at":123,"incomplete_details":{"reason":"max_completion_tokens"},"model":"\u003cstring>","instructions":"\u003cstring>","tools":[],"metadata":{},"usage":{"completion_tokens":123,"prompt_tokens":123,"total_tokens":123},"max_prompt_tokens":257,"max_completion_tokens":257,"truncation_strategy":{"type":"auto","last_messages":2},"tool_choice":"none","parallel_tool_calls":true,"response_format":"none","temperature":123,"top_p":123}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"683e6758-827f-4d44-8514-6a1d1ac90dd0":{"Authorization":{"type":"http","scheme":"bearer","scopes":[]}}},"servers":{"347d8467-9373-4d8e-aaeb-5fa69d0b6e9a":{"url":"https://aigw.portkey.ai/v1","description":"Managed"},"7d3d4882-a19e-4860-99e8-16114c25690d":{"url":"https://self-hosted-gateway-url.example.com/v1","description":"Self-hosted -- replace with your own gateway host"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"Authorization","name":"Authorization"}],"title":"Authorization"}]},"originalFileLocation":"https://raw.githubusercontent.com/PaloAltoNetworks/openapi/refs/heads/main/openapi.yaml"},"subdomain":"portkey-docs","siteName":"Portkey (Prisma AIRS AI Gateway) Docs","title":"Get run - Portkey (Prisma AIRS AI Gateway) Docs","relatedPagesConfig":{"enabled":true,"limit":5,"mode":"automatic"},"contextualStarterQuestions":[{"_id":"6aa9714e0031bd0287c94d71","deploymentId":"67086365a151447bf2fa5021","questionText":"What data does a run return?","status":"active","generatedBy":"contextual","path":"aigw/api-reference/assistants/get-run","createdAt":"2026-09-15T16:24:46.485Z","updatedAt":"2026-09-15T16:24:46.485Z","__v":0},{"_id":"6aa9714e0031bd0287c94d72","deploymentId":"67086365a151447bf2fa5021","questionText":"How do I check run status?","status":"active","generatedBy":"contextual","path":"aigw/api-reference/assistants/get-run","createdAt":"2026-09-15T16:24:46.485Z","updatedAt":"2026-09-15T16:24:46.485Z","__v":0},{"_id":"6aa9714e0031bd0287c94d70","deploymentId":"67086365a151447bf2fa5021","questionText":"How do I retrieve a run?","status":"active","generatedBy":"contextual","path":"aigw/api-reference/assistants/get-run","createdAt":"2026-09-15T16:24:46.485Z","updatedAt":"2026-09-15T16:24:46.485Z","__v":0}],"navMaps":{"firstHrefInVersion":{"Latest":{"href":"/introduction/what-is-portkey","matchLevel":4},"Prisma AIRS":{"href":"/aigw/api-reference/assistants/get-run","matchLevel":0},"Virtual Keys (Deprecated)":{"href":"/virtual_key_old/introduction/what-is-portkey","matchLevel":4}},"firstHrefInLanguage":{}},"originalFileLocation":"aigw/api-reference/assistants/get-run.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"application-name\" content=\"Portkey (Prisma AIRS AI Gateway) Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/portkey-docs/9Whrk-8bCE6hyGSn/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/portkey-docs/9Whrk-8bCE6hyGSn/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/portkey-docs/9Whrk-8bCE6hyGSn/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/portkey-docs/9Whrk-8bCE6hyGSn/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/portkey-docs/9Whrk-8bCE6hyGSn/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/portkey-docs/9Whrk-8bCE6hyGSn/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/portkey-docs/9Whrk-8bCE6hyGSn/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/portkey-docs/9Whrk-8bCE6hyGSn/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/portkey-docs/9Whrk-8bCE6hyGSn/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get run - Portkey (Prisma AIRS AI Gateway) Docs\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Portkey AI Gateway Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.portkey.ai/docs/aigw/api-reference/assistants/get-run\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://portkey-docs.mintlify.app/_mintlify/api/og/v2?division=Assistants\u0026amp;title=Get+run\u0026amp;theme=262137c9f2583e48984715e7\u0026amp;signature=4f5cb77b2f8feda1d8f77f054fc728d1a420da758fb6355e6955c0dfef909cbc\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Get run - Portkey (Prisma AIRS AI Gateway) Docs\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://portkey-docs.mintlify.app/_mintlify/api/og/v2?division=Assistants\u0026amp;title=Get+run\u0026amp;theme=262137c9f2583e48984715e7\u0026amp;signature=4f5cb77b2f8feda1d8f77f054fc728d1a420da758fb6355e6955c0dfef909cbc\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/portkey-docs/9Whrk-8bCE6hyGSn/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Portkey (Prisma AIRS AI Gateway) Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0891B2\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.portkey.ai/docs/aigw/api-reference/assistants/get-run\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/aigw/api-reference/assistants/get-run.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.portkey.ai/#organization\",\"name\":\"Portkey (Prisma AIRS AI Gateway) Docs\",\"url\":\"https://docs.portkey.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/portkey-docs/tHk-hgNjLbEj4dhh/images/portkey-PANW-company-logo-positive.png?fit=max\u0026auto=format\u0026n=tHk-hgNjLbEj4dhh\u0026q=85\u0026s=c5fb09014ff79616583b1d3bffe27450\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.portkey.ai/docs#website\",\"name\":\"Portkey (Prisma AIRS AI Gateway) Docs\",\"url\":\"https://docs.portkey.ai/docs\",\"publisher\":{\"@id\":\"https://docs.portkey.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.portkey.ai/docs/aigw/api-reference/assistants/get-run#webpage\",\"url\":\"https://docs.portkey.ai/docs/aigw/api-reference/assistants/get-run\",\"name\":\"Get run\",\"isPartOf\":{\"@id\":\"https://docs.portkey.ai/docs#website\"},\"breadcrumb\":{\"@id\":\"https://docs.portkey.ai/docs/aigw/api-reference/assistants/get-run#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.portkey.ai/docs/aigw/api-reference/assistants/get-run#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Inference\",\"item\":\"https://docs.portkey.ai/docs/aigw/api-reference/assistants/list-assistants\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Assistants\",\"item\":\"https://docs.portkey.ai/docs/aigw/api-reference/assistants/list-assistants\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Get run\",\"item\":\"https://docs.portkey.ai/docs/aigw/api-reference/assistants/get-run\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.portkey.ai/docs/aigw/api-reference/assistants/get-run#apireference\",\"headline\":\"Get run\",\"name\":\"Get run\",\"url\":\"https://docs.portkey.ai/docs/aigw/api-reference/assistants/get-run\",\"mainEntityOfPage\":{\"@id\":\"https://docs.portkey.ai/docs/aigw/api-reference/assistants/get-run#webpage\"},\"publisher\":{\"@id\":\"https://docs.portkey.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.portkey.ai/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Portkey (Prisma AIRS AI Gateway) Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Portkey (Prisma AIRS AI Gateway) Docs","nav":{"global":null,"versions":[{"version":"Latest","pages":[{"title":"Latest","href":"/introduction/what-is-portkey"}]},{"version":"Prisma AIRS","tabs":[{"tab":"Docs","pages":[{"title":"Docs","href":"/aigw/introduction/welcome"}]},{"tab":"Integrations","pages":[{"title":"Integrations","href":"/aigw/integrations/overview"}]},{"tab":"Self-Hosting","pages":[{"title":"Self-Hosting","href":"/aigw/self-hosting/hybrid-deployments/architecture"}]},{"tab":"Gateway APIs","groups":[{"group":"API Reference","pages":[{"title":"Introduction","href":"/aigw/api-reference/inference-api/introduction"},{"title":"Agentic Usage","href":"/aigw/api-reference/inference-api/agentic-usage"},{"title":"Supported Providers","href":"/aigw/api-reference/inference-api/supported-providers"},{"title":"Authentication","href":"/aigw/api-reference/inference-api/authentication"},{"title":"Headers","href":"/aigw/api-reference/inference-api/headers"},{"title":"Errors","href":"/aigw/api-reference/inference-api/error-codes"},{"title":"Response Schema","href":"/aigw/api-reference/inference-api/response-schema"},{"group":"More","pages":[{"title":"Gateway Config Object","href":"/aigw/api-reference/inference-api/config-object"},{"title":"OpenAPI Specification","url":"https://github.com/PaloAltoNetworks/openapi","href":"/aigw/api-reference/inference-api/open-api-specification"}]}]},{"group":"Inference","pages":[{"group":"Assistants","pages":[{"title":"","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/PaloAltoNetworks/openapi/refs/heads/main/openapi.yaml get /assistants","href":"/aigw/api-reference/assistants/list-assistants"},{"title":"","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/PaloAltoNetworks/openapi/refs/heads/main/openapi.yaml post /assistants","href":"/aigw/api-reference/assistants/create-assistant"},{"title":"","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/PaloAltoNetworks/openapi/refs/heads/main/openapi.yaml get /assistants/{assistant_id}","href":"/aigw/api-reference/assistants/get-assistant"},{"title":"","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/PaloAltoNetworks/openapi/refs/heads/main/openapi.yaml post /assistants/{assistant_id}","href":"/aigw/api-reference/assistants/modify-assistant"},{"title":"","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/PaloAltoNetworks/openapi/refs/heads/main/openapi.yaml delete /assistants/{assistant_id}","href":"/aigw/api-reference/assistants/delete-assistant"},{"title":"","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/PaloAltoNetworks/openapi/refs/heads/main/openapi.yaml post /threads","href":"/aigw/api-reference/assistants/create-thread"},{"title":"","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/PaloAltoNetworks/openapi/refs/heads/main/openapi.yaml get /threads/{thread_id}","href":"/aigw/api-reference/assistants/get-thread"},{"title":"","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/PaloAltoNetworks/openapi/refs/heads/main/openapi.yaml post /threads/{thread_id}","href":"/aigw/api-reference/assistants/modify-thread"},{"title":"","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/PaloAltoNetworks/openapi/refs/heads/main/openapi.yaml delete /threads/{thread_id}","href":"/aigw/api-reference/assistants/delete-thread"},{"title":"","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/PaloAltoNetworks/openapi/refs/heads/main/openapi.yaml get /threads/{thread_id}/messages","href":"/aigw/api-reference/assistants/list-messages"},{"title":"","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/PaloAltoNetworks/openapi/refs/heads/main/openapi.yaml post /threads/{thread_id}/messages","href":"/aigw/api-reference/assistants/create-message"},{"title":"","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/PaloAltoNetworks/openapi/refs/heads/main/openapi.yaml get /threads/{thread_id}/messages/{message_id}","href":"/aigw/api-reference/assistants/get-message"},{"title":"","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/PaloAltoNetworks/openapi/refs/heads/main/openapi.yaml post /threads/{thread_id}/messages/{message_id}","href":"/aigw/api-reference/assistants/modify-message"},{"title":"","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/PaloAltoNetworks/openapi/refs/heads/main/openapi.yaml delete /threads/{thread_id}/messages/{message_id}","href":"/aigw/api-reference/assistants/delete-message"},{"title":"","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/PaloAltoNetworks/openapi/refs/heads/main/openapi.yaml post /threads/runs","href":"/aigw/api-reference/assistants/create-thread-and-run"},{"title":"","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/PaloAltoNetworks/openapi/refs/heads/main/openapi.yaml get /threads/{thread_id}/runs","href":"/aigw/api-reference/assistants/list-runs"},{"title":"","description":"","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/PaloAltoNetworks/openapi/refs/heads/main/openapi.yaml post /threads/{thread_id}/runs","href":"/aigw/api-reference/assistants/create-run"},{"title":"","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/PaloAltoNetworks/openapi/refs/heads/main/openapi.yaml get /threads/{thread_id}/runs/{run_id}","href":"/aigw/api-reference/assistants/get-run"},{"title":"","description":"","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/PaloAltoNetworks/openapi/refs/heads/main/openapi.yaml post /threads/{thread_id}/runs/{run_id}","href":"/aigw/api-reference/assistants/modify-run"},{"title":"","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/PaloAltoNetworks/openapi/refs/heads/main/openapi.yaml post /threads/{thread_id}/runs/{run_id}/submit_tool_outputs","href":"/aigw/api-reference/assistants/submit-tool-ouputs-to-run"},{"title":"","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/PaloAltoNetworks/openapi/refs/heads/main/openapi.yaml post /threads/{thread_id}/runs/{run_id}/cancel","href":"/aigw/api-reference/assistants/cancel-run"},{"title":"","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/PaloAltoNetworks/openapi/refs/heads/main/openapi.yaml get /threads/{thread_id}/runs/{run_id}/steps","href":"/aigw/api-reference/assistants/list-run-steps"},{"title":"","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/PaloAltoNetworks/openapi/refs/heads/main/openapi.yaml get /threads/{thread_id}/runs/{run_id}/steps/{step_id}","href":"/aigw/api-reference/assistants/get-run-step"}]},{"group":"Audio","pages":[{"title":"","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/PaloAltoNetworks/openapi/refs/heads/main/openapi.yaml post /audio/speech","href":"/aigw/api-reference/audio/create-speech"},{"title":"","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/PaloAltoNetworks/openapi/refs/heads/main/openapi.yaml post /audio/transcriptions","href":"/aigw/api-reference/audio/create-transcription"},{"title":"","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/PaloAltoNetworks/openapi/refs/heads/main/openapi.yaml post /audio/translations","href":"/aigw/api-reference/audio/create-translation"}]},{"group":"Batch","pages":[{"title":"","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/PaloAltoNetworks/openapi/refs/heads/main/openapi.yaml post /batches","href":"/aigw/api-reference/batch/create-batch"},{"title":"","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/PaloAltoNetworks/openapi/refs/heads/main/openapi.yaml get /batches","href":"/aigw/api-reference/batch/list-batches"},{"title":"","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/PaloAltoNetworks/openapi/refs/heads/main/openapi.yaml get /batches/{batch_id}/output","href":"/aigw/api-reference/batch/get-batch-output"},{"title":"","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/PaloAltoNetworks/openapi/refs/heads/main/openapi.yaml get /batches/{batch_id}","href":"/aigw/api-reference/batch/retrieve-batch"},{"title":"","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/PaloAltoNetworks/openapi/refs/heads/main/openapi.yaml post /batches/{batch_id}/cancel","href":"/aigw/api-reference/batch/cancel-batch"}]},{"group":"Chat","pages":[{"title":"","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/PaloAltoNetworks/openapi/refs/heads/main/openapi.yaml post /chat/completions","href":"/aigw/api-reference/chat/create-chat-completion"}]},{"group":"Completions","pages":[{"title":"","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/PaloAltoNetworks/openapi/refs/heads/main/openapi.yaml post /completions","href":"/aigw/api-reference/completions/create-completion"}]},{"group":"Decisions","pages":[{"title":"","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/PaloAltoNetworks/openapi/refs/heads/main/openapi.yaml post /decisions","href":"/aigw/api-reference/decisions/create-decisions"}]},{"group":"Embeddings","pages":[{"title":"","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/PaloAltoNetworks/openapi/refs/heads/main/openapi.yaml post /embeddings","href":"/aigw/api-reference/embeddings/create-embedding"}]},{"group":"Files","pages":[{"title":"","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/PaloAltoNetworks/openapi/refs/heads/main/openapi.yaml get /files","href":"/aigw/api-reference/files/list-files"},{"title":"","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/PaloAltoNetworks/openapi/refs/heads/main/openapi.yaml post /files","href":"/aigw/api-reference/files/create-file"},{"title":"","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/PaloAltoNetworks/openapi/refs/heads/main/openapi.yaml delete /files/{file_id}","href":"/aigw/api-reference/files/delete-file"},{"title":"","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/PaloAltoNetworks/openapi/refs/heads/main/openapi.yaml get /files/{file_id}","href":"/aigw/api-reference/files/retrieve-file"},{"title":"","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/PaloAltoNetworks/openapi/refs/heads/main/openapi.yaml get /files/{file_id}/content","href":"/aigw/api-reference/files/download-file"}]},{"group":"Fine-Tuning","pages":[{"title":"","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/PaloAltoNetworks/openapi/refs/heads/main/openapi.yaml post /fine_tuning/jobs","href":"/aigw/api-reference/fine-tuning/create-fine-tuning-job"},{"title":"","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/PaloAltoNetworks/openapi/refs/heads/main/openapi.yaml get /fine_tuning/jobs","href":"/aigw/api-reference/fine-tuning/list-paginated-fine-tuning-jobs"},{"title":"","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/PaloAltoNetworks/openapi/refs/heads/main/openapi.yaml get /fine_tuning/jobs/{fine_tuning_job_id}","href":"/aigw/api-reference/fine-tuning/retrieve-fine-tuning-job"},{"title":"","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/PaloAltoNetworks/openapi/refs/heads/main/openapi.yaml get /fine_tuning/jobs/{fine_tuning_job_id}/events","href":"/aigw/api-reference/fine-tuning/list-fine-tuning-events"},{"title":"","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/PaloAltoNetworks/openapi/refs/heads/main/openapi.yaml post /fine_tuning/jobs/{fine_tuning_job_id}/cancel","href":"/aigw/api-reference/fine-tuning/cancel-fine-tuning-job"},{"title":"","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/PaloAltoNetworks/openapi/refs/heads/main/openapi.yaml get /fine_tuning/jobs/{fine_tuning_job_id}/checkpoints","href":"/aigw/api-reference/fine-tuning/list-fine-tuning-job-checkpoints"}]},{"group":"Images","pages":[{"title":"","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/PaloAltoNetworks/openapi/refs/heads/main/openapi.yaml post /images/generations","href":"/aigw/api-reference/images/create-image"},{"title":"","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/PaloAltoNetworks/openapi/refs/heads/main/openapi.yaml post /images/edits","href":"/aigw/api-reference/images/create-image-edit"},{"title":"","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/PaloAltoNetworks/openapi/refs/heads/main/openapi.yaml post /images/variations","href":"/aigw/api-reference/images/create-image-variation"}]},{"group":"Model Pricing","pages":[{"title":"","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/PaloAltoNetworks/openapi/refs/heads/main/openapi.yaml get /model-configs/pricing/{provider}/{model}","href":"/aigw/api-reference/model-pricing/get-model-pricing"}]},{"group":"Models","pages":[{"title":"","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/PaloAltoNetworks/openapi/refs/heads/main/openapi.yaml get /models","href":"/aigw/api-reference/models/list-models"},{"title":"","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/PaloAltoNetworks/openapi/refs/heads/main/openapi.yaml get /models/{model}","href":"/aigw/api-reference/models/retrieve-model"},{"title":"","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/PaloAltoNetworks/openapi/refs/heads/main/openapi.yaml delete /models/{model}","href":"/aigw/api-reference/models/delete-model"}]},{"group":"Moderations","pages":[{"title":"","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/PaloAltoNetworks/openapi/refs/heads/main/openapi.yaml post /moderations","href":"/aigw/api-reference/moderations/create-moderation"}]},{"group":"OCR","pages":[{"title":"","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/PaloAltoNetworks/openapi/refs/heads/main/openapi.yaml post /ocr","href":"/aigw/api-reference/ocr/create-ocr"}]},{"group":"Realtime","pages":[{"title":"","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/PaloAltoNetworks/openapi/refs/heads/main/openapi.yaml get /realtime","href":"/aigw/api-reference/realtime/connect-realtime"}]},{"group":"Rerank","pages":[{"title":"","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/PaloAltoNetworks/openapi/refs/heads/main/openapi.yaml post /rerank","href":"/aigw/api-reference/rerank/create-rerank"}]},{"group":"Responses","pages":[{"title":"","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/PaloAltoNetworks/openapi/refs/heads/main/openapi.yaml post /responses","href":"/aigw/api-reference/responses/create-response"},{"title":"","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/PaloAltoNetworks/openapi/refs/heads/main/openapi.yaml get /responses/{response_id}","href":"/aigw/api-reference/responses/get-response"},{"title":"","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/PaloAltoNetworks/openapi/refs/heads/main/openapi.yaml delete /responses/{response_id}","href":"/aigw/api-reference/responses/delete-response"},{"title":"","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/PaloAltoNetworks/openapi/refs/heads/main/openapi.yaml get /responses/{response_id}/input_items","href":"/aigw/api-reference/responses/list-input-items"}]},{"group":"Vector Stores","pages":[{"title":"","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/PaloAltoNetworks/openapi/refs/heads/main/openapi.yaml get /vector_stores","href":"/aigw/api-reference/vector-stores/list-vector-stores"},{"title":"","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/PaloAltoNetworks/openapi/refs/heads/main/openapi.yaml post /vector_stores","href":"/aigw/api-reference/vector-stores/create-vector-store"},{"title":"","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/PaloAltoNetworks/openapi/refs/heads/main/openapi.yaml get /vector_stores/{vector_store_id}","href":"/aigw/api-reference/vector-stores/get-vector-store"},{"title":"","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/PaloAltoNetworks/openapi/refs/heads/main/openapi.yaml post /vector_stores/{vector_store_id}","href":"/aigw/api-reference/vector-stores/modify-vector-store"},{"title":"","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/PaloAltoNetworks/openapi/refs/heads/main/openapi.yaml delete /vector_stores/{vector_store_id}","href":"/aigw/api-reference/vector-stores/delete-vector-store"},{"title":"","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/PaloAltoNetworks/openapi/refs/heads/main/openapi.yaml get /vector_stores/{vector_store_id}/files","href":"/aigw/api-reference/vector-stores/list-vector-store-files"},{"title":"","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/PaloAltoNetworks/openapi/refs/heads/main/openapi.yaml post /vector_stores/{vector_store_id}/files","href":"/aigw/api-reference/vector-stores/create-vector-store-file"},{"title":"","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/PaloAltoNetworks/openapi/refs/heads/main/openapi.yaml get /vector_stores/{vector_store_id}/files/{file_id}","href":"/aigw/api-reference/vector-stores/get-vector-store-file"},{"title":"","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/PaloAltoNetworks/openapi/refs/heads/main/openapi.yaml delete /vector_stores/{vector_store_id}/files/{file_id}","href":"/aigw/api-reference/vector-stores/delete-vector-store-file"},{"title":"","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/PaloAltoNetworks/openapi/refs/heads/main/openapi.yaml post /vector_stores/{vector_store_id}/file_batches","href":"/aigw/api-reference/vector-stores/create-vector-store-file-batch"},{"title":"","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/PaloAltoNetworks/openapi/refs/heads/main/openapi.yaml get /vector_stores/{vector_store_id}/file_batches/{batch_id}","href":"/aigw/api-reference/vector-stores/get-vector-store-file-batch"},{"title":"","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/PaloAltoNetworks/openapi/refs/heads/main/openapi.yaml post /vector_stores/{vector_store_id}/file_batches/{batch_id}/cancel","href":"/aigw/api-reference/vector-stores/cancel-vector-store-file-batch"},{"title":"","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/PaloAltoNetworks/openapi/refs/heads/main/openapi.yaml get /vector_stores/{vector_store_id}/file_batches/{batch_id}/files","href":"/aigw/api-reference/vector-stores/list-files-in-vector-store-batch"}]}]}]},{"tab":"Admin APIs","pages":[{"title":"Admin APIs","href":"/aigw/api-reference/admin-api/introduction"}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog/enterprise"}]},{"tab":"Help Center","pages":[{"title":"Help Center","href":"/aigw/help-center/you-do-not-have-enough-permissions"}]}]},{"version":"Virtual Keys (Deprecated)","pages":[{"title":"Virtual Keys (Deprecated)","href":"/virtual_key_old/introduction/what-is-portkey"}]}]},"basePath":"","title":"Get run - Portkey (Prisma AIRS AI Gateway) Docs","buildId":"dpl_4RHMRqtvdHvKgaEfTTjFqjzja3B6","deploymentId":"dpl_4RHMRqtvdHvKgaEfTTjFqjzja3B6","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-D_4Sesi0.js","utils-DRHeK26p.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-C6d-DUc2.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Dex7slho.js","snippetPresets-BcCEBp0Z.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-CufowNTX.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-A4lJSCIe.js","shallow-DqoHP7zn.js","getApiPlaygroundDisplay-Cku8AmtL.js","CodeSnippet-CtHQbNqc.js","CodeSnippets-CGo5Cslf.js","Page-BoJxk0m8.js","getPastedJson-M-bKdue4.js","icon-DEqCU4st.js","MethodPill-DnfSSXiJ.js","DuplicateIcon-BHu2PE8M.js","createIcon-BPsE5X7c.js","DynamicMarkdown-Dnt6YhtR.js","SectionHeading-6CtFWqMQ.js","axios-vUo_bRtp.js","Markdown-BoKe_1fI.js","clsx-DM5-sUNJ.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CkIdkovK.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-B3e6Nh_r.js"]}