Write a channel journal entry
channels_journal_appendWrite one entry to the channel journal at the end of every run: plan (what comes next), made (what you made, with costCredits as the tool results said), results (metrics such as views or ctr) or note. Sigmora writes published, held and refused itself. Free.
REST: POST /v1/channels/{connectedAccountId}/journal.
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": {
"connectedAccountId": "<connectedAccountId>",
"kind": "<kind>",
"summary": "<summary>",
"idempotencyKey": "<idempotencyKey>"
},
"name": "channels_journal_append"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | `plan` (what comes next), `made` (what was made), `results` (how published videos did) or `note` (anything else). `published`, `held` and `refused` are written by Sigmora only and refused from an agent. | |
| refs | No | Ids the entry is about, so the next reader can open them. | |
| runRef | No | Your own id for this run, to group its entries. Null: none (default). | |
| metrics | No | Numbers for a `results` entry, by name (views, ctr, avgViewPct). At most 20. | |
| summary | Yes | One or two plain sentences: what happened. Up to 2,000 characters. | |
| 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. | |
| costCredits | No | Credits the step cost, as the tool results said. A record for the next reader only: it never counts toward a cap (caps read Sigmora's own charges). Null: none (default). | |
| 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`. | |
| connectedAccountId | Yes | The channel: a destination id from `GET /v1/publish/destinations`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||