"Teaching students on subjects ranging from form 0ne to form 4. Follow questions properly and do not answer any other questions apart from what you have been tasked to"
{"docsConfig":{"theme":"almond","$schema":"https://mintlify.com/docs.json","name":"Pawa AI Docs","colors":{"primary":"#FFA200","light":"#FFA200","dark":"#FFA200"},"logo":{"light":"https://mintcdn.com/sartifycoltd/ZmUMDiuhTZ-pD390/logo/pawa-logo-2.svg?fit=max\u0026auto=format\u0026n=ZmUMDiuhTZ-pD390\u0026q=85\u0026s=26ea97929a46ccbe6657a656b6447136","dark":"https://mintcdn.com/sartifycoltd/ZmUMDiuhTZ-pD390/logo/pawa-logo-2.svg?fit=max\u0026auto=format\u0026n=ZmUMDiuhTZ-pD390\u0026q=85\u0026s=26ea97929a46ccbe6657a656b6447136","href":"https://pawa-ai.com"},"favicon":"https://mintcdn.com/sartifycoltd/ZmUMDiuhTZ-pD390/favicon.svg?fit=max\u0026auto=format\u0026n=ZmUMDiuhTZ-pD390\u0026q=85\u0026s=ac15c194ae8d43ca1af971c0fcf9d7d4","navbar":{"links":[{"href":"https://api.whatsapp.com/send/?phone=255688067709\u0026text\u0026type=phone_number\u0026app_absent=0","label":"Get Support"}],"primary":{"type":"button","label":"Start Building","href":"https://builder.pawa-ai.com/dashboard"}},"footer":{"socials":{"website":"https://pawa-ai.com","github":"https://staging.pawa-ai.com/dev","linkedin":"https://staging.pawa-ai.com/dev"}},"fonts":{"family":"Nunito Sans"},"contextual":{"options":["copy","view","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"SandBox","icon":"play","href":"https://builder.pawa-ai.com/dashboard?page=sandbox"},{"anchor":"Get Your API Key","icon":"key","href":"https://builder.pawa-ai.com/dashboard?page=keys"},{"anchor":"Examples","icon":"github","href":"https://github.com/Sartify/pawa-ai-blueprints-chatbots"},{"anchor":"Blogs","icon":"book","href":"https://pawa-ai.com/blogs"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"sartifycoltd","hasAudioNarration":false,"actualSubdomain":"sartifycoltd","customDomains":["docs.pawa-ai.com"],"gitSource":{"type":"github","owner":"sartify","repo":"pawa-ai-apis-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a8f7ba2b8432d5d8af2b235","collectionId":"76767dc3-f97d-4521-b29e-726ce4c04d73","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6a8f7ba2b8432d5d8af2b235"},"entitlements":{},"buildId":"6a8f7ba2b8432d5d8af2b235","clientVersion":"0.0.3966","searchFilterCounts":[{"language":"default","tag":"Documentation","count":43},{"language":"default","tag":"API reference","count":41},{"language":"default","tag":"Capabilities","count":16},{"language":"default","tag":"Agents","count":13},{"language":"default","tag":"Transcribe","count":10},{"language":"default","tag":"Python SDK","count":10},{"language":"default","tag":"Getting Started","count":9},{"language":"default","tag":"Storage","count":8},{"language":"default","tag":"API","count":8},{"language":"default","tag":"Guides","count":6}]},"assistantConfig":{},"hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-v7-file-tree","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":"pause-universal-search-reconcile","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":"per-site-search-delta","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":"editor-private-page-search","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":"editor-nav-generations","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":"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":"editor-agent-model-picker","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":"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}],"isAtlas":false,"googleFontsInlined":true},"customCss":[{"filePath":"style.css","content":".h-6{height:2.5rem}.text-nowrap{display:none}.dark\\:bg-sky-500\\/10:is(.dark *){background-color:#000}.border-sky-500\\/20,.border-sky-500\\30 {border-color:#ffa200}.text-sky-500{--tw-text-opacity:1;color:#ffa200}.dark\\:border-sky-500\\/30:is(.dark *){border-color:#ffa200}.text-sky-900{color:#ffa200}.dark\\:text-sky-200 :is(.dark *){color:#ffa200}.max-w-xl{max-width:55rem}.dark\\:text-gray-400:is(.dark *){color:#afaeae}"}],"page":{"pagePath":"api-reference/endpoint/agents/handoff","slug":"/api-reference/endpoint/agents/handoff","pageMetadata":{"title":"Agents Handoff","openapi":"POST /agents/chat/request","description":"This endpoint is used to receive agent chat request from user through API and return the answer.","href":"/api-reference/endpoint/agents/handoff"},"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: \"This endpoint is used to receive agent chat request from user through API and return the answer.\"\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":"Agents Handoff","openapi":"POST /agents/chat/request","description":"This endpoint is used to receive agent chat request from user through API and return the answer.","href":"/api-reference/endpoint/agents/handoff"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"description":"This endpoint is used to receive agent chat request from user through API and return the answer.","requestBody":"134e79ae-5eb6-47e4-a96f-30c583081d61","responses":{"200":"a7fe1385-b9f0-4620-8da5-ea72700e0e37","400":"9843c785-8f22-40e0-bb91-e12e0a10f4bf","401":"07a78aaf-d7be-4686-b9c2-9d56649ce1e2","403":"49785926-64e4-48b6-aad3-ec149e5a8bfb","404":"6fc33885-df97-4f82-8e59-ccf274419490","429":"22f6c219-2c01-47cc-a4ba-1f1d15268350","500":"c4102d69-23d1-47a8-9801-c2c130d1359c"},"summary":"Agent chat request","tags":["Agent chat request"],"method":"post","type":"path","servers":["26023518-7cd4-4c5f-8208-7ffe0de21022"],"security":["5698ca4f-e7c7-48a5-b604-bfc0a680bf8f"],"path":"/agents/chat/request","baseUrlOptions":["https://api.pawa-ai.com/v1"],"title":"Agent chat request","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"The name of the agent","example":"TutorAI","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"description":{"type":"string","description":"The description about the agent","example":"TutorAI is an AI agent designed to assist students with their studies.","isRequired":true,"uniqueKey":"description","typeLabel":"string"},"instruction":{"type":"string","description":"What should the agent do","example":"Teaching students on subjects ranging from form 0ne to form 4. Follow questions properly and do not answer any other questions apart from what you have been tasked to","isRequired":true,"uniqueKey":"instruction","typeLabel":"string"},"intents":{"type":"array","description":"The list of intents, how the model should behave?","example":["Be gentle","Be detailed"],"isRequired":true,"uniqueKey":"intents","typeLabel":"array"},"model":{"type":"string","description":"The name of the model to use.","default":"pawa-v1-blaze-20250318","isRequired":true,"uniqueKey":"model","typeLabel":"string"},"message":{"description":"Messages to send to the model","example":{"role":"user","content":[{"type":"text","text":"What is the current president of Tanzania?"},{"type":"image_url","image_url":{"url":"https://example.com/image.png"}}]},"type":"object","items":{"type":"object","properties":{"role":{"type":"string","description":"The role of the message sender","enum":["user"],"example":"user"},"content":{"type":"array","description":"Content of the message","example":[{"type":"text","text":"Hello"}],"items":{"oneOf":[{"type":"object","title":"TextContent","required":["type","text"],"properties":{"type":{"type":"string","enum":["text"],"description":"Type of the message content"},"text":{"type":"string","description":"Text content of the message"}}},{"type":"object","title":"ImageContent","required":["type","image_url"],"properties":{"type":{"type":"string","enum":["image_url"],"description":"Type of the message content"},"image_url":{"type":"object","description":"Image URL object","required":["url"],"properties":{"url":{"type":"string"}}}}}]}}},"required":["role","content"]},"isRequired":true,"uniqueKey":"message","typeLabel":"object"},"temperature":{"type":"number","description":"Sampling temperature","default":0.1,"isRequired":true,"uniqueKey":"temperature","typeLabel":"number"},"top_p":{"type":"number","description":"Nucleus sampling (top-p)","default":0.95,"isRequired":true,"uniqueKey":"top_p","typeLabel":"number"},"max_tokens":{"type":"number","description":"Maximum number of tokens in the response","default":4096,"isRequired":true,"uniqueKey":"max_tokens","typeLabel":"number"},"frequency_penalty":{"type":"number","description":"Penalty for repeated tokens","default":0.3,"isRequired":true,"uniqueKey":"frequency_penalty","typeLabel":"number"},"presence_penalty":{"type":"number","description":"Penalty for new topic tokens","default":0.3,"isRequired":true,"uniqueKey":"presence_penalty","typeLabel":"number"},"seed":{"type":"number","description":"Random seed for reproducibility","default":2024,"isRequired":true,"uniqueKey":"seed","typeLabel":"number"},"stream":{"type":"boolean","description":"Whether to stream the response","default":false,"isRequired":true,"uniqueKey":"stream","typeLabel":"boolean"},"agents":{"description":"The list of agent IDs the main agent should use to respond","example":[2,3,4],"type":"array","items":{"type":"number","uniqueKey":"agents.items.[INDEX]","typeLabel":"number"},"uniqueKey":"agents","typeLabel":"number[]"},"memoryChat":{"description":"Previous messages in the conversation (as a JSON string)","example":[{"role":"user","content":[{"type":"text","text":"Habari yako?"}]},{"role":"assistant","content":[{"type":"text","text":"Nzuri sana, asante. Wewe je?"}]}],"type":"array","items":{"type":"object","properties":{"role":{"type":"string","description":"The role of the message sender","example":"user","enum":["user","system","assistant","tool","function"],"isRequired":true,"uniqueKey":"memoryChat.items.[INDEX].role","typeLabel":"enum\u003cstring>"},"content":{"type":"array","description":"Content of the message as a list of typed blocks. For plain text, use an array with a text block, for example: [{ \"type\": \"text\", \"text\": \"What is the current president of Tanzania?\" }].","example":[{"type":"text","text":"What is the current president of Tanzania?"},{"type":"image_url","image_url":{"url":"https://example.com/image.png"}}],"items":{"oneOf":[{"type":"object","title":"TextContent","required":["type","text"],"properties":{"type":{"type":"string","enum":["text"],"description":"Type of the message content","isRequired":true,"uniqueKey":"memoryChat.items.[INDEX].content.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","description":"Text content of the message","isRequired":true,"uniqueKey":"memoryChat.items.[INDEX].content.items.[INDEX].oneOf.0.text","typeLabel":"string"}},"uniqueKey":"memoryChat.items.[INDEX].content.items.[INDEX].oneOf.0","typeLabel":"TextContent · object"},{"type":"object","title":"ImageContent","required":["type","image_url"],"properties":{"type":{"type":"string","enum":["image_url"],"description":"Type of the message content","isRequired":true,"uniqueKey":"memoryChat.items.[INDEX].content.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"image_url":{"type":"object","description":"Image URL object","required":["url"],"properties":{"url":{"type":"string","isRequired":true,"uniqueKey":"memoryChat.items.[INDEX].content.items.[INDEX].oneOf.1.image_url.url","typeLabel":"string"}},"isRequired":true,"uniqueKey":"memoryChat.items.[INDEX].content.items.[INDEX].oneOf.1.image_url","typeLabel":"object"}},"uniqueKey":"memoryChat.items.[INDEX].content.items.[INDEX].oneOf.1","typeLabel":"ImageContent · object"}],"uniqueKey":"memoryChat.items.[INDEX].content.items.[INDEX]","typeLabel":"TextContent · object | ImageContent · object"},"isRequired":true,"uniqueKey":"memoryChat.items.[INDEX].content","typeLabel":"(TextContent · object | ImageContent · object)[]"}},"required":["role","content"],"uniqueKey":"memoryChat.items.[INDEX]","typeLabel":"object"},"uniqueKey":"memoryChat","typeLabel":"object[]"},"reasoning":{"description":"Reasoning information (as JSON string)","example":{"effort":"medium"},"type":"object","items":{"type":"object","properties":{"effort":{"type":"string","description":"Reasoning effort level","example":"medium","enum":["none","low","medium","higher"]}},"required":["effort"]},"uniqueKey":"reasoning","typeLabel":"object"},"response_format":{"type":"object","description":"Optional response format specification","required":["type","json_schema"],"example":{"type":"json_schema","json_schema":{"name":"foo","strict":true,"schema":{"type":"object","properties":{"answer":{"type":"string","pattern":"^\\d+$"}},"required":["answer"],"additionalProperties":false}}},"properties":{"type":{"type":"string","description":"The type of response format","enum":["json_schema"],"example":"json_schema","isRequired":true,"uniqueKey":"response_format.type","typeLabel":"enum\u003cstring>"},"json_schema":{"type":"object","description":"The JSON schema definition for the response","example":{"name":"foo","strict":true,"schema":{"type":"object","properties":{"answer":{"type":"string","pattern":"^\\d+$"}},"required":["answer"],"additionalProperties":false}},"isRequired":true,"uniqueKey":"response_format.json_schema","typeLabel":"object"}},"uniqueKey":"response_format","typeLabel":"object"}},"required":["name","description","instruction","intents","model","message","temperature","top_p","max_tokens","frequency_penalty","presence_penalty","seed","stream"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"name":"TutorAI","description":"TutorAI is an AI agent designed to assist students with their studies.","instruction":"Teaching students on subjects ranging from form 0ne to form 4. Follow questions properly and do not answer any other questions apart from what you have been tasked to","intents":["Be gentle","Be detailed"],"model":"pawa-v1-blaze-20250318","message":{"role":"user","content":[{"type":"text","text":"What is the current president of Tanzania?"},{"type":"image_url","image_url":{"url":"https://example.com/image.png"}}]},"temperature":0.1,"top_p":0.95,"max_tokens":4096,"frequency_penalty":0.3,"presence_penalty":0.3,"seed":2024,"stream":false,"agents":[2,3,4],"memoryChat":[{"role":"user","content":[{"type":"text","text":"Habari yako?"}]},{"role":"assistant","content":[{"type":"text","text":"Nzuri sana, asante. Wewe je?"}]}],"reasoning":{"effort":"medium"},"response_format":{"type":"json_schema","json_schema":{"name":"foo","strict":true,"schema":{"type":"object","properties":{"answer":{"type":"string","pattern":"^\\d+$"}},"required":["answer"],"additionalProperties":false}}}}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"a7fe1385-b9f0-4620-8da5-ea72700e0e37":{"description":"Agent chat request processed successfully","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true,"isRequired":true,"uniqueKey":"success","typeLabel":"boolean"},"message":{"type":"string","example":"Chat request processed successfully","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"data":{"type":"object","properties":{"request":{"type":"array","items":{"type":"object","properties":{"finish_reason":{"type":"string","example":"stop","isRequired":true,"uniqueKey":"data.request.items.[INDEX].finish_reason","typeLabel":"string"},"message":{"type":"object","properties":{"role":{"type":"string","example":"assistant","isRequired":true,"uniqueKey":"data.request.items.[INDEX].message.role","typeLabel":"string"},"content":{"type":"string","example":"Mimi ni pawa...","isRequired":true,"uniqueKey":"data.request.items.[INDEX].message.content","typeLabel":"string"}},"required":["role","content"],"isRequired":true,"uniqueKey":"data.request.items.[INDEX].message","typeLabel":"object"},"matched_stop":{"type":"number","example":106,"isRequired":true,"uniqueKey":"data.request.items.[INDEX].matched_stop","typeLabel":"number"}},"required":["finish_reason","message","matched_stop"],"uniqueKey":"data.request.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"data.request","typeLabel":"object[]"},"created":{"type":"string","example":1753304351,"isRequired":true,"uniqueKey":"data.created","typeLabel":"string"},"model":{"type":"string","example":"pawa-v1-blaze-20250318","isRequired":true,"uniqueKey":"data.model","typeLabel":"string"},"object":{"type":"string","example":"chat.request","isRequired":true,"uniqueKey":"data.object","typeLabel":"string"}},"required":["request","created","model","object"],"isRequired":true,"uniqueKey":"data","typeLabel":"object"}},"required":["success","message","data"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":true,"message":"Chat request processed successfully","data":{"request":[{"finish_reason":"stop","message":{"role":"assistant","content":"Mimi ni pawa..."},"matched_stop":106}],"created":1753304351,"model":"pawa-v1-blaze-20250318","object":"chat.request"}}}},"exampleType":"generated"}},"exampleType":"generated"},"9843c785-8f22-40e0-bb91-e12e0a10f4bf":{"description":"Bad Request","content":{"application/json":{"schema":{"required":["success","message"],"type":"object","properties":{"success":{"type":"boolean","example":false,"isRequired":true,"uniqueKey":"success","typeLabel":"boolean"},"message":{"type":"string","example":"An error occurred","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"badRequest":{"title":"badRequest","value":{"success":false,"message":"Invalid input provided"}}},"exampleType":"examples"}},"exampleType":"examples"},"07a78aaf-d7be-4686-b9c2-9d56649ce1e2":{"description":"Unauthorized","content":{"application/json":{"schema":{"required":["success","message"],"type":"object","properties":{"success":{"type":"boolean","example":false,"isRequired":true,"uniqueKey":"success","typeLabel":"boolean"},"message":{"type":"string","example":"An error occurred","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"unauthorized":{"title":"unauthorized","value":{"success":false,"message":"Unauthorized access"}}},"exampleType":"examples"}},"exampleType":"examples"},"49785926-64e4-48b6-aad3-ec149e5a8bfb":{"description":"Forbidden","content":{"application/json":{"schema":{"required":["success","message"],"type":"object","properties":{"success":{"type":"boolean","example":false,"isRequired":true,"uniqueKey":"success","typeLabel":"boolean"},"message":{"type":"string","example":"An error occurred","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"forbidden":{"title":"forbidden","value":{"success":false,"message":"You do not have permission to access this resource"}}},"exampleType":"examples"}},"exampleType":"examples"},"6fc33885-df97-4f82-8e59-ccf274419490":{"description":"Not Found","content":{"application/json":{"schema":{"required":["success","message"],"type":"object","properties":{"success":{"type":"boolean","example":false,"isRequired":true,"uniqueKey":"success","typeLabel":"boolean"},"message":{"type":"string","example":"An error occurred","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"notFound":{"title":"notFound","value":{"success":false,"message":"Resource does not exist"}}},"exampleType":"examples"}},"exampleType":"examples"},"22f6c219-2c01-47cc-a4ba-1f1d15268350":{"description":"Too Many Requests","content":{"application/json":{"schema":{"required":["success","message"],"type":"object","properties":{"success":{"type":"boolean","example":false,"isRequired":true,"uniqueKey":"success","typeLabel":"boolean"},"message":{"type":"string","example":"An error occurred","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"tooManyRequests":{"title":"tooManyRequests","value":{"success":false,"message":"Rate limit exceeded. Please try again later."}}},"exampleType":"examples"}},"exampleType":"examples"},"c4102d69-23d1-47a8-9801-c2c130d1359c":{"description":"Unexpected error","content":{"application/json":{"schema":{"required":["success","message"],"type":"object","properties":{"success":{"type":"boolean","example":false,"isRequired":true,"uniqueKey":"success","typeLabel":"boolean"},"message":{"type":"string","example":"An error occurred","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"serverError":{"title":"serverError","value":{"success":false,"message":"Internal server error"}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"5698ca4f-e7c7-48a5-b604-bfc0a680bf8f":{"bearerAuth":{"type":"http","scheme":"bearer","scopes":[]}}},"servers":{"26023518-7cd4-4c5f-8208-7ffe0de21022":{"url":"https://api.pawa-ai.com/v1","description":"Production Server"}},"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":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"sartifycoltd","siteName":"Pawa AI Docs","title":"Agents Handoff - Pawa AI Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-08-26T23:50:08.165Z","originalFileLocation":"api-reference/endpoint/agents/handoff.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"This endpoint is used to receive agent chat request from user through API and return the answer.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Pawa AI Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/sartifycoltd/tZ9ouTRT8ZY057fP/_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/sartifycoltd/tZ9ouTRT8ZY057fP/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/sartifycoltd/tZ9ouTRT8ZY057fP/_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/sartifycoltd/tZ9ouTRT8ZY057fP/_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/sartifycoltd/tZ9ouTRT8ZY057fP/_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/sartifycoltd/tZ9ouTRT8ZY057fP/_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/sartifycoltd/tZ9ouTRT8ZY057fP/_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/sartifycoltd/tZ9ouTRT8ZY057fP/_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/sartifycoltd/tZ9ouTRT8ZY057fP/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Agents Handoff - Pawa AI Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"This endpoint is used to receive agent chat request from user through API and return the answer.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Pawa AI Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.pawa-ai.com/api-reference/endpoint/agents/handoff\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://sartifycoltd.mintlify.app/_mintlify/api/og/v2?division=Agents\u0026amp;title=Agents+Handoff\u0026amp;description=This+endpoint+is+used+to+receive+agent+chat+request+from+user+through+API+and+return+the+answer.\u0026amp;theme=28703d20165e3e96c0905c3a\u0026amp;signature=e98a3eb071778cde3f0008956e4ce1dc01e05623d484f6843e8420c6be5d49ae\">\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=\"Agents Handoff - Pawa AI Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"This endpoint is used to receive agent chat request from user through API and return the answer.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://sartifycoltd.mintlify.app/_mintlify/api/og/v2?division=Agents\u0026amp;title=Agents+Handoff\u0026amp;description=This+endpoint+is+used+to+receive+agent+chat+request+from+user+through+API+and+return+the+answer.\u0026amp;theme=28703d20165e3e96c0905c3a\u0026amp;signature=e98a3eb071778cde3f0008956e4ce1dc01e05623d484f6843e8420c6be5d49ae\">\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/sartifycoltd/tZ9ouTRT8ZY057fP/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Pawa AI Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#FFA200\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.pawa-ai.com/api-reference/endpoint/agents/handoff\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/endpoint/agents/handoff.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.pawa-ai.com/#organization\",\"name\":\"Pawa AI Docs\",\"url\":\"https://docs.pawa-ai.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/sartifycoltd/ZmUMDiuhTZ-pD390/logo/pawa-logo-2.svg?fit=max\u0026auto=format\u0026n=ZmUMDiuhTZ-pD390\u0026q=85\u0026s=26ea97929a46ccbe6657a656b6447136\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.pawa-ai.com#website\",\"name\":\"Pawa AI Docs\",\"url\":\"https://docs.pawa-ai.com\",\"publisher\":{\"@id\":\"https://docs.pawa-ai.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.pawa-ai.com/api-reference/endpoint/agents/handoff#webpage\",\"url\":\"https://docs.pawa-ai.com/api-reference/endpoint/agents/handoff\",\"name\":\"Agents Handoff\",\"description\":\"This endpoint is used to receive agent chat request from user through API and return the answer.\",\"dateModified\":\"2026-08-26T23:50:08.165Z\",\"isPartOf\":{\"@id\":\"https://docs.pawa-ai.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.pawa-ai.com/api-reference/endpoint/agents/handoff#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.pawa-ai.com/api-reference/endpoint/agents/handoff#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Agents\",\"item\":\"https://docs.pawa-ai.com/api-reference/endpoint/agents/introduction\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Agents Handoff\",\"item\":\"https://docs.pawa-ai.com/api-reference/endpoint/agents/handoff\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.pawa-ai.com/api-reference/endpoint/agents/handoff#apireference\",\"headline\":\"Agents Handoff\",\"name\":\"Agents Handoff\",\"description\":\"This endpoint is used to receive agent chat request from user through API and return the answer.\",\"url\":\"https://docs.pawa-ai.com/api-reference/endpoint/agents/handoff\",\"mainEntityOfPage\":{\"@id\":\"https://docs.pawa-ai.com/api-reference/endpoint/agents/handoff#webpage\"},\"dateModified\":\"2026-08-26T23:50:08.165Z\",\"publisher\":{\"@id\":\"https://docs.pawa-ai.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.pawa-ai.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Pawa AI Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Pawa AI Docs","nav":{"global":{"anchors":[{"anchor":"SandBox","icon":"play","href":"https://builder.pawa-ai.com/dashboard?page=sandbox"},{"anchor":"Get Your API Key","icon":"key","href":"https://builder.pawa-ai.com/dashboard?page=keys"},{"anchor":"Examples","icon":"github","href":"https://github.com/Sartify/pawa-ai-blueprints-chatbots"},{"anchor":"Blogs","icon":"book","href":"https://pawa-ai.com/blogs"}]},"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":""}]},{"tab":"API reference","groups":[{"group":"Getting Started","pages":[{"title":"Introduction","href":"/api-reference/introduction"},{"title":"Authentication","href":"/api-reference/authentication"},{"title":"Limits","href":"/api-reference/limits"}]},{"group":"Models","icon":"box","pages":[{"title":"Introduction","href":"/api-reference/endpoint/models/introduction"},{"title":"Get All Models","openapi":"GET /models","href":"/api-reference/endpoint/models/list"},{"title":"Get A Single Model","openapi":"GET /models/{id}","href":"/api-reference/endpoint/models/single"}]},{"group":"Chat","icon":"message","pages":[{"title":"Introduction","href":"/api-reference/endpoint/chat/introduction"},{"title":"Send Request","openapi":"POST /chat/request","href":"/api-reference/endpoint/chat/request"}]},{"group":"Voice","icon":"microphone","pages":[{"title":"Introduction","href":"/api-reference/endpoint/voice/introduction"},{"title":"Convert Text to speech","openapi":"POST /voice/text-to-speech","href":"/api-reference/endpoint/voice/text-to-speech"},{"title":"Convert Speech to text","openapi":"POST /voice/speech-to-text","href":"/api-reference/endpoint/voice/speech-to-text"}]},{"group":"Agents","icon":"head-side-gear","pages":[{"title":"Introduction","href":"/api-reference/endpoint/agents/introduction"},{"title":"Create Agents","openapi":"POST /agents/create","href":"/api-reference/endpoint/agents/create"},{"title":"Agents Conversation","openapi":"POST /agents/chat/request","description":"This endpoint is used to receive agent chat request from user through API and return the answer.","href":"/api-reference/endpoint/agents/conversation"},{"title":"Agents Handoff","openapi":"POST /agents/chat/request","href":"/api-reference/endpoint/agents/handoff"},{"title":"Edit Agent","openapi":"PUT /agents/update/{id}","description":"This endpoint used to update the custom agent in the Pawa AI Platform.","href":"/api-reference/endpoint/agents/update"},{"title":"Delete Agent","openapi":"DELETE /agents/delete/{id}","href":"/api-reference/endpoint/agents/delete"},{"title":"Get All Agents","openapi":"GET /agents/view","href":"/api-reference/endpoint/agents/view"},{"title":"Get Single Agent","openapi":"GET /agents/view/{id}","href":"/api-reference/endpoint/agents/view-single"}]},{"group":"Vectors","icon":"database","pages":[{"title":"Introduction","href":"/api-reference/endpoint/vectors/introduction"},{"title":"Create Embeddings","openapi":"POST /vectors/embedding","href":"/api-reference/endpoint/vectors/embeddings"}]},{"group":"Documents","icon":"file","pages":[{"title":"Introduction","href":"/api-reference/endpoint/documents/introduction"},{"title":"Parse Documents","openapi":"POST /documents/parse","href":"/api-reference/endpoint/documents/parse"}]},{"group":"Storage","icon":"server","pages":[{"title":"Introduction","href":"/api-reference/endpoint/storage/introduction"},{"title":"Create Knowledge Base","openapi":"POST /store/knowledge-base","href":"/api-reference/endpoint/storage/knowledge-base/create"},{"title":"Get All Knowledge Bases","openapi":"GET /store/knowledge-base","href":"/api-reference/endpoint/storage/knowledge-base/get-all"},{"title":"Semantic Retrieval","openapi":"POST /store/knowledge-base/semantic-retrieval","href":"/api-reference/endpoint/storage/knowledge-base/semantic-retrival"},{"title":"Get a Knowledge Base","openapi":"GET /store/knowledge-base/{id}","href":"/api-reference/endpoint/storage/knowledge-base/get-single"},{"title":"Delete a Knowledge Base","openapi":"DELETE /store/knowledge-base/{id}","href":"/api-reference/endpoint/storage/knowledge-base/delete"},{"title":"Edit a Knowledge Base","openapi":"PUT /store/knowledge-base/{id}","href":"/api-reference/endpoint/storage/knowledge-base/edit"},{"title":"Get Files of KB","openapi":"GET /store/files/knowledge-base/{id}","href":"/api-reference/endpoint/storage/knowledge-base/get-files"}]},{"group":"Transcribe","icon":"closed-captioning","pages":[{"title":"Introduction","href":"/api-reference/endpoint/transcribe/introduction"},{"title":"Create Workspace","openapi":"POST /transcribe/workspace","href":"/api-reference/endpoint/transcribe/create-workspace"},{"title":"Get All Workspaces","openapi":"GET /transcribe/workspace","href":"/api-reference/endpoint/transcribe/get-workspaces"},{"title":"Get A Single Workspace","openapi":"GET /transcribe/workspace/{id}","href":"/api-reference/endpoint/transcribe/get-workspace"},{"title":"Update Workspace","openapi":"PUT /transcribe/workspace/{id}","href":"/api-reference/endpoint/transcribe/update-workspace"},{"title":"Delete Workspace","openapi":"DELETE /transcribe/workspace/{id}","href":"/api-reference/endpoint/transcribe/delete-workspace"},{"title":"Upload Transcriptions","openapi":"POST /transcribe/workspace/{id}/transcriptions","href":"/api-reference/endpoint/transcribe/upload-transcriptions"},{"title":"Get Workspace Transcriptions","openapi":"GET /transcribe/workspace/{id}/transcriptions","href":"/api-reference/endpoint/transcribe/get-transcriptions"},{"title":"Update Transcription","openapi":"PATCH /transcribe/workspace/{id}/transcriptions/{transcriptionId}","href":"/api-reference/endpoint/transcribe/update-transcription"},{"title":"Delete Transcription","openapi":"DELETE /transcribe/workspace/{id}/transcriptions/{transcriptionId}","href":"/api-reference/endpoint/transcribe/delete-transcription"}]}]},{"tab":"Python SDK","pages":[{"title":"Python SDK","href":"/python-sdk/introduction"}]}]},"title":"Agents Handoff - Pawa AI Docs","buildId":"dpl_cadrRc5H9XQiJQbDFN5mcYRs2PAj","deploymentId":"dpl_cadrRc5H9XQiJQbDFN5mcYRs2PAj","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DKJwRUt2.js","utils-CWD_VS3u.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-oFjciODD.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-C76WsxC3.js","snippetPresets-DvPMxpX_.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-CuNQfndH.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BVFpVUoF.js","shallow-t59Jg5Kr.js","getApiPlaygroundDisplay-C_JZ4amX.js","CodeSnippet-CLRDnx_h.js","CodeSnippets-C2myU4kc.js","Page-7TwLLapg.js","getPastedJson-B-JaVXw7.js","icon-BA-iDhH3.js","MethodPill-D4qZABFp.js","DuplicateIcon-THIDKO1O.js","createIcon-CYYJwgFd.js","DynamicMarkdown-UGQuxDKp.js","SectionHeading-jYELb23h.js","axios-vUo_bRtp.js","Markdown-DKsLa3wy.js","clsx-CefdjKz2.js","lib--scc4DXi.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BaREnp3o.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-sgx_0XzF.js"]}