Exactly one event. What it does depends on its type — send a message, add context without starting a turn, answer a tool call, approve, steer or cancel.
Required array length: 1 element
Show child attributes
Response
Send input to a session: a message, a cancellation, or a tool result.
For input.context: whether a running agent took it there and then. false means the sandbox was not up — not that the text was lost. It is in the transcript either way and the next turn is built with it, so a room can give an agent context before it has ever spoken.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Gobare Agent API Docs","colors":{"primary":"#7a766d","light":"#f4ebdc","dark":"#111110"},"logo":{"light":"https://mintcdn.com/gobare-dev/Ph-62MdyPaY-BauC/logo/ink-dark.svg?fit=max\u0026auto=format\u0026n=Ph-62MdyPaY-BauC\u0026q=85\u0026s=b0cb33c0a05e08e6d5535259331c08c1","dark":"https://mintcdn.com/gobare-dev/Ph-62MdyPaY-BauC/logo/ink-light.svg?fit=max\u0026auto=format\u0026n=Ph-62MdyPaY-BauC\u0026q=85\u0026s=f6887af724be25489e30ec3edd44cb35"},"favicon":"https://mintcdn.com/gobare-dev/Ph-62MdyPaY-BauC/favicon.png?fit=max\u0026auto=format\u0026n=Ph-62MdyPaY-BauC\u0026q=85\u0026s=04dabf5cd88a4daa0950139b6ef9b66b","navbar":{"links":[{"href":"https://gobare.dev","label":"Gobare"},{"href":"https://github.com/MishaBear94/gobare_tools","label":"GitHub"}],"primary":{"type":"button","label":"Log in","href":"https://app.gobare.dev"}},"footer":{"socials":{"website":"https://gobare.dev","github":"https://github.com/MishaBear94/gobare_tools","x":"https://x.com/markovvxow","discord":"https://discord.gg/fTkEJQNmjg"}},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"gobare-dev","hasAudioNarration":false,"actualSubdomain":"gobare-dev","customDomains":["docs.gobare.dev"],"gitSource":{"type":"github","owner":"mishabear94","repo":"gobare_docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"latestBuiltDeploymentHistoryId":"6aba7ecdb873ba1b8696bd99","collectionId":"66c4c816-726c-4dcd-aefa-e46ddf65fb1c","liveDeploymentHistoryId":"6aba7ecdb873ba1b8696bd99","schemaVersion":"v3"},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"DISABLED"},"NARRATION":{"status":"DISABLED"}},"buildId":"6abb2f4a67be2e4d304d95ee","clientVersion":"0.0.4044","searchFilterCounts":[{"language":"default","tag":"Endpoints","count":44},{"language":"default","tag":"API Reference","count":44},{"language":"default","tag":"Guides","count":14},{"language":"default","tag":"Start here","count":9},{"language":"default","tag":"Integrations","count":8},{"language":"default","tag":"Running a session","count":7},{"language":"default","tag":"About this API","count":4},{"language":"default","tag":"When things go wrong","count":3},{"language":"default","tag":"API reference","count":2},{"language":"default","tag":"Client libraries","count":2}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/send-input-to-a-session","slug":"/api-reference/send-input-to-a-session","pageMetadata":{"title":"Send input to a session","description":"Send input to a session: a message, a cancellation, or a tool result.","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/sessions/{session_id}/events","href":"/api-reference/send-input-to-a-session","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Send input to a session: a message, a cancellation, or a tool result.\"\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":"Send input to a session","description":"Send input to a session: a message, a cancellation, or a tool result.","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/sessions/{session_id}/events","href":"/api-reference/send-input-to-a-session","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Send input to a session","description":"Send input to a session: a message, a cancellation, or a tool result.","operationId":"post_sessions_session_id_events","security":["58c49eb3-e14e-49f8-b5e2-d137010046d1"],"parameters":["91fa8540-2ce4-49a3-96f5-f51597a866fe"],"x-any-required-scope":["sessions:write","tools:respond"],"requestBody":"ce17f7aa-479a-45d9-8ce0-e62950697cbc","responses":{"202":"a288ffea-312e-44dc-8977-f90653c20e36","400":"7ddcfca7-93e5-4942-a6bb-04d2b08fb321","401":"05975e54-4aff-45e1-b085-d7ef74df2815","403":"fffb4e3b-5bd3-4198-837b-4898b056a299","404":"00d73a32-9609-4e4c-b99c-e48e8f032506","409":"a03d2c29-91d4-4ca2-bc92-4230b028e9a0","429":"d0defe6a-23a8-43c1-8842-0a0c135ab5bf","500":"f57ae76b-9081-4cca-9ed4-65c5f16cec64"},"method":"post","type":"path","servers":["4214d7e8-ac0f-452f-9246-001c2ec9e7f9"],"path":"/v1/sessions/{session_id}/events","baseUrlOptions":["https://api.{domain}"],"title":"Send input to a session","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"91fa8540-2ce4-49a3-96f5-f51597a866fe":{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","maxLength":255,"isRequired":false,"description":"Retrying with the same key replays the first answer instead of acting again.","uniqueKey":"","typeLabel":"string"},"description":"Retrying with the same key replays the first answer instead of acting again."}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","example":{"events":[{"type":"input.message","content":"Summarise what you found."}]},"required":["events"],"description":"One event per request. Batching has no meaning while the vocabulary is this small.","properties":{"events":{"type":"array","description":"Exactly one event. What it does depends on its `type` — send a message, add context without starting a turn, answer a tool call, approve, steer or cancel.","minItems":1,"maxItems":1,"items":{"type":"object","required":["type"],"description":"The six things you can send a session. One per request.","properties":{"type":{"type":"string","enum":["input.message","input.context","input.tool_result","input.approval","input.question_answer","input.steer","input.cancel"],"isRequired":true,"uniqueKey":"events.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"content":{"description":"For `input.message`, `input.context` and `input.steer`: a string, or an array of `{type,text}` parts.","uniqueKey":"events.items.[INDEX].content","typeLabel":"any"},"turn_id":{"type":"string","description":"For `input.tool_result`: copied from the required action.","uniqueKey":"events.items.[INDEX].turn_id","typeLabel":"string"},"call_id":{"type":"string","description":"For `input.tool_result`, `input.approval` and `input.question_answer`: copied from the required action.","uniqueKey":"events.items.[INDEX].call_id","typeLabel":"string"},"success":{"type":"boolean","description":"For `input.tool_result`: whether your function worked.","uniqueKey":"events.items.[INDEX].success","typeLabel":"boolean"},"output":{"type":"string","description":"For a successful `input.tool_result`. Serialise JSON yourself.","uniqueKey":"events.items.[INDEX].output","typeLabel":"string"},"error":{"type":"string","description":"For a failed `input.tool_result`. Never send a thrown message — it reaches the model.","uniqueKey":"events.items.[INDEX].error","typeLabel":"string"},"approved":{"type":"boolean","description":"For `input.approval`: whether the agent may proceed. Required, and not defaulted either way — denying something you meant to allow is a mistake, and the other direction is worse.","uniqueKey":"events.items.[INDEX].approved","typeLabel":"boolean"},"answer":{"type":"string","description":"For `input.question_answer`: what to tell the agent. It reaches the model as written.","uniqueKey":"events.items.[INDEX].answer","typeLabel":"string"}},"uniqueKey":"events.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"events","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"events":[{"type":"input.message","content":"Summarise what you found."}]}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"a288ffea-312e-44dc-8977-f90653c20e36":{"description":"Send input to a session: a message, a cancellation, or a tool result.","content":{"application/json":{"schema":{"type":"object","required":["object","session_id","type"],"properties":{"object":{"type":"string","const":"input.accepted","description":"Always `input.accepted`. Names the shape, so a value can be identified without knowing which call returned it.","isRequired":true,"uniqueKey":"object","typeLabel":"string"},"session_id":{"type":"string","isRequired":true,"uniqueKey":"session_id","typeLabel":"string"},"type":{"type":"string","enum":["input.message","input.context","input.cancel","input.tool_result","input.steer"],"isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"outcome":{"type":"string","enum":["accepted","already_resolved","not_delivered"],"description":"For input.tool_result.","uniqueKey":"outcome","typeLabel":"enum\u003cstring>"},"queued":{"type":"boolean","description":"The session was busy; the message is durably queued and will run.","uniqueKey":"queued","typeLabel":"boolean"},"queue_position":{"oneOf":[{"type":"integer","uniqueKey":"queue_position.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"queue_position.oneOf.1","typeLabel":"null"}],"uniqueKey":"queue_position","typeLabel":"integer | null"},"delivered":{"type":"boolean","description":"For `input.context`: whether a running agent took it there and then. `false` means the sandbox was not up — **not** that the text was lost. It is in the transcript either way and the next turn is built with it, so a room can give an agent context before it has ever spoken.","uniqueKey":"delivered","typeLabel":"boolean"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"object":"input.accepted","session_id":"\u003cstring>","type":"input.message","outcome":"accepted","queued":true,"queue_position":123,"delivered":true}}},"exampleType":"generated"}},"exampleType":"generated"},"7ddcfca7-93e5-4942-a6bb-04d2b08fb321":{"description":"`invalid_request`. A field this endpoint does not read, a field of the wrong shape, a query parameter it does not take, or a body past the size ceiling. Refused rather than ignored: a setting you believe you made is one we really made.","content":{"application/json":{"schema":{"type":"object","required":["error"],"description":"Every refusal this API makes, in one shape.","properties":{"error":{"description":"Always present on a failure, and the only thing present.","type":"object","required":["code","message","request_id"],"properties":{"code":{"type":"string","enum":["invalid_request","authentication_error","permission_denied","not_found","method_not_allowed","conflict","queue_full","rate_limit_exceeded","project_limit_exceeded","context_length_exceeded","provider_error","provider_unauthorized","sandbox_error","sandbox_unavailable","directory_unavailable","workspace_recovery_failed","bridge_incompatible","internal_error"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"request_id":{"type":"string","description":"Also on the x-request-id header. Quote it when reporting a problem.","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"invalid_request","message":"\u003cstring>","request_id":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"05975e54-4aff-45e1-b085-d7ef74df2815":{"description":"The access token is missing, unrecognised, expired or revoked.","content":{"application/json":{"schema":{"type":"object","required":["error"],"description":"Every refusal this API makes, in one shape.","properties":{"error":{"description":"Always present on a failure, and the only thing present.","type":"object","required":["code","message","request_id"],"properties":{"code":{"type":"string","enum":["invalid_request","authentication_error","permission_denied","not_found","method_not_allowed","conflict","queue_full","rate_limit_exceeded","project_limit_exceeded","context_length_exceeded","provider_error","provider_unauthorized","sandbox_error","sandbox_unavailable","directory_unavailable","workspace_recovery_failed","bridge_incompatible","internal_error"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"request_id":{"type":"string","description":"Also on the x-request-id header. Quote it when reporting a problem.","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"invalid_request","message":"\u003cstring>","request_id":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"fffb4e3b-5bd3-4198-837b-4898b056a299":{"description":"The token is valid but may not perform this call. The message names the scope it wanted.","content":{"application/json":{"schema":{"type":"object","required":["error"],"description":"Every refusal this API makes, in one shape.","properties":{"error":{"description":"Always present on a failure, and the only thing present.","type":"object","required":["code","message","request_id"],"properties":{"code":{"type":"string","enum":["invalid_request","authentication_error","permission_denied","not_found","method_not_allowed","conflict","queue_full","rate_limit_exceeded","project_limit_exceeded","context_length_exceeded","provider_error","provider_unauthorized","sandbox_error","sandbox_unavailable","directory_unavailable","workspace_recovery_failed","bridge_incompatible","internal_error"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"request_id":{"type":"string","description":"Also on the x-request-id header. Quote it when reporting a problem.","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"invalid_request","message":"\u003cstring>","request_id":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"00d73a32-9609-4e4c-b99c-e48e8f032506":{"description":"No such endpoint, or no such object under this token's organization. Another organization's id is indistinguishable from one that never existed, deliberately.","content":{"application/json":{"schema":{"type":"object","required":["error"],"description":"Every refusal this API makes, in one shape.","properties":{"error":{"description":"Always present on a failure, and the only thing present.","type":"object","required":["code","message","request_id"],"properties":{"code":{"type":"string","enum":["invalid_request","authentication_error","permission_denied","not_found","method_not_allowed","conflict","queue_full","rate_limit_exceeded","project_limit_exceeded","context_length_exceeded","provider_error","provider_unauthorized","sandbox_error","sandbox_unavailable","directory_unavailable","workspace_recovery_failed","bridge_incompatible","internal_error"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"request_id":{"type":"string","description":"Also on the x-request-id header. Quote it when reporting a problem.","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"invalid_request","message":"\u003cstring>","request_id":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"a03d2c29-91d4-4ca2-bc92-4230b028e9a0":{"description":"The session's state does not allow this call, or an identical request is already in flight under the same Idempotency-Key.","content":{"application/json":{"schema":{"type":"object","required":["error"],"description":"Every refusal this API makes, in one shape.","properties":{"error":{"description":"Always present on a failure, and the only thing present.","type":"object","required":["code","message","request_id"],"properties":{"code":{"type":"string","enum":["invalid_request","authentication_error","permission_denied","not_found","method_not_allowed","conflict","queue_full","rate_limit_exceeded","project_limit_exceeded","context_length_exceeded","provider_error","provider_unauthorized","sandbox_error","sandbox_unavailable","directory_unavailable","workspace_recovery_failed","bridge_incompatible","internal_error"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"request_id":{"type":"string","description":"Also on the x-request-id header. Quote it when reporting a problem.","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"invalid_request","message":"\u003cstring>","request_id":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"d0defe6a-23a8-43c1-8842-0a0c135ab5bf":{"description":"`rate_limit_exceeded` — the token is past its allowance for this bucket; honour `Retry-After`. Or `queue_full` — too many messages are already waiting behind the current turn. Branch on `code`.","content":{"application/json":{"schema":{"type":"object","required":["error"],"description":"Every refusal this API makes, in one shape.","properties":{"error":{"description":"Always present on a failure, and the only thing present.","type":"object","required":["code","message","request_id"],"properties":{"code":{"type":"string","enum":["invalid_request","authentication_error","permission_denied","not_found","method_not_allowed","conflict","queue_full","rate_limit_exceeded","project_limit_exceeded","context_length_exceeded","provider_error","provider_unauthorized","sandbox_error","sandbox_unavailable","directory_unavailable","workspace_recovery_failed","bridge_incompatible","internal_error"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"request_id":{"type":"string","description":"Also on the x-request-id header. Quote it when reporting a problem.","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"invalid_request","message":"\u003cstring>","request_id":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"f57ae76b-9081-4cca-9ed4-65c5f16cec64":{"description":"An unexpected error. Quote the request id.","content":{"application/json":{"schema":{"type":"object","required":["error"],"description":"Every refusal this API makes, in one shape.","properties":{"error":{"description":"Always present on a failure, and the only thing present.","type":"object","required":["code","message","request_id"],"properties":{"code":{"type":"string","enum":["invalid_request","authentication_error","permission_denied","not_found","method_not_allowed","conflict","queue_full","rate_limit_exceeded","project_limit_exceeded","context_length_exceeded","provider_error","provider_unauthorized","sandbox_error","sandbox_unavailable","directory_unavailable","workspace_recovery_failed","bridge_incompatible","internal_error"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"request_id":{"type":"string","description":"Also on the x-request-id header. Quote it when reporting a problem.","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"invalid_request","message":"\u003cstring>","request_id":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"58c49eb3-e14e-49f8-b5e2-d137010046d1":{"accessToken":{"type":"http","scheme":"bearer","description":"A `gbr_pat_` access token. Scopes are recorded on the token when it is minted.","scopes":[]}}},"servers":{"4214d7e8-ac0f-452f-9246-001c2ec9e7f9":{"url":"https://api.{domain}","variables":{"domain":{"default":"gobare.dev"}}}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"A `gbr_pat_` access token. Scopes are recorded on the token when it is minted.","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"A `gbr_pat_` access token. Scopes are recorded on the token when it is minted.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"accessToken","name":"Authorization"}],"title":"accessToken"}]},"originalFileLocation":"openapi.json"},"subdomain":"gobare-dev","siteName":"Gobare Agent API Docs","title":"Send input to a session - Gobare Agent API Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-25T10:12:33.143Z","originalFileLocation":"api-reference/send-input-to-a-session.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=\"Send input to a session: a message, a cancellation, or a tool result.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Gobare Agent API 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/gobare-dev/DajiJMR4Tez08wMz/_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/gobare-dev/DajiJMR4Tez08wMz/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/gobare-dev/DajiJMR4Tez08wMz/_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/gobare-dev/DajiJMR4Tez08wMz/_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/gobare-dev/DajiJMR4Tez08wMz/_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/gobare-dev/DajiJMR4Tez08wMz/_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/gobare-dev/DajiJMR4Tez08wMz/_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/gobare-dev/DajiJMR4Tez08wMz/_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/gobare-dev/DajiJMR4Tez08wMz/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Send input to a session - Gobare Agent API Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Send input to a session: a message, a cancellation, or a tool result.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Gobare Agent API Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.gobare.dev/api-reference/send-input-to-a-session\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://gobare-dev.mintlify.app/_mintlify/api/og/v2?division=API+Reference\u0026amp;title=Send+input+to+a+session\u0026amp;description=Send+input+to+a+session%3A+a+message%2C+a+cancellation%2C+or+a+tool+result.\u0026amp;theme=6f5c05db30b78253e714dbc4\u0026amp;signature=87b114279b54130a224c55e73452604a89d3153634f61987fecc950b49ec5532\">\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=\"Send input to a session - Gobare Agent API Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Send input to a session: a message, a cancellation, or a tool result.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://gobare-dev.mintlify.app/_mintlify/api/og/v2?division=API+Reference\u0026amp;title=Send+input+to+a+session\u0026amp;description=Send+input+to+a+session%3A+a+message%2C+a+cancellation%2C+or+a+tool+result.\u0026amp;theme=6f5c05db30b78253e714dbc4\u0026amp;signature=87b114279b54130a224c55e73452604a89d3153634f61987fecc950b49ec5532\">\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/gobare-dev/DajiJMR4Tez08wMz/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Gobare Agent API Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#7a766d\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.gobare.dev/api-reference/send-input-to-a-session\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/send-input-to-a-session.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.gobare.dev/#organization\",\"name\":\"Gobare Agent API Docs\",\"url\":\"https://docs.gobare.dev\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/gobare-dev/Ph-62MdyPaY-BauC/logo/ink-dark.svg?fit=max\u0026auto=format\u0026n=Ph-62MdyPaY-BauC\u0026q=85\u0026s=b0cb33c0a05e08e6d5535259331c08c1\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.gobare.dev#website\",\"name\":\"Gobare Agent API Docs\",\"url\":\"https://docs.gobare.dev\",\"publisher\":{\"@id\":\"https://docs.gobare.dev/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.gobare.dev/api-reference/send-input-to-a-session#webpage\",\"url\":\"https://docs.gobare.dev/api-reference/send-input-to-a-session\",\"name\":\"Send input to a session\",\"description\":\"Send input to a session: a message, a cancellation, or a tool result.\",\"dateModified\":\"2026-09-25T10:12:33.143Z\",\"isPartOf\":{\"@id\":\"https://docs.gobare.dev#website\"},\"breadcrumb\":{\"@id\":\"https://docs.gobare.dev/api-reference/send-input-to-a-session#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.gobare.dev/api-reference/send-input-to-a-session#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Endpoints\",\"item\":\"https://docs.gobare.dev/api-reference/check-the-access-token\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"API Reference\",\"item\":\"https://docs.gobare.dev/api-reference/check-the-access-token\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Send input to a session\",\"item\":\"https://docs.gobare.dev/api-reference/send-input-to-a-session\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.gobare.dev/api-reference/send-input-to-a-session#apireference\",\"headline\":\"Send input to a session\",\"name\":\"Send input to a session\",\"description\":\"Send input to a session: a message, a cancellation, or a tool result.\",\"url\":\"https://docs.gobare.dev/api-reference/send-input-to-a-session\",\"mainEntityOfPage\":{\"@id\":\"https://docs.gobare.dev/api-reference/send-input-to-a-session#webpage\"},\"dateModified\":\"2026-09-25T10:12:33.143Z\",\"publisher\":{\"@id\":\"https://docs.gobare.dev/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.gobare.dev#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Gobare Agent API Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Gobare Agent API Docs","nav":{"global":null,"groups":[{"group":"Start here","pages":[{"title":"Gobare Agent API","href":"/index"},{"title":"The agent is pi","href":"/pi"},{"title":"How Gobare is different","href":"/why-gobare"},{"title":"Build without writing code","href":"/without-code"},{"title":"Quickstart","href":"/quickstart"},{"title":"Production integration","href":"/production-integration"},{"title":"Model credentials: bring your own key","sidebarTitle":"Model credentials","href":"/model-credentials"},{"title":"Sessions","href":"/sessions"},{"title":"Agents","href":"/saved-agents"}]},{"group":"Running a session","pages":[{"title":"Input","href":"/input"},{"title":"Events: a resumable agent event stream","sidebarTitle":"Events","href":"/events"},{"title":"Tools: your functions, MCP servers, and a browser in the sandbox","sidebarTitle":"Tools","href":"/tools"},{"title":"Required actions","href":"/required-actions"},{"title":"Webhooks for long-running agents","sidebarTitle":"Webhooks","href":"/webhooks"},{"title":"Idempotency","href":"/idempotency"},{"title":"Preview","href":"/preview"}]},{"group":"Guides","pages":[{"title":"Guides","href":"/guides"},{"title":"Turn documents into structured JSON","href":"/guides/extracting-structured-data"},{"title":"Put an agent behind your own API","href":"/guides/an-agent-behind-your-api"},{"title":"Human-in-the-loop for agents: require approval over an API","href":"/guides/approvals-in-your-product"},{"title":"Stream the agent's progress into your UI","href":"/guides/showing-the-agents-work"},{"title":"Continue work across hours and rounds","href":"/guides/work-that-spans-hours"},{"title":"Swap model providers without changing your code","href":"/guides/switching-model-providers"},{"title":"Let several agents work on one thing","href":"/guides/agents-that-work-together"},{"title":"Keep a crew honest","href":"/guides/keep-a-crew-honest"},{"title":"Run a fleet of ticket-driven agents in parallel","href":"/guides/parallel-ticket-fleet"},{"title":"Give an agent your tracker","href":"/guides/give-an-agent-your-tracker"},{"title":"Fix a GitHub issue and open the pull request","href":"/guides/fix-a-github-issue"},{"title":"Take over the machine the agent is working on","href":"/guides/take-over-the-agents-machine"},{"title":"Publish an app and let a visitor wake it","href":"/guides/wake-a-published-app"}]},{"group":"Integrations","pages":[{"title":"Integrations","href":"/integrations/overview"},{"title":"Run a session inside a Temporal workflow","href":"/integrations/temporal"},{"title":"Give your agent framework a computer","href":"/integrations/agent-frameworks"},{"title":"Review pull requests in GitHub Actions","href":"/integrations/github-actions"},{"title":"Put an agent in a Slack thread","href":"/integrations/slack"},{"title":"Receive webhooks on Cloudflare Workers","href":"/integrations/cloudflare-workers"},{"title":"Meter usage into Stripe and Prometheus","href":"/integrations/usage-metering"},{"title":"Test a webhook handler without production","href":"/integrations/testing-webhook-handlers"}]},{"group":"Client libraries","pages":[{"title":"TypeScript client","href":"/typescript"},{"title":"Python client","href":"/python"}]},{"group":"When things go wrong","pages":[{"title":"Troubleshooting","href":"/troubleshooting"},{"title":"Errors","href":"/errors"},{"title":"Limits","href":"/limits"}]},{"group":"API reference","pages":[{"title":"Pagination","href":"/pagination"},{"title":"Objects","href":"/objects"}]},{"group":"About this API","pages":[{"title":"Changelog","href":"/changelog"},{"title":"Design decisions","href":"/design-decisions"},{"title":"The session loop","href":"/run-session"},{"title":"Build an integration","href":"/AGENTS"}]},{"group":"Endpoints","pages":[{"group":"API Reference","pages":[{"title":"Check the access token","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/health","href":"/api-reference/check-the-access-token"},{"title":"List sessions","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/sessions","href":"/api-reference/list-sessions"},{"title":"Create a session","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/sessions","href":"/api-reference/create-a-session"},{"title":"Retrieve a session","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/sessions/{session_id}","href":"/api-reference/retrieve-a-session"},{"title":"Delete a session","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/sessions/{session_id}","href":"/api-reference/delete-a-session"},{"title":"Update a session","deprecated":null,"version":null,"openapi":"/openapi.json patch /v1/sessions/{session_id}","href":"/api-reference/update-a-session"},{"title":"List turns","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/sessions/{session_id}/turns","href":"/api-reference/list-turns"},{"title":"Retrieve a turn","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/sessions/{session_id}/turns/{turn_id}","href":"/api-reference/retrieve-a-turn"},{"title":"Stream a session's events","description":"Stream a session's events, resumable with Last-Event-ID.","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/sessions/{session_id}/events","href":"/api-reference/stream-a-sessions-events"},{"title":"Send input to a session","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/sessions/{session_id}/events","href":"/api-reference/send-input-to-a-session"},{"title":"Stream every session's events","description":"Stream every session the organization owns.","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/events","href":"/api-reference/stream-every-sessions-events"},{"title":"Retrieve sandbox usage","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/sessions/{session_id}/usage","href":"/api-reference/retrieve-sandbox-usage"},{"title":"List items","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/sessions/{session_id}/items","href":"/api-reference/list-items"},{"title":"Fork a session","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/sessions/{session_id}/fork","href":"/api-reference/fork-a-session"},{"title":"Read a session's tools","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/sessions/{session_id}/tools","href":"/api-reference/read-a-sessions-tools"},{"title":"Replace a session's tools","deprecated":null,"version":null,"openapi":"/openapi.json put /v1/sessions/{session_id}/tools","href":"/api-reference/replace-a-sessions-tools"},{"title":"List webhooks","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/webhooks","href":"/api-reference/list-webhooks"},{"title":"Create a webhook","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/webhooks","href":"/api-reference/create-a-webhook"},{"title":"Delete a webhook","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/webhooks/{webhook_id}","href":"/api-reference/delete-a-webhook"},{"title":"List artifacts","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/sessions/{session_id}/artifacts","href":"/api-reference/list-artifacts"},{"title":"Download all artifacts","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/sessions/{session_id}/artifacts/archive","href":"/api-reference/download-all-artifacts"},{"title":"Retrieve an artifact","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/sessions/{session_id}/artifacts/{artifact_id}","href":"/api-reference/retrieve-an-artifact"},{"title":"Delete an artifact","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/sessions/{session_id}/artifacts/{artifact_id}","href":"/api-reference/delete-an-artifact"},{"title":"Download an artifact","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/sessions/{session_id}/artifacts/{artifact_id}/content","href":"/api-reference/download-an-artifact"},{"title":"List workspace files","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/sessions/{session_id}/files","href":"/api-reference/list-workspace-files"},{"title":"Write workspace files","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/sessions/{session_id}/files","href":"/api-reference/write-workspace-files"},{"title":"Read a workspace file","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/sessions/{session_id}/files/content","href":"/api-reference/read-a-workspace-file"},{"title":"Refresh the workspace","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/sessions/{session_id}/files/refresh","href":"/api-reference/refresh-the-workspace"},{"title":"List agents","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/agents","href":"/api-reference/list-agents"},{"title":"Create or replace an agent","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/agents","href":"/api-reference/create-or-replace-an-agent"},{"title":"Retrieve an agent","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/agents/{agent_id}","href":"/api-reference/retrieve-an-agent"},{"title":"Delete an agent","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/agents/{agent_id}","href":"/api-reference/delete-an-agent"},{"title":"List environment templates","deprecated":true,"version":null,"openapi":"/openapi.json get /v1/environment-templates","href":"/api-reference/list-environment-templates"},{"title":"Create an environment template","deprecated":true,"version":null,"openapi":"/openapi.json post /v1/environment-templates","href":"/api-reference/create-an-environment-template"},{"title":"Retrieve an environment template","deprecated":true,"version":null,"openapi":"/openapi.json get /v1/environment-templates/{template_id}","href":"/api-reference/retrieve-an-environment-template"},{"title":"Delete an environment template","deprecated":true,"version":null,"openapi":"/openapi.json delete /v1/environment-templates/{template_id}","href":"/api-reference/delete-an-environment-template"},{"title":"List environment profiles","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/environment-profiles","href":"/api-reference/list-environment-profiles"},{"title":"List model providers","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/model-connectors","href":"/api-reference/list-model-providers"},{"title":"List model credentials","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/model-credentials","href":"/api-reference/list-model-credentials"},{"title":"Connect a model credential","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/model-credentials","href":"/api-reference/connect-a-model-credential"},{"title":"Remove a model credential","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/model-credentials/{credential_id}","href":"/api-reference/remove-a-model-credential"},{"title":"Publish a preview","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/sessions/{session_id}/preview","href":"/api-reference/publish-a-preview"},{"title":"Unpublish a preview","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/sessions/{session_id}/preview","href":"/api-reference/unpublish-a-preview"},{"title":"Retrieve the OpenAPI document","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/openapi.json","href":"/api-reference/retrieve-the-openapi-document"}]}]}]},"basePath":"","title":"Send input to a session - Gobare Agent API Docs","buildId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","deploymentId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CS552b7R.js","utils-DDTCYAF2.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-De8ttokP.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DrwRDvAh.js","snippetPresets-DtAN0nWx.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-D5rWArI6.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-O2i12wsz.js","shallow-DV8xABTt.js","getApiPlaygroundDisplay-DBZ0B5Jx.js","CodeSnippet-BVi0tPUX.js","CodeSnippets-CqASbIwY.js","Page-m07pfKpT.js","getPastedJson-DG9vsMS8.js","icon-CXzRSCr8.js","MethodPill-BdKVtEuX.js","DuplicateIcon-CZlmBrJI.js","createIcon-biFEUKPL.js","DynamicMarkdown-B54_zNBF.js","SectionHeading-DwwHK3Pt.js","axios-vUo_bRtp.js","Markdown-DfhCTwyA.js","clsx-xpJZXxdP.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BTZUMDnx.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-DqdKa2R4.js"]}