Overview and keys
Base URL
Section titled “Base URL”https://agents.kinoforge.dev/agentic/api/v1Paths on these pages are relative to it: GET /films means GET https://agents.kinoforge.dev/agentic/api/v1/films.
Authentication
Section titled “Authentication”Create a platform key in the dashboard under Settings, API keys. The kf_... key is shown once. A key has full or read access (read may read, price work and follow progress, never start paid work) and an optional expiry date.
Send it on every request, event streams included:
Authorization: Bearer kf_...A key spends its own account’s credits. Never put it in a URL.
Discover what you can make
Section titled “Discover what you can make”GET /segmentsEach segment’s name, description, status (available or planned), its features, and start_here: the few routes to begin with.
Not every account can use everything (music, publishing, the canvas, the animated engine). A route your account cannot use answers 403 not_available.
Idempotency
Section titled “Idempotency”Send an Idempotency-Key header (1 to 255 visible ASCII characters; a UUID is ideal) on every POST and PUT, so a retry never double-creates or double-spends.
- A repeat replays the first response, with
Idempotency-Replayed: true. - A retry while the first is still running returns
409. - The same key with a different body returns
422.
Every list is paged the same way: ?page=1&page_size=20. page starts at 1; page_size is at most 100 (default 20). The answer holds the rows under the list’s name plus total, page and page_size. Unknown query parameters answer 422.
Live updates instead of polling
Section titled “Live updates instead of polling”Routes ending in /events stream Server-Sent Events (a project, a clip render, a canvas run). A frame is pushed on connect and on every change.
GET /films/{id}/eventsA browser EventSource cannot send headers. Get a one-stream ticket first and open the returned url within a minute:
POST /events/tickets{"path": "/agentic/api/v1/films/{id}/events"}{"ticket": "...", "expires_in": 60, "url": "/agentic/api/v1/films/{id}/events?ticket=..."}Download media
Section titled “Download media”Every media field holds an opaque media id (vgm_...). It works only with your key; send it back unchanged wherever a request asks for media.
GET /media/{media_id} 307 to a short-lived URL (stream or play)GET /media/{media_id}/download the same, served as a file downloadFollow the redirect and do not store the URL; ask again when you need the file.
Storage and deleting
Section titled “Storage and deleting”Files on studio storage are charged once when saved and again for each month they are kept (GET /billing/rates, under storage). Storage you connect in the dashboard is free. Delete what you no longer need (full keys only):
DELETE /films/{id} a story or episode with its filesDELETE /clips/videos/{slug} a source video with its clipsDELETE /clips/jobs/{id} a clip jobReport a bug or an idea
Section titled “Report a bug or an idea”POST /feedback{"type": "bug", "subject": "...", "content": "...", "project_id": "...", "correlation_id": "..."}type: bug, feedback, review, feature, contact or suggestion. Subject up to 100 characters, content up to 1000. Free, and any key may send it. Include the correlation_id of a failed call.
