Register a piece of work
content_atoms_createRegister a piece of work on a Channel (contentBrandId from brands), with its product and offer, and its source: a Sigmora render (sourceVideoJobId) or an uploaded asset (sourceAssetId). With externalId an existing atom is returned instead of a second one. Free.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"contentBrandId": "<contentBrandId>",
"title": "<title>",
"idempotencyKey": "<idempotencyKey>"
},
"name": "content_atoms_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offer | No | The product and offer the work sells; every field defaults to null. | |
| title | Yes | A short human title, up to 300 characters. | |
| source | No | Where the work's source lives: a repository at a commit. Null for none. | |
| status | No | The atom's own lifecycle: `draft`, `active` (default) or `archived`. Publication status lives on its derivatives. | active |
| retention | No | How the media is stored: `keep` (default; masters and revenue work) or `regenerable` (can be rebuilt, may be dropped). | keep |
| workspace | No | Workspace slug. Omit to use the workspace your credential is bound to. An API key names its own workspace, and a value that disagrees with it is refused rather than ignored. | |
| externalId | No | Your own stable id for this record (letters, digits, `. _ : -`). Sending the same externalId again returns the existing record instead of a second one, so seeding and re-runs never duplicate. | |
| shortLinkRoot | No | The smart link the work's links hang off: `id` of one of your smart links. Its clicks and sales count toward the atom. | |
| sourceAssetId | No | The uploaded file this work is: `assetId` from POST /v1/assets/upload/complete. Send this or sourceVideoJobId, not both. | |
| contentBrandId | Yes | The Channel this work belongs to: `id` from GET /v1/brands. | |
| idempotencyKey | Yes | Required for anything that spends or creates durable state. Generate a unique id per logical call. Retrying with the SAME id and the SAME arguments returns the stored result instead of doing — and charging for — the work twice; the same id with different arguments is refused with `conflict`. | |
| sourceVideoJobId | No | The Sigmora render this work is (`jobId` of a finished video job). Send this or sourceAssetId, not both. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||