import { Livepeer } from "livepeer";
const livepeer = new Livepeer({
apiKey: "<YOUR_BEARER_TOKEN_HERE>",
});
async function run() {
const result = await livepeer.stream.get("<id>");
// Handle the result
console.log(result);
}
run();
from livepeer import Livepeer
s = Livepeer(
api_key="<YOUR_BEARER_TOKEN_HERE>",
)
res = s.stream.get(id="<id>")
if res.stream is not None:
# handle response
pass
{
"errors": [
[
"id not provided",
"Account not found"
]
]
}
Livestream
Retrieve a livestream
GET
/
stream
/
{id}
TypeScript
import { Livepeer } from "livepeer";
const livepeer = new Livepeer({
apiKey: "<YOUR_BEARER_TOKEN_HERE>",
});
async function run() {
const result = await livepeer.stream.get("<id>");
// Handle the result
console.log(result);
}
run();
from livepeer import Livepeer
s = Livepeer(
api_key="<YOUR_BEARER_TOKEN_HERE>",
)
res = s.stream.get(id="<id>")
if res.stream is not None:
# handle response
pass
{
"errors": [
[
"id not provided",
"Account not found"
]
]
}
Authorizations
Authorization
string
header
required
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
id
string
required
ID of the stream
Response
Success
name
string
required
Example:
"test_stream"
id
string
read-only
Example:
"de7818e7-610a-4057-8f6f-b785dc1e6f88"
kind
string
deprecated
Example:
"stream"
creatorId
object
Show child attributes
userTags
object
User input tags associated with the stream
Show child attributes
lastSeen
number
Example:
1587667174725
sourceSegments
number
Example:
1
transcodedSegments
number
Example:
2
sourceSegmentsDuration
number
Duration of all the source segments, sec
Example:
1
transcodedSegmentsDuration
number
Duration of all the transcoded segments, sec
Example:
2
sourceBytes
number
Example:
1
transcodedBytes
number
Example:
2
ingestRate
number
Rate at which sourceBytes increases (bytes/second)
Example:
1
outgoingRate
number
Rate at which transcodedBytes increases (bytes/second)
Example:
2
isActive
boolean
If currently active
Example:
true
isHealthy
any
issues
any
createdByTokenName
string
read-only
Name of the token used to create this object
Example:
"abc-123-xyz-456"
createdAt
number
read-only
Timestamp (in milliseconds) at which stream object was created
Example:
1587667174725
parentId
string
Points to parent stream object
Example:
"de7818e7-610a-4057-8f6f-b785dc1e6f88"
streamKey
string
Used to form RTMP ingest URL
Example:
"hgebdhhigq"
pull
object
Configuration for a stream that should be actively pulled from an
external source, rather than pushed to Livepeer. If specified, the
stream will not have a streamKey.
Show child attributes
playbackId
string
The playback ID to use with the Playback Info endpoint to retrieve playback URLs.
Example:
"eaw4nk06ts2d0mzb"
playbackPolicy
object | null
Whether the playback policy for an asset or stream is public or signed
Show child attributes
profiles
object[]
Profiles to transcode the stream into. If not specified, a default
set of profiles will be used with 240p, 360p, 480p and 720p
resolutions. Keep in mind that the source rendition is always kept.
Show child attributes
projectId
string
The ID of the project
Example:
"aac12556-4d65-4d34-9fb6-d1f0985eb0a9"
record
boolean
Should this stream be recorded? Uses default settings. For more
customization, create and configure an object store.
Example:
false
recordingSpec
object
Configuration for recording the stream. This can only be set if
record is true.
Show child attributes
multistream
object
Show child attributes
suspended
boolean
If currently suspended
lastTerminatedAt
number | null
Timestamp (in milliseconds) when the stream was last terminated
Example:
1713281212993
userId
string
deprecated
read-only
Example:
"we7818e7-610a-4057-8f6f-b785dc1e6f88"
renditions
object
Last modified on April 7, 2026
Was this page helpful?
{"docsConfig":{"theme":"palm","$schema":"https://mintlify.com/docs.json","name":"Livepeer Docs","colors":{"primary":"#3CB540","light":"#2b9a66","dark":"#3CB540"},"logo":{"light":"https://mintcdn.com/na-36-fix-simplify-ubuntu-deps/tdgVQ14Wt8cgTvJN/snippets/assets/logos/light.svg?fit=max\u0026auto=format\u0026n=tdgVQ14Wt8cgTvJN\u0026q=85\u0026s=0d906cdf330039e031b052442e85a2da","dark":"https://mintcdn.com/na-36-fix-simplify-ubuntu-deps/tdgVQ14Wt8cgTvJN/snippets/assets/logos/dark.svg?fit=max\u0026auto=format\u0026n=tdgVQ14Wt8cgTvJN\u0026q=85\u0026s=92bdf3bd6b00b01c25499d14ff93ec2b"},"favicon":"/snippets/assets/logos/favicon/favicon.png","api":{"openapi":"api/openapi.yaml","mdx":{"server":"https://livepeer.studio/api"}},"appearance":{"default":"dark"},"navbar":{"links":[{"icon":"x-twitter","href":"https://twitter.com/Livepeer","label":""},{"icon":"github","href":"https://github.com/livepeer","label":""},{"icon":"discord","href":"https://discord.gg/livepeer","label":""}]},"footer":{"socials":{"website":"https://forum.livepeer.org","github":"https://github.com/livepeer","twitter":"https://twitter.com/livepeer","discord":"https://discord.gg/livepeer","linkedin":"https://www.linkedin.com/company/livepeer"}},"search":{"prompt":"Need help? Ask our AI"},"styling":{"codeblocks":{"theme":{"light":"github-light","dark":"dark-plus"}}},"integrations":{"ga4":{"measurementId":"G-P1Z15F6NX4"}},"errors":{"404":{"redirect":false,"title":"Ruh oh. This page doesn't exist.","description":"\u003cFrame>\u003cimg src=\"https://media0.giphy.com/media/v1.Y2lkPTc5MGI3NjExN2FteDJ4bno5MHU5Y3QxdGx3eWR2emdhejRhc2c1Y2d3ejY5ajlxMSZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/Ju7l5y9osyymQ/giphy.gif\" alt=\"Rick Roll\" />\u003c/Frame>\u003cbr/>\u003cbr/>Sorry About That."}},"metadata":{"timestamp":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"na-36-fix-simplify-ubuntu-deps","hasAudioNarration":false,"actualSubdomain":"na-36-fix-simplify-ubuntu-deps","customDomains":[],"gitSource":{"type":"github","owner":"livepeer","repo":"docs","deployBranch":"fix/simplify-ubuntu-deps","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"feedback":{"thumbs":true,"edits":false,"issues":false},"entitlements":{"AI_CHAT":{"status":"ENABLED"}},"buildId":"69d4ec28fb8ada5118d94017:success","clientVersion":"0.0.4410","preview":{"mainDeploymentId":"64ba6ae116af7b43c2e91ffc","mainDeployment":{"subdomain":"na-36","customDomains":["docs.livepeer.org"],"basePath":""}},"searchFilterCounts":[]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"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":"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":"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}],"starterQuestions":[],"preview":{"mainDeploymentId":"64ba6ae116af7b43c2e91ffc","mainDeployment":{"subdomain":"na-36","customDomains":["docs.livepeer.org"],"basePath":""}},"editorBaseUrl":"https://app.mintlify.com/na-36/na-36/editor/fix%2Fsimplify-ubuntu-deps/~","googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"body{padding:0!important}:root{--lp-color-accent: #3cb540;--lp-color-accent-strong: #18794e;--lp-color-accent-soft: #6bbf59;--lp-color-accent-bright: #5dd662;--lp-color-accent-brightest: #a0f0a5;--lp-color-arbitrum: #3ea6f8;--lp-color-text-primary: #181c18;--lp-color-text-secondary: #717571;--lp-color-text-muted: #9ca3af;--lp-color-bg-page: #ffffff;--lp-color-bg-card: #f9fafb;--lp-color-bg-elevated: #f3f6f4;--lp-color-bg-subtle: rgba(24, 28, 24, 0.04);--lp-color-bg-overlay: rgba(12, 12, 12, 0.5);--lp-color-border-default: #e5e7eb;--lp-color-border-strong: rgba(24, 28, 24, 0.18);--lp-color-border-inverse: rgba(255, 255, 255, 0.5);--lp-color-on-accent: #ffffff;--lp-color-link: #18794e;--lp-color-link-hover: #004225;--lp-color-brand-discord: #5865f2;--lp-color-brand-forum: #00aeef;--lp-color-brand-github: #181c18;--lp-color-brand-x: #181c18;--lp-color-brand-globe: #00c0ff;--lp-color-brand-twitch: #9048ff;--lp-color-brand-youtube: #ff0034;--lp-color-brand-instagram: #dc2275;--lp-color-brand-linkedin: #0189df;--lp-color-brand-preview: #b636dd;--lp-color-brand-coming-soon: #ef1a73;--lp-color-status-good: #22c55e;--lp-color-status-warn: #fbbf24;--lp-color-status-bad: #ef4444;--lp-spacing-1: 0.25rem;--lp-spacing-2: 0.5rem;--lp-spacing-3: 0.75rem;--lp-spacing-4: 1rem;--lp-spacing-6: 1.5rem;--lp-spacing-8: 2rem;--lp-font-sans: 'Inter', 'Segoe UI', sans-serif;--lp-font-mono: 'SFMono-Regular', 'SF Mono', 'Menlo', monospace;--lp-radius-sm: 0.25rem;--lp-radius-md: 0.5rem;--lp-radius-lg: 0.75rem;--lp-shadow-card: 0 8px 24px rgba(24, 28, 24, 0.08);--lp-z-base: 1;--lp-z-overlay: 10;--lp-z-modal: 50;--accent: var(--lp-color-accent);--accent-dark: var(--lp-color-accent-strong);--hero-text: var(--lp-color-text-primary);--text: var(--lp-color-text-secondary);--text-secondary: var(--lp-color-text-secondary);--muted-text: var(--lp-color-text-muted);--background: var(--lp-color-bg-page);--card-background: var(--lp-color-bg-card);--background-highlight: var(--lp-color-bg-subtle);--border: var(--lp-color-border-default);--button-text: var(--lp-color-on-accent);--page-header-description-color: var(--lp-color-text-secondary);--arbitrum: var(--lp-color-arbitrum)}.dark{--lp-color-accent: #2b9a66;--lp-color-accent-strong: #18794e;--lp-color-accent-soft: #3cb540;--lp-color-accent-bright: #5dd662;--lp-color-accent-brightest: #7fe584;--lp-color-text-primary: #e0e4e0;--lp-color-text-secondary: #a0a4a0;--lp-color-text-muted: #6b7280;--lp-color-bg-page: #0d0d0d;--lp-color-bg-card: #1a1a1a;--lp-color-bg-elevated: #141a16;--lp-color-bg-subtle: rgba(255, 255, 255, 0.1);--lp-color-bg-overlay: rgba(0, 0, 0, 0.5);--lp-color-border-default: #333333;--lp-color-border-strong: rgba(255, 255, 255, 0.3);--lp-color-border-inverse: rgba(255, 255, 255, 0.5);--lp-color-on-accent: #ffffff;--lp-color-link: #5dd662;--lp-color-link-hover: #a0f0a5;--lp-color-brand-github: #f0f0f0;--accent: var(--lp-color-accent);--accent-dark: var(--lp-color-accent-strong);--hero-text: var(--lp-color-text-primary);--text: var(--lp-color-text-secondary);--text-secondary: var(--lp-color-text-secondary);--muted-text: var(--lp-color-text-muted);--background: var(--lp-color-bg-page);--card-background: var(--lp-color-bg-card);--background-highlight: var(--lp-color-bg-subtle);--border: var(--lp-color-border-default);--button-text: var(--lp-color-on-accent);--page-header-description-color: var(--lp-color-text-secondary);--arbitrum: var(--lp-color-arbitrum)}.nav-tabs{width:100%;justify-content:flex-start}@media (min-width: 1024px){#content-container:not(:has(.frame-mode-hero-full)):not(:has(.frame-mode-container)){padding-left:3rem!important;padding-right:3rem!important}#content-container:not(:has(.frame-mode-hero-full)):not(:has(.frame-mode-container))>.max-w-5xl{max-width:72rem!important}#content-container:has(.frame-mode-hero-full),#content-container:has(.frame-mode-container){padding-left:2rem!important;padding-right:2rem!important}#content-container:has(.frame-mode-hero-full)>.max-w-5xl,#content-container:has(.frame-mode-container)>.max-w-5xl{max-width:80rem!important}}#navbar>div.z-10.mx-auto.relative>div.hidden.lg\\:flex.px-12.h-12>div{column-gap:2rem!important}a.nav-tabs-item[href*=\"/internal/\"]{margin-left:1rem;margin-right:-1rem;padding-right:0;border-bottom-color:transparent!important}a.nav-tabs-item[href$=\"/resources/redirect\"],a.nav-tabs-item[href$=\"/resources/resources-portal\"],a.nav-tabs-item[href$=\"/07_resources/redirect\"],a.nav-tabs-item[href$=\"/07_resources/resources-portal\"]{margin-left:auto;background-color:transparent;border:1px solid var(--accent)!important;padding:4px 8px;border-radius:4px;font-size:0.7rem;height:auto!important;align-self:center;margin-right:-2rem}a.nav-tabs-item[href$=\"/resources/redirect\"] svg,a.nav-tabs-item[href$=\"/resources/resources-portal\"] svg,a.nav-tabs-item[href$=\"/07_resources/redirect\"] svg,a.nav-tabs-item[href$=\"/07_resources/resources-portal\"] svg,a.nav-tabs-item[href$=\"/07_resources/resources_hub\"] svg{height:0.75rem;width:0.75rem}a.nav-tabs-item[href$=\"/resources/redirect\"]>div:last-child,a.nav-tabs-item[href$=\"/resources/resources-portal\"]>div:last-child,a.nav-tabs-item[href$=\"/07_resources/redirect\"]>div:last-child,a.nav-tabs-item[href$=\"/07_resources/resources-portal\"]>div:last-child,a.nav-tabs-item[href$=\"/07_resources/resources_hub\"]>div:last-child{display:none}#footer .flex-col .flex.gap-4{flex-direction:column!important;gap:0rem!important}#footer>div{padding-top:2rem!important;padding-bottom:1rem!important}#chat-assistant-sheet[aria-hidden=\"true\"]{display:none!important}button.text-left.text-gray-600.text-sm.font-medium{min-height:24px;padding-top:4px;padding-bottom:4px}[data-component-part=\"card-content-container\"]{padding-right:2.5rem}.code-block>div>div>svg{background-color:#18794e!important}#error-description>span>div>div{border:1px solid #18794e!important}body>div.relative.antialiased.text-gray-500.dark\\:text-gray-400>div.peer-\\[\\.is-not-custom\\]\\:lg\\:flex.peer-\\[\\.is-custom\\]\\:\\[\\\u0026\\>div\\:first-child\\]\\:\\!hidden.peer-\\[\\.is-custom\\]\\:\\[\\\u0026\\>div\\:first-child\\]\\:sm\\:\\!hidden.peer-\\[\\.is-custom\\]\\:\\[\\\u0026\\>div\\:first-child\\]\\:md\\:\\!hidden.peer-\\[\\.is-custom\\]\\:\\[\\\u0026\\>div\\:first-child\\]\\:lg\\:\\!hidden.peer-\\[\\.is-custom\\]\\:\\[\\\u0026\\>div\\:first-child\\]\\:xl\\:\\!hidden>div.flex.flex-col.items-center.justify-center.w-full.max-w-lg.overflow-x-hidden.mx-auto.py-48.px-5.text-center.\\*\\:text-center.gap-y-8.not-found-container>div{margin-top:-5rem}#error-description>span>div>div>div.relative.rounded-xl.overflow-hidden.flex.justify-center>img{width:500px;aspect-ratio:4 / 3;object-fit:cover}#content>div.steps.ml-3\\.5.mt-10.mb-6>div>div.w-full.overflow-hidden.pl-8.pr-px>p{color:#2b9a66!important}.dark .bg-white\\/\\[0\\.95\\].multi-view-dropdown-trigger{background-color:transparent!important;background:none!important}#table-of-contents-layout:empty,#content-side-layout:has(#table-of-contents-layout:empty){display:none}[data-docs-dynamic-table]{table-layout:fixed!important}[data-docs-styled-table-shell]>div{padding-top:0!important;padding-bottom:0!important;margin-top:0!important;margin-bottom:0!important}[data-docs-bordered-box]>:first-child{margin-top:0!important}[data-docs-bordered-box]>:last-child{margin-bottom:0!important}[data-docs-bordered-box][data-accent-bar]::before{content:\"\";position:absolute;top:0;bottom:0;left:0;width:4px;background-color:var(--accent-bar-color);border-radius:inherit;border-top-right-radius:0;border-bottom-right-radius:0}.frame-mode-container{width:calc(100% + 96px + 20px);margin-left:-96px;margin-right:-20px;margin-bottom:2rem;padding-left:15%;padding-right:15%;box-sizing:border-box}.frame-mode-hero-full .frame-mode-container{width:100%;margin-left:0;margin-right:0;padding-left:0%;padding-right:0%}[data-page-mode=\"frame\"] #pagination{width:calc(100% + 96px + 20px);margin-left:-96px;margin-right:-20px;padding-left:calc((100% + 96px + 20px) * 0.1 + 96px);padding-right:calc((100% + 96px + 20px) * 0.1 + 20px);box-sizing:border-box}.frame-mode-hero-full{width:calc(100% + 96px + 20px);margin-left:-96px;margin-right:-20px;position:relative}@media (max-width: 1023px){.frame-mode-container{width:100%;margin-left:0;margin-right:0;padding-left:1rem;padding-right:1rem}[data-page-mode=\"frame\"] #pagination{width:100%;margin-left:0;margin-right:0;padding-left:1rem;padding-right:1rem}.frame-mode-hero-full{width:100%;margin-left:0;margin-right:0}}#starfield{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:0}.frame-mode-hero-full [data-component-part=\"card-content-container\"]{padding-top:0.5rem;padding-bottom:0.5rem;padding-left:1rem;padding-right:2.5rem}.frame-mode-hero-full #card-link-arrow-icon{top:0.75rem;right:0.75rem}"}]}
{"page":{"pagePath":"v1/api-reference/stream/get","slug":"/v1/api-reference/stream/get","pageMetadata":{"title":"Retrieve a livestream","openapi":"GET /stream/{id}","description":null,"href":"/v1/api-reference/stream/get"},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"codeStyling":{"theme":{"light":"github-light","dark":"dark-plus"}},"config":{},"pageMetadata":{"title":"Retrieve a livestream","openapi":"GET /stream/{id}","description":null,"href":"/v1/api-reference/stream/get"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/na-36-fix-simplify-ubuntu-deps/86044cb4146efff0/snippets/components/integrators/feeds/contractVerifierData.js","/_mintlify/custom/na-36-fix-simplify-ubuntu-deps/943f25bb7ac7d121/snippets/data/contract-addresses/view-model.js","/_mintlify/custom/na-36-fix-simplify-ubuntu-deps/298086d7bf262a7f/snippets/data/gateways/configuration-flags.js","/_mintlify/custom/na-36-fix-simplify-ubuntu-deps/ce2de808f20bf288/snippets/data/social-feeds/transformers/filterVideos.js","/_mintlify/custom/na-36-fix-simplify-ubuntu-deps/cd0b73bc6b3814c0/v2/about/protocol/data/blockchain-contracts-addresses.js","/_mintlify/custom/na-36-fix-simplify-ubuntu-deps/15325830a8aed988/v2/about/protocol/data/blockchain-contracts-links.js"],"openApiReferenceData":{"operation":{"operationId":"getStream","x-speakeasy-name-override":"get","tags":["stream"],"summary":"Retrieve a stream","responses":{"200":"6122447a-4b81-472a-9cec-677078b8f469","default":"291af02a-95da-45ba-b050-04583db1e73b"},"x-codeSamples":[{"lang":"typescript","label":"getStream","source":"import { Livepeer } from \"livepeer\";\n\nconst livepeer = new Livepeer({\n apiKey: \"\u003cYOUR_BEARER_TOKEN_HERE>\",\n});\n\nasync function run() {\n const result = await livepeer.stream.get(\"\u003cid>\");\n\n // Handle the result\n console.log(result);\n}\n\nrun();"},{"lang":"go","label":"getStream","source":"package main\n\nimport(\n\tlivepeergo \"github.com/livepeer/livepeer-go\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := livepeergo.New(\n livepeergo.WithSecurity(\"\u003cYOUR_BEARER_TOKEN_HERE>\"),\n )\n\n ctx := context.Background()\n res, err := s.Stream.Get(ctx, \"\u003cid>\")\n if err != nil {\n log.Fatal(err)\n }\n if res.Stream != nil {\n // handle response\n }\n}"},{"lang":"python","label":"getStream","source":"from livepeer import Livepeer\n\ns = Livepeer(\n api_key=\"\u003cYOUR_BEARER_TOKEN_HERE>\",\n)\n\nres = s.stream.get(id=\"\u003cid>\")\n\nif res.stream is not None:\n # handle response\n pass"}],"method":"get","type":"path","servers":["ff6cbd4e-f891-46a0-b2e7-e586b1fa8a1b"],"security":["dfaab2bd-1a24-4f48-b3fa-75448159df3d"],"path":"/stream/{id}","baseUrlOptions":["https://livepeer.studio/api"],"title":"Retrieve a stream","description":"","codeSamples":[{"label":"getStream","lang":"typescript","source":"import { Livepeer } from \"livepeer\";\n\nconst livepeer = new Livepeer({\n apiKey: \"\u003cYOUR_BEARER_TOKEN_HERE>\",\n});\n\nasync function run() {\n const result = await livepeer.stream.get(\"\u003cid>\");\n\n // Handle the result\n console.log(result);\n}\n\nrun();"},{"label":"getStream","lang":"go","source":"package main\n\nimport(\n\tlivepeergo \"github.com/livepeer/livepeer-go\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := livepeergo.New(\n livepeergo.WithSecurity(\"\u003cYOUR_BEARER_TOKEN_HERE>\"),\n )\n\n ctx := context.Background()\n res, err := s.Stream.Get(ctx, \"\u003cid>\")\n if err != nil {\n log.Fatal(err)\n }\n if res.Stream != nil {\n // handle response\n }\n}"},{"label":"getStream","lang":"python","source":"from livepeer import Livepeer\n\ns = Livepeer(\n api_key=\"\u003cYOUR_BEARER_TOKEN_HERE>\",\n)\n\nres = s.stream.get(id=\"\u003cid>\")\n\nif res.stream is not None:\n # handle response\n pass"}],"requiredOnlyExamples":false,"requestExampleType":"codeSamples","responseExampleType":"generated"},"dependencies":{"parameters":{"75506d8f-1e5f-477f-9f90-c7c3d1ecd835":{"name":"id","description":"ID of the stream","in":"path","required":true,"schema":{"type":"string","isRequired":true,"description":"ID of the stream","uniqueKey":"","typeLabel":"string"}}},"responses":{"6122447a-4b81-472a-9cec-677078b8f469":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["name"],"additionalProperties":false,"properties":{"name":{"type":"string","example":"test_stream","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"id":{"type":"string","readOnly":true,"example":"de7818e7-610a-4057-8f6f-b785dc1e6f88","uniqueKey":"id","typeLabel":"string"},"kind":{"type":"string","example":"stream","deprecated":true,"uniqueKey":"kind","typeLabel":"string"},"creatorId":{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","enum":["unverified"],"example":"unverified","isRequired":true,"uniqueKey":"creatorId.type","typeLabel":"enum\u003cstring>"},"value":{"type":"string","description":"Developer-managed ID of the user who created the resource.","example":"user123","isRequired":true,"uniqueKey":"creatorId.value","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"creatorId","typeLabel":"object"},"userTags":{"type":"object","description":"User input tags associated with the stream","additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"userTags.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"number","uniqueKey":"userTags.additionalProperties.oneOf.1","typeLabel":"number"},{"type":"array","items":{"oneOf":[{"type":"string","uniqueKey":"userTags.additionalProperties.oneOf.2.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"number","uniqueKey":"userTags.additionalProperties.oneOf.2.items.[INDEX].oneOf.1","typeLabel":"number"}],"uniqueKey":"userTags.additionalProperties.oneOf.2.items.[INDEX]","typeLabel":"string | number"},"uniqueKey":"userTags.additionalProperties.oneOf.2","typeLabel":"(string | number)[]"}],"uniqueKey":"userTags.additionalProperties","typeLabel":"string | number | (string | number)[]"},"uniqueKey":"userTags","typeLabel":"object"},"lastSeen":{"type":"number","example":1587667174725,"uniqueKey":"lastSeen","typeLabel":"number"},"sourceSegments":{"type":"number","example":1,"uniqueKey":"sourceSegments","typeLabel":"number"},"transcodedSegments":{"type":"number","example":2,"uniqueKey":"transcodedSegments","typeLabel":"number"},"sourceSegmentsDuration":{"type":"number","example":1,"description":"Duration of all the source segments, sec","uniqueKey":"sourceSegmentsDuration","typeLabel":"number"},"transcodedSegmentsDuration":{"type":"number","example":2,"description":"Duration of all the transcoded segments, sec","uniqueKey":"transcodedSegmentsDuration","typeLabel":"number"},"sourceBytes":{"type":"number","example":1,"uniqueKey":"sourceBytes","typeLabel":"number"},"transcodedBytes":{"type":"number","example":2,"uniqueKey":"transcodedBytes","typeLabel":"number"},"ingestRate":{"type":"number","example":1,"description":"Rate at which sourceBytes increases (bytes/second)","uniqueKey":"ingestRate","typeLabel":"number"},"outgoingRate":{"type":"number","example":2,"description":"Rate at which transcodedBytes increases (bytes/second)","uniqueKey":"outgoingRate","typeLabel":"number"},"isActive":{"type":"boolean","description":"If currently active","example":true,"uniqueKey":"isActive","typeLabel":"boolean"},"isHealthy":{"type":"any","uniqueKey":"isHealthy","typeLabel":"any"},"issues":{"type":"any","uniqueKey":"issues","typeLabel":"any"},"createdByTokenName":{"type":"string","readOnly":true,"description":"Name of the token used to create this object","example":"abc-123-xyz-456","uniqueKey":"createdByTokenName","typeLabel":"string"},"createdAt":{"type":"number","readOnly":true,"description":"Timestamp (in milliseconds) at which stream object was created","example":1587667174725,"uniqueKey":"createdAt","typeLabel":"number"},"parentId":{"type":"string","example":"de7818e7-610a-4057-8f6f-b785dc1e6f88","description":"Points to parent stream object","uniqueKey":"parentId","typeLabel":"string"},"streamKey":{"type":"string","example":"hgebdhhigq","description":"Used to form RTMP ingest URL","uniqueKey":"streamKey","typeLabel":"string"},"pull":{"type":"object","description":"Configuration for a stream that should be actively pulled from an\nexternal source, rather than pushed to Livepeer. If specified, the\nstream will not have a streamKey.","additionalProperties":false,"required":["source"],"properties":{"source":{"type":"string","description":"URL from which to pull from.","example":"https://myservice.com/live/stream.flv","isRequired":true,"uniqueKey":"pull.source","typeLabel":"string"},"headers":{"type":"object","description":"Headers to be sent with the request to the pull source.","additionalProperties":{"type":"string","uniqueKey":"pull.headers.additionalProperties","typeLabel":"string"},"example":{"Authorization":"Bearer 123"},"uniqueKey":"pull.headers","typeLabel":"object"},"isMobile":{"oneOf":[{"type":"integer","description":"Indicates whether the stream will be pulled from a mobile source.","default":0,"enum":[0,1,2],"uniqueKey":"pull.isMobile.oneOf.0","typeLabel":"enum\u003cinteger>"},{"type":"boolean","description":"Indicates whether the stream will be pulled from a mobile source.","default":0,"uniqueKey":"pull.isMobile.oneOf.1","typeLabel":"boolean"}],"uniqueKey":"pull.isMobile","typeLabel":"enum\u003cinteger> | boolean"},"location":{"type":"object","description":"Approximate location of the pull source. The location is used to\ndetermine the closest Livepeer region to pull the stream from.","additionalProperties":false,"required":["lat","lon"],"properties":{"lat":{"type":"number","description":"Latitude of the pull source in degrees. North is positive,\nsouth is negative.","example":39.739,"isRequired":true,"uniqueKey":"pull.location.lat","typeLabel":"number"},"lon":{"type":"number","description":"Longitude of the pull source in degrees. East is positive,\nwest is negative.","example":-104.988,"isRequired":true,"uniqueKey":"pull.location.lon","typeLabel":"number"}},"uniqueKey":"pull.location","typeLabel":"object"}},"uniqueKey":"pull","typeLabel":"object"},"playbackId":{"type":"string","example":"eaw4nk06ts2d0mzb","description":"The playback ID to use with the Playback Info endpoint to retrieve playback URLs.","uniqueKey":"playbackId","typeLabel":"string"},"playbackPolicy":{"oneOf":[{"type":"object","description":"Whether the playback policy for an asset or stream is public or signed","additionalProperties":false,"required":["type"],"properties":{"type":{"type":"string","enum":["public","jwt","webhook"],"example":"webhook","isRequired":true,"uniqueKey":"playbackPolicy.oneOf.0.type","typeLabel":"enum\u003cstring>"},"webhookId":{"type":"string","description":"ID of the webhook to use for playback policy","example":"1bde4o2i6xycudoy","uniqueKey":"playbackPolicy.oneOf.0.webhookId","typeLabel":"string"},"webhookContext":{"type":"object","description":"User-defined webhook context","additionalProperties":true,"example":{"streamerId":"my-custom-id"},"uniqueKey":"playbackPolicy.oneOf.0.webhookContext","typeLabel":"object"},"refreshInterval":{"type":"number","description":"Interval (in seconds) at which the playback policy should be\nrefreshed (default 600 seconds)\n","example":600,"uniqueKey":"playbackPolicy.oneOf.0.refreshInterval","typeLabel":"number"},"allowedOrigins":{"type":"array","description":"List of allowed origins for CORS playback (\u003cscheme>://\u003chostname>:\u003cport>, \u003cscheme>://\u003chostname>)","items":{"type":"string","uniqueKey":"playbackPolicy.oneOf.0.allowedOrigins.items.[INDEX]","typeLabel":"string"},"uniqueKey":"playbackPolicy.oneOf.0.allowedOrigins","typeLabel":"string[]"}},"uniqueKey":"playbackPolicy.oneOf.0","typeLabel":"object"},{"type":"null","description":"Whether the playback policy for an asset or stream is public or signed","additionalProperties":false,"required":["type"],"properties":{"type":{"type":"string","enum":["public","jwt","webhook"],"example":"webhook"},"webhookId":{"type":"string","description":"ID of the webhook to use for playback policy","example":"1bde4o2i6xycudoy"},"webhookContext":{"type":"object","description":"User-defined webhook context","additionalProperties":true,"example":{"streamerId":"my-custom-id"}},"refreshInterval":{"type":"number","description":"Interval (in seconds) at which the playback policy should be\nrefreshed (default 600 seconds)\n","example":600},"allowedOrigins":{"type":"array","description":"List of allowed origins for CORS playback (\u003cscheme>://\u003chostname>:\u003cport>, \u003cscheme>://\u003chostname>)","items":{"type":"string"}}},"uniqueKey":"playbackPolicy.oneOf.1","typeLabel":"null"}],"uniqueKey":"playbackPolicy","typeLabel":"object | null"},"profiles":{"type":"array","description":"Profiles to transcode the stream into. If not specified, a default\nset of profiles will be used with 240p, 360p, 480p and 720p\nresolutions. Keep in mind that the source rendition is always kept.\n","default":[{"name":"240p0","fps":0,"bitrate":250000,"width":426,"height":240},{"name":"360p0","fps":0,"bitrate":800000,"width":640,"height":360},{"name":"480p0","fps":0,"bitrate":1600000,"width":854,"height":480},{"name":"720p0","fps":0,"bitrate":3000000,"width":1280,"height":720}],"items":{"type":"object","description":"Transcode profile","additionalProperties":false,"required":["width","name","height","bitrate","fps"],"properties":{"width":{"type":"integer","minimum":128,"example":1280,"isRequired":true,"uniqueKey":"profiles.items.[INDEX].width","typeLabel":"integer"},"name":{"type":"string","minLength":1,"maxLength":500,"example":"720p","isRequired":true,"uniqueKey":"profiles.items.[INDEX].name","typeLabel":"string"},"height":{"type":"integer","minimum":128,"example":720,"isRequired":true,"uniqueKey":"profiles.items.[INDEX].height","typeLabel":"integer"},"bitrate":{"type":"integer","minimum":400,"example":3000000,"isRequired":true,"uniqueKey":"profiles.items.[INDEX].bitrate","typeLabel":"integer"},"fps":{"type":"integer","minimum":0,"example":30,"isRequired":true,"uniqueKey":"profiles.items.[INDEX].fps","typeLabel":"integer"},"fpsDen":{"type":"integer","minimum":1,"example":1,"uniqueKey":"profiles.items.[INDEX].fpsDen","typeLabel":"integer"},"quality":{"type":"integer","description":"Restricts the size of the output video using the constant quality feature. Increasing this value will result in a lower quality video. Note that this parameter might not work if the transcoder lacks support for it.\n","minimum":0,"maximum":44,"example":23,"uniqueKey":"profiles.items.[INDEX].quality","typeLabel":"integer"},"gop":{"type":"string","example":2,"uniqueKey":"profiles.items.[INDEX].gop","typeLabel":"string"},"profile":{"type":"string","enum":["H264Baseline","H264Main","H264High","H264ConstrainedHigh"],"example":"H264Baseline","uniqueKey":"profiles.items.[INDEX].profile","typeLabel":"enum\u003cstring>"},"encoder":{"type":"string","enum":["H.264"],"uniqueKey":"profiles.items.[INDEX].encoder","typeLabel":"enum\u003cstring>"}},"uniqueKey":"profiles.items.[INDEX]","typeLabel":"object"},"uniqueKey":"profiles","typeLabel":"object[]"},"projectId":{"type":"string","description":"The ID of the project","example":"aac12556-4d65-4d34-9fb6-d1f0985eb0a9","uniqueKey":"projectId","typeLabel":"string"},"record":{"description":"Should this stream be recorded? Uses default settings. For more\ncustomization, create and configure an object store.\n","type":"boolean","example":false,"uniqueKey":"record","typeLabel":"boolean"},"recordingSpec":{"type":"object","description":"Configuration for recording the stream. This can only be set if\n`record` is true.\n","additionalProperties":false,"properties":{"profiles":{"type":"array","items":{"type":"object","description":"Transcode API profile","additionalProperties":false,"required":["bitrate"],"properties":{"bitrate":{"type":"integer","minimum":400,"example":3000000,"isRequired":true,"uniqueKey":"recordingSpec.profiles.items.[INDEX].bitrate","typeLabel":"integer"},"width":{"type":"integer","minimum":128,"example":1280,"uniqueKey":"recordingSpec.profiles.items.[INDEX].width","typeLabel":"integer"},"name":{"type":"string","minLength":1,"maxLength":500,"example":"720p","uniqueKey":"recordingSpec.profiles.items.[INDEX].name","typeLabel":"string"},"height":{"type":"integer","minimum":128,"example":720,"uniqueKey":"recordingSpec.profiles.items.[INDEX].height","typeLabel":"integer"},"quality":{"type":"integer","description":"Restricts the size of the output video using the constant quality feature. Increasing this value will result in a lower quality video. Note that this parameter might not work if the transcoder lacks support for it.\n","minimum":0,"maximum":44,"example":23,"uniqueKey":"recordingSpec.profiles.items.[INDEX].quality","typeLabel":"integer"},"fps":{"type":"integer","minimum":0,"example":30,"uniqueKey":"recordingSpec.profiles.items.[INDEX].fps","typeLabel":"integer"},"fpsDen":{"type":"integer","minimum":1,"example":1,"uniqueKey":"recordingSpec.profiles.items.[INDEX].fpsDen","typeLabel":"integer"},"gop":{"type":"string","example":2,"uniqueKey":"recordingSpec.profiles.items.[INDEX].gop","typeLabel":"string"},"profile":{"type":"string","enum":["H264Baseline","H264Main","H264High","H264ConstrainedHigh"],"example":"H264Baseline","uniqueKey":"recordingSpec.profiles.items.[INDEX].profile","typeLabel":"enum\u003cstring>"},"encoder":{"type":"string","enum":["H.264","HEVC","VP8","VP9"],"example":"H.264","uniqueKey":"recordingSpec.profiles.items.[INDEX].encoder","typeLabel":"enum\u003cstring>"}},"uniqueKey":"recordingSpec.profiles.items.[INDEX]","typeLabel":"object"},"description":"Profiles to process the recording of this stream into. If not\nspecified, default profiles will be derived based on the stream\ninput. Keep in mind that the source rendition is always kept.\n","uniqueKey":"recordingSpec.profiles","typeLabel":"object[]"}},"uniqueKey":"recordingSpec","typeLabel":"object"},"multistream":{"type":"object","additionalProperties":false,"properties":{"targets":{"type":"array","example":[{"id":"PUSH123","profile":"720p"}],"description":"References to targets where this stream will be simultaneously\nstreamed to\n","items":{"type":"object","required":["profile"],"additionalProperties":false,"properties":{"profile":{"type":"string","description":"Name of transcoding profile that should be sent. Use\n\"source\" for pushing source stream data\n","minLength":1,"maxLength":500,"example":"720p0","isRequired":true,"uniqueKey":"multistream.targets.items.[INDEX].profile","typeLabel":"string"},"videoOnly":{"type":"boolean","description":"If true, the stream audio will be muted and only silent\nvideo will be pushed to the target.\n","default":false,"example":false,"uniqueKey":"multistream.targets.items.[INDEX].videoOnly","typeLabel":"boolean"},"id":{"type":"string","description":"ID of multistream target object where to push this stream","example":"PUSH123","uniqueKey":"multistream.targets.items.[INDEX].id","typeLabel":"string"}},"uniqueKey":"multistream.targets.items.[INDEX]","typeLabel":"object"},"uniqueKey":"multistream.targets","typeLabel":"object[]"}},"uniqueKey":"multistream","typeLabel":"object"},"suspended":{"type":"boolean","description":"If currently suspended","uniqueKey":"suspended","typeLabel":"boolean"},"lastTerminatedAt":{"oneOf":[{"type":"number","example":1713281212993,"description":"Timestamp (in milliseconds) when the stream was last terminated","uniqueKey":"lastTerminatedAt.oneOf.0","typeLabel":"number"},{"type":"null","example":1713281212993,"description":"Timestamp (in milliseconds) when the stream was last terminated","uniqueKey":"lastTerminatedAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"lastTerminatedAt","typeLabel":"number | null"},"userId":{"type":"string","readOnly":true,"example":"we7818e7-610a-4057-8f6f-b785dc1e6f88","deprecated":true,"uniqueKey":"userId","typeLabel":"string"},"renditions":{"type":"object","uniqueKey":"renditions","typeLabel":"object"}},"x-speakeasy-name-override":"data","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"name":"test_stream","id":"de7818e7-610a-4057-8f6f-b785dc1e6f88","kind":"stream","creatorId":{"type":"unverified","value":"user123"},"userTags":{},"lastSeen":1587667174725,"sourceSegments":1,"transcodedSegments":2,"sourceSegmentsDuration":1,"transcodedSegmentsDuration":2,"sourceBytes":1,"transcodedBytes":2,"ingestRate":1,"outgoingRate":2,"isActive":true,"isHealthy":"\u003cunknown>","issues":"\u003cunknown>","createdByTokenName":"abc-123-xyz-456","createdAt":1587667174725,"parentId":"de7818e7-610a-4057-8f6f-b785dc1e6f88","streamKey":"hgebdhhigq","pull":{"source":"https://myservice.com/live/stream.flv","headers":{"Authorization":"Bearer 123"},"isMobile":0,"location":{"lat":39.739,"lon":-104.988}},"playbackId":"eaw4nk06ts2d0mzb","playbackPolicy":{"type":"webhook","webhookId":"1bde4o2i6xycudoy","webhookContext":{"streamerId":"my-custom-id"},"refreshInterval":600,"allowedOrigins":["\u003cstring>"]},"profiles":[{"name":"240p0","fps":0,"bitrate":250000,"width":426,"height":240},{"name":"360p0","fps":0,"bitrate":800000,"width":640,"height":360},{"name":"480p0","fps":0,"bitrate":1600000,"width":854,"height":480},{"name":"720p0","fps":0,"bitrate":3000000,"width":1280,"height":720}],"projectId":"aac12556-4d65-4d34-9fb6-d1f0985eb0a9","record":false,"recordingSpec":{"profiles":[{"bitrate":3000000,"width":1280,"name":"720p","height":720,"quality":23,"fps":30,"fpsDen":1,"gop":2,"profile":"H264Baseline","encoder":"H.264"}]},"multistream":{"targets":[{"id":"PUSH123","profile":"720p"}]},"suspended":true,"lastTerminatedAt":1713281212993,"userId":"we7818e7-610a-4057-8f6f-b785dc1e6f88","renditions":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"291af02a-95da-45ba-b050-04583db1e73b":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"type":"array","minItems":1,"items":{"type":"string","example":["id not provided","Account not found"],"uniqueKey":"errors.items.[INDEX]","typeLabel":"string"},"uniqueKey":"errors","typeLabel":"string[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"errors":[["id not provided","Account not found"]]}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"dfaab2bd-1a24-4f48-b3fa-75448159df3d":{"apiKey":{"type":"http","scheme":"bearer","bearerFormat":"JWT","scopes":[]}}},"servers":{"ff6cbd4e-f891-46a0-b2e7-e586b1fa8a1b":{"url":"https://livepeer.studio/api"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"JWT","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":"apiKey","name":"Authorization"}],"title":"apiKey"}]},"originalFileLocation":"api/studio.yaml"},"subdomain":"na-36-fix-simplify-ubuntu-deps","siteName":"Livepeer Docs","title":"Retrieve a livestream - Livepeer Docs","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{"v1":{"href":"/v1/api-reference/stream/get","matchLevel":0},"v2":{"href":"/v2/home/mission-control","matchLevel":4}},"firstHrefInLanguage":{"en":{"href":"/v1/api-reference/stream/get","matchLevel":0}}},"lastModified":"2026-04-07T11:40:38.622Z","originalFileLocation":"v1/api-reference/stream/get.mdx","locale":"en"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"application-name\" content=\"Livepeer Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003cmeta data-mint-head name=\"robots\" content=\"noindex, nofollow\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/na-36-fix-simplify-ubuntu-deps/n27bjCKXLNvD5Xy-/_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/na-36-fix-simplify-ubuntu-deps/n27bjCKXLNvD5Xy-/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/na-36-fix-simplify-ubuntu-deps/n27bjCKXLNvD5Xy-/_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/na-36-fix-simplify-ubuntu-deps/n27bjCKXLNvD5Xy-/_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/na-36-fix-simplify-ubuntu-deps/n27bjCKXLNvD5Xy-/_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/na-36-fix-simplify-ubuntu-deps/n27bjCKXLNvD5Xy-/_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/na-36-fix-simplify-ubuntu-deps/n27bjCKXLNvD5Xy-/_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/na-36-fix-simplify-ubuntu-deps/n27bjCKXLNvD5Xy-/_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/na-36-fix-simplify-ubuntu-deps/n27bjCKXLNvD5Xy-/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Retrieve a livestream - Livepeer Docs\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Livepeer Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://na-36-fix-simplify-ubuntu-deps.mintlify.app/v1/api-reference/stream/get\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://na-36-fix-simplify-ubuntu-deps.mintlify.site/_mintlify/api/og/v2?division=Livestream\u0026amp;title=Retrieve+a+livestream\u0026amp;theme=a301ca5c19b322b9a5838d85\u0026amp;signature=8ea4b8a5ca73c89ca1885a5521a70775581118e2b58ef49282b8816280e98eb7\">\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=\"Retrieve a livestream - Livepeer Docs\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://na-36-fix-simplify-ubuntu-deps.mintlify.site/_mintlify/api/og/v2?division=Livestream\u0026amp;title=Retrieve+a+livestream\u0026amp;theme=a301ca5c19b322b9a5838d85\u0026amp;signature=8ea4b8a5ca73c89ca1885a5521a70775581118e2b58ef49282b8816280e98eb7\">\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/na-36-fix-simplify-ubuntu-deps/n27bjCKXLNvD5Xy-/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Livepeer Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#3CB540\">\u003clink data-mint-head rel=\"canonical\" href=\"https://na-36-fix-simplify-ubuntu-deps.mintlify.app/v1/api-reference/stream/get\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/v1/api-reference/stream/get.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Livepeer Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Livepeer Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/v1/api-reference/stream/get.md","siteName":"Livepeer Docs","nav":{"global":null,"versions":[{"version":"v1","default":true,"languages":[{"language":"en","dropdowns":[{"dropdown":"Developers","icon":"code","anchors":[{"anchor":"Documentation","icon":"code","pages":[{"title":"Documentation","href":"/v1/developers/introduction"}]},{"anchor":"API Reference","icon":"rectangle-terminal","groups":[{"group":"Overview","pages":[{"title":"Introduction","icon":"hand-wave","href":"/v1/api-reference/overview/introduction"},{"title":"Authentication","icon":"lock","href":"/v1/api-reference/overview/authentication"}]},{"group":"APIs","pages":[{"group":"Asset","icon":"video","pages":[{"title":null,"href":"/v1/api-reference/asset/overview"},{"title":"Upload an asset","openapi":"POST /asset/request-upload","href":"/v1/api-reference/asset/upload"},{"title":"Upload asset via URL","openapi":"POST /asset/upload/url","href":"/v1/api-reference/asset/upload-via-url"},{"title":"Retrieve an asset","openapi":"GET /asset/{assetId}","href":"/v1/api-reference/asset/get"},{"title":"Update an asset","openapi":"PATCH /asset/{assetId}","href":"/v1/api-reference/asset/update"},{"title":"Delete an asset","openapi":"DELETE /asset/{assetId}","href":"/v1/api-reference/asset/delete"},{"title":"Retrieve assets","openapi":"GET /asset","href":"/v1/api-reference/asset/get-all"}]},{"group":"Livestream","icon":"camera","pages":[{"title":null,"href":"/v1/api-reference/stream/overview"},{"title":"Create a livestream","openapi":"POST /stream","description":"The only parameter you are required to set is the name of your stream,\nbut we also highly recommend that you define transcoding profiles\nparameter that suits your specific broadcasting configuration.\n\\\n\\\nIf you do not define transcoding rendition profiles when creating the\nstream, a default set of profiles will be used. These profiles include\n240p, 360p, 480p and 720p.\n\\\n\\\nThe playback policy is set to public by default for new streams. It can\nalso be added upon the creation of a new stream by adding\n`\"playbackPolicy\": {\"type\": \"jwt\"}`\n","href":"/v1/api-reference/stream/create"},{"title":"Retrieve a livestream","openapi":"GET /stream/{id}","href":"/v1/api-reference/stream/get"},{"title":"Update a livestream","openapi":"PATCH /stream/{id}","description":null,"href":"/v1/api-reference/stream/update"},{"title":"Terminates a livestream","openapi":"DELETE /stream/{id}/terminate","href":"/v1/api-reference/stream/terminate"},{"title":"Add a multistream target","openapi":"POST /stream/{id}/create-multistream-target","href":"/v1/api-reference/stream/add-multistream-target"},{"title":"Remove a multistream target","openapi":"DELETE /stream/{id}/multistream/{targetId}","href":"/v1/api-reference/stream/delete-multistream-target"},{"title":"Delete a livestream","openapi":"DELETE /stream/{id}","href":"/v1/api-reference/stream/delete"},{"title":"Retrieve all livestreams","openapi":"GET /stream","href":"/v1/api-reference/stream/get-all"},{"title":"Create a clip","openapi":"POST /clip","href":"/v1/api-reference/stream/create-clip"},{"title":"Retrieve clips of a livestream","openapi":"GET /stream/{id}/clips","href":"/v1/api-reference/stream/get-clip"}]},{"group":"Generate","icon":"microchip-ai","pages":[{"title":null,"href":"/v1/api-reference/generate/overview"},{"title":"Audio To Text","openapi":"POST /api/beta/generate/audio-to-text","href":"/v1/api-reference/generate/audio-to-text"},{"title":"Text To Image","openapi":"POST /api/beta/generate/text-to-image","href":"/v1/api-reference/generate/text-to-image"},{"title":"Image To Image","openapi":"POST /api/beta/generate/image-to-image","href":"/v1/api-reference/generate/image-to-image"},{"title":"Image To Video","openapi":"POST /api/beta/generate/image-to-video","href":"/v1/api-reference/generate/image-to-video"},{"title":"LLM","href":"/v1/api-reference/generate/llm"},{"title":"Segment Anything 2","openapi":"POST /api/beta/generate/segment-anything-2","href":"/v1/api-reference/generate/segment-anything-2"},{"title":"Upscale","openapi":"POST /api/beta/generate/upscale","href":"/v1/api-reference/generate/upscale"}]},{"group":"Multistream target","icon":"arrows-split-up-and-left","pages":[{"title":null,"href":"/v1/api-reference/multistream/overview"},{"title":"Create a multistream","openapi":"POST /multistream/target","href":"/v1/api-reference/multistream/create"},{"title":"Retrieve a multistream","openapi":"GET /multistream/target/{id}","href":"/v1/api-reference/multistream/get"},{"title":"Update a multistream","openapi":"PATCH /multistream/target/{id}","href":"/v1/api-reference/multistream/update"},{"title":"Delete a multistream","openapi":"DELETE /multistream/target/{id}","href":"/v1/api-reference/multistream/delete"},{"title":"Retrieve all multistreams","openapi":"GET /multistream/target","href":"/v1/api-reference/multistream/get-all"}]},{"group":"Session","icon":"film","pages":[{"title":null,"href":"/v1/api-reference/session/overview"},{"title":"Retrieve a session","openapi":"GET /session/{id}","href":"/v1/api-reference/session/get"},{"title":"Retrieve all sessions","openapi":"GET /session","href":"/v1/api-reference/session/get-all"},{"title":"Retrieve recorded sessions","openapi":"GET /stream/{parentId}/sessions","href":"/v1/api-reference/session/get-recording"},{"title":"Retrieve clips of a session","openapi":"GET /session/{id}/clips","href":"/v1/api-reference/session/get-clip"}]},{"group":"Access control","icon":"lock","pages":[{"title":null,"href":"/v1/api-reference/signing-key/overview"},{"title":"Create a signing key","openapi":"POST /access-control/signing-key","href":"/v1/api-reference/signing-key/create"},{"title":"Retrieve a signing key","openapi":"GET /access-control/signing-key/{keyId}","href":"/v1/api-reference/signing-key/get"},{"title":"Update a signing key","openapi":"PATCH /access-control/signing-key/{keyId}","href":"/v1/api-reference/signing-key/update"},{"title":"Delete a signing key","openapi":"DELETE /access-control/signing-key/{keyId}","href":"/v1/api-reference/signing-key/delete"},{"title":"Retrieve signing keys","openapi":"GET /access-control/signing-key","href":"/v1/api-reference/signing-key/get-all"}]},{"group":"Webhook","icon":"bell","pages":[{"title":null,"href":"/v1/api-reference/webhook/overview"},{"title":"Create a webhook","openapi":"POST /webhook","href":"/v1/api-reference/webhook/create"},{"title":"Retrieve a webhook","openapi":"GET /webhook/{id}","href":"/v1/api-reference/webhook/get"},{"title":"Update a webhook","openapi":"PUT /webhook/{id}","href":"/v1/api-reference/webhook/update"},{"title":"Delete a webhook","openapi":"DELETE /webhook/{id}","href":"/v1/api-reference/webhook/delete"},{"title":"Retrieve all webhooks","openapi":"GET /webhook","href":"/v1/api-reference/webhook/get-all"}]},{"group":"Task","icon":"gear","pages":[{"title":null,"href":"/v1/api-reference/task/overview"},{"title":"Retrieve tasks","openapi":"GET /task","href":"/v1/api-reference/task/get-all"},{"title":"Retrieve a task","openapi":"GET /task/{taskId}","href":"/v1/api-reference/task/get"}]},{"group":"Playback","icon":"play","pages":[{"title":null,"href":"/v1/api-reference/playback/overview"},{"title":"Retrieve Playback Info","openapi":"GET /playback/{id}","href":"/v1/api-reference/playback/get"}]},{"group":"Transcode","icon":"photo-film","pages":[{"title":null,"href":"/v1/api-reference/transcode/overview"},{"title":"Transcode a video","openapi":"POST /transcode","href":"/v1/api-reference/transcode/create"}]},{"group":"Viewership","icon":"chart-bar","pages":[{"title":"Query realtime viewership","openapi":"GET /data/views/now","href":"/v1/api-reference/viewership/get-realtime-viewership"},{"title":"Query viewership metrics","openapi":"GET /data/views/query","href":"/v1/api-reference/viewership/get-viewership-metrics"},{"title":"Query usage metrics","openapi":"GET /data/usage/query","href":"/v1/api-reference/viewership/get-usage-metrics"},{"title":"Query public total views metrics","openapi":"GET /data/views/query/total/{playbackId}","href":"/v1/api-reference/viewership/get-public-total-views"},{"title":"Query creator viewership metrics","openapi":"GET /data/views/query/creator","href":"/v1/api-reference/viewership/get-creators-metrics"}]}]}]},{"anchor":"SDKs","icon":"brackets-curly","pages":[{"title":"SDKs","href":"/v1/sdks/introduction"}]},{"anchor":"AI Video (Beta)","icon":{"style":"regular","name":"microchip-ai"},"pages":[{"title":"AI Video (Beta)","href":"/v1/ai/introduction"}]},{"anchor":" ","icon":"horizontal-rule"},{"anchor":"Livepeer Studio ➚","icon":"clapperboard-play","href":"https://livepeer.studio"},{"anchor":"What's New ➚","icon":"rocket","href":"https://livepeer.canny.io/changelog"},{"anchor":"Community ➚","icon":{"style":"brands","name":"discord"},"href":"https://discord.gg/livepeer"}]},{"dropdown":"Delegators","icon":"coins","anchors":[{"anchor":"Documentation","icon":"code","pages":[{"title":"Documentation","href":"/v1/delegators/introduction"}]},{"anchor":"API Reference","icon":"rectangle-terminal","groups":[{"group":"Overview","pages":[{"title":"Introduction","icon":"hand-wave","href":"/v1/api-reference/overview/introduction"},{"title":"Authentication","icon":"lock","href":"/v1/api-reference/overview/authentication"}]},{"group":"APIs","pages":[{"group":"Asset","icon":"video","pages":[{"title":null,"href":"/v1/api-reference/asset/overview"},{"title":"Upload an asset","openapi":"POST /asset/request-upload","href":"/v1/api-reference/asset/upload"},{"title":"Upload asset via URL","openapi":"POST /asset/upload/url","href":"/v1/api-reference/asset/upload-via-url"},{"title":"Retrieve an asset","openapi":"GET /asset/{assetId}","href":"/v1/api-reference/asset/get"},{"title":"Update an asset","openapi":"PATCH /asset/{assetId}","href":"/v1/api-reference/asset/update"},{"title":"Delete an asset","openapi":"DELETE /asset/{assetId}","href":"/v1/api-reference/asset/delete"},{"title":"Retrieve assets","openapi":"GET /asset","href":"/v1/api-reference/asset/get-all"}]},{"group":"Livestream","icon":"camera","pages":[{"title":null,"href":"/v1/api-reference/stream/overview"},{"title":"Create a livestream","openapi":"POST /stream","description":"The only parameter you are required to set is the name of your stream,\nbut we also highly recommend that you define transcoding profiles\nparameter that suits your specific broadcasting configuration.\n\\\n\\\nIf you do not define transcoding rendition profiles when creating the\nstream, a default set of profiles will be used. These profiles include\n240p, 360p, 480p and 720p.\n\\\n\\\nThe playback policy is set to public by default for new streams. It can\nalso be added upon the creation of a new stream by adding\n`\"playbackPolicy\": {\"type\": \"jwt\"}`\n","href":"/v1/api-reference/stream/create"},{"title":"Retrieve a livestream","openapi":"GET /stream/{id}","href":"/v1/api-reference/stream/get"},{"title":"Update a livestream","openapi":"PATCH /stream/{id}","description":null,"href":"/v1/api-reference/stream/update"},{"title":"Terminates a livestream","openapi":"DELETE /stream/{id}/terminate","href":"/v1/api-reference/stream/terminate"},{"title":"Add a multistream target","openapi":"POST /stream/{id}/create-multistream-target","href":"/v1/api-reference/stream/add-multistream-target"},{"title":"Remove a multistream target","openapi":"DELETE /stream/{id}/multistream/{targetId}","href":"/v1/api-reference/stream/delete-multistream-target"},{"title":"Delete a livestream","openapi":"DELETE /stream/{id}","href":"/v1/api-reference/stream/delete"},{"title":"Retrieve all livestreams","openapi":"GET /stream","href":"/v1/api-reference/stream/get-all"},{"title":"Create a clip","openapi":"POST /clip","href":"/v1/api-reference/stream/create-clip"},{"title":"Retrieve clips of a livestream","openapi":"GET /stream/{id}/clips","href":"/v1/api-reference/stream/get-clip"}]},{"group":"Generate","icon":"microchip-ai","pages":[{"title":null,"href":"/v1/api-reference/generate/overview"},{"title":"Audio To Text","openapi":"POST /api/beta/generate/audio-to-text","href":"/v1/api-reference/generate/audio-to-text"},{"title":"Text To Image","openapi":"POST /api/beta/generate/text-to-image","href":"/v1/api-reference/generate/text-to-image"},{"title":"Image To Image","openapi":"POST /api/beta/generate/image-to-image","href":"/v1/api-reference/generate/image-to-image"},{"title":"Image To Video","openapi":"POST /api/beta/generate/image-to-video","href":"/v1/api-reference/generate/image-to-video"},{"title":"LLM","href":"/v1/api-reference/generate/llm"},{"title":"Segment Anything 2","openapi":"POST /api/beta/generate/segment-anything-2","href":"/v1/api-reference/generate/segment-anything-2"},{"title":"Upscale","openapi":"POST /api/beta/generate/upscale","href":"/v1/api-reference/generate/upscale"}]},{"group":"Multistream target","icon":"arrows-split-up-and-left","pages":[{"title":null,"href":"/v1/api-reference/multistream/overview"},{"title":"Create a multistream","openapi":"POST /multistream/target","href":"/v1/api-reference/multistream/create"},{"title":"Retrieve a multistream","openapi":"GET /multistream/target/{id}","href":"/v1/api-reference/multistream/get"},{"title":"Update a multistream","openapi":"PATCH /multistream/target/{id}","href":"/v1/api-reference/multistream/update"},{"title":"Delete a multistream","openapi":"DELETE /multistream/target/{id}","href":"/v1/api-reference/multistream/delete"},{"title":"Retrieve all multistreams","openapi":"GET /multistream/target","href":"/v1/api-reference/multistream/get-all"}]},{"group":"Session","icon":"film","pages":[{"title":null,"href":"/v1/api-reference/session/overview"},{"title":"Retrieve a session","openapi":"GET /session/{id}","href":"/v1/api-reference/session/get"},{"title":"Retrieve all sessions","openapi":"GET /session","href":"/v1/api-reference/session/get-all"},{"title":"Retrieve recorded sessions","openapi":"GET /stream/{parentId}/sessions","href":"/v1/api-reference/session/get-recording"},{"title":"Retrieve clips of a session","openapi":"GET /session/{id}/clips","href":"/v1/api-reference/session/get-clip"}]},{"group":"Access control","icon":"lock","pages":[{"title":null,"href":"/v1/api-reference/signing-key/overview"},{"title":"Create a signing key","openapi":"POST /access-control/signing-key","href":"/v1/api-reference/signing-key/create"},{"title":"Retrieve a signing key","openapi":"GET /access-control/signing-key/{keyId}","href":"/v1/api-reference/signing-key/get"},{"title":"Update a signing key","openapi":"PATCH /access-control/signing-key/{keyId}","href":"/v1/api-reference/signing-key/update"},{"title":"Delete a signing key","openapi":"DELETE /access-control/signing-key/{keyId}","href":"/v1/api-reference/signing-key/delete"},{"title":"Retrieve signing keys","openapi":"GET /access-control/signing-key","href":"/v1/api-reference/signing-key/get-all"}]},{"group":"Webhook","icon":"bell","pages":[{"title":null,"href":"/v1/api-reference/webhook/overview"},{"title":"Create a webhook","openapi":"POST /webhook","href":"/v1/api-reference/webhook/create"},{"title":"Retrieve a webhook","openapi":"GET /webhook/{id}","href":"/v1/api-reference/webhook/get"},{"title":"Update a webhook","openapi":"PUT /webhook/{id}","href":"/v1/api-reference/webhook/update"},{"title":"Delete a webhook","openapi":"DELETE /webhook/{id}","href":"/v1/api-reference/webhook/delete"},{"title":"Retrieve all webhooks","openapi":"GET /webhook","href":"/v1/api-reference/webhook/get-all"}]},{"group":"Task","icon":"gear","pages":[{"title":null,"href":"/v1/api-reference/task/overview"},{"title":"Retrieve tasks","openapi":"GET /task","href":"/v1/api-reference/task/get-all"},{"title":"Retrieve a task","openapi":"GET /task/{taskId}","href":"/v1/api-reference/task/get"}]},{"group":"Playback","icon":"play","pages":[{"title":null,"href":"/v1/api-reference/playback/overview"},{"title":"Retrieve Playback Info","openapi":"GET /playback/{id}","href":"/v1/api-reference/playback/get"}]},{"group":"Transcode","icon":"photo-film","pages":[{"title":null,"href":"/v1/api-reference/transcode/overview"},{"title":"Transcode a video","openapi":"POST /transcode","href":"/v1/api-reference/transcode/create"}]},{"group":"Viewership","icon":"chart-bar","pages":[{"title":"Query realtime viewership","openapi":"GET /data/views/now","href":"/v1/api-reference/viewership/get-realtime-viewership"},{"title":"Query viewership metrics","openapi":"GET /data/views/query","href":"/v1/api-reference/viewership/get-viewership-metrics"},{"title":"Query usage metrics","openapi":"GET /data/usage/query","href":"/v1/api-reference/viewership/get-usage-metrics"},{"title":"Query public total views metrics","openapi":"GET /data/views/query/total/{playbackId}","href":"/v1/api-reference/viewership/get-public-total-views"},{"title":"Query creator viewership metrics","openapi":"GET /data/views/query/creator","href":"/v1/api-reference/viewership/get-creators-metrics"}]}]}]},{"anchor":"SDKs","icon":"brackets-curly","pages":[{"title":"SDKs","href":"/v1/sdks/introduction"}]},{"anchor":"AI Video (Beta)","icon":{"style":"regular","name":"microchip-ai"},"pages":[{"title":"AI Video (Beta)","href":"/v1/ai/introduction"}]},{"anchor":" ","icon":"horizontal-rule"},{"anchor":"Livepeer Studio ➚","icon":"clapperboard-play","href":"https://livepeer.studio"},{"anchor":"What's New ➚","icon":"rocket","href":"https://livepeer.canny.io/changelog"},{"anchor":"Community ➚","icon":{"style":"brands","name":"discord"},"href":"https://discord.gg/livepeer"}]},{"dropdown":"Orchestrators","icon":"microchip","anchors":[{"anchor":"Documentation","icon":"code","pages":[{"title":"Documentation","href":"/v1/orchestrators/introduction"}]},{"anchor":"API Reference","icon":"rectangle-terminal","groups":[{"group":"Overview","pages":[{"title":"Introduction","icon":"hand-wave","href":"/v1/api-reference/overview/introduction"},{"title":"Authentication","icon":"lock","href":"/v1/api-reference/overview/authentication"}]},{"group":"APIs","pages":[{"group":"Asset","icon":"video","pages":[{"title":null,"href":"/v1/api-reference/asset/overview"},{"title":"Upload an asset","openapi":"POST /asset/request-upload","href":"/v1/api-reference/asset/upload"},{"title":"Upload asset via URL","openapi":"POST /asset/upload/url","href":"/v1/api-reference/asset/upload-via-url"},{"title":"Retrieve an asset","openapi":"GET /asset/{assetId}","href":"/v1/api-reference/asset/get"},{"title":"Update an asset","openapi":"PATCH /asset/{assetId}","href":"/v1/api-reference/asset/update"},{"title":"Delete an asset","openapi":"DELETE /asset/{assetId}","href":"/v1/api-reference/asset/delete"},{"title":"Retrieve assets","openapi":"GET /asset","href":"/v1/api-reference/asset/get-all"}]},{"group":"Livestream","icon":"camera","pages":[{"title":null,"href":"/v1/api-reference/stream/overview"},{"title":"Create a livestream","openapi":"POST /stream","description":"The only parameter you are required to set is the name of your stream,\nbut we also highly recommend that you define transcoding profiles\nparameter that suits your specific broadcasting configuration.\n\\\n\\\nIf you do not define transcoding rendition profiles when creating the\nstream, a default set of profiles will be used. These profiles include\n240p, 360p, 480p and 720p.\n\\\n\\\nThe playback policy is set to public by default for new streams. It can\nalso be added upon the creation of a new stream by adding\n`\"playbackPolicy\": {\"type\": \"jwt\"}`\n","href":"/v1/api-reference/stream/create"},{"title":"Retrieve a livestream","openapi":"GET /stream/{id}","href":"/v1/api-reference/stream/get"},{"title":"Update a livestream","openapi":"PATCH /stream/{id}","description":null,"href":"/v1/api-reference/stream/update"},{"title":"Terminates a livestream","openapi":"DELETE /stream/{id}/terminate","href":"/v1/api-reference/stream/terminate"},{"title":"Add a multistream target","openapi":"POST /stream/{id}/create-multistream-target","href":"/v1/api-reference/stream/add-multistream-target"},{"title":"Remove a multistream target","openapi":"DELETE /stream/{id}/multistream/{targetId}","href":"/v1/api-reference/stream/delete-multistream-target"},{"title":"Delete a livestream","openapi":"DELETE /stream/{id}","href":"/v1/api-reference/stream/delete"},{"title":"Retrieve all livestreams","openapi":"GET /stream","href":"/v1/api-reference/stream/get-all"},{"title":"Create a clip","openapi":"POST /clip","href":"/v1/api-reference/stream/create-clip"},{"title":"Retrieve clips of a livestream","openapi":"GET /stream/{id}/clips","href":"/v1/api-reference/stream/get-clip"}]},{"group":"Generate","icon":"microchip-ai","pages":[{"title":null,"href":"/v1/api-reference/generate/overview"},{"title":"Audio To Text","openapi":"POST /api/beta/generate/audio-to-text","href":"/v1/api-reference/generate/audio-to-text"},{"title":"Text To Image","openapi":"POST /api/beta/generate/text-to-image","href":"/v1/api-reference/generate/text-to-image"},{"title":"Image To Image","openapi":"POST /api/beta/generate/image-to-image","href":"/v1/api-reference/generate/image-to-image"},{"title":"Image To Video","openapi":"POST /api/beta/generate/image-to-video","href":"/v1/api-reference/generate/image-to-video"},{"title":"LLM","href":"/v1/api-reference/generate/llm"},{"title":"Segment Anything 2","openapi":"POST /api/beta/generate/segment-anything-2","href":"/v1/api-reference/generate/segment-anything-2"},{"title":"Upscale","openapi":"POST /api/beta/generate/upscale","href":"/v1/api-reference/generate/upscale"}]},{"group":"Multistream target","icon":"arrows-split-up-and-left","pages":[{"title":null,"href":"/v1/api-reference/multistream/overview"},{"title":"Create a multistream","openapi":"POST /multistream/target","href":"/v1/api-reference/multistream/create"},{"title":"Retrieve a multistream","openapi":"GET /multistream/target/{id}","href":"/v1/api-reference/multistream/get"},{"title":"Update a multistream","openapi":"PATCH /multistream/target/{id}","href":"/v1/api-reference/multistream/update"},{"title":"Delete a multistream","openapi":"DELETE /multistream/target/{id}","href":"/v1/api-reference/multistream/delete"},{"title":"Retrieve all multistreams","openapi":"GET /multistream/target","href":"/v1/api-reference/multistream/get-all"}]},{"group":"Session","icon":"film","pages":[{"title":null,"href":"/v1/api-reference/session/overview"},{"title":"Retrieve a session","openapi":"GET /session/{id}","href":"/v1/api-reference/session/get"},{"title":"Retrieve all sessions","openapi":"GET /session","href":"/v1/api-reference/session/get-all"},{"title":"Retrieve recorded sessions","openapi":"GET /stream/{parentId}/sessions","href":"/v1/api-reference/session/get-recording"},{"title":"Retrieve clips of a session","openapi":"GET /session/{id}/clips","href":"/v1/api-reference/session/get-clip"}]},{"group":"Access control","icon":"lock","pages":[{"title":null,"href":"/v1/api-reference/signing-key/overview"},{"title":"Create a signing key","openapi":"POST /access-control/signing-key","href":"/v1/api-reference/signing-key/create"},{"title":"Retrieve a signing key","openapi":"GET /access-control/signing-key/{keyId}","href":"/v1/api-reference/signing-key/get"},{"title":"Update a signing key","openapi":"PATCH /access-control/signing-key/{keyId}","href":"/v1/api-reference/signing-key/update"},{"title":"Delete a signing key","openapi":"DELETE /access-control/signing-key/{keyId}","href":"/v1/api-reference/signing-key/delete"},{"title":"Retrieve signing keys","openapi":"GET /access-control/signing-key","href":"/v1/api-reference/signing-key/get-all"}]},{"group":"Webhook","icon":"bell","pages":[{"title":null,"href":"/v1/api-reference/webhook/overview"},{"title":"Create a webhook","openapi":"POST /webhook","href":"/v1/api-reference/webhook/create"},{"title":"Retrieve a webhook","openapi":"GET /webhook/{id}","href":"/v1/api-reference/webhook/get"},{"title":"Update a webhook","openapi":"PUT /webhook/{id}","href":"/v1/api-reference/webhook/update"},{"title":"Delete a webhook","openapi":"DELETE /webhook/{id}","href":"/v1/api-reference/webhook/delete"},{"title":"Retrieve all webhooks","openapi":"GET /webhook","href":"/v1/api-reference/webhook/get-all"}]},{"group":"Task","icon":"gear","pages":[{"title":null,"href":"/v1/api-reference/task/overview"},{"title":"Retrieve tasks","openapi":"GET /task","href":"/v1/api-reference/task/get-all"},{"title":"Retrieve a task","openapi":"GET /task/{taskId}","href":"/v1/api-reference/task/get"}]},{"group":"Playback","icon":"play","pages":[{"title":null,"href":"/v1/api-reference/playback/overview"},{"title":"Retrieve Playback Info","openapi":"GET /playback/{id}","href":"/v1/api-reference/playback/get"}]},{"group":"Transcode","icon":"photo-film","pages":[{"title":null,"href":"/v1/api-reference/transcode/overview"},{"title":"Transcode a video","openapi":"POST /transcode","href":"/v1/api-reference/transcode/create"}]},{"group":"Viewership","icon":"chart-bar","pages":[{"title":"Query realtime viewership","openapi":"GET /data/views/now","href":"/v1/api-reference/viewership/get-realtime-viewership"},{"title":"Query viewership metrics","openapi":"GET /data/views/query","href":"/v1/api-reference/viewership/get-viewership-metrics"},{"title":"Query usage metrics","openapi":"GET /data/usage/query","href":"/v1/api-reference/viewership/get-usage-metrics"},{"title":"Query public total views metrics","openapi":"GET /data/views/query/total/{playbackId}","href":"/v1/api-reference/viewership/get-public-total-views"},{"title":"Query creator viewership metrics","openapi":"GET /data/views/query/creator","href":"/v1/api-reference/viewership/get-creators-metrics"}]}]}]},{"anchor":"SDKs","icon":"brackets-curly","pages":[{"title":"SDKs","href":"/v1/sdks/introduction"}]},{"anchor":"AI Video (Beta)","icon":{"style":"regular","name":"microchip-ai"},"pages":[{"title":"AI Video (Beta)","href":"/v1/ai/introduction"}]},{"anchor":" ","icon":"horizontal-rule"},{"anchor":"Livepeer Studio ➚","icon":"clapperboard-play","href":"https://livepeer.studio"},{"anchor":"What's New ➚","icon":"rocket","href":"https://livepeer.canny.io/changelog"},{"anchor":"Community ➚","icon":{"style":"brands","name":"discord"},"href":"https://discord.gg/livepeer"}]},{"dropdown":"Gateways","icon":"torii-gate","anchors":[{"anchor":"Documentation","icon":"code","pages":[{"title":"Documentation","href":"/v1/gateways/introduction"}]},{"anchor":"API Reference","icon":"rectangle-terminal","groups":[{"group":"Overview","pages":[{"title":"Introduction","icon":"hand-wave","href":"/v1/api-reference/overview/introduction"},{"title":"Authentication","icon":"lock","href":"/v1/api-reference/overview/authentication"}]},{"group":"APIs","pages":[{"group":"Asset","icon":"video","pages":[{"title":null,"href":"/v1/api-reference/asset/overview"},{"title":"Upload an asset","openapi":"POST /asset/request-upload","href":"/v1/api-reference/asset/upload"},{"title":"Upload asset via URL","openapi":"POST /asset/upload/url","href":"/v1/api-reference/asset/upload-via-url"},{"title":"Retrieve an asset","openapi":"GET /asset/{assetId}","href":"/v1/api-reference/asset/get"},{"title":"Update an asset","openapi":"PATCH /asset/{assetId}","href":"/v1/api-reference/asset/update"},{"title":"Delete an asset","openapi":"DELETE /asset/{assetId}","href":"/v1/api-reference/asset/delete"},{"title":"Retrieve assets","openapi":"GET /asset","href":"/v1/api-reference/asset/get-all"}]},{"group":"Livestream","icon":"camera","pages":[{"title":null,"href":"/v1/api-reference/stream/overview"},{"title":"Create a livestream","openapi":"POST /stream","description":"The only parameter you are required to set is the name of your stream,\nbut we also highly recommend that you define transcoding profiles\nparameter that suits your specific broadcasting configuration.\n\\\n\\\nIf you do not define transcoding rendition profiles when creating the\nstream, a default set of profiles will be used. These profiles include\n240p, 360p, 480p and 720p.\n\\\n\\\nThe playback policy is set to public by default for new streams. It can\nalso be added upon the creation of a new stream by adding\n`\"playbackPolicy\": {\"type\": \"jwt\"}`\n","href":"/v1/api-reference/stream/create"},{"title":"Retrieve a livestream","openapi":"GET /stream/{id}","href":"/v1/api-reference/stream/get"},{"title":"Update a livestream","openapi":"PATCH /stream/{id}","description":null,"href":"/v1/api-reference/stream/update"},{"title":"Terminates a livestream","openapi":"DELETE /stream/{id}/terminate","href":"/v1/api-reference/stream/terminate"},{"title":"Add a multistream target","openapi":"POST /stream/{id}/create-multistream-target","href":"/v1/api-reference/stream/add-multistream-target"},{"title":"Remove a multistream target","openapi":"DELETE /stream/{id}/multistream/{targetId}","href":"/v1/api-reference/stream/delete-multistream-target"},{"title":"Delete a livestream","openapi":"DELETE /stream/{id}","href":"/v1/api-reference/stream/delete"},{"title":"Retrieve all livestreams","openapi":"GET /stream","href":"/v1/api-reference/stream/get-all"},{"title":"Create a clip","openapi":"POST /clip","href":"/v1/api-reference/stream/create-clip"},{"title":"Retrieve clips of a livestream","openapi":"GET /stream/{id}/clips","href":"/v1/api-reference/stream/get-clip"}]},{"group":"Generate","icon":"microchip-ai","pages":[{"title":null,"href":"/v1/api-reference/generate/overview"},{"title":"Audio To Text","openapi":"POST /api/beta/generate/audio-to-text","href":"/v1/api-reference/generate/audio-to-text"},{"title":"Text To Image","openapi":"POST /api/beta/generate/text-to-image","href":"/v1/api-reference/generate/text-to-image"},{"title":"Image To Image","openapi":"POST /api/beta/generate/image-to-image","href":"/v1/api-reference/generate/image-to-image"},{"title":"Image To Video","openapi":"POST /api/beta/generate/image-to-video","href":"/v1/api-reference/generate/image-to-video"},{"title":"LLM","href":"/v1/api-reference/generate/llm"},{"title":"Segment Anything 2","openapi":"POST /api/beta/generate/segment-anything-2","href":"/v1/api-reference/generate/segment-anything-2"},{"title":"Upscale","openapi":"POST /api/beta/generate/upscale","href":"/v1/api-reference/generate/upscale"}]},{"group":"Multistream target","icon":"arrows-split-up-and-left","pages":[{"title":null,"href":"/v1/api-reference/multistream/overview"},{"title":"Create a multistream","openapi":"POST /multistream/target","href":"/v1/api-reference/multistream/create"},{"title":"Retrieve a multistream","openapi":"GET /multistream/target/{id}","href":"/v1/api-reference/multistream/get"},{"title":"Update a multistream","openapi":"PATCH /multistream/target/{id}","href":"/v1/api-reference/multistream/update"},{"title":"Delete a multistream","openapi":"DELETE /multistream/target/{id}","href":"/v1/api-reference/multistream/delete"},{"title":"Retrieve all multistreams","openapi":"GET /multistream/target","href":"/v1/api-reference/multistream/get-all"}]},{"group":"Session","icon":"film","pages":[{"title":null,"href":"/v1/api-reference/session/overview"},{"title":"Retrieve a session","openapi":"GET /session/{id}","href":"/v1/api-reference/session/get"},{"title":"Retrieve all sessions","openapi":"GET /session","href":"/v1/api-reference/session/get-all"},{"title":"Retrieve recorded sessions","openapi":"GET /stream/{parentId}/sessions","href":"/v1/api-reference/session/get-recording"},{"title":"Retrieve clips of a session","openapi":"GET /session/{id}/clips","href":"/v1/api-reference/session/get-clip"}]},{"group":"Access control","icon":"lock","pages":[{"title":null,"href":"/v1/api-reference/signing-key/overview"},{"title":"Create a signing key","openapi":"POST /access-control/signing-key","href":"/v1/api-reference/signing-key/create"},{"title":"Retrieve a signing key","openapi":"GET /access-control/signing-key/{keyId}","href":"/v1/api-reference/signing-key/get"},{"title":"Update a signing key","openapi":"PATCH /access-control/signing-key/{keyId}","href":"/v1/api-reference/signing-key/update"},{"title":"Delete a signing key","openapi":"DELETE /access-control/signing-key/{keyId}","href":"/v1/api-reference/signing-key/delete"},{"title":"Retrieve signing keys","openapi":"GET /access-control/signing-key","href":"/v1/api-reference/signing-key/get-all"}]},{"group":"Webhook","icon":"bell","pages":[{"title":null,"href":"/v1/api-reference/webhook/overview"},{"title":"Create a webhook","openapi":"POST /webhook","href":"/v1/api-reference/webhook/create"},{"title":"Retrieve a webhook","openapi":"GET /webhook/{id}","href":"/v1/api-reference/webhook/get"},{"title":"Update a webhook","openapi":"PUT /webhook/{id}","href":"/v1/api-reference/webhook/update"},{"title":"Delete a webhook","openapi":"DELETE /webhook/{id}","href":"/v1/api-reference/webhook/delete"},{"title":"Retrieve all webhooks","openapi":"GET /webhook","href":"/v1/api-reference/webhook/get-all"}]},{"group":"Task","icon":"gear","pages":[{"title":null,"href":"/v1/api-reference/task/overview"},{"title":"Retrieve tasks","openapi":"GET /task","href":"/v1/api-reference/task/get-all"},{"title":"Retrieve a task","openapi":"GET /task/{taskId}","href":"/v1/api-reference/task/get"}]},{"group":"Playback","icon":"play","pages":[{"title":null,"href":"/v1/api-reference/playback/overview"},{"title":"Retrieve Playback Info","openapi":"GET /playback/{id}","href":"/v1/api-reference/playback/get"}]},{"group":"Transcode","icon":"photo-film","pages":[{"title":null,"href":"/v1/api-reference/transcode/overview"},{"title":"Transcode a video","openapi":"POST /transcode","href":"/v1/api-reference/transcode/create"}]},{"group":"Viewership","icon":"chart-bar","pages":[{"title":"Query realtime viewership","openapi":"GET /data/views/now","href":"/v1/api-reference/viewership/get-realtime-viewership"},{"title":"Query viewership metrics","openapi":"GET /data/views/query","href":"/v1/api-reference/viewership/get-viewership-metrics"},{"title":"Query usage metrics","openapi":"GET /data/usage/query","href":"/v1/api-reference/viewership/get-usage-metrics"},{"title":"Query public total views metrics","openapi":"GET /data/views/query/total/{playbackId}","href":"/v1/api-reference/viewership/get-public-total-views"},{"title":"Query creator viewership metrics","openapi":"GET /data/views/query/creator","href":"/v1/api-reference/viewership/get-creators-metrics"}]}]}]},{"anchor":"SDKs","icon":"brackets-curly","pages":[{"title":"SDKs","href":"/v1/sdks/introduction"}]},{"anchor":"AI Video (Beta)","icon":{"style":"regular","name":"microchip-ai"},"pages":[{"title":"AI Video (Beta)","href":"/v1/ai/introduction"}]},{"anchor":" ","icon":"horizontal-rule"},{"anchor":"Livepeer Studio ➚","icon":"clapperboard-play","href":"https://livepeer.studio"},{"anchor":"What's New ➚","icon":"rocket","href":"https://livepeer.canny.io/changelog"},{"anchor":"Community ➚","icon":{"style":"brands","name":"discord"},"href":"https://discord.gg/livepeer"}]}]}]},{"version":"v2","default":false,"pages":[{"title":"v2","href":"/v2/home/mission-control"}]}]},"basePath":"","title":"Retrieve a livestream - Livepeer Docs","deploymentId":"dpl_3VZr4zL4q2wbintGwWjSCGUgnuP7","buildId":"dpl_3VZr4zL4q2wbintGwWjSCGUgnuP7","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3","6d89261695"],"chunks":["OpenApiReferenceProvider-DUG0fxZu.js","snippetPresets-Ba5aWAdQ.js","utils-GxQLQihZ.js","style-to-object-BY3JEAdk.js","utils-WKMM_gjD.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-Bo9LYdaA.js","conditional-requirements-CFM0id0Q.js","cloneDeep-DwYjaFhs.js","_Uint8Array-DDE2Hehm.js","isObject-FP1Yky1u.js","ApiExamples-DhR-5ORn.js","usePlaygroundInputsStore-BaYqfAgH.js","shallow-BC7UwQwD.js","isEqual-gcN6MEQu.js","CodeSnippets-B8P54LrN.js","CodeSnippet-Czwn5OJE.js","use-playground-group-access-C3A6I116.js","Page-CUkc1DBo.js","api-description-markdown-CDE0Fpj5.js","DynamicMarkdown-F4EfLno9.js","SectionHeading-DMe18In2.js","MethodPill-CW7tTaiB.js","getPastedJson-DB5smC0Q.js","Check2Icon-DDdveNjm.js","axios-CsQoIw0U.js","Markdown-BLge-GTN.js","AssistantPageLink-BFI2wFhH.js","dist-C1RpOC6K.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js","preview-widget-OgaTV5RT.js"]}