# Endpoints

> Every route of the HTTP API, grouped by resource.

Source: https://stuarty.com/docs/api/endpoints/

Every operation has its own page with the parameters, the body, the responses and a request in eight languages.

## Projects

| Method | Path | Operation | Summary |
| --- | --- | --- | --- |
| `GET` | `/api/v1/briefing/questions` | [`briefing.questions`](/docs/api/briefing.questions) | The questions of the guided briefing |
| `GET` | `/api/v1/projects` | [`projects.list`](/docs/api/projects.list) | List projects |
| `POST` | `/api/v1/projects` | [`projects.create`](/docs/api/projects.create) | Create a project |
| `GET` | `/api/v1/projects/{id}` | [`projects.get`](/docs/api/projects.get) | Read a project |
| `PATCH` | `/api/v1/projects/{id}` | [`projects.update`](/docs/api/projects.update) | Change the name, the description or the goal of a project |
| `GET` | `/api/v1/projects/{id}/audio-measure` | [`audio.measure`](/docs/api/audio.measure) | Measure the sound with and without the audio processors |
| `GET` | `/api/v1/projects/{id}/audio-previews/{key}` | [`audio_previews.get`](/docs/api/audio_previews.get) | Download the processed sound of an item, or start rendering it |
| `GET` | `/api/v1/projects/{id}/bitmaps/{key}` | [`bitmaps.get`](/docs/api/bitmaps.get) | Download a rasterized text or shape |
| `GET` | `/api/v1/projects/{id}/brief` | [`projects.brief.get`](/docs/api/projects.brief.get) | Read the brief of a project |
| `PUT` | `/api/v1/projects/{id}/brief` | [`projects.brief.set`](/docs/api/projects.brief.set) | Write the brief of a project |
| `PUT` | `/api/v1/projects/{id}/briefing` | [`projects.briefing.answer`](/docs/api/projects.briefing.answer) | Answer the briefing: the answers become the brief of the project |
| `POST` | `/api/v1/projects/{id}/bundle` | [`projects.bundle.export`](/docs/api/projects.bundle.export) | Export a project as a .vvbundle |
| `GET` | `/api/v1/projects/{id}/checkpoints` | [`projects.checkpoints.list`](/docs/api/projects.checkpoints.list) | List the checkpoints of a project |
| `POST` | `/api/v1/projects/{id}/checkpoints` | [`projects.checkpoints.create`](/docs/api/projects.checkpoints.create) | Name a revision |
| `PATCH` | `/api/v1/projects/{id}/checkpoints/{name}` | [`projects.checkpoints.rename`](/docs/api/projects.checkpoints.rename) | Rename a checkpoint |
| `DELETE` | `/api/v1/projects/{id}/checkpoints/{name}` | [`projects.checkpoints.remove`](/docs/api/projects.checkpoints.remove) | Remove a checkpoint, never a revision |
| `GET` | `/api/v1/projects/{id}/cuts` | [`projects.cuts`](/docs/api/projects.cuts) | Propose vertical cuts of an asset from its transcript and face track, and change nothing |
| `GET` | `/api/v1/projects/{id}/describe` | [`projects.describe`](/docs/api/projects.describe) | Describe a project as text: brief, items and state |
| `GET` | `/api/v1/projects/{id}/diff` | [`projects.diff`](/docs/api/projects.diff) | List what changed between two revisions |
| `POST` | `/api/v1/projects/{id}/duplicate` | [`projects.duplicate`](/docs/api/projects.duplicate) | Duplicate a project |
| `POST` | `/api/v1/projects/{id}/edit` | [`projects.edit`](/docs/api/projects.edit) | Apply a batch of operations (lint_scope fast) |
| `GET` | `/api/v1/projects/{id}/frame` | [`projects.frame`](/docs/api/projects.frame) | Render one frame |
| `GET` | `/api/v1/projects/{id}/history` | [`projects.history`](/docs/api/projects.history) | List the history of a project |
| `POST` | `/api/v1/projects/{id}/items` | [`projects.items.add`](/docs/api/projects.items.add) | Add an item (text, timeline or output) to a project |
| `POST` | `/api/v1/projects/{id}/items/{item_id}/move` | [`projects.items.move`](/docs/api/projects.items.move) | Move an item of a project |
| `POST` | `/api/v1/projects/{id}/items/{item_id}/rename` | [`projects.items.rename`](/docs/api/projects.items.rename) | Rename an item of a project |
| `POST` | `/api/v1/projects/{id}/items/{item_id}/restore` | [`projects.items.restore`](/docs/api/projects.items.restore) | Restore an item from the trash |
| `POST` | `/api/v1/projects/{id}/items/{item_id}/trash` | [`projects.items.trash`](/docs/api/projects.items.trash) | Move an item to the trash |
| `GET` | `/api/v1/projects/{id}/lint` | [`projects.lint`](/docs/api/projects.lint) | Lint a project with every rule |
| `GET` | `/api/v1/projects/{id}/motion/brief` | [`projects.motion.brief`](/docs/api/projects.motion.brief) | What a render by an external motion engine must fit: size, rate, length, safe area, brand kit, captions and reference frames |
| `GET` | `/api/v1/projects/{id}/motion/check` | [`projects.motion.check`](/docs/api/projects.motion.check) | Check a rendered asset against the brief: each mismatch of size, rate, length or alpha with the value expected |
| `POST` | `/api/v1/projects/{id}/motion/replace` | [`projects.motion.replace`](/docs/api/projects.motion.replace) | Replace, in one undoable batch, every clip that reads an earlier render of an animation with a new render of it |
| `GET` | `/api/v1/projects/{id}/otio` | [`projects.otio.export`](/docs/api/projects.otio.export) | Export a project as OpenTimelineIO |
| `POST` | `/api/v1/projects/{id}/otio` | [`projects.otio.import`](/docs/api/projects.otio.import) | Import an OpenTimelineIO file into a project |
| `GET` | `/api/v1/projects/{id}/plan` | [`projects.plan`](/docs/api/projects.plan) | Read the render plan of a window |
| `POST` | `/api/v1/projects/{id}/redo` | [`projects.redo`](/docs/api/projects.redo) | Redo the caller's latest undone step |
| `POST` | `/api/v1/projects/{id}/restore` | [`projects.restore`](/docs/api/projects.restore) | Restore a project from the trash |
| `POST` | `/api/v1/projects/{id}/revert` | [`projects.revert`](/docs/api/projects.revert) | Go back to an earlier revision as a new step |
| `GET` | `/api/v1/projects/{id}/sheet` | [`projects.sheet`](/docs/api/projects.sheet) | Render a contact sheet |
| `GET` | `/api/v1/projects/{id}/snap-points` | [`projects.snap_points`](/docs/api/projects.snap_points) | Read the snap points and trim limits |
| `POST` | `/api/v1/projects/{id}/steps/{step}/skip` | [`projects.steps.skip`](/docs/api/projects.steps.skip) | Skip an optional step of the workflow of a project, or restore it |
| `GET` | `/api/v1/projects/{id}/transcript` | [`projects.transcript`](/docs/api/projects.transcript) | Read the words of an asset with the timeline range of each |
| `GET` | `/api/v1/projects/{id}/transcript/fillers` | [`projects.transcript_fillers`](/docs/api/projects.transcript_fillers) | Find the filler words and repetitions of an asset, and change nothing |
| `POST` | `/api/v1/projects/{id}/trash` | [`projects.trash`](/docs/api/projects.trash) | Move a project to the trash |
| `POST` | `/api/v1/projects/{id}/undo` | [`projects.undo`](/docs/api/projects.undo) | Undo the caller's latest step |
| `POST` | `/api/v1/projects/import` | [`projects.bundle.import`](/docs/api/projects.bundle.import) | Import a .vvbundle as a project |
| `POST` | `/api/v1/trash/empty` | [`trash.empty`](/docs/api/trash.empty) | Empty the trash for good (a browser session or an admin key only; the local token gets 403) |

## Media

| Method | Path | Operation | Summary |
| --- | --- | --- | --- |
| `GET` | `/api/v1/assets` | [`assets.list`](/docs/api/assets.list) | List the files of the library by content hash, with origin, tags and reuse |
| `GET` | `/api/v1/assets/{hash}` | [`assets.get`](/docs/api/assets.get) | Read one file of the library with its origin and the projects that use it |
| `PUT` | `/api/v1/assets/{hash}` | [`assets.set`](/docs/api/assets.set) | Set the description, the rights note and the reuse mark of a file |
| `POST` | `/api/v1/assets/{hash}/rename` | [`assets.rename`](/docs/api/assets.rename) | Rename a file of the library; the stored file keeps its hash |
| `POST` | `/api/v1/assets/{hash}/reveal` | [`assets.reveal`](/docs/api/assets.reveal) | The checked path of the stored file, for a person in local mode; there is no such route in network mode |
| `POST` | `/api/v1/assets/{hash}/tags` | [`assets.tag`](/docs/api/assets.tag) | Add and remove the tags of a file |
| `GET` | `/api/v1/assets/{hash}/uses` | [`assets.uses`](/docs/api/assets.uses) | List the projects that use a file of the library |
| `GET` | `/api/v1/projects/{id}/media` | [`media.list`](/docs/api/media.list) | List the assets of a project |
| `POST` | `/api/v1/projects/{id}/media` | [`media.import`](/docs/api/media.import) | Import media files |
| `GET` | `/api/v1/projects/{id}/media/{asset_id}` | [`media.inspect`](/docs/api/media.inspect) | Inspect an asset |
| `GET` | `/api/v1/projects/{id}/media/{asset_id}/chunks` | [`media.chunks`](/docs/api/media.chunks) | Download the chunk index of the video proxy of an asset |
| `GET` | `/api/v1/projects/{id}/media/{asset_id}/lut` | [`media.lut`](/docs/api/media.lut) | Download the parsed lookup table of a lut asset |
| `GET` | `/api/v1/projects/{id}/media/{asset_id}/peaks` | [`media.peaks`](/docs/api/media.peaks) | Download the audio peaks of an asset |
| `GET` | `/api/v1/projects/{id}/media/{asset_id}/proxy` | [`media.proxy`](/docs/api/media.proxy) | Download the proxy of an asset |
| `POST` | `/api/v1/projects/{id}/media/{asset_id}/restore` | [`media.restore`](/docs/api/media.restore) | Restore an asset from the trash |
| `GET` | `/api/v1/projects/{id}/media/{asset_id}/strip` | [`media.strip`](/docs/api/media.strip) | Download the tile strip of an asset |
| `GET` | `/api/v1/projects/{id}/media/{asset_id}/thumbnail` | [`media.thumbnail`](/docs/api/media.thumbnail) | Download a thumbnail of an asset |
| `POST` | `/api/v1/projects/{id}/media/{asset_id}/trash` | [`media.trash`](/docs/api/media.trash) | Move an asset to the trash |

## Jobs

| Method | Path | Operation | Summary |
| --- | --- | --- | --- |
| `GET` | `/api/v1/export-presets` | [`export.presets`](/docs/api/export.presets) | List the export presets of the platforms |
| `GET` | `/api/v1/jobs/{job_id}` | [`jobs.get`](/docs/api/jobs.get) | Read a job |
| `POST` | `/api/v1/jobs/{job_id}/cancel` | [`jobs.cancel`](/docs/api/jobs.cancel) | Cancel a job |
| `GET` | `/api/v1/jobs/{job_id}/file` | [`jobs.file`](/docs/api/jobs.file) | Download the file of a finished export |
| `POST` | `/api/v1/projects/{id}/export-batches` | [`export.batch`](/docs/api/export.batch) | Export a project several times, one after the other |
| `GET` | `/api/v1/projects/{id}/export-check` | [`export.check`](/docs/api/export.check) | Check a project against an export preset |
| `GET` | `/api/v1/projects/{id}/jobs` | [`jobs.list`](/docs/api/jobs.list) | List the jobs of a project |
| `POST` | `/api/v1/projects/{id}/jobs` | [`jobs.start`](/docs/api/jobs.start) | Start a job |

## Events

| Method | Path | Operation | Summary |
| --- | --- | --- | --- |
| `GET` | `/api/v1/projects/{id}/events` | [`events.stream`](/docs/api/events.stream) | Stream the events of a project |

## Commands

| Method | Path | Operation | Summary |
| --- | --- | --- | --- |
| `GET` | `/api/v1/commands` | [`commands.list`](/docs/api/commands.list) | List the commands |
| `GET` | `/api/v1/commands/{name}` | [`commands.get`](/docs/api/commands.get) | Explain one command |

## Templates

| Method | Path | Operation | Summary |
| --- | --- | --- | --- |
| `GET` | `/api/v1/templates` | [`templates.list`](/docs/api/templates.list) | List the templates |
| `POST` | `/api/v1/templates` | [`templates.save`](/docs/api/templates.save) | Save a project as a template |
| `POST` | `/api/v1/templates/{template_id}/export` | [`templates.export`](/docs/api/templates.export) | Write the file of a template |
| `GET` | `/api/v1/templates/{template_id}/file` | [`templates.file`](/docs/api/templates.file) | Download the file of a template |
| `POST` | `/api/v1/templates/{template_id}/instantiate` | [`templates.instantiate`](/docs/api/templates.instantiate) | Make a project from a template |
| `POST` | `/api/v1/templates/import` | [`templates.import`](/docs/api/templates.import) | Import a template file |

## Fonts

| Method | Path | Operation | Summary |
| --- | --- | --- | --- |
| `GET` | `/api/v1/fonts` | [`fonts.list`](/docs/api/fonts.list) | List the bundled font families and weights |
| `POST` | `/api/v1/fonts` | [`fonts.import`](/docs/api/fonts.import) | Import a font file into the font store |

## Brand kit

| Method | Path | Operation | Summary |
| --- | --- | --- | --- |
| `GET` | `/api/v1/brand-kit` | [`brand.get`](/docs/api/brand.get) | Read the brand kit |
| `PUT` | `/api/v1/brand-kit` | [`brand.set`](/docs/api/brand.set) | Replace the brand kit |

## Library

| Method | Path | Operation | Summary |
| --- | --- | --- | --- |
| `GET` | `/api/v1/library/memory` | [`library.memory.list`](/docs/api/library.memory.list) | List the memory notes |
| `POST` | `/api/v1/library/memory` | [`library.memory.write`](/docs/api/library.memory.write) | Create or replace a memory note |
| `GET` | `/api/v1/library/memory/{name}` | [`library.memory.get`](/docs/api/library.memory.get) | Read a memory note |
| `DELETE` | `/api/v1/library/memory/{name}` | [`library.memory.remove`](/docs/api/library.memory.remove) | Remove a memory note |
| `GET` | `/api/v1/library/prompts` | [`library.prompts.list`](/docs/api/library.prompts.list) | List the prompts |
| `GET` | `/api/v1/library/prompts/{name}` | [`library.prompts.get`](/docs/api/library.prompts.get) | Read a prompt |
| `PUT` | `/api/v1/library/prompts/{name}` | [`library.prompts.write`](/docs/api/library.prompts.write) | Create or replace a prompt |
| `POST` | `/api/v1/library/prompts/{name}/render` | [`library.prompts.render`](/docs/api/library.prompts.render) | Replace the variables of a prompt |
| `POST` | `/api/v1/library/reindex` | [`library.reindex`](/docs/api/library.reindex) | Rebuild the index of the library from its files |
| `GET` | `/api/v1/library/search` | [`library.search`](/docs/api/library.search) | Search memory, skills and prompts |
| `GET` | `/api/v1/library/skills` | [`library.skills.list`](/docs/api/library.skills.list) | List the skills |
| `GET` | `/api/v1/library/skills/{name}` | [`library.skills.get`](/docs/api/library.skills.get) | Read a skill |
| `PUT` | `/api/v1/library/skills/{name}` | [`library.skills.write`](/docs/api/library.skills.write) | Create or replace a skill |
| `GET` | `/api/v1/library/skills/{name}/lint` | [`library.skills.lint`](/docs/api/library.skills.lint) | Run the lint on a skill |
| `POST` | `/api/v1/library/skills/{name}/review` | [`library.skills.review`](/docs/api/library.skills.review) | Mark a skill as read (a browser session only) |
| `POST` | `/api/v1/library/skills/export` | [`library.skills.export`](/docs/api/library.skills.export) | Export skills as folders in the Agent Skills layout |
| `POST` | `/api/v1/library/skills/import` | [`library.skills.import`](/docs/api/library.skills.import) | Import a skill from a folder or an archive; it starts unreviewed |

## Writing

| Method | Path | Operation | Summary |
| --- | --- | --- | --- |
| `POST` | `/api/v1/captions/validate` | [`captions.validate`](/docs/api/captions.validate) | Measure a caption against the limits of each network |
| `POST` | `/api/v1/projects/{id}/texts` | [`texts.create`](/docs/api/texts.create) | Make a script, a copy text or a caption in a project |
| `GET` | `/api/v1/projects/{id}/texts/{item_id}` | [`texts.get`](/docs/api/texts.get) | Read a text, or one of its revisions |
| `PUT` | `/api/v1/projects/{id}/texts/{item_id}` | [`texts.write`](/docs/api/texts.write) | Save a new revision of a text |
| `POST` | `/api/v1/projects/{id}/texts/{item_id}/draft` | [`texts.draft`](/docs/api/texts.draft) | Ask a model for a draft of a text; the job waits for approval and shows its estimate |
| `GET` | `/api/v1/projects/{id}/texts/{item_id}/post` | [`texts.post`](/docs/api/texts.post) | Check a blog post and render its sanitised HTML |
| `POST` | `/api/v1/projects/{id}/texts/{item_id}/revert` | [`texts.revert`](/docs/api/texts.revert) | Bring an older revision back as a new one |
| `GET` | `/api/v1/projects/{id}/texts/{item_id}/revisions` | [`texts.revisions`](/docs/api/texts.revisions) | List the revisions of a text, and compare two |
| `POST` | `/api/v1/scripts/estimate` | [`scripts.estimate`](/docs/api/scripts.estimate) | Estimate how long a script takes when read aloud |
| `GET` | `/api/v1/texts` | [`texts.list`](/docs/api/texts.list) | List the texts of a project, or of every project the caller may see |

## Connections

| Method | Path | Operation | Summary |
| --- | --- | --- | --- |
| `GET` | `/api/v1/connections` | [`connections.list`](/docs/api/connections.list) | List the destinations the user connected (never a secret) |
| `POST` | `/api/v1/connections` | [`connections.create`](/docs/api/connections.create) | Connect a destination; the secret goes into the vault |
| `GET` | `/api/v1/connections/{id}` | [`connections.get`](/docs/api/connections.get) | Read one connection (never a secret) |
| `DELETE` | `/api/v1/connections/{id}` | [`connections.remove`](/docs/api/connections.remove) | Remove a connection and its credential |
| `GET` | `/api/v1/connections/{id}/models` | [`providers.models`](/docs/api/providers.models) | Read the current models of a provider through its connection |
| `POST` | `/api/v1/connections/{id}/test` | [`connections.test`](/docs/api/connections.test) | Make one request through a connection |
| `GET` | `/api/v1/connections/{id}/voices` | [`voice.list`](/docs/api/voice.list) | List the voices of the provider of a connection |

## Webhooks

| Method | Path | Operation | Summary |
| --- | --- | --- | --- |
| `GET` | `/api/v1/webhook-events` | [`webhooks.events`](/docs/api/webhooks.events) | List the events a webhook may choose, each with what it carries |
| `GET` | `/api/v1/webhooks` | [`webhooks.list`](/docs/api/webhooks.list) | List the outbound webhooks (never a secret) |
| `POST` | `/api/v1/webhooks` | [`webhooks.create`](/docs/api/webhooks.create) | Register a webhook; the signing secret is in this answer once and in no other |
| `GET` | `/api/v1/webhooks/{id}` | [`webhooks.get`](/docs/api/webhooks.get) | Read one webhook (never a secret) |
| `PATCH` | `/api/v1/webhooks/{id}` | [`webhooks.update`](/docs/api/webhooks.update) | Change the name, the address, the events or the state of a webhook |
| `DELETE` | `/api/v1/webhooks/{id}` | [`webhooks.remove`](/docs/api/webhooks.remove) | Remove a webhook, its deliveries and its secret |
| `GET` | `/api/v1/webhooks/{id}/deliveries` | [`webhooks.deliveries`](/docs/api/webhooks.deliveries) | List the deliveries of a webhook with their attempts |
| `POST` | `/api/v1/webhooks/{id}/deliveries/{delivery_id}/redeliver` | [`webhooks.redeliver`](/docs/api/webhooks.redeliver) | Send the stored body of a delivery again, with a fresh signature |
| `POST` | `/api/v1/webhooks/{id}/rotate-secret` | [`webhooks.rotate`](/docs/api/webhooks.rotate) | Make a new signing secret; it is in this answer once |
| `POST` | `/api/v1/webhooks/{id}/test` | [`webhooks.test`](/docs/api/webhooks.test) | Send a webhook.test event now, one attempt |

## AI providers

| Method | Path | Operation | Summary |
| --- | --- | --- | --- |
| `POST` | `/api/v1/image/generate` | [`image.generate`](/docs/api/image.generate) | Start an image generation with the provider of a connection; the job waits for approval, shows its estimate and stores the images as assets with their origin |
| `GET` | `/api/v1/providers` | [`providers.list`](/docs/api/providers.list) | List the AI providers, the connections of each and the price table |
| `PUT` | `/api/v1/providers/prices` | [`providers.prices.set`](/docs/api/providers.prices.set) | Set or remove the price of a model (a person in the browser only; the local token and keys get 403) |
| `GET` | `/api/v1/providers/sign-ins` | [`providers.sign-ins`](/docs/api/providers.sign-ins) | List the connections made by a sign-in and their state |
| `POST` | `/api/v1/providers/signin` | [`providers.signin.begin`](/docs/api/providers.signin.begin) | Start the sign-in to an AI provider; answers the address of the consent screen (a person in the browser only) |
| `POST` | `/api/v1/providers/signin/complete` | [`providers.signin.complete`](/docs/api/providers.signin.complete) | Finish the sign-in with what the provider sent to the redirect address (a person in the browser only) |
| `POST` | `/api/v1/text/generate` | [`text.generate`](/docs/api/text.generate) | Start a text generation with the provider of a connection; the job waits for approval and shows its estimate |
| `POST` | `/api/v1/video/generate` | [`video.generate`](/docs/api/video.generate) | Start a video generation with the provider of a connection; the job waits for a person unless a rule the user wrote covers it, shows its estimate and stores the clip as an asset with its origin |
| `POST` | `/api/v1/voice/generate` | [`voice.generate`](/docs/api/voice.generate) | Start a speech generation with the provider of a connection; the job waits for approval, shows its estimate and stores the audio as an asset with its origin |

## Images

| Method | Path | Operation | Summary |
| --- | --- | --- | --- |
| `GET` | `/api/v1/images` | [`images.list`](/docs/api/images.list) | List the image documents and templates |
| `POST` | `/api/v1/images` | [`images.create`](/docs/api/images.create) | Create an image document, blank or from a template |
| `GET` | `/api/v1/images/{id}` | [`images.get`](/docs/api/images.get) | Describe an image document: layers, findings and text view |
| `GET` | `/api/v1/images/{id}/checkpoints` | [`images.checkpoints.list`](/docs/api/images.checkpoints.list) | List the checkpoints of an image |
| `POST` | `/api/v1/images/{id}/checkpoints` | [`images.checkpoints.create`](/docs/api/images.checkpoints.create) | Name a revision of an image |
| `PATCH` | `/api/v1/images/{id}/checkpoints/{name}` | [`images.checkpoints.rename`](/docs/api/images.checkpoints.rename) | Rename a checkpoint of an image |
| `DELETE` | `/api/v1/images/{id}/checkpoints/{name}` | [`images.checkpoints.remove`](/docs/api/images.checkpoints.remove) | Remove a checkpoint of an image, never a revision |
| `GET` | `/api/v1/images/{id}/diff` | [`images.diff`](/docs/api/images.diff) | List what changed between two revisions of an image |
| `POST` | `/api/v1/images/{id}/edit` | [`images.edit`](/docs/api/images.edit) | Apply a batch of image operations |
| `GET` | `/api/v1/images/{id}/events` | [`images.events`](/docs/api/images.events) | Stream the events of an image document |
| `POST` | `/api/v1/images/{id}/export` | [`images.export`](/docs/api/images.export) | Export an image document to a PNG, JPEG or WebP file |
| `GET` | `/api/v1/images/{id}/exports/{name}` | [`images.file`](/docs/api/images.file) | Download a file that an image export wrote |
| `GET` | `/api/v1/images/{id}/frame` | [`images.frame`](/docs/api/images.frame) | Render the picture of an image document |
| `GET` | `/api/v1/images/{id}/history` | [`images.history`](/docs/api/images.history) | List the latest batches of an image document |
| `POST` | `/api/v1/images/{id}/model-edit` | [`images.model_edit`](/docs/api/images.model_edit) | Remove the background of a layer, or generate an image into the document, with the provider of a connection; the job says that the picture is sent, waits for approval, shows its estimate and puts the result in the document as one undoable step |
| `POST` | `/api/v1/images/{id}/redo` | [`images.redo`](/docs/api/images.redo) | Redo the latest undone step of the caller on an image |
| `POST` | `/api/v1/images/{id}/revert` | [`images.revert`](/docs/api/images.revert) | Go back to an earlier revision of an image as a new step |
| `POST` | `/api/v1/images/{id}/undo` | [`images.undo`](/docs/api/images.undo) | Undo the latest step of the caller on an image |
| `POST` | `/api/v1/images/import` | [`images.import`](/docs/api/images.import) | Import an image file into a new image document, or as a layer of one |
| `POST` | `/api/v1/images/import/file` | [`images.import_file`](/docs/api/images.import_file) | Import an image file sent as the body of the request into a new image document, or as a layer of one |

## Approvals

| Method | Path | Operation | Summary |
| --- | --- | --- | --- |
| `GET` | `/api/v1/approval-rules` | [`approval-rules.list`](/docs/api/approval-rules.list) | List the rules that approve without asking |
| `POST` | `/api/v1/approval-rules` | [`approval-rules.set`](/docs/api/approval-rules.set) | Create or replace a rule (a person in the browser only; the local token and keys get 403) |
| `DELETE` | `/api/v1/approval-rules/{id}` | [`approval-rules.remove`](/docs/api/approval-rules.remove) | Remove a rule (a person in the browser only; the local token and keys get 403) |
| `GET` | `/api/v1/approvals` | [`approvals.list`](/docs/api/approvals.list) | List the approval queue (pending requests by default) |
| `GET` | `/api/v1/approvals/{id}` | [`approvals.get`](/docs/api/approvals.get) | Read one approval request |
| `POST` | `/api/v1/approvals/{id}/decide` | [`approvals.decide`](/docs/api/approvals.decide) | Approve or reject a request (a person in the browser only; the local token and keys get 403) |
| `GET` | `/api/v1/approvals/events` | [`approvals.events`](/docs/api/approvals.events) | Stream the events of the approval queue |
| `GET` | `/api/v1/cost` | [`cost.get`](/docs/api/cost.get) | Read the cost ceilings and what was spent |
| `PUT` | `/api/v1/cost/ceilings` | [`cost.ceilings.set`](/docs/api/cost.ceilings.set) | Set or remove a cost ceiling (a person in the browser only; the local token and keys get 403) |
| `GET` | `/api/v1/inbox` | [`inbox.list`](/docs/api/inbox.list) | List what waits for a person: the permission requests of the chat and the approvals, with what will happen, where, the cost and whether it can be undone |
| `GET` | `/api/v1/inbox/events` | [`inbox.events`](/docs/api/inbox.events) | Stream the list of what waits for a person, again each time it changes |

## Publishing

| Method | Path | Operation | Summary |
| --- | --- | --- | --- |
| `PUT` | `/api/v1/calendar/days/{date}` | [`calendar.days.set`](/docs/api/calendar.days.set) | Write the note and the theme of a day; an empty note and theme clear it |
| `GET` | `/api/v1/calendar/export` | [`calendar.export`](/docs/api/calendar.export) | Download the targets of a range as an .ics file, read only, with times in UTC |
| `GET` | `/api/v1/calendar/plan` | [`calendar.plan`](/docs/api/calendar.plan) | Read a range of the calendar: its days with notes, themes and quiet marks, its slots and, when asked, its publications |
| `PUT` | `/api/v1/calendar/quiet/{date}` | [`calendar.quiet.set`](/docs/api/calendar.quiet.set) | Mark a day as quiet (no posts) or clear the mark (a person in the browser only; the local token and keys get 403) |
| `PUT` | `/api/v1/calendar/slots` | [`calendar.slots.save`](/docs/api/calendar.slots.save) | Create or replace a recurring slot: a weekday and a local time on a network; it sends nothing |
| `DELETE` | `/api/v1/calendar/slots/{id}` | [`calendar.slots.remove`](/docs/api/calendar.slots.remove) | Remove a recurring slot |
| `GET` | `/api/v1/posts` | [`posts.list`](/docs/api/posts.list) | List the posts published to the read API |
| `GET` | `/api/v1/posts/{slug}` | [`posts.get`](/docs/api/posts.get) | Read a post published to the read API |
| `GET` | `/api/v1/posts/{slug}/media/{name}` | [`posts.media`](/docs/api/posts.media) | Download an image of a published post |
| `GET` | `/api/v1/publications` | [`publications.list`](/docs/api/publications.list) | List the publications of the calendar, by project, state, network or time range |
| `POST` | `/api/v1/publications` | [`publications.create`](/docs/api/publications.create) | Plan a publication: a video for one or more accounts, each with its time; every target starts as a draft |
| `GET` | `/api/v1/publications/{id}` | [`publications.get`](/docs/api/publications.get) | Read one publication with its targets |
| `PUT` | `/api/v1/publications/{id}` | [`publications.update`](/docs/api/publications.update) | Change a publication or its targets; a post that waited for approval goes back to waiting for it |
| `POST` | `/api/v1/publications/{id}/cancel` | [`publications.cancel`](/docs/api/publications.cancel) | Cancel a target, or every target that has not gone out |
| `POST` | `/api/v1/publications/{id}/duplicate` | [`publications.duplicate`](/docs/api/publications.duplicate) | Copy a publication to another day or hour as a new draft; nothing is asked for approval |
| `POST` | `/api/v1/publications/{id}/retry` | [`publications.retry`](/docs/api/publications.retry) | Ask for approval to send a failed target again |
| `POST` | `/api/v1/publications/{id}/schedule` | [`publications.schedule`](/docs/api/publications.schedule) | Give a target its time and ask for approval; it is sent only after a person approves it |
| `POST` | `/api/v1/publications/{id}/send-now` | [`publications.send-now`](/docs/api/publications.send-now) | Ask for approval to send a target as soon as it is approved |
| `GET` | `/api/v1/publications/events` | [`publications.events`](/docs/api/publications.events) | Stream the changes of the publications of the calendar |
| `POST` | `/api/v1/publish` | [`publish.now`](/docs/api/publish.now) | Prepare the publication of an exported video; it waits for a person to approve it |
| `GET` | `/api/v1/publish/{job_id}` | [`publish.status`](/docs/api/publish.status) | Read the state of a publication |
| `POST` | `/api/v1/publish/validate` | [`publish.validate`](/docs/api/publish.validate) | Check a post against the limits of its network; sends nothing |
| `GET` | `/api/v1/social/accounts` | [`social.accounts`](/docs/api/social.accounts) | List the connected social accounts and their state |
| `POST` | `/api/v1/social/complete` | [`social.complete`](/docs/api/social.complete) | Finish the sign-in with what the network sent to the redirect address (a person in the browser only) |
| `POST` | `/api/v1/social/connect` | [`social.connect`](/docs/api/social.connect) | Start the sign-in to a network with your own developer app; answers the address of the consent screen |
| `GET` | `/api/v1/social/networks` | [`social.networks`](/docs/api/social.networks) | List the social networks of this build and their limits |
| `POST` | `/api/v1/social/price` | [`social.price`](/docs/api/social.price) | Correct the price of a post on a network that charges for one (a person in the browser only) |
| `POST` | `/api/v1/social/select` | [`social.select`](/docs/api/social.select) | Choose the Page or Instagram account a sign-in reached (a person in the browser only) |

## Recordings

| Method | Path | Operation | Summary |
| --- | --- | --- | --- |
| `GET` | `/api/v1/projects/{id}/recordings` | [`projects.recordings`](/docs/api/projects.recordings) | List the recordings of a project |
| `GET` | `/api/v1/recording/sources` | [`recording.sources`](/docs/api/recording.sources) | List the displays and windows that can be captured |
| `POST` | `/api/v1/recordings` | [`recordings.start`](/docs/api/recordings.start) | Start recording a display or a window, or a recording that was prepared (a person in the browser only; the local token and keys get 403) |
| `GET` | `/api/v1/recordings/{id}` | [`recordings.get`](/docs/api/recordings.get) | Read one recording |
| `POST` | `/api/v1/recordings/{id}/cancel` | [`recordings.cancel`](/docs/api/recordings.cancel) | Discard a recording in progress; delete a finished one (a person in the browser only) |
| `POST` | `/api/v1/recordings/{id}/confirm` | [`recordings.confirm`](/docs/api/recordings.confirm) | Add a finished recording to the project (a person in the browser only; agents can then read it) |
| `POST` | `/api/v1/recordings/{id}/dismiss` | [`recordings.dismiss`](/docs/api/recordings.dismiss) | Not now: keep a recording out of the project and out of sight of agents (a person in the browser only) |
| `GET` | `/api/v1/recordings/{id}/events` | [`recordings.events`](/docs/api/recordings.events) | Read the pointer and click events of a finished recording, in pixels of the captured source |
| `POST` | `/api/v1/recordings/{id}/finish` | [`recordings.upload.finish`](/docs/api/recordings.upload.finish) | Finish a browser recording: the server assembles the chunks into a file (a person in the browser only) |
| `POST` | `/api/v1/recordings/{id}/marks` | [`recordings.marks`](/docs/api/recordings.marks) | Mark a point or a stretch of a take as good, bad or a mistake |
| `POST` | `/api/v1/recordings/{id}/pause` | [`recordings.pause`](/docs/api/recordings.pause) | Pause a recording: every source stops writing and the paused time is cut from every file (anyone with media) |
| `POST` | `/api/v1/recordings/{id}/place` | [`recordings.place`](/docs/api/recordings.place) | Place a recording the person added on the timeline, as one batch |
| `POST` | `/api/v1/recordings/{id}/proposals` | [`recordings.proposals`](/docs/api/recordings.proposals) | Propose cuts of a ready take, each with a reason; changes no timeline until a person decides |
| `POST` | `/api/v1/recordings/{id}/proposals/{proposal_id}/decide` | [`recordings.proposals.decide`](/docs/api/recordings.proposals.decide) | Accept or reject every range of a proposal (a person in the browser only); the accepted ones are one undoable batch |
| `POST` | `/api/v1/recordings/{id}/resume` | [`recordings.resume`](/docs/api/recordings.resume) | Resume a paused recording (a person in the browser only: it restarts the capture of the screen) |
| `POST` | `/api/v1/recordings/{id}/stop` | [`recordings.stop`](/docs/api/recordings.stop) | Stop a recording and keep what was written (anyone with media) |
| `PUT` | `/api/v1/recordings/{id}/upload/{track}/{index}` | [`recordings.upload.chunk`](/docs/api/recordings.upload.chunk) | Upload one chunk of a track of a browser recording, in order, with its SHA-256 (a person in the browser only) |
| `POST` | `/api/v1/recordings/prepare` | [`recordings.prepare`](/docs/api/recordings.prepare) | Prepare a recording: store its source, tracks, script and notes so that a person only presses record (starts nothing) |
| `POST` | `/api/v1/recordings/upload` | [`recordings.upload.begin`](/docs/api/recordings.upload.begin) | Begin a recording that the browser captures and uploads (a person in the browser only) |

## Agent chat

| Method | Path | Operation | Summary |
| --- | --- | --- | --- |
| `GET` | `/api/v1/agents/profiles` | [`agents.profiles.list`](/docs/api/agents.profiles.list) | List the agents the chat may host and the suggestions |
| `PUT` | `/api/v1/agents/profiles/{name}` | [`agents.profiles.set`](/docs/api/agents.profiles.set) | Write an agent profile, a command that will run on the machine (a person in the browser only; others get 403) |
| `DELETE` | `/api/v1/agents/profiles/{name}` | [`agents.profiles.remove`](/docs/api/agents.profiles.remove) | Remove an agent profile (a person in the browser only; others get 403) |
| `GET` | `/api/v1/chat/sessions/{id}` | [`chat.sessions.get`](/docs/api/chat.sessions.get) | Read one chat session |
| `DELETE` | `/api/v1/chat/sessions/{id}` | [`chat.sessions.delete`](/docs/api/chat.sessions.delete) | Delete a session and its transcript (a person in the browser only; others get 403) |
| `GET` | `/api/v1/chat/sessions/{id}/activity` | [`chat.sessions.activity`](/docs/api/chat.sessions.activity) | Read which skill a session loaded and which tool it is calling, with a plain description |
| `POST` | `/api/v1/chat/sessions/{id}/cancel` | [`chat.sessions.cancel`](/docs/api/chat.sessions.cancel) | Cancel the turn in progress, or end the session (a person in the browser only; others get 403) |
| `GET` | `/api/v1/chat/sessions/{id}/events` | [`chat.sessions.events`](/docs/api/chat.sessions.events) | Stream what the agent of a session says and does |
| `POST` | `/api/v1/chat/sessions/{id}/messages` | [`chat.sessions.send`](/docs/api/chat.sessions.send) | Send a message to the agent (a person in the browser only; others get 403) |
| `POST` | `/api/v1/chat/sessions/{id}/permissions/{request_id}` | [`chat.sessions.answer`](/docs/api/chat.sessions.answer) | Answer a permission request of the agent (a person in the browser only; others get 403) |
| `GET` | `/api/v1/chat/sessions/{id}/transcript` | [`chat.sessions.transcript`](/docs/api/chat.sessions.transcript) | Read the transcript of a session as events or as Markdown |
| `GET` | `/api/v1/projects/{id}/chat/sessions` | [`chat.sessions.list`](/docs/api/chat.sessions.list) | List the chat sessions of a project |
| `POST` | `/api/v1/projects/{id}/chat/sessions` | [`chat.sessions.start`](/docs/api/chat.sessions.start) | Start the agent of a profile on a project (a person in the browser only; others get 403) |

## System

| Method | Path | Operation | Summary |
| --- | --- | --- | --- |
| `GET` | `/api/v1/handshake` | [`handshake.get`](/docs/api/handshake.get) | Prove that the server knows the local token |
| `GET` | `/api/v1/system` | [`system.get`](/docs/api/system.get) | Read the diagnostic report |
| `GET` | `/api/v1/system/capture` | [`system.capture`](/docs/api/system.capture) | Whether a capture helper is running, for the recording indicator of the desktop shell |
| `POST` | `/api/v1/system/launch` | [`system.launch`](/docs/api/system.launch) | Issue a one-time browser launch code |
| `POST` | `/api/v1/system/scheduler` | [`system.scheduler`](/docs/api/system.scheduler) | Read, pause or resume the publication scheduler (pause and resume only for the desktop shell) |
| `GET` | `/api/v1/system/tools` | [`system.tools`](/docs/api/system.tools) | List the installed helpers and the install progress |
| `POST` | `/api/v1/system/tools/install` | [`system.tools.install`](/docs/api/system.tools.install) | Install the transcription helper (a browser session or an admin key only; the local token gets 403) |

## API keys

| Method | Path | Operation | Summary |
| --- | --- | --- | --- |
| `GET` | `/api/v1/keys` | [`keys.list`](/docs/api/keys.list) | List your API keys (a logged-in session only; network mode) |
| `POST` | `/api/v1/keys` | [`keys.create`](/docs/api/keys.create) | Create an API key (a logged-in session only; network mode) |
| `DELETE` | `/api/v1/keys/{key_id}` | [`keys.revoke`](/docs/api/keys.revoke) | Revoke an API key (a logged-in session only; network mode) |

## Users

| Method | Path | Operation | Summary |
| --- | --- | --- | --- |
| `GET` | `/api/v1/users` | [`users.list`](/docs/api/users.list) | List the users (an administrator session only; network mode) |
| `POST` | `/api/v1/users` | [`users.create`](/docs/api/users.create) | Create a user (an administrator session only; network mode) |
| `PATCH` | `/api/v1/users/{user_id}` | [`users.update`](/docs/api/users.update) | Change the role of a user or disable or enable them (an administrator session only; network mode) |

## Audit

| Method | Path | Operation | Summary |
| --- | --- | --- | --- |
| `GET` | `/api/v1/audit` | [`audit.list`](/docs/api/audit.list) | List the audit table |
