API referenceCollections
Create a collection
POST
Creates an empty collection in the library.
AccessKeyheader
AccessKey<token>The private key of a library, starting with ovk_. Copy it from API & embeds in the console, keep it on your server, and rotate it there if it leaks.
AccessKey*stringThe library's private key. Same value as the AccessKey security scheme; listed here so code samples include it.
application/json- body
name*stringLength
1 <= length <= 100The new collection.
application/json- response
data*curl -X POST 'https://api.octavideo.tech/api/v1/collections' \ -H 'AccessKey: ovk_YOUR_LIBRARY_PRIVATE_KEY' \ -H 'Content-Type: application/json' \ -d '{ "name": "Arabic grammar, level 1"}'Example Response
{ "data": { "id": "3c7a9e21-5b4d-4f8e-a1c2-7d9e0f1a2b3c", "name": "Arabic grammar, level 1", "video_ids": [], "created_at": "2026-10-25T09:30:00Z" }}