Organize videos into named groups and scope searches to a specific library.
Collections are named groups of videos. Every video belongs to exactly one collection. When you search, you can scope the query to a single collection. This can improve performance and reduce unrelated matches.
Total video duration across all videos. Present only on single-collection GET
storage_bytes
integer
Total storage used by this collection. Present only on single-collection GET
created_at
string
ISO 8601 creation timestamp
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Pureframe AI API Documentation","description":"Explore guides, API docs, and examples for the Pureframe AI API.","colors":{"primary":"#DA5400","light":"#ff985f","dark":"#DA5400"},"logo":{"light":"https://mintcdn.com/pureframe-1adebf0b/vJmo5XNUgO1_W850/images/light.svg?fit=max\u0026auto=format\u0026n=vJmo5XNUgO1_W850\u0026q=85\u0026s=177778b1bfa3ad182322f0b816a4776e","dark":"https://mintcdn.com/pureframe-1adebf0b/vJmo5XNUgO1_W850/images/dark.svg?fit=max\u0026auto=format\u0026n=vJmo5XNUgO1_W850\u0026q=85\u0026s=4c2cfec7044903cb663cccb9a3b216a8"},"favicon":{"light":"https://mintcdn.com/pureframe-1adebf0b/vJmo5XNUgO1_W850/images/favicon-light.svg?fit=max\u0026auto=format\u0026n=vJmo5XNUgO1_W850\u0026q=85\u0026s=b5691ab1e221b8bc7222fe7d922c850e","dark":"https://mintcdn.com/pureframe-1adebf0b/vJmo5XNUgO1_W850/images/favicon-dark.svg?fit=max\u0026auto=format\u0026n=vJmo5XNUgO1_W850\u0026q=85\u0026s=bd63ef6e551865aa0ec0031137ceeca6"},"background":{"decoration":"gradient"},"navbar":{"links":[{"href":"mailto:support@pureframe.ai","label":"Support"}],"primary":{"type":"button","label":"API Platform","href":"https://platform.pureframe.ai"}},"footer":{"socials":{"github":"https://github.com/pureframeai","x":"https://x.com/pureframeai"}},"seo":{"metatags":{"title":"Pureframe AI API Documentation","description":"Explore guides, API docs, and examples for the Pureframe AI API.","og:type":"website","og:site_name":"Pureframe AI Documentation","og:title":"Pureframe AI API Documentation","og:description":"Explore guides, API docs, and examples for the Pureframe AI API."}},"fonts":{"family":"DM Sans"},"markdown":{"schema":true},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"pureframe-1adebf0b","hasAudioNarration":false,"actualSubdomain":"pureframe-1adebf0b","customDomains":["docs.pureframe.ai"],"gitSource":{"type":"github","owner":"pureframeai","repo":"documentation","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"latestBuiltDeploymentHistoryId":"6abac1319814ec1cdfa22f4d","collectionId":"3e7c6e98-1cbc-476e-b260-45bd4e526b86","liveDeploymentHistoryId":"6abac1319814ec1cdfa22f4d","schemaVersion":"v3"},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6abac1319814ec1cdfa22f4d","clientVersion":"0.0.3966","searchFilterCounts":[{"language":"default","tag":"API Reference","count":54},{"language":"default","tag":"Documentation","count":39},{"language":"default","tag":"Search","count":15},{"language":"default","tag":"Production","count":7},{"language":"default","tag":"Video Processing","count":7},{"language":"default","tag":"Webhooks","count":7},{"language":"default","tag":"Agents","count":6},{"language":"default","tag":"Get Started","count":5},{"language":"default","tag":"Collections","count":5},{"language":"default","tag":"Resources","count":4}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-v7-file-tree","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"per-site-search-delta","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-private-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-nav-generations","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"privacy":{"consentBanner":{"enabled":true}},"isAtlas":false,"googleFontsInlined":true},"customCss":[],"page":{"pagePath":"video-processing/collections","slug":"/video-processing/collections","pageMetadata":{"title":"Collections","description":"Organize videos into named groups and scope searches to a specific library.","href":"/video-processing/collections"},"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: \"Organize videos into named groups and scope searches to a specific library.\"\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`,p:`p`,pre:`pre`,span:`span`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Collections are named groups of videos. Every video belongs to exactly one collection. When you search, you can scope the query to a single collection. This can improve performance and reduce unrelated matches.`}),`\n`,_jsx(Heading,{level:`2`,id:`creating-a-collection`,children:`Creating a collection`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.pureframe.ai/v1/collections`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer pf_...\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{ \"name\": \"Product demos\" }'`})]}),`\n`]})})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"col_abc123\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Product demos\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"video_count\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"created_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2025-01-01T12:00:00Z\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Collection names must be unique within your account.`}),`\n`,_jsx(Heading,{level:`2`,id:`uploading-a-video-to-a-collection`,children:`Uploading a video to a collection`}),`\n`,_jsxs(_components.p,{children:[`Pass `,_jsx(_components.code,{children:`collection_id`}),` in the upload form. A collection must exist before you can upload to it. See `,_jsx(_components.a,{href:`/video-processing/upload-videos`,children:`Upload videos`}),`.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.pureframe.ai/v1/upload`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer pf_...\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -F`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"collection_id=col_abc123\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -F`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"file=@demo.mp4\"`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`listing-all-collections`,children:`Listing all collections`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.pureframe.ai/v1/collections`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer pf_...\"`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`renaming-a-collection`,children:`Renaming a collection`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` PATCH`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.pureframe.ai/v1/collections/col_abc123`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer pf_...\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{ \"name\": \"Sales demos\" }'`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`deleting-a-collection`,children:`Deleting a collection`}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Deleting a collection permanently removes all videos in it and their indexed data. This cannot be undone.`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` DELETE`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.pureframe.ai/v1/collections/col_abc123`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer pf_...\"`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Returns `,_jsx(_components.code,{children:`204 No Content`}),` on success.`]}),`\n`,_jsx(Heading,{level:`2`,id:`collection-object`,children:`Collection object`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Unique collection ID`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Display name: unique per account`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`video_count`})}),_jsx(_components.td,{children:`integer`}),_jsx(_components.td,{children:`Number of videos in this collection`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`total_duration_secs`})}),_jsx(_components.td,{children:`number`}),_jsx(_components.td,{children:`Total video duration across all videos. Present only on single-collection GET`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`storage_bytes`})}),_jsx(_components.td,{children:`integer`}),_jsx(_components.td,{children:`Total storage used by this collection. Present only on single-collection GET`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`created_at`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`ISO 8601 creation timestamp`})]})]})]})]})}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":"Collections","description":"Organize videos into named groups and scope searches to a specific library.","href":"/video-processing/collections"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Creating a collection","slug":"creating-a-collection","depth":2,"children":[]},{"title":"Uploading a video to a collection","slug":"uploading-a-video-to-a-collection","depth":2,"children":[]},{"title":"Listing all collections","slug":"listing-all-collections","depth":2,"children":[]},{"title":"Renaming a collection","slug":"renaming-a-collection","depth":2,"children":[]},{"title":"Deleting a collection","slug":"deleting-a-collection","depth":2,"children":[]},{"title":"Collection object","slug":"collection-object","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"pureframe-1adebf0b","siteName":"Pureframe AI API Documentation","title":"Pureframe AI API Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-28T18:44:55.268Z","originalFileLocation":"video-processing/collections.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=\"Organize videos into named groups and scope searches to a specific library.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Pureframe AI API Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/pureframe-1adebf0b/mQBwtLonvx3zC8N_/_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/pureframe-1adebf0b/mQBwtLonvx3zC8N_/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/pureframe-1adebf0b/mQBwtLonvx3zC8N_/_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/pureframe-1adebf0b/mQBwtLonvx3zC8N_/_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/pureframe-1adebf0b/mQBwtLonvx3zC8N_/_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/pureframe-1adebf0b/mQBwtLonvx3zC8N_/_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/pureframe-1adebf0b/mQBwtLonvx3zC8N_/_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/pureframe-1adebf0b/mQBwtLonvx3zC8N_/_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/pureframe-1adebf0b/mQBwtLonvx3zC8N_/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Pureframe AI API Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Explore guides, API docs, and examples for the Pureframe AI API.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Pureframe AI Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.pureframe.ai/video-processing/collections\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://pureframe-1adebf0b.mintlify.app/_mintlify/api/og/v2?division=Video+Processing\u0026amp;title=Collections\u0026amp;description=Organize+videos+into+named+groups+and+scope+searches+to+a+specific+library.\u0026amp;theme=91bf7d4e6ea96ea0340a0a14\u0026amp;signature=6c1f1d5a0c203a067e44583363e4fa462f88a7f030efbafe091e6ee67527fad0\">\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=\"Pureframe AI API Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Explore guides, API docs, and examples for the Pureframe AI API.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://pureframe-1adebf0b.mintlify.app/_mintlify/api/og/v2?division=Video+Processing\u0026amp;title=Collections\u0026amp;description=Organize+videos+into+named+groups+and+scope+searches+to+a+specific+library.\u0026amp;theme=91bf7d4e6ea96ea0340a0a14\u0026amp;signature=6c1f1d5a0c203a067e44583363e4fa462f88a7f030efbafe091e6ee67527fad0\">\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/pureframe-1adebf0b/mQBwtLonvx3zC8N_/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Pureframe AI API Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#DA5400\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.pureframe.ai/video-processing/collections\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/video-processing/collections.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.pureframe.ai/#organization\",\"name\":\"Pureframe AI API Documentation\",\"url\":\"https://docs.pureframe.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/pureframe-1adebf0b/vJmo5XNUgO1_W850/images/light.svg?fit=max\u0026auto=format\u0026n=vJmo5XNUgO1_W850\u0026q=85\u0026s=177778b1bfa3ad182322f0b816a4776e\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.pureframe.ai#website\",\"name\":\"Pureframe AI API Documentation\",\"url\":\"https://docs.pureframe.ai\",\"publisher\":{\"@id\":\"https://docs.pureframe.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.pureframe.ai/video-processing/collections#webpage\",\"url\":\"https://docs.pureframe.ai/video-processing/collections\",\"name\":\"Collections\",\"description\":\"Organize videos into named groups and scope searches to a specific library.\",\"dateModified\":\"2026-09-28T18:44:55.268Z\",\"isPartOf\":{\"@id\":\"https://docs.pureframe.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.pureframe.ai/video-processing/collections#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.pureframe.ai/video-processing/collections#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Video Processing\",\"item\":\"https://docs.pureframe.ai/video-processing/upload-videos\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Collections\",\"item\":\"https://docs.pureframe.ai/video-processing/collections\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.pureframe.ai/video-processing/collections#article\",\"headline\":\"Collections\",\"name\":\"Collections\",\"description\":\"Organize videos into named groups and scope searches to a specific library.\",\"url\":\"https://docs.pureframe.ai/video-processing/collections\",\"mainEntityOfPage\":{\"@id\":\"https://docs.pureframe.ai/video-processing/collections#webpage\"},\"dateModified\":\"2026-09-28T18:44:55.268Z\",\"publisher\":{\"@id\":\"https://docs.pureframe.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.pureframe.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Pureframe AI API Documentation\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Pureframe AI API Documentation","nav":{"global":null,"tabs":[{"tab":"Documentation","groups":[{"group":"Get Started","pages":[{"title":"Overview","href":"/get-started/overview"},{"title":"Quickstart","href":"/get-started/quickstart"},{"title":"Authentication","href":"/get-started/authentication"},{"title":"API Keys","href":"/get-started/api-keys"},{"title":"Key Concepts","href":"/get-started/key-concepts"}]},{"group":"Search","pages":[{"title":"Overview","href":"/search/overview"},{"title":"Text Search","href":"/search/text"},{"title":"Image Search","href":"/search/image"},{"title":"Transcript Search","href":"/search/transcript"},{"title":"Combined Queries","href":"/search/combined-queries"},{"title":"Search a Video","href":"/search/search-a-video"},{"title":"Search a Collection","href":"/search/search-a-collection"},{"title":"Search Results","href":"/search/search-results"},{"title":"Timestamp Precision","href":"/search/exact-timestamps"},{"title":"Frame Map (Beta)","href":"/search/frame-map"}]},{"group":"Video Processing","pages":[{"title":"Upload videos","href":"/video-processing/upload-videos"},{"title":"Processing lifecycle","description":"Understand when an uploaded video becomes searchable and how to track it.","href":"/video-processing/processing-lifecycle"},{"title":"Collections","href":"/video-processing/collections"},{"title":"Transcripts","description":"Understand transcript availability, search behavior, and limitations.","href":"/video-processing/transcripts"},{"title":"Search signals","href":"/video-processing/search-signals"},{"title":"Metadata","href":"/video-processing/metadata"},{"title":"Processing status","href":"/video-processing/processing-status"}]},{"group":"Agents","pages":[{"title":"Agent Vision","href":"/agents/agent-vision"},{"title":"MCP Overview","href":"/agents/mcp-overview"},{"title":"Connect an Agent","href":"/agents/connect-an-agent"},{"title":"Source Backed Results","href":"/agents/source-backed-results"},{"title":"Agent Security","href":"/agents/agent-security"},{"title":"Agent Setup","href":"/agent-setup/prompt"}]},{"group":"Production","pages":[{"title":"Webhooks","href":"/production/webhooks"},{"title":"Rate Limits","href":"/production/rate-limits"},{"title":"Errors","href":"/production/errors"},{"title":"Performance","href":"/production/performance"},{"title":"Usage and Billing","href":"/production/usage-and-billing"},{"title":"Data Handling","href":"/production/data-handling"},{"title":"Security","href":"/production/security"}]},{"group":"Resources","pages":[{"title":"Examples","href":"/resources/examples"},{"title":"Use Cases","href":"/resources/use-cases"},{"title":"Changelog","href":"/resources/changelog"},{"title":"FAQ","href":"/resources/faq"}]}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/overview"}]},{"tab":"SDK Reference","pages":[{"title":"SDK Reference","href":"/sdks/python-sdk"}]}]},"title":"Pureframe AI API Documentation","buildId":"dpl_cadrRc5H9XQiJQbDFN5mcYRs2PAj","deploymentId":"dpl_cadrRc5H9XQiJQbDFN5mcYRs2PAj","dynamics":[],"chunks":[]}