id — pass this in every later URL: /v1beta/streams/{id}/... plus stream URLs you embed in chat completion messages.
publish.url + publish.token — feed these to a LiveKit client SDK to connect a video source. Any LiveKit publisher works (browser, native, server-to-server). The token is short-lived; use the one returned by /keepalive if your publisher reconnects later.
expires_at_ms + ttl_seconds — the lease deadline. Call /keepalive before it elapses (every ~2 minutes is safe). After expiry the stream’s state flips to ended and stays there.
The stream sits in active state immediately, even before the first frame arrives. GET /streams/{id} returns last_frame_at_ms: null until a publisher actually delivers a frame.
Server-pulled sources
Send a source body to have the server pull the video from an rtsp:// camera or HLS playlist instead of accepting a publisher. publish comes back null, and GET /streams/{id} reports last_pull instead. The source must be reachable from the public internet, and a url that cannot be opened returns 422 after about 15 seconds of retries. See Camera sources.
Authorizations
Authorization
string
header
required
Every public HTTP request requires Authorization: Bearer <api_key>, except
GET /models and the public /billing/pricing endpoints.
401 means the key is missing, unknown, or revoked.
403 means the key is valid but cannot access the requested resource.
The publish token returned by POST /streams is only for publishing media to
LiveKit. It does not replace the API key for HTTP calls.
Headers
X-Overshoot-Region
enum<string>
Optional hint to route the request to the region that owns the stream. If the
request reaches the wrong region the API returns 409 with a region_error body.
Available options:
us-west1,
us-central1
Body
application/json
Omit the body entirely to publish video yourself with the returned publish
credentials. Supply source to have the server pull the video instead.
source
object
A server-pulled video source. The server connects to this url itself and
publishes the video into the stream, so no client publisher is involved.
The url must resolve to a publicly routable address: private, loopback, and
link-local addresses are rejected. The url is never returned in any response,
because rtsp urls commonly embed camera credentials.
Show child attributes
Response
Stream created.
id
string<uuid>
required
Unique stream identifier. Use this in every subsequent stream URL.
state
enum<string>
required
Always active for a freshly created stream.
Available options:
active
publish
object | null
required
Publish credentials, or null for server-pulled sources, which have no client publisher.
Show child attributes
expires_at_ms
integer
required
Wall-clock Unix ms when the lease will expire if not renewed via /keepalive.
ttl_seconds
integer
required
Lease TTL in seconds. Currently 300 for all streams.
Example:
300
source
object
How video reaches this stream. The source url itself is never echoed back.
Show child attributes
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Overshoot","description":"Overshoot is a real-time video understanding API: ingest live frames over WebRTC and query them with vision-language models through an OpenAI-compatible interface.","colors":{"primary":"#171717","light":"#FAFAFA","dark":"#171717"},"logo":{"light":"https://mintcdn.com/overshoot/0Dm5fhg-0BgkkvuK/logo/light.svg?fit=max\u0026auto=format\u0026n=0Dm5fhg-0BgkkvuK\u0026q=85\u0026s=cc64ddbb0f7b3fe5c36a1dc027af9bbe","dark":"https://mintcdn.com/overshoot/0Dm5fhg-0BgkkvuK/logo/dark.svg?fit=max\u0026auto=format\u0026n=0Dm5fhg-0BgkkvuK\u0026q=85\u0026s=4d16fc0f54cc1e52653d2c84a243e6bb"},"favicon":"https://mintcdn.com/overshoot/aWdUDMxS0TnQwDiR/favicon.png?fit=max\u0026auto=format\u0026n=aWdUDMxS0TnQwDiR\u0026q=85\u0026s=6bd4d74dc6ba8c78226d3e66d8f3a65f","navbar":{"links":[{"href":"mailto:founders@overshoot.ai","label":"Support"}],"primary":{"type":"button","label":"Platform","href":"https://platform.overshoot.ai"}},"footer":{"socials":{"github":"https://github.com/overshoot-ai","linkedin":"https://linkedin.com/company/overshootai"}},"banner":{"content":"The Overshoot API shuts down on Saturday, December 5, 2026 at 10:00 AM PT. [Read the shutdown and migration guide](/shutdown).","dismissible":false},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"overshoot","hasAudioNarration":false,"actualSubdomain":"overshoot","customDomains":["docs.overshoot.ai"],"gitSource":{"type":"github","owner":"overshoot-ai","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6afa087e8ab367393045b3ba","clientVersion":"0.0.4347","searchFilterCounts":[{"language":"default","tag":"API reference","count":28},{"language":"default","tag":"Streams","count":11},{"language":"default","tag":"Guides","count":11},{"language":"default","tag":"Models \u0026 pricing","count":5},{"language":"default","tag":"Chat","count":1},{"language":"default","tag":"Integrations","count":1}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"site-roles","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":"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":"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":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api-reference/create-stream","slug":"/api-reference/create-stream","pageMetadata":{"title":"Create stream","description":"Open a Stream and get back a stream_id plus a LiveKit room URL and publish token, with a fixed 600-second retained frame history.","openapi":"POST /streams","href":"/api-reference/create-stream"},"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: \"Open a Stream and get back a stream_id plus a LiveKit room URL and publish token, with a fixed 600-second retained frame history.\"\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,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Heading}=_components;if(!Heading)_missingMdxReference(`Heading`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`what-you-get`,children:`What you get`}),`\n`,_jsx(_components.p,{children:`The response carries:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:_jsx(_components.code,{children:`id`})}),` — pass this in every later URL: `,_jsx(_components.code,{children:`/v1beta/streams/{id}/...`}),` plus stream URLs you embed in chat completion messages.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:_jsx(_components.code,{children:`publish.url`})}),` + `,_jsx(_components.strong,{children:_jsx(_components.code,{children:`publish.token`})}),` — feed these to a `,_jsx(_components.a,{href:`https://docs.livekit.io/reference/`,children:`LiveKit client SDK`}),` to connect a video source. Any LiveKit publisher works (browser, native, server-to-server). The token is short-lived; use the one returned by `,_jsx(_components.code,{children:`/keepalive`}),` if your publisher reconnects later.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:_jsx(_components.code,{children:`expires_at_ms`})}),` + `,_jsx(_components.strong,{children:_jsx(_components.code,{children:`ttl_seconds`})}),` — the lease deadline. Call `,_jsx(_components.code,{children:`/keepalive`}),` before it elapses (every ~2 minutes is safe). After expiry the stream’s `,_jsx(_components.code,{children:`state`}),` flips to `,_jsx(_components.code,{children:`ended`}),` and stays there.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`The stream sits in `,_jsx(_components.code,{children:`active`}),` state immediately, even before the first frame arrives. `,_jsx(_components.code,{children:`GET /streams/{id}`}),` returns `,_jsx(_components.code,{children:`last_frame_at_ms: null`}),` until a publisher actually delivers a frame.`]}),`\n`,_jsx(Heading,{level:`2`,id:`server-pulled-sources`,children:`Server-pulled sources`}),`\n`,_jsxs(_components.p,{children:[`Send a `,_jsx(_components.code,{children:`source`}),` body to have the server pull the video from an `,_jsx(_components.code,{children:`rtsp://`}),` camera or HLS playlist instead of accepting a publisher. `,_jsx(_components.code,{children:`publish`}),` comes back `,_jsx(_components.code,{children:`null`}),`, and `,_jsx(_components.code,{children:`GET /streams/{id}`}),` reports `,_jsx(_components.code,{children:`last_pull`}),` instead. The source must be reachable from the public internet, and a url that cannot be opened returns `,_jsx(_components.code,{children:`422`}),` after about 15 seconds of retries. See `,_jsx(_components.a,{href:`/camera-sources`,children:`Camera sources`}),`.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create stream","description":"Open a Stream and get back a stream_id plus a LiveKit room URL and publish token, with a fixed 600-second retained frame history.","openapi":"POST /streams","href":"/api-reference/create-stream"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"What you get","slug":"what-you-get","depth":2,"children":[]},{"title":"Server-pulled sources","slug":"server-pulled-sources","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Streams"],"operationId":"createStream","summary":"Create stream","description":"Open a Stream and get back a stream_id plus a LiveKit room URL and publish token, with a fixed 600-second retained frame history.","parameters":["9f09a9a9-d4b9-449e-9674-93ea260f8d2d"],"requestBody":"750218a3-5109-42ab-854b-0372f4a5b152","responses":{"201":"8cce8e1b-329d-48fa-b123-6faa3841c70b","401":"5065ab0f-33b7-4945-ae8a-06f44ca5be8d","403":"f9e27c13-b053-42c5-9863-72e870b3ee34","409":"7d15701a-f105-4eb0-8581-0463fb6d754e","422":"1896875f-100a-4370-b3b2-523eca33519c","503":"93b20097-091c-441e-9ccf-4d78bdb1001a"},"method":"post","type":"path","servers":["72750f7d-e3f9-43d6-ad41-831122b0f729"],"security":["39c84f62-64b1-4aeb-843c-5db3de24e9f9"],"path":"/streams","baseUrlOptions":["https://api.overshoot.ai/v1beta"],"title":"Create stream","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"9f09a9a9-d4b9-449e-9674-93ea260f8d2d":{"name":"X-Overshoot-Region","in":"header","required":false,"schema":{"type":"string","enum":["us-west1","us-central1"],"isRequired":false,"description":"Optional hint to route the request to the region that owns the stream. If the\nrequest reaches the wrong region the API returns `409` with a `region_error` body.\n","uniqueKey":"","typeLabel":"enum\u003cstring>"},"description":"Optional hint to route the request to the region that owns the stream. If the\nrequest reaches the wrong region the API returns `409` with a `region_error` body.\n"}},"requestBody":{"required":false,"description":"Omit the body entirely to publish video yourself with the returned `publish`\ncredentials. Supply `source` to have the server pull the video instead.\n","content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"object","description":"A server-pulled video source. The server connects to this url itself and\npublishes the video into the stream, so no client publisher is involved.\nThe url must resolve to a publicly routable address: private, loopback, and\nlink-local addresses are rejected. The url is never returned in any response,\nbecause rtsp urls commonly embed camera credentials.\n","properties":{"type":{"type":"string","enum":["rtsp","hls"],"description":"`rtsp` accepts `rtsp://` and `rtsps://` urls, pulled over TCP.\n`hls` accepts `http://` and `https://` playlist urls.\n","isRequired":true,"uniqueKey":"source.type","typeLabel":"enum\u003cstring>"},"url":{"type":"string","example":"rtsp://user:pass@camera.example.com:554/stream","isRequired":true,"uniqueKey":"source.url","typeLabel":"string"}},"required":["type","url"],"uniqueKey":"source","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"8cce8e1b-329d-48fa-b123-6faa3841c70b":{"description":"Stream created.","headers":{"X-Overshoot-Region":{"description":"The region that served this request.","schema":{"type":"string","enum":["us-west1","us-central1"]}}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Unique stream identifier. Use this in every subsequent stream URL.","isRequired":true,"uniqueKey":"id","typeLabel":"string\u003cuuid>"},"state":{"type":"string","enum":["active"],"description":"Always `active` for a freshly created stream.","isRequired":true,"uniqueKey":"state","typeLabel":"enum\u003cstring>"},"publish":{"oneOf":[{"type":"object","description":"Publish credentials, or `null` for server-pulled sources, which have no client publisher.","required":["type","url","token"],"properties":{"type":{"type":"string","enum":["livekit"],"default":"livekit","isRequired":true,"uniqueKey":"publish.oneOf.0.type","typeLabel":"enum\u003cstring>"},"url":{"type":"string","description":"LiveKit room URL (`wss://...`).","isRequired":true,"uniqueKey":"publish.oneOf.0.url","typeLabel":"string"},"token":{"type":"string","description":"Short-lived publish JWT for the LiveKit client.","isRequired":true,"uniqueKey":"publish.oneOf.0.token","typeLabel":"string"}},"isRequired":true,"uniqueKey":"publish.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"publish.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"publish","typeLabel":"object | null"},"expires_at_ms":{"type":"integer","description":"Wall-clock Unix ms when the lease will expire if not renewed via `/keepalive`.","isRequired":true,"uniqueKey":"expires_at_ms","typeLabel":"integer"},"ttl_seconds":{"type":"integer","example":300,"description":"Lease TTL in seconds. Currently `300` for all streams.","isRequired":true,"uniqueKey":"ttl_seconds","typeLabel":"integer"},"source":{"type":"object","description":"How video reaches this stream. The source url itself is never echoed back.","properties":{"type":{"type":"string","enum":["livekit","rtsp","hls"],"description":"`livekit` when a client publishes; `rtsp` or `hls` when the server pulls.","isRequired":true,"uniqueKey":"source.type","typeLabel":"enum\u003cstring>"}},"required":["type"],"uniqueKey":"source","typeLabel":"object"}},"required":["id","state","publish","expires_at_ms","ttl_seconds"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","state":"active","publish":{"type":"livekit","url":"\u003cstring>","token":"\u003cstring>"},"expires_at_ms":123,"ttl_seconds":300,"source":{"type":"livekit"}}}},"exampleType":"generated"}},"exampleType":"generated"},"5065ab0f-33b7-4945-ae8a-06f44ca5be8d":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"type":"object","description":"Standard error body used by stream-lifecycle and billing endpoints.","properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"detail","typeLabel":"string"}},"required":["detail"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"detail":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"f9e27c13-b053-42c5-9863-72e870b3ee34":{"description":"API key has no associated user.","content":{"application/json":{"schema":{"type":"object","description":"Standard error body used by stream-lifecycle and billing endpoints.","properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"detail","typeLabel":"string"}},"required":["detail"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"detail":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"7d15701a-f105-4eb0-8581-0463fb6d754e":{"description":"Wrong region.","content":{"application/json":{"schema":{"type":"object","description":"Returned on `409` when the request reaches the wrong region.","properties":{"detail":{"type":"object","properties":{"error":{"type":"string","example":"region_error","uniqueKey":"detail.error","typeLabel":"string"},"expected_region":{"type":"string","example":"us-west1","uniqueKey":"detail.expected_region","typeLabel":"string"},"requested_region":{"oneOf":[{"type":"string","example":"us-central1","uniqueKey":"detail.requested_region.oneOf.0","typeLabel":"string"},{"type":"null","example":"us-central1","uniqueKey":"detail.requested_region.oneOf.1","typeLabel":"null"}],"uniqueKey":"detail.requested_region","typeLabel":"string | null"}},"uniqueKey":"detail","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"detail":{"error":"region_error","expected_region":"us-west1","requested_region":"us-central1"}}}},"exampleType":"generated"}},"exampleType":"generated"},"1896875f-100a-4370-b3b2-523eca33519c":{"description":"The `source` url could not be opened. Returned after roughly 15 seconds\nof retries. Causes include a host that is unreachable from the public\ninternet, wrong credentials, a scheme that does not match `type`, or a\nhostname that resolves to a private, loopback, or link-local address.\n","content":{"application/json":{"schema":{"type":"object","description":"Standard error body used by stream-lifecycle and billing endpoints.","properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"detail","typeLabel":"string"}},"required":["detail"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"detail":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"93b20097-091c-441e-9ccf-4d78bdb1001a":{"description":"Stream creation temporarily unavailable.","content":{"application/json":{"schema":{"type":"object","description":"Standard error body used by stream-lifecycle and billing endpoints.","properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"detail","typeLabel":"string"}},"required":["detail"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"detail":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"39c84f62-64b1-4aeb-843c-5db3de24e9f9":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"API key (e.g. `ovs_...`)","description":"Every public HTTP request requires `Authorization: Bearer \u003capi_key>`, except\n`GET /models` and the public `/billing/pricing` endpoints.\n\n- `401` means the key is missing, unknown, or revoked.\n- `403` means the key is valid but cannot access the requested resource.\n- The publish token returned by `POST /streams` is only for publishing media to\n LiveKit. It does not replace the API key for HTTP calls.\n","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"72750f7d-e3f9-43d6-ad41-831122b0f729":{"url":"https://api.overshoot.ai/v1beta"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"API key (e.g. `ovs_...`)","description":"Every public HTTP request requires `Authorization: Bearer \u003capi_key>`, except\n`GET /models` and the public `/billing/pricing` endpoints.\n\n- `401` means the key is missing, unknown, or revoked.\n- `403` means the key is valid but cannot access the requested resource.\n- The publish token returned by `POST /streams` is only for publishing media to\n LiveKit. It does not replace the API key for HTTP calls.\n","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Every public HTTP request requires `Authorization: Bearer \u003capi_key>`, except\n`GET /models` and the public `/billing/pricing` endpoints.\n\n- `401` means the key is missing, unknown, or revoked.\n- `403` means the key is valid but cannot access the requested resource.\n- The publish token returned by `POST /streams` is only for publishing media to\n LiveKit. It does not replace the API key for HTTP calls.\n","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"api-reference/openapi.yaml"},"subdomain":"overshoot","siteName":"Overshoot","title":"Create stream - Overshoot","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{"v1beta":{"href":"/api-reference/create-stream","matchLevel":0},"v0.2":{"href":"/api-reference/v0.2/introduction","matchLevel":4}},"firstHrefInLanguage":{}},"lastModified":"2026-08-05T07:00:49.206Z","originalFileLocation":"api-reference/create-stream.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=\"Open a Stream and get back a stream_id plus a LiveKit room URL and publish token, with a fixed 600-second retained frame history.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Overshoot\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/overshoot/4zqTJuSGZ4LqpEKB/_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/overshoot/4zqTJuSGZ4LqpEKB/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/overshoot/4zqTJuSGZ4LqpEKB/_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/overshoot/4zqTJuSGZ4LqpEKB/_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/overshoot/4zqTJuSGZ4LqpEKB/_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/overshoot/4zqTJuSGZ4LqpEKB/_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/overshoot/4zqTJuSGZ4LqpEKB/_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/overshoot/4zqTJuSGZ4LqpEKB/_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/overshoot/4zqTJuSGZ4LqpEKB/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create stream - Overshoot\">\u003cmeta data-mint-head property=\"og:description\" content=\"Open a Stream and get back a stream_id plus a LiveKit room URL and publish token, with a fixed 600-second retained frame history.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Overshoot\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.overshoot.ai/api-reference/create-stream\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://overshoot.mintlify.site/_mintlify/api/og/v2?division=Streams\u0026amp;title=Create+stream\u0026amp;description=Open+a+Stream+and+get+back+a+stream_id+plus+a+LiveKit+room+URL+and+publish+token%2C+with+a+fixed+600-second+retained+frame+history.\u0026amp;theme=0f8fdc0fc94a349f0b18dcd5\u0026amp;signature=e86b28f4a49e858a020dcc875ccf67de98531a23e0ec9fbc8497ddcfbf0565d7\">\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=\"Create stream - Overshoot\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Open a Stream and get back a stream_id plus a LiveKit room URL and publish token, with a fixed 600-second retained frame history.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://overshoot.mintlify.site/_mintlify/api/og/v2?division=Streams\u0026amp;title=Create+stream\u0026amp;description=Open+a+Stream+and+get+back+a+stream_id+plus+a+LiveKit+room+URL+and+publish+token%2C+with+a+fixed+600-second+retained+frame+history.\u0026amp;theme=0f8fdc0fc94a349f0b18dcd5\u0026amp;signature=e86b28f4a49e858a020dcc875ccf67de98531a23e0ec9fbc8497ddcfbf0565d7\">\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/overshoot/4zqTJuSGZ4LqpEKB/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Overshoot\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#171717\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.overshoot.ai/api-reference/create-stream\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/create-stream.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.overshoot.ai/#organization\",\"name\":\"Overshoot\",\"url\":\"https://docs.overshoot.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/overshoot/0Dm5fhg-0BgkkvuK/logo/light.svg?fit=max\u0026auto=format\u0026n=0Dm5fhg-0BgkkvuK\u0026q=85\u0026s=cc64ddbb0f7b3fe5c36a1dc027af9bbe\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.overshoot.ai#website\",\"name\":\"Overshoot\",\"url\":\"https://docs.overshoot.ai\",\"publisher\":{\"@id\":\"https://docs.overshoot.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.overshoot.ai/api-reference/create-stream#webpage\",\"url\":\"https://docs.overshoot.ai/api-reference/create-stream\",\"name\":\"Create stream\",\"description\":\"Open a Stream and get back a stream_id plus a LiveKit room URL and publish token, with a fixed 600-second retained frame history.\",\"dateModified\":\"2026-08-05T07:00:49.206Z\",\"isPartOf\":{\"@id\":\"https://docs.overshoot.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.overshoot.ai/api-reference/create-stream#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.overshoot.ai/api-reference/create-stream#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Overshoot\",\"item\":\"https://docs.overshoot.ai\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create stream\",\"item\":\"https://docs.overshoot.ai/api-reference/create-stream\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.overshoot.ai/api-reference/create-stream#apireference\",\"headline\":\"Create stream\",\"name\":\"Create stream\",\"description\":\"Open a Stream and get back a stream_id plus a LiveKit room URL and publish token, with a fixed 600-second retained frame history.\",\"url\":\"https://docs.overshoot.ai/api-reference/create-stream\",\"mainEntityOfPage\":{\"@id\":\"https://docs.overshoot.ai/api-reference/create-stream#webpage\"},\"dateModified\":\"2026-08-05T07:00:49.206Z\",\"publisher\":{\"@id\":\"https://docs.overshoot.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.overshoot.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Overshoot\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Overshoot\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/create-stream.md","siteName":"Overshoot","nav":{"global":null,"versions":[{"version":"v1beta","default":true,"tabs":[{"tab":"Guides","icon":"book-open","pages":[{"title":"Guides","href":"/shutdown"}]},{"tab":"API reference","icon":"code","pages":[{"title":"Introduction","href":"/api-reference/introduction"},{"title":"Authentication","href":"/api-reference/authentication"},{"title":"Core flow","href":"/api-reference/core-flow"},{"title":"Stream lifecycle","href":"/api-reference/stream-lifecycle"},{"title":"Stream media URLs","href":"/api-reference/stream-media-urls"},{"group":"Chat","icon":"message","pages":[{"title":"Chat completions","description":"Send OpenAI-compatible chat completions and reference live Stream frames or segments with ovs:// URLs in image_url or video_url parts.","openapi":"POST /chat/completions","href":"/api-reference/chat-completions"}]},{"group":"Streams","icon":"video","pages":[{"title":"Create stream","openapi":"POST /streams","href":"/api-reference/create-stream"},{"title":"Get stream","description":"Return a Stream's current state and frame telemetry, including recent FPS, retained frame counts, and lease expiry timestamps.","openapi":"GET /streams/{stream_id}","href":"/api-reference/get-stream"},{"title":"Renew stream lease","openapi":"POST /streams/{stream_id}/keepalive","href":"/api-reference/keepalive-stream"},{"title":"Create viewer token","openapi":"POST /streams/{stream_id}/viewer-token","href":"/api-reference/viewer-token"},{"title":"Delete stream","openapi":"DELETE /streams/{stream_id}","href":"/api-reference/delete-stream"}]},{"group":"Models \u0026 pricing","icon":"microchip-ai","pages":[{"title":"List models","openapi":"GET /models","href":"/api-reference/list-models"},{"title":"List pricing","openapi":"GET /billing/pricing","href":"/api-reference/list-pricing"},{"title":"Get model pricing","openapi":"GET /billing/pricing/{model}","href":"/api-reference/get-pricing"},{"title":"Get prepaid balance","openapi":"GET /billing/accounts/me/balance","href":"/api-reference/get-balance"},{"title":"Create checkout session","openapi":"POST /billing/checkout","href":"/api-reference/create-checkout"}]},{"title":"LiveKit client flow","href":"/api-reference/livekit-client-flow"},{"title":"Region behavior","href":"/api-reference/regions"},{"title":"Prompt cache and threads","href":"/api-reference/prompt-cache"},{"title":"Error shapes","href":"/api-reference/errors"},{"title":"Limits and retention","href":"/api-reference/limits"}]}]},{"version":"v0.2","pages":[{"title":"v0.2","href":"/api-reference/v0.2/introduction"}]}]},"basePath":"","title":"Create stream - Overshoot","deploymentId":"dpl_6UE2cqB47X6P7P3F2hD3UphW6ijc","buildId":"dpl_6UE2cqB47X6P7P3F2hD3UphW6ijc","dynamics":["10e4515597","c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["BannerMarkdown-DMIpkWQi.js","dist-Bg48sGSz.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js","OpenApiReferenceProvider-BMn8tSe3.js","snippetPresets-Dl5ZrD9W.js","utils-CddEzDcs.js","style-to-object-BY3JEAdk.js","utils-Dym31Pnf.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-ZiqR8hPK.js","conditional-requirements-CFM0id0Q.js","cloneDeep-D3fPbylz.js","_Uint8Array-BcNtDki0.js","isObject-FP1Yky1u.js","ApiExamples-4Sf3CFhl.js","usePlaygroundInputsStore-Ck91l6q0.js","shallow-DapBSR9G.js","isEqual-Clu_sGzx.js","CodeSnippets-DAVHdSX2.js","CodeSnippet-Be6AcO_D.js","use-playground-group-access-CteWws2O.js","Page-_aL_PM_2.js","api-description-markdown-BPoPkVJQ.js","DynamicMarkdown-QJ7LkRm3.js","SectionHeading-DyxPTJti.js","MethodPill-CGjK-dNY.js","getPastedJson-C4YIGTOJ.js","Check2Icon-B7COpIZE.js","axios-CsQoIw0U.js","Markdown-Bquzb4Gw.js","AssistantPageLink-wSgGy_i5.js"]}