Connect Claude, ChatGPT, Cursor or any MCP client to your workspace. Your assistant can then create tasks, upload files, schedule posts and more.
https://timeliner.io/api/mcpPick your client.
Sign in with your Timeliner account. No key needed.
Sign in with your Timeliner account. No key needed.
Run this in your terminal:
claude mcp add --transport http timeliner https://timeliner.io/api/mcp --header "Authorization: Bearer tlsk_..."Add to ~/.cursor/mcp.json:
{
"mcpServers": {
"timeliner": {
"url": "https://timeliner.io/api/mcp",
"headers": {
"Authorization": "Bearer tlsk_..."
}
}
}
}Add to your client's MCP configuration:
{
"mcpServers": {
"timeliner": {
"type": "http",
"url": "https://timeliner.io/api/mcp",
"headers": {
"Authorization": "Bearer tlsk_..."
}
}
}
}Key-based clients: replace tlsk_... with a key from Settings → Developers → Timeliner MCP → Generate setup.
Workspace admins, plus supervisors once an admin turns on Let supervisors connect. Included on the Agency and Scale plans.
255 tools, grouped by what they touch. Tap a tool to see its inputs and an example.
attach_raw_file_to_postAttach a raw file to a text postWriteAttach a file that is ALREADY in Raw files & assets to a text post (a document task) by its file id, with no download and no new upload: an image, video or PDF from the task's own project, or from the brand header the project sits under. It becomes the post's attachment (the task's next version), the same as Attach file in the app, and publishes with the post. The raw file stays where it is, unchanged; the post gets its own copy of the entry that points at the same stored file (the workspace storage total counts it again, as when a task is created from a raw file). Get the file id from list_project_raw_files (the task's project) or list_brand_raw_files (its brand) and send all 36 characters exactly as returned. Document tasks only: a media task is refused (400 not_a_document); its versions come from upload_file_from_url or start_file_upload. A published post is refused (409 published). A file that is a task's own file (409 task_file), or is not an image, video or PDF, or is still uploading, still having its preview made, in the trash or removed (409 not_attachable), is refused and nothing changes. A file of another project or another brand is not found (404). Replacing an existing attachment keeps the old one in the task's version history. Like an upload, it notifies the task's reviewers when the post is waiting for approval.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The document task (text post) id. |
fileIdrequired | uuid | The raw file's UUID, all 36 characters exactly as returned: files[].id from list_project_raw_files (the task's project) or list_brand_raw_files (the brand above it). |
idrequireduuidThe document task (text post) id.fileIdrequireduuidThe raw file's UUID, all 36 characters exactly as returned: files[].id from list_project_raw_files (the task's project) or list_brand_raw_files (the brand above it).{
"id": "00000000-0000-0000-0000-000000000000",
"fileId": "00000000-0000-0000-0000-000000000000"
}Key scope: write:tasks
create_custom_statusCreate a custom statusWriteAdd a custom status - an extra workflow step after a built-in status (baseStatus) that behaves like it. Omit brandId for a workspace-wide one (Settings → Statuses); pass brandId for one only that brand's tasks use (Edit Brand → Workflow). name 1–24 characters, unique in its scope (409); at most 15 per workspace (409). editorAccess decides which editors may move tasks into it (default | all | none | selected + editorIds). Moves no task and notifies no one.
| Name | Type | Details |
|---|---|---|
namerequired | string | The status name shown on the board. |
colorrequired | enum | Palette color.One of: slate, red, orange, amber, yellow, lime, green, emerald, teal, cyan, sky, blue, indigo, violet, purple, fuchsia, pink, rose |
baseStatusrequired | enum | The built-in status it sits after and behaves like.One of: toDo, inProgress, inRevision, supervisorApproval, approved, posted |
brandId | uuid | null | Brand-only status for this brand; omit/null = workspace-wide. |
editorAccess | enum | One of: default, all, none, selected |
editorIds | uuid[] | Team member ids for editorAccess "selected". |
namerequiredstringThe status name shown on the board.colorrequiredenumPalette color.One of: slate, red, orange, amber, yellow, lime, green, emerald, teal, cyan, sky, blue, indigo, violet, purple, fuchsia, pink, rosebaseStatusrequiredenumThe built-in status it sits after and behaves like.One of: toDo, inProgress, inRevision, supervisorApproval, approved, postedbrandIduuid | nullBrand-only status for this brand; omit/null = workspace-wide.editorAccessenumOne of: default, all, none, selectededitorIdsuuid[]Team member ids for editorAccess "selected".{
"name": "example",
"color": "slate",
"baseStatus": "toDo"
}Key scope: write:tasks
create_taskCreate taskWriteCreate a task inside a project. For a variant of an existing task, set kind=variant and pass the parentTaskId of a regular or parent task together with THAT task's own projectId - a variant is always created in its parent's project (get_task and list_tasks return each task's projectId). A parentTaskId from another project, one in the Trash, or one that is not a task in this workspace is refused before anything is created, naming what to do instead. A variant's statusGroup follows its parent's; set its own Pending / Approved / Changes requested with set_variant_approval. A new variant goes after the parent's last one, so creating Slide 1 … Slide 6 in order gives positions 0 … 5 - the carousel's order; pass position to put it in another slot. Set internalDeadline / externalDeadline (YYYY-MM-DD) to schedule it at creation. A text-first social post (Facebook / LinkedIn / X) is a type=doc task created WITH its text in this one call - pass `text` (plain string, blank lines kept exactly) or `contentHtml`; then upload_file_from_url with the new taskId for an optional attachment, and schedule_post. Pass pricingTemplateId to price the task at creation (its pricing tag, default client price and editor pay); assign editors and tag their template roles afterwards with update_task (assigneeIds + assigneeRoles). pricingTemplateId needs payment tracking and startDate / estimatedMinutes need Workload - both the Agency plan or higher; below it leave them out (sending them is refused).
| Name | Type | Details |
|---|---|---|
projectIdrequired | uuid | The PROJECT's own id (from list_projects or create_project), all 36 characters exactly as returned - never shortened or padded, and never a task, sub-folder, brand, folder, HQ item or file id. A sub-folder goes in subFolderId; a parent task goes in parentTaskId with kind=variant. |
titlerequired | string | |
type | enum | Defaults to media. Must be doc whenever you pass text or contentHtml.One of: media, doc |
text | string | type=doc only: the document as PLAIN TEXT. Each line becomes a paragraph and each blank line a blank line, so a post publishes with exactly this spacing; markup is treated as literal text. Send this OR contentHtml, never both. |
contentHtml | string | type=doc only: the document as HTML (<p>, <strong>, <em>, <ul>/<ol>) when it needs bold or lists. An empty <p></p> is a blank line. Send this OR text, never both. |
kind | enum | Defaults to regular.One of: regular, variant |
parentTaskId | uuid | null | ONLY valid when kind=variant, where it is required. Must be a task in the same project - projectId must be the parent's own projectId (get_task returns it). A task in the Trash cannot be a parent: list_tasks with status=active leaves those out. Sending it without kind=variant is rejected (400) - set kind=variant too. |
position | integer | kind=variant only: the new variant's 0-based slot under its parent (0 = the first slide of the carousel; past the end = last). Omit it to add the variant after the parent's last one. |
subFolderId | uuid | null | Sub-folder (task group) inside the project to place the task in. Must belong to the same project. Omit or null for the project root. Sub-folder ids come from get_project's subFolders. |
statusGroup | enum | Defaults to toDo.One of: toDo, inProgress, supervisorApproval, clientApproval, endClientApproval, approved, posted, inRevision |
internalDeadline | string | null | Internal team deadline, YYYY-MM-DD or null. |
externalDeadline | string | null | Client-facing deadline, YYYY-MM-DD or null. |
startDate | string | null | Workload work-window start, YYYY-MM-DD or null. With a deadline + estimatedMinutes the task appears on the Workload view spread across working days. |
estimatedMinutes | integer | null | Total time estimate in minutes (e.g. 1440 = 24h), or null. |
externalMetadata | object | null | Arbitrary JSON object for integration data; namespace by integration, e.g. {"crm":{"accountId":"A-123"}}. Pass null to clear. |
pricingTemplateId | uuid | Pricing template to apply (id from list_pricing_templates) - sets the task's pricing tag, its default client price and the editors' default pay, exactly as picking the template in the app's pricing dialog. Needs the finance write scope. |
projectIdrequireduuidThe PROJECT's own id (from list_projects or create_project), all 36 characters exactly as returned - never shortened or padded, and never a task, sub-folder, brand, folder, HQ item or file id. A sub-folder goes in subFolderId; a parent task goes in parentTaskId with kind=variant.titlerequiredstringtypeenumDefaults to media. Must be doc whenever you pass text or contentHtml.One of: media, doctextstringtype=doc only: the document as PLAIN TEXT. Each line becomes a paragraph and each blank line a blank line, so a post publishes with exactly this spacing; markup is treated as literal text. Send this OR contentHtml, never both.contentHtmlstringtype=doc only: the document as HTML (<p>, <strong>, <em>, <ul>/<ol>) when it needs bold or lists. An empty <p></p> is a blank line. Send this OR text, never both.kindenumDefaults to regular.One of: regular, variantparentTaskIduuid | nullONLY valid when kind=variant, where it is required. Must be a task in the same project - projectId must be the parent's own projectId (get_task returns it). A task in the Trash cannot be a parent: list_tasks with status=active leaves those out. Sending it without kind=variant is rejected (400) - set kind=variant too.positionintegerkind=variant only: the new variant's 0-based slot under its parent (0 = the first slide of the carousel; past the end = last). Omit it to add the variant after the parent's last one.subFolderIduuid | nullSub-folder (task group) inside the project to place the task in. Must belong to the same project. Omit or null for the project root. Sub-folder ids come from get_project's subFolders.statusGroupenumDefaults to toDo.One of: toDo, inProgress, supervisorApproval, clientApproval, endClientApproval, approved, posted, inRevisioninternalDeadlinestring | nullInternal team deadline, YYYY-MM-DD or null.externalDeadlinestring | nullClient-facing deadline, YYYY-MM-DD or null.startDatestring | nullWorkload work-window start, YYYY-MM-DD or null. With a deadline + estimatedMinutes the task appears on the Workload view spread across working days.estimatedMinutesinteger | nullTotal time estimate in minutes (e.g. 1440 = 24h), or null.externalMetadataobject | nullArbitrary JSON object for integration data; namespace by integration, e.g. {"crm":{"accountId":"A-123"}}. Pass null to clear.pricingTemplateIduuidPricing template to apply (id from list_pricing_templates) - sets the task's pricing tag, its default client price and the editors' default pay, exactly as picking the template in the app's pricing dialog. Needs the finance write scope.{
"projectId": "2f6c1b9e-4a7d-4c3e-9b21-6d8e0f4a7c15",
"title": "Launch reel 03 - 30s cut",
"statusGroup": "toDo",
"externalDeadline": "2026-11-20"
}Key scope: write:tasks
create_task_commentPost a comment on a taskWritePost a comment on a task's review thread, authored by the API key's creator - or, with parentId, a REPLY inside that comment's thread (it shows nested under it in the app, at the same timecode and version; a reply to a reply joins the thread's first comment, and takes none of the placement fields - only visibility). A new comment is left on fileId (a version from list_task_comments' version.fileId) or, by default, the task's CURRENT version; timecode (seconds) makes it a timeline note on a video/audio version, endTimecode a range; drawings mark the picture in the same shape list_task_comments returns (normalised 0-1, letterbox excluded; page puts them on a PDF page). visibility public|team is honoured within the key person's role. Silent unless notify:true (tells the task's assigned editors). AI NOTES: when YOU are an AI reviewing the work, pass aiLabel (your name, ≤40 chars, never a Timeliner name, Ronald or Smith) - the comment shows to the team only (internal; visibility public is refused) with an AI badge signed with that name, never notifies anyone and never runs the workspace's comment automations; aiSeverity (mustFix|suggestion|note) ranks it in the team's AI summary and extraRanges lists more places it applies. Posting has a budget: 60 comments per minute per key, plus daily ceilings per key and per workspace - past it the call returns 429 with a Retry-After; wait that long, never loop. Returns the created comment.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The task's UUID - from list_tasks. |
textrequired | string | The comment text. |
parentId | uuid | Reply in this comment's thread - a comment id from list_task_comments on the SAME task (team or client comment). Omit for a new top-level comment. A reply follows its thread's visibility unless you send visibility. |
timecode | number | Seconds into a video/audio version. |
endTimecode | number | A range comment's end in seconds - after timecode. |
fileId | uuid | The version to comment on (version.fileId). Omit for the task's current version. |
visibility | enum | public = the client sees it; team = internal. The key person's role still clamps it. On a reply, team keeps it internal inside a client-visible thread; public is refused in an internal thread. An AI note (aiLabel) is always team.One of: public, team |
drawings | object[] | Marks on the picture, normalised 0-1: {type:'pin', point:{x,y}} | {type:'rectangle', bounds:{x,y,width,height}} | {type:'circle', center:{x,y}, radius:{x,y}} | {type:'arrow', from:{x,y}, to:{x,y}} | {type:'freehand', points:[{x,y}…]} - each optionally with color (#RRGGBB), lineThickness, opacity, page. |
page | integer | The PDF page the drawings sit on. |
notify | boolean | Tell the task's assigned editors (not with aiLabel). |
aiLabel | string | Post as an AI note signed with this name (your own name as an AI; never a Timeliner name, Ronald or Smith). Always internal and silent. |
aiSeverity | enum | An AI note's severity (needs aiLabel).One of: mustFix, suggestion, note |
extraRanges | object[] | More places the same AI note applies to, in seconds (needs aiLabel and timecode). |
idrequireduuidThe task's UUID - from list_tasks.textrequiredstringThe comment text.parentIduuidReply in this comment's thread - a comment id from list_task_comments on the SAME task (team or client comment). Omit for a new top-level comment. A reply follows its thread's visibility unless you send visibility.timecodenumberSeconds into a video/audio version.endTimecodenumberA range comment's end in seconds - after timecode.fileIduuidThe version to comment on (version.fileId). Omit for the task's current version.visibilityenumpublic = the client sees it; team = internal. The key person's role still clamps it. On a reply, team keeps it internal inside a client-visible thread; public is refused in an internal thread. An AI note (aiLabel) is always team.One of: public, teamdrawingsobject[]Marks on the picture, normalised 0-1: {type:'pin', point:{x,y}} | {type:'rectangle', bounds:{x,y,width,height}} | {type:'circle', center:{x,y}, radius:{x,y}} | {type:'arrow', from:{x,y}, to:{x,y}} | {type:'freehand', points:[{x,y}…]} - each optionally with color (#RRGGBB), lineThickness, opacity, page.pageintegerThe PDF page the drawings sit on.notifybooleanTell the task's assigned editors (not with aiLabel).aiLabelstringPost as an AI note signed with this name (your own name as an AI; never a Timeliner name, Ronald or Smith). Always internal and silent.aiSeverityenumAn AI note's severity (needs aiLabel).One of: mustFix, suggestion, noteextraRangesobject[]More places the same AI note applies to, in seconds (needs aiLabel and timecode).{
"id": "00000000-0000-0000-0000-000000000000",
"text": "example"
}Key scope: write:tasks
delete_custom_statusDelete a custom statusWriteDeletesDelete a custom status. Every task in it falls back to its base status (nothing notifies), and an automation rule whose whole trigger was this status is switched off. Confirm with the user first, naming it; NEVER loop this tool over a list. Deletes share one budget across the whole API: about 20 per minute per key, and daily ceilings per key and per workspace - over budget returns 429 with a Retry-After header. A 429 means STOP and tell the user; never wait-and-retry your way through a batch.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The custom status id. |
idrequireduuidThe custom status id.{
"id": "00000000-0000-0000-0000-000000000000"
}Key scope: write:tasks
delete_taskDelete taskWriteDeletesDESTRUCTIVE. Move a task to Trash (soft-delete). The task and its files leave every active list and disappear from the client's view immediately; any running timer on it is stopped. Restorable from the app's Trash page, but treat it as irreversible when planning. CONFIRM WITH THE USER FOR EACH TASK, naming it; NEVER loop this tool over a list of tasks. Idempotent; no notifications fire. Deletes share one budget across the whole API: about 20 per minute per key, and daily ceilings per key and per workspace - over budget returns 429 with a Retry-After header. A 429 means STOP and tell the user; never wait-and-retry your way through a batch.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The task's UUID. |
idrequireduuidThe task's UUID.{
"id": "00000000-0000-0000-0000-000000000000"
}Key scope: write:tasks
edit_task_docEdit part of a task's document body / briefWriteChange PART of a task's rich-text content (a doc task's document body, or a media task's brief) without resending the whole thing - the right tool for any small change, and the only safe one on a large document. Each edit names where it goes: append / prepend (end / start of the document); replaceSection (a section = a heading plus everything up to the next heading of the same or a higher level; a heading inside a toggle or callout counts too, and its section ends where that block ends - a heading in a table or list does not - html replaces the heading TOO, so start it with the heading to keep it, or send "" to delete the section); appendToSection (adds html at the end of that section); replaceText (find = a piece of the stored HTML as get_task_doc returns it, which must occur exactly once; html "" deletes it - copy it exactly, though the spelling of & / " / ' / a hard space (&, ), runs of whitespace and line breaks between tags are tolerated; tags and attributes must match). Headings match on their visible text, case and spacing ignored. Edits apply in order and all or nothing, to whatever the document holds when the call lands - so you do NOT need a fresh rev, and someone editing another part of the document in the app meanwhile does not make this fail. Everything outside your edits is kept exactly as it is. A 422 means an anchor was not found or matched more than once (code anchorNotFound / anchorAmbiguous, index = which edit) and nothing was written: read the document with get_task_doc and pick an exact anchor. For doc tasks each call saves a restore point in the document's version history. Use update_task_doc only to rewrite the whole content.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The task's UUID - from list_tasks. |
editsrequired | object[] | 1–50 edits, applied in order. |
baseRev | integer | null | Optional. Only apply if the document is still at this rev (from get_task_doc) - a 409 otherwise. Omit it (the usual case) to apply the edits to the current content. |
idrequireduuidThe task's UUID - from list_tasks.editsrequiredobject[]1–50 edits, applied in order.baseRevinteger | nullOptional. Only apply if the document is still at this rev (from get_task_doc) - a 409 otherwise. Omit it (the usual case) to apply the edits to the current content.{
"id": "00000000-0000-0000-0000-000000000000",
"edits": [
{
"op": "append",
"html": "example"
}
]
}Key scope: write:tasks
get_taskGet taskReadGet one task: title, statusGroup, customStatus ({id, name} of the workspace custom status it sits in - e.g. 'Legal sign-off' inside inProgress - or null), updatedAt (moves on any change, a status move included), kind (regular | parent | variant - a parent holds no file, its variants do), position (a variant's 0-based slot under its parent - the order the app shows and a carousel publishes in; null on any other task), deadlines, brandId, media download links where available, externalMetadata, customValues, pricing (template, pricing tag, client price and each editor's role and pay - null without the finance read scope), and taskId (the permanent 'TL-1042' handle, null when the workspace has task IDs off). Takes the UUID - to go the other way, from a 'TL-1042' code someone quoted, call list_tasks with taskId first. The brief / document body is NOT in this result: read it, with every link in it, via get_task_doc.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The task's UUID. |
idrequireduuidThe task's UUID.{
"id": "00000000-0000-0000-0000-000000000000"
}Key scope: read:tasks
get_task_commentGet one task comment with its repliesReadRead ONE comment of a task's review thread - a team comment or a client's share-link comment - in the same full shape list_task_comments returns (timecode, frames, smpte, version, drawings, attachments, transcriptExcerpt…), plus replies: every reply in its thread, oldest first. A reply's own id returns that reply with replies []. 404 for another task's comment, a chat message or an unknown id. Use it to re-read one note in full before acting on it.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The task's UUID - from list_tasks. |
commentIdrequired | uuid | The comment's id - from list_task_comments. |
idrequireduuidThe task's UUID - from list_tasks.commentIdrequireduuidThe comment's id - from list_task_comments.{
"id": "00000000-0000-0000-0000-000000000000",
"commentId": "00000000-0000-0000-0000-000000000000"
}Key scope: read:tasks
get_task_docGet a task's document body / briefReadRead a task's rich-text content - for a document task this is the document body (scripts, notes); for a media task it is the brief/description. Returns contentHtml (the raw HTML), links (every hyperlink in it as {text, url} - the url decoded and ready to fetch, e.g. a 'VO download' link in a brief; to pull a linked file into Timeliner pass that url to upload_file_from_url), docAttachments (files dropped INTO it, e.g. a .docx - each with a downloadUrl valid 7 days, null without Files read access), type (doc | media), and rev (a version counter). A variant has its own brief - its parent's brief is read with get_task_doc on parentTaskId. To change part of it, read it once here and then use edit_task_doc - its edits are anchored on headings or exact HTML, so they need no fresh rev. Before update_task_doc (a full rewrite), ALWAYS call this and pass the returned rev back as baseRev so your write is rejected instead of silently overwriting an edit someone made in the app meanwhile.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The task's UUID - from list_tasks. |
idrequireduuidThe task's UUID - from list_tasks.{
"id": "9b3e7a41-5c2d-4f8e-a6b0-1d7c3e9f2a64"
}Key scope: read:tasks
get_task_transcriptRead a task's video transcriptReadRead the transcript of a media task's current video - the spoken words as plain text, plus language, word count and duration. Use it to analyze WHAT a video is about (who speaks, topics, places, products) before tagging it, summarizing it, or writing about it. status tells you what you got: ready (text present), none (never transcribed - generate_post_caption or suggest_task_tags with startTranscription:true starts one), pending/extracting/processing (in progress - retry in ~20s), no_speech, or failed. Read-only: never starts a transcription itself. 404 when the task has no media file (doc tasks, or nothing uploaded yet), and 404 code file_content_missing when the video was removed after the workspace's subscription ended (its transcript is hidden with it, and deleted with it once the file is permanently deleted). Text is bounded to the transcript's own length - long videos can be several thousand words. For WHEN things are said: includeSegments:true adds segments [{ start, end, text }] - the timed lines the Transcript tab shows, in seconds (use them for timecoded quotes) - and includeWords:true adds words [{ text, start, end }], every word with its own timing. fromSeconds / toSeconds narrow both lists to a stretch of the video (text stays the whole transcript), and need one of the two. Words are long: on a video over about 5 minutes, ask for words a window of 5 minutes or less at a time.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The task's UUID. |
includeSegments | boolean | true = also return segments: each timed line with its start and end in seconds. |
includeWords | boolean | true = also return words: every word with its start and end in seconds. Use a window on long videos. |
fromSeconds | number | Only segments / words still being spoken at or after this second. Needs includeSegments or includeWords. |
toSeconds | number | Only segments / words that start before this second (more than fromSeconds). Needs includeSegments or includeWords. |
idrequireduuidThe task's UUID.includeSegmentsbooleantrue = also return segments: each timed line with its start and end in seconds.includeWordsbooleantrue = also return words: every word with its start and end in seconds. Use a window on long videos.fromSecondsnumberOnly segments / words still being spoken at or after this second. Needs includeSegments or includeWords.toSecondsnumberOnly segments / words that start before this second (more than fromSeconds). Needs includeSegments or includeWords.{
"id": "00000000-0000-0000-0000-000000000000"
}Key scope: read:tasks
list_custom_columnsList custom columnsReadList the workspace's custom columns - the user-defined extra fields on tasks (e.g. a Dropbox link, a priority, a select, a tag, a linked task). Each has an id, kind (text|date|priority|link|dateRange|select|tag|taskLink), name, and - for select kinds - its options (id + label; to set a select cell send that option's id, never its label; options cannot be added through the API - a person adds them in Timeliner), or - for tag kinds - its tags (id + label + brandId). Only a tag kind column takes new labels (create_custom_column_tags / suggest_task_tags); any other kind there is a 400. A tag's brandId is null for a SHARED tag (usable on every brand) or a brand node id for a brand-scoped tag (usable only on tasks under that brand - resolve a task's brand via its project's brand). Use the column id with set_task_custom_values / create_custom_column_tags; read a task's current values from get_task's customValues. Not paginated (10 columns on most plans; unlimited on the higher plans).
No inputs.
{}Key scope: read:tasks
list_custom_statusesList custom statusesReadList the workspace's CUSTOM statuses - extra steps in the workflow such as "Legal sign-off" after In Progress. Each has an id, name, color, baseStatus (the built-in statusGroup it sits after and behaves like), brandId (null = every brand; set = that brand only), hiddenForBrandIds (brands that turned a workspace-wide one off), sortOrder, and who may move tasks into it: editorAccess (default | all | none | selected) with editorIds. Pass brandId to get only the statuses a task under that brand can use. Board order: each base, then its custom statuses. A task's current one shows as customStatus on get_task / list_tasks (null = the plain statusGroup); move a task into one with update_task's customStatusId. Not paginated (at most 15).
| Name | Type | Details |
|---|---|---|
brandId | uuid | Only the statuses usable on this brand (the task's brandId from get_task). |
brandIduuidOnly the statuses usable on this brand (the task's brandId from get_task).{}Key scope: read:tasks
list_recent_eventsList recent eventsReadWhat happened in the workspace recently, oldest first: a new version uploaded to a task (version.uploaded), a comment added (comment.created) and a task approved (task.completed) - each the exact envelope a webhook subscriber receives (id, type, createdAt, data with the task title, comment text or version number). Built for a scheduled check: pass since = when you last checked, or better, the nextCursor from your previous call as cursor (it continues exactly after the last event you saw, never repeating one; it is returned even when nothing new arrived). hasMore: true means call again with nextCursor now. Default: the last 24 hours; nothing older than 30 days is returned. Events are recorded only while the workspace has an API key, and nothing from before this feature existed is included. Comment events include team-only (visibility: team) comments - never forward those to a client.
| Name | Type | Details |
|---|---|---|
since | string | ISO-8601 instant, e.g. 2026-10-15T08:00:00Z - events at or after it. Ignored when cursor is given. Default: 24 hours ago; nothing older than 30 days is returned. |
types | enum[] | Only these event types. Default: all three.One of: version.uploaded, comment.created, task.completed |
limit | integer | Events per call, 1-100 (default 50). |
cursor | string | The nextCursor from a previous call - continue right after the last event it returned. |
sincestringISO-8601 instant, e.g. 2026-10-15T08:00:00Z - events at or after it. Ignored when cursor is given. Default: 24 hours ago; nothing older than 30 days is returned.typesenum[]Only these event types. Default: all three.One of: version.uploaded, comment.created, task.completedlimitintegerEvents per call, 1-100 (default 50).cursorstringThe nextCursor from a previous call - continue right after the last event it returned.{}Key scope: read:tasks
list_task_activityRead a task's activity / status timelineReadRead a task's full event history - created, moved between statuses, field changes (title, assignees, deadlines, custom fields…), new version uploaded, commented, viewed, downloaded - oldest first, so it reads as a timeline. It includes changes made in the app, through the API, through MCP (this tool's own create_task / update_task calls too) and by automations, the same events the task's History panel shows. Use it for 'when did this go to the client?', 'how long was it in revision?', or 'who moved it?'. Each entry: createdAt, action, source (app, api, mcp, automation, share, cron, system; null = not recorded), movedFrom/movedTo (+ the rename-proof movedFromStatusKey/movedToStatusKey), and the actor (null for an automation). A `changed` entry names the field with its oldValue and newValue. Durations are the gap between consecutive `moved` entries - subtract the timestamps yourself. Filter with action=moved for status history alone. Pass a task id from list_tasks.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The task's UUID - from list_tasks. |
limit | integer | How many of the newest entries (default 200, max 500). |
action | enum | Only this kind of entry. `moved` alone is the status history; `changed` alone is the field changes (title, assignees, deadlines, custom fields…); `postScheduleChanged` alone is the post's schedule history (scheduled, rescheduled, set to draft, unscheduled, networks added, deleted - including changes made by schedule_post / unschedule_post).One of: viewed, downloaded, deleted, created, newVersion, moved, commented, discussed, captionEditedAfterApproval, settingsChanged, postScheduleChanged, changed |
from | string | Only entries at or after this ISO-8601 instant. |
to | string | Only entries at or before this ISO-8601 instant. |
idrequireduuidThe task's UUID - from list_tasks.limitintegerHow many of the newest entries (default 200, max 500).actionenumOnly this kind of entry. `moved` alone is the status history; `changed` alone is the field changes (title, assignees, deadlines, custom fields…); `postScheduleChanged` alone is the post's schedule history (scheduled, rescheduled, set to draft, unscheduled, networks added, deleted - including changes made by schedule_post / unschedule_post).One of: viewed, downloaded, deleted, created, newVersion, moved, commented, discussed, captionEditedAfterApproval, settingsChanged, postScheduleChanged, changedfromstringOnly entries at or after this ISO-8601 instant.tostringOnly entries at or before this ISO-8601 instant.{
"id": "00000000-0000-0000-0000-000000000000"
}Key scope: read:tasks
list_task_commentsList a task's commentsReadRead a task's review thread - team/authed comments AND anonymous client comments (from share links), merged oldest-first. Each comment: id, text, author, isGuest (true = client/guest), type, visibility (public = the client sees it, team = internal), mentions ({id,name} of who was tagged), resolved, parentId (a reply's thread), createdAt, editedAt. WHERE: timecode / endTimecode (seconds; endTimecode null = a point), frames {start,end} (0-based frame numbers at the version's real fps) and smpte {start,end} (HH:MM:SS:FF), null when there is no timecode or the fps is unknown; page (a PDF comment's page). WHICH VERSION: fileId and version {fileId, number (V1, V2…), current, kind video|image|pdf|audio|other, width, height, duration, fps} - version null = a comment with no version, which shows on every version. transcriptExcerpt {text, turns[{speaker,text}], truncated}: the words spoken IN THE VIDEO during a range comment (on a thread's first comment; null otherwise). textAnchor {quotedText}: the passage a document or caption comment was left on. attachments (name, mimeType, size, a downloadUrl valid 7 days - fetch it to see an attached image or file; removed:true = purged, no link; a voice memo's transcript = what the REVIEWER said, null until generated - transcribe_task_voice_memos fills every memo on the task in one call) and drawings (type freehand|rectangle|circle|arrow|pin, color, lineThickness, opacity, page, normalized 0-1 bounds on the picture with the letterbox excluded - x × the version's width is the source pixel; arrows add from/to, circles center/radius, pins point, freehand points ≤128). A comment can be ONLY a drawing or an attachment with empty text - read both before calling it empty. WHO: authorKind team|guest|ai; an AI note (authorKind ai) carries agentName (Ronald, Smith, or an outside AI's own label) and ai {source editor|supervisor|external, kind, severity mustFix|suggestion|note, extraRanges}. Filters: version (current, or a fileId from version.fileId), resolved (open | resolved - a reply follows its thread), sort (created | timecode = timeline order, each reply under its thread), author (ai | human - per comment). Use it for 'what did the client say on this task?' and before editing from the notes. Pass a task id from list_tasks.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The task's UUID - from list_tasks. |
version | string | Only this version's threads: `current` (the task's current version) or a version's fileId. Comments saved with no version show on every version, so they always come back. |
resolved | enum | Only open threads, or only resolved ones. Omit for both.One of: open, resolved |
sort | enum | created (oldest first, the default) or timecode (timeline order, replies under their thread).One of: created, timecode |
author | enum | Only AI notes (ai) or only people's comments (human), decided per comment. Omit for both.One of: ai, human |
idrequireduuidThe task's UUID - from list_tasks.versionstringOnly this version's threads: `current` (the task's current version) or a version's fileId. Comments saved with no version show on every version, so they always come back.resolvedenumOnly open threads, or only resolved ones. Omit for both.One of: open, resolvedsortenumcreated (oldest first, the default) or timecode (timeline order, replies under their thread).One of: created, timecodeauthorenumOnly AI notes (ai) or only people's comments (human), decided per comment. Omit for both.One of: ai, human{
"id": "00000000-0000-0000-0000-000000000000"
}Key scope: read:tasks
list_task_project_filesList a task's project filesReadList what is on a task's Project files tab: taskFiles.files - files dropped on the task by the client or the team (id, name, size, mimeType, createdAt, fromClient, uploaderId) - and projectFile.backups - the team-only editing-project backups (Premiere, After Effects, Resolve, Photoshop, Illustrator or a zip), newest first, with isCurrent on the one the next editor should open. projectFile is null on a document task. Download any of them with get_file_download_url (the file's id). Add to either half with upload_file_from_url / start_file_upload + complete_file_upload, passing taskId and target taskFiles or projectFile. A parent task has no tab (use one of its variants) and is refused.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The task's UUID (from list_tasks or get_task). |
idrequireduuidThe task's UUID (from list_tasks or get_task).{
"id": "00000000-0000-0000-0000-000000000000"
}Key scope: read:tasks
list_tasksList tasksReadList tasks across the workspace's projects, newest first. Filter to one project with projectId. When a person refers to a task by a short code like 'TL-1042', pass it as taskId to resolve it directly instead of scanning pages. Every task in the response carries its own taskId (null when the workspace has task IDs switched off), its customStatus ({id, name} of the workspace custom status it sits in inside its statusGroup, null when none - see list_custom_statuses) and its pricing (template, pricing tag, client price, each editor's pay - null without the finance read scope). Results include tasks in the Trash, with status "trashed", and those cannot be shared, for one: pass status "active" to leave them out before acting on the tasks you get back. Each variant also carries position - its 0-based slot under its parent, the order the app shows and a carousel publishes in (null on regular and parent tasks); to read a carousel in order, list kind=variant for its project and sort the parent's variants by position. Returns {data, nextBefore}; when nextBefore is non-null, call again with before=nextBefore for the next page.
| Name | Type | Details |
|---|---|---|
limit | integer | Items per page, 1-100. Defaults to 50. |
before | string | Opaque pagination cursor - pass the previous response's nextBefore value verbatim. |
projectId | uuid | Restrict results to a single project. |
taskId | string | Exact lookup by the task's permanent handle, e.g. 'TL-1042'. Case-insensitive. This is the human-readable id people quote in email and chat - NOT the uuid. Returns an empty page if the workspace has not enabled task IDs. |
statusGroup | string | One status group or a comma-separated list (OR): toDo, inProgress, supervisorApproval, clientApproval, endClientApproval, approved, posted, inRevision. E.g. 'inProgress,inRevision' for the open editing work. |
status | enum | 'active' leaves out tasks in the Trash; 'trashed' returns only those. Omitted = both. A trashed task keeps its statusGroup, so statusGroup alone does not leave it out.One of: active, trashed |
assigneeId | string | Only tasks this member (id from list_members) is assigned to - or the literal 'none' for tasks with no assignee. Combine with statusGroup to answer 'what is this editor working on'. |
kind | enum | Only tasks of this kind. A variant's parentTaskId names the task it is a cut of.One of: regular, parent, variant |
approvedFrom | string | YYYY-MM-DD (UTC). Only tasks approved on or after this day. |
approvedTo | string | YYYY-MM-DD (UTC), inclusive. With approvedFrom this answers 'what was delivered in the last 28 days'. |
limitintegerItems per page, 1-100. Defaults to 50.beforestringOpaque pagination cursor - pass the previous response's nextBefore value verbatim.projectIduuidRestrict results to a single project.taskIdstringExact lookup by the task's permanent handle, e.g. 'TL-1042'. Case-insensitive. This is the human-readable id people quote in email and chat - NOT the uuid. Returns an empty page if the workspace has not enabled task IDs.statusGroupstringOne status group or a comma-separated list (OR): toDo, inProgress, supervisorApproval, clientApproval, endClientApproval, approved, posted, inRevision. E.g. 'inProgress,inRevision' for the open editing work.statusenum'active' leaves out tasks in the Trash; 'trashed' returns only those. Omitted = both. A trashed task keeps its statusGroup, so statusGroup alone does not leave it out.One of: active, trashedassigneeIdstringOnly tasks this member (id from list_members) is assigned to - or the literal 'none' for tasks with no assignee. Combine with statusGroup to answer 'what is this editor working on'.kindenumOnly tasks of this kind. A variant's parentTaskId names the task it is a cut of.One of: regular, parent, variantapprovedFromstringYYYY-MM-DD (UTC). Only tasks approved on or after this day.approvedTostringYYYY-MM-DD (UTC), inclusive. With approvedFrom this answers 'what was delivered in the last 28 days'.{}Key scope: read:tasks
list_time_entriesList time entriesReadEvery time entry tracked in the workspace, one row per entry: who tracked it (memberId), on which task, project and brand (ids and names), timer or manual, startedAt, endedAt, durationSeconds and the note. Running timers are included (running: true, endedAt null; durationSeconds is the time saved before the current run). No pay or rates. Rows come oldest change first (updatedAt, then id), so it suits a sync: pass updatedSince = when you last checked, or better, the nextCursor from your previous call as cursor (it continues right after the last row you saw; hasMore: true means call again now). includeDeleted: true also returns entries deleted since then as rows with deleted: true and deletedAt. Filter by taskId, projectId, brandId or memberId, and by from / to on startedAt.
| Name | Type | Details |
|---|---|---|
taskId | uuid | Only entries on this task. |
projectId | uuid | Only entries on this project's tasks. |
brandId | uuid | Only entries on tasks in projects directly under this brand. |
memberId | uuid | Only entries tracked by this workspace member. |
from | string | ISO date or date-time: entries started at or after it. Does not narrow deleted rows. |
to | string | ISO date or date-time: entries started at or before it (a date covers the whole day). |
updatedSince | string | ISO date-time, e.g. 2026-11-01T08:00:00Z: only entries changed (or deleted) at or after it. |
includeDeleted | boolean | Also return deleted entries as { deleted: true, deletedAt } rows. Default false. |
limit | integer | Rows per call, 1-100 (default 50). |
cursor | string | The nextCursor from a previous call: continue right after the last row it returned. |
taskIduuidOnly entries on this task.projectIduuidOnly entries on this project's tasks.brandIduuidOnly entries on tasks in projects directly under this brand.memberIduuidOnly entries tracked by this workspace member.fromstringISO date or date-time: entries started at or after it. Does not narrow deleted rows.tostringISO date or date-time: entries started at or before it (a date covers the whole day).updatedSincestringISO date-time, e.g. 2026-11-01T08:00:00Z: only entries changed (or deleted) at or after it.includeDeletedbooleanAlso return deleted entries as { deleted: true, deletedAt } rows. Default false.limitintegerRows per call, 1-100 (default 50).cursorstringThe nextCursor from a previous call: continue right after the last row it returned.{
"projectId": "2f6c1b9e-4a7d-4c3e-9b21-6d8e0f4a7c15",
"updatedSince": "2026-11-01T00:00:00Z",
"includeDeleted": true
}Key scope: read:tasks
resolve_task_commentResolve or reopen a task commentWriteMark a task comment's thread resolved (resolved: true) or reopen it (resolved: false) - the check box on the thread in the app, as the API key's creator. Works on a team comment or a client's share-link comment, but only on a thread's FIRST comment (a reply → 400). 403 when the key's user is not allowed to resolve comments. 404 when no review comment on this task has that id (a list_task_chat message included): nothing changed - get the id again from list_task_comments on this same task. Returns the updated comment.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The task's UUID - from list_tasks. |
commentIdrequired | uuid | The top-level comment to resolve - from list_task_comments (parentId null). |
resolvedrequired | boolean | true resolves the thread, false reopens it. |
idrequireduuidThe task's UUID - from list_tasks.commentIdrequireduuidThe top-level comment to resolve - from list_task_comments (parentId null).resolvedrequiredbooleantrue resolves the thread, false reopens it.{
"id": "00000000-0000-0000-0000-000000000000",
"commentId": "00000000-0000-0000-0000-000000000000",
"resolved": true
}Key scope: write:tasks
set_task_custom_valuesSet task custom-column valuesWriteSet one or more custom-column cell values on a task. Pass values as a map of columnId → value (get the column ids from list_custom_columns). Value by kind: text/date/priority → a string (date = YYYY-MM-DD; priority = critical|high|medium|low); link → a URL string (sets ONLY the URL - the raw files already linked in the cell stay), or { url?, items? } to link raw files: items is the FULL list of linked files/folders the cell should end up with - a full replace, not an add; [] removes them all - each { kind, id } - kind projectFile / projectFolder for an id from list_project_raw_files of this task's own project, brandFile / brandFolder for an id from list_brand_raw_files of its project's brand (never projectFile for a brand file); any other id - another project's raw file included - is a 400 saying what the id is, and nothing is written; only the keys you send change; dateRange → { start, end }; select → the `id` of ONE of THAT column's `options` in list_custom_columns, sent as a plain string - never an array (only tag columns take arrays), never the whole option object, never the option's label, never another column's option (a wrong one is refused with the column's valid label = optionId pairs - retry with one of those); tag → an ARRAY of tagIds (multi-value - send the full set you want the cell to end up with, not a delta; a tag scoped to ANOTHER brand than the task's is a 400 - pick shared tags or the task's own brand's tags, creating missing ones with create_custom_column_tags first); taskLink (Linked task) → { taskIds: [taskId, …] } - the FULL list of task ids (from list_tasks / search_tasks, up to 20) the cell should point at, e.g. an episode's mid-roll cell → the sponsorship ad task; never the task's own id, never a task of another workspace ([] clears). Pass null for any column to clear it. Returns the task's full custom values after the write.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The TASK's UUID - from list_tasks, search_tasks or create_task, all 36 characters exactly as returned - never retyped, shortened or padded. NOT a project, brand or custom-column id: the column ids go in `values`, never in this field. A wrong entity or a mistyped id here is a 404 and nothing is written; when the 404 names this workspace's task it meant, retry with that id. |
valuesrequired | object | Map of columnId → value (string | { start, end } | optionId | tagId[] | { url?, items: [{ kind, id }] } | null), keyed by custom-column id. A select value is ONE option's id from that SAME column's options in list_custom_columns, as a plain string (e.g. "<optionId>") - not an array, not the option object, not its label. Only a tag column takes an array. Every KEY is a custom column's id exactly as list_custom_columns returns it - never an option's, a tag's, the task's or its project's id; an unknown key is a 400 that says what the id is and lists this workspace's columns as "Name" (kind) = id - retry with one of those. |
idrequireduuidThe TASK's UUID - from list_tasks, search_tasks or create_task, all 36 characters exactly as returned - never retyped, shortened or padded. NOT a project, brand or custom-column id: the column ids go in `values`, never in this field. A wrong entity or a mistyped id here is a 404 and nothing is written; when the 404 names this workspace's task it meant, retry with that id.valuesrequiredobjectMap of columnId → value (string | { start, end } | optionId | tagId[] | { url?, items: [{ kind, id }] } | null), keyed by custom-column id. A select value is ONE option's id from that SAME column's options in list_custom_columns, as a plain string (e.g. "<optionId>") - not an array, not the option object, not its label. Only a tag column takes an array. Every KEY is a custom column's id exactly as list_custom_columns returns it - never an option's, a tag's, the task's or its project's id; an unknown key is a 400 that says what the id is and lists this workspace's columns as "Name" (kind) = id - retry with one of those.{
"id": "00000000-0000-0000-0000-000000000000",
"values": {}
}Key scope: write:tasks
set_variant_approvalSet variant approvalWriteSet a VARIANT's own status - the Pending / Approved / Changes requested pill the app shows on it (approvalState pending / approved / rejected; rejected = "Changes requested"). A variant's workflow stage always follows its parent's, so this is the one status a variant changes on its own: to move the work through the workflow, update_task the PARENT's statusGroup. Only kind=variant tasks are accepted (a parent or regular task answers 400). It does what the pill does in the app: Changes requested counts a revision round, approving the last pending variant can move the parent to its next stage, and the task's assignees and the project's supervisors and admins are notified - confirm with the user before approving or requesting changes. Returns the variant (approvalState shows the new value).
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The VARIANT's UUID (kind=variant in list_tasks / get_task) - all 36 characters, copied exactly. |
approvalStaterequired | enum | pending, approved, or rejected (the app's "Changes requested").One of: pending, approved, rejected |
idrequireduuidThe VARIANT's UUID (kind=variant in list_tasks / get_task) - all 36 characters, copied exactly.approvalStaterequiredenumpending, approved, or rejected (the app's "Changes requested").One of: pending, approved, rejected{
"id": "00000000-0000-0000-0000-000000000000",
"approvalState": "pending"
}Key scope: write:tasks
transcribe_comment_voice_memoTranscribe a comment's voice memoWriteGet the text of a voice memo attached to a task comment (an attachment with an audio mimeType). Returns the cached transcript when one already exists (cached: true - free); otherwise transcribes the memo once and saves it on the comment, so the app and later list_task_comments reads show it too (the same as the app's Generate transcript button). Works on team and client share-link comments. noSpeech: true (transcript "") = the memo holds no recognizable speech - an answer, do not retry. 404 when the comment or memo is not found, or the memo was removed. For several memos use transcribe_task_voice_memos.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The task's UUID - from list_tasks. |
commentIdrequired | uuid | The comment carrying the memo - from list_task_comments. |
attachmentIdrequired | string | The memo's attachments[].id on that comment (an audio mimeType). |
idrequireduuidThe task's UUID - from list_tasks.commentIdrequireduuidThe comment carrying the memo - from list_task_comments.attachmentIdrequiredstringThe memo's attachments[].id on that comment (an audio mimeType).{
"id": "00000000-0000-0000-0000-000000000000",
"commentId": "00000000-0000-0000-0000-000000000000",
"attachmentId": "example"
}Key scope: write:tasks
transcribe_task_voice_memosTranscribe a task's voice memosWriteFill the transcript of EVERY voice memo on a task's review thread that has none yet - team and client share-link comments, replies included - in one call, so list_task_comments then shows what each reviewer said. Call it before reading a thread to act on its notes: voice memos are the most common feedback, and a memo-only comment has empty text. Optional fileId (a version, or "current") or commentIds narrows it. Up to 10 memos per call: when remaining > 0, call again. Returns transcribed (each memo's text; noSpeech: true = nothing was said, transcript "" - do not retry it), failed (with status - 502 is safe to retry), alreadyTranscribed and removed (counts; already-transcribed memos cost nothing). Each transcript is saved on its comment, the same as the app's Generate transcript button.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The task's UUID - from list_tasks. |
fileId | uuid | "current" | Only memos on this version's comments (a file id, or "current"). Omit for every version. |
commentIds | uuid[] | Only memos on these comments (ids from list_task_comments). Omit for the whole thread. |
idrequireduuidThe task's UUID - from list_tasks.fileIduuid | "current"Only memos on this version's comments (a file id, or "current"). Omit for every version.commentIdsuuid[]Only memos on these comments (ids from list_task_comments). Omit for the whole thread.{
"id": "00000000-0000-0000-0000-000000000000"
}Key scope: write:tasks
update_custom_statusUpdate a custom statusWriteRename, recolor, reorder (sortOrder) or change who may move tasks into a custom status. baseStatus and brandId never change - delete and recreate instead. Tasks in it stay in it.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The custom status id - from list_custom_statuses. |
name | string | |
color | enum | One of: slate, red, orange, amber, yellow, lime, green, emerald, teal, cyan, sky, blue, indigo, violet, purple, fuchsia, pink, rose |
sortOrder | number | Order among the statuses of the same base (lower first). |
editorAccess | enum | One of: default, all, none, selected |
editorIds | uuid[] |
idrequireduuidThe custom status id - from list_custom_statuses.namestringcolorenumOne of: slate, red, orange, amber, yellow, lime, green, emerald, teal, cyan, sky, blue, indigo, violet, purple, fuchsia, pink, rosesortOrdernumberOrder among the statuses of the same base (lower first).editorAccessenumOne of: default, all, none, selectededitorIdsuuid[]{
"id": "00000000-0000-0000-0000-000000000000",
"name": "example"
}Key scope: write:tasks
update_taskUpdate taskWriteUpdate a task's allow-listed fields - provide at least one. Changing statusGroup fires the same notification flow the UI uses (in-app, email, WhatsApp where configured). Moving a media task that has no file yet and no written brief into supervisorApproval, adminApproval, clientApproval or endClientApproval notifies nobody at that moment, exactly as in the app: there is nothing to review yet. The same people get the same notification once a file is uploaded to the task (upload_file_from_url, start_file_upload or the app). So after such a move, tell the user the approvers will be notified when the file is added - never that they were notified. A task that already has a file, a doc task, a parent task and a task with a written brief notify at once. Move a task into one of the workspace's CUSTOM statuses with customStatusId (ids from list_custom_statuses; statusGroup follows its base - omit statusGroup or send that base), or pass customStatusId null to put it back in the plain base; a move inside one base notifies no one. A variant's statusGroup follows its parent's - move the parent, and set a variant's own Pending / Approved / Changes requested with set_variant_approval. customStatusId on a variant (kind=variant on get_task and list_tasks) is refused too, null included, and nothing else in that call is saved: send it once to the variant's parentTaskId, which moves the parent and every variant together, and ask the user first if they meant only one cut. Assign team members with assigneeIds (member ids from list_members) - this is a FULL REPLACE of the task's assignees: pass the complete list you want, [] to clear all, and to add one person read the task's current assigneeIds (from get_task) and send that list plus the new id. Newly-added members are notified the same way the UI does; guests cannot be assigned. Date fields use YYYY-MM-DD; pass null to clear them. Price the task with pricingTemplateId and say which template role each assignee fills with assigneeRoles - e.g. assigneeIds [nimat] + assigneeRoles [{memberId: nimat, roleLabel: 'Online Editor'}] + pricingTemplateId assigns, tags and prices in one call; their pay then shows in get_pricing_payables. Changing assigneeIds on a priced task recomputes its pay, as in the app. Refused (409) once money has moved on the task. pricingTemplateId / assigneeRoles need payment tracking and startDate / estimatedMinutes / assigneeEstimates need Workload - both the Agency plan or higher; below it leave them out (sending them is refused). Reorder a carousel with position on a variant: position 0 moves that slide to the front, and the other slides keep their order around it - the app's list, the post composer and the published carousel all follow (unless someone arranged that post's slides in the app's post composer and saved it there: the composer's saved slide order then wins). Move a task to another project - in the same brand, another folder or ANOTHER BRAND - with projectId (ids from list_projects); add subFolderId to land it in one of that project's sub-folders, else it lands at the project root. Its status is kept, its files go with it, a parent takes every variant along (send it to the parentTaskId, never a variant), and assignees without access to the new project are dropped. Crossing brands hands the work to the other client: its pending scheduled posts lose their social account (set to manual) and drafts' accounts are cleared - confirm with the user before a cross-brand move.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The task's UUID. |
title | string | |
statusGroup | enum | One of: toDo, inProgress, supervisorApproval, clientApproval, endClientApproval, approved, posted, inRevision |
customStatusId | uuid | null | A custom status id from list_custom_statuses to move the task into (it must be used on the task's brand; statusGroup becomes its base), or null to take the task out of its custom status. A variant follows its parent - set it on the parentTaskId, which moves every variant too. |
internalDeadline | string | null | YYYY-MM-DD or null to clear. |
externalDeadline | string | null | YYYY-MM-DD or null to clear. |
assigneeIds | uuid[] | FULL REPLACE of the assigned team members (Task editors) - member ids from list_members. Send the complete desired list; [] clears all. To add one person, send the current assigneeIds (from get_task) plus the new id. Guests cannot be assigned. |
subFolderId | uuid | null | Move the task into a sub-folder (task group) of its project, or null to move it back to the project root. Sub-folder ids come from get_project's subFolders. With projectId, the sub-folder must belong to THAT project. |
projectId | uuid | Move the task to this project (from list_projects) - it may sit under another folder or another brand. Lands at the project root unless subFolderId names one of its sub-folders. Refused on a variant: send it to the parentTaskId, which moves every variant too. |
startDate | string | null | Workload work-window start, YYYY-MM-DD or null to clear. |
estimatedMinutes | integer | null | Total time estimate in minutes. Null clears the estimate AND any per-assignee breakdown. |
assigneeEstimates | object[] | FULL REPLACE of the per-assignee estimate breakdown (minutes each). Members must be assignees of the task; [] clears the breakdown (keeping any total). When present, the breakdown is authoritative and the task total becomes its sum. |
position | integer | Variants only: move this variant to this 0-based slot under its parent (0 = the first slide; past the end = last). Refused (400) on a regular or parent task and on a variant in the trash. |
externalMetadata | object | null | Arbitrary JSON object for integration data; namespace by integration, e.g. {"crm":{"accountId":"A-123"}}. Pass null to clear. |
pricingTemplateId | uuid | Pricing template to apply (id from list_pricing_templates) - sets the task's pricing tag, its default client price and the editors' default pay, exactly as picking the template in the app's pricing dialog. Needs the finance write scope. |
assigneeRoles | object[] | Which pricing-template role each assignee fills, so only they draw that role's pay - e.g. [{memberId: <online editor>, roleLabel: 'Online Editor'}]. Send with assigneeIds to assign and tag in one call. Uses the task's template, or pricingTemplateId when sent together. A custom pay amount is not supported: pay comes from the template. Needs the finance write scope. |
idrequireduuidThe task's UUID.titlestringstatusGroupenumOne of: toDo, inProgress, supervisorApproval, clientApproval, endClientApproval, approved, posted, inRevisioncustomStatusIduuid | nullA custom status id from list_custom_statuses to move the task into (it must be used on the task's brand; statusGroup becomes its base), or null to take the task out of its custom status. A variant follows its parent - set it on the parentTaskId, which moves every variant too.internalDeadlinestring | nullYYYY-MM-DD or null to clear.externalDeadlinestring | nullYYYY-MM-DD or null to clear.assigneeIdsuuid[]FULL REPLACE of the assigned team members (Task editors) - member ids from list_members. Send the complete desired list; [] clears all. To add one person, send the current assigneeIds (from get_task) plus the new id. Guests cannot be assigned.subFolderIduuid | nullMove the task into a sub-folder (task group) of its project, or null to move it back to the project root. Sub-folder ids come from get_project's subFolders. With projectId, the sub-folder must belong to THAT project.projectIduuidMove the task to this project (from list_projects) - it may sit under another folder or another brand. Lands at the project root unless subFolderId names one of its sub-folders. Refused on a variant: send it to the parentTaskId, which moves every variant too.startDatestring | nullWorkload work-window start, YYYY-MM-DD or null to clear.estimatedMinutesinteger | nullTotal time estimate in minutes. Null clears the estimate AND any per-assignee breakdown.assigneeEstimatesobject[]FULL REPLACE of the per-assignee estimate breakdown (minutes each). Members must be assignees of the task; [] clears the breakdown (keeping any total). When present, the breakdown is authoritative and the task total becomes its sum.positionintegerVariants only: move this variant to this 0-based slot under its parent (0 = the first slide; past the end = last). Refused (400) on a regular or parent task and on a variant in the trash.externalMetadataobject | nullArbitrary JSON object for integration data; namespace by integration, e.g. {"crm":{"accountId":"A-123"}}. Pass null to clear.pricingTemplateIduuidPricing template to apply (id from list_pricing_templates) - sets the task's pricing tag, its default client price and the editors' default pay, exactly as picking the template in the app's pricing dialog. Needs the finance write scope.assigneeRolesobject[]Which pricing-template role each assignee fills, so only they draw that role's pay - e.g. [{memberId: <online editor>, roleLabel: 'Online Editor'}]. Send with assigneeIds to assign and tag in one call. Uses the task's template, or pricingTemplateId when sent together. A custom pay amount is not supported: pay comes from the template. Needs the finance write scope.{
"id": "00000000-0000-0000-0000-000000000000"
}Key scope: write:tasks
update_task_docWrite a task's document body / briefWriteRewrite the rich-text content of a task - the document body of a doc task, or the brief/description of a media task. contentHtml is a FULL REPLACE of the existing content (send the complete HTML you want, not a fragment; simple tags like <h2>, <p>, <ul>/<li>, <strong> render as in the in-app editor). To change only part of it - add a paragraph, append to the end, replace or extend one section, fix one passage - use edit_task_doc instead: it sends just the change and is not blocked by someone editing another part of the document in the app. To put an image or a file in the content, call upload_doc_attachment_from_url first and paste the embedHtml it returns into contentHtml. For doc tasks a restore point is saved to the document's version history on every write, so edits are revertible in the app. Pass baseRev (the rev from get_task_doc) for a safe write: a 409 means the app copy changed since you read it - re-read with get_task_doc and merge before retrying. Every successful write returns the new rev; use that as baseRev for your next write to the same task. Omit baseRev to force-overwrite. Before writing, confirm WITH THE USER which task (and, for a new deliverable, which brand/project) the content belongs to, and whether to create a new task or update an existing one - don't guess placement.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The task's UUID - from list_tasks. |
contentHtmlrequired | string | The full new HTML content. Empty string clears it. |
baseRev | integer | null | The rev value from get_task_doc, for a conflict-safe write. Omit or null to force-overwrite. |
idrequireduuidThe task's UUID - from list_tasks.contentHtmlrequiredstringThe full new HTML content. Empty string clears it.baseRevinteger | nullThe rev value from get_task_doc, for a conflict-safe write. Omit or null to force-overwrite.{
"id": "9b3e7a41-5c2d-4f8e-a6b0-1d7c3e9f2a64",
"contentHtml": "<p>Hook: the first 2 seconds show the product.</p>",
"baseRev": 12
}Key scope: write:tasks
upload_doc_attachment_from_urlUpload an image or file into a documentWritePut an IMAGE or a FILE inside a document - an HQ item's Document tab, a doc task's body, or a task brief. Give us a publicly reachable http(s) URL; we download it server-side and return embedHtml, a ready-made snippet to paste into the document HTML. Two steps: (1) call this tool, (2) include the returned embedHtml inside the contentHtml you send to write_hq_item_doc or update_task_doc - those tools REPLACE the whole body, so keep the rest of the existing HTML around it. Images render inline, videos as an inline player, audio as a chip with a play button, everything else as a download chip. Allowed: JPEG/PNG/GIF/WebP/TIFF/BMP/HEIC (max 10 MB), MP4/WebM/MOV/OGG (max 95 MB), audio such as sound effects - MP3/WAV/AIFF/AAC/M4A/FLAC/OGG (max 50 MB), PDF/Word/PowerPoint/Excel (max 25 MB), plain text (max 1 MB), DaVinci Resolve project files and XML timelines .xml/.fcpxml (max 25 MB, download only). A file over its limit answers 400 file_too_large and nothing is stored; the app's document editor has the same limits, so do not retry the same URL or send the user to the app - tell the user, and offer a smaller copy of the file or a plain link to it in the document instead. The URL must be reachable without authentication; private, internal and localhost addresses are refused. Only a URL works - bytes from your own machine have to go through the app. This is NOT a task deliverable and NOT a project file (use upload_file_from_url for those), and NOT the HQ item's Files tab; it is document content only.
| Name | Type | Details |
|---|---|---|
urlrequired | url | Public http(s) URL of the image or file to pull in. No auth required. |
fileName | string | Override the name we infer from the URL (include the extension). |
urlrequiredurlPublic http(s) URL of the image or file to pull in. No auth required.fileNamestringOverride the name we infer from the URL (include the extension).{
"url": "https://example.com/file.mp4"
}Key scope: write:tasks
add_brand_brain_factAdd a fact the AI check usesWriteAdd a person's fact to a section (≤ 500 characters). overrideOf (end clients only) re-words an inherited fact for this client. AI editor beta workspaces only (403 editor_beta_required elsewhere - tell the user, don't retry). During the beta only a key created by Timeliner staff who still holds an active seat in this workspace can use it (403 staff_required otherwise - tell the user, don't retry).
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The brand's (Node) UUID - from list_brands. |
kindrequired | enum | One of: identity, vocabulary, voice, visual, audio, format, compliance, process |
textrequired | string | |
overrideOf | uuid | An inherited fact's id to override for this end client. |
idrequireduuidThe brand's (Node) UUID - from list_brands.kindrequiredenumOne of: identity, vocabulary, voice, visual, audio, format, compliance, processtextrequiredstringoverrideOfuuidAn inherited fact's id to override for this end client.{
"id": "00000000-0000-0000-0000-000000000000",
"kind": "identity",
"text": "example"
}Key scope: write:projects
add_brand_copywriting_ruleAdd a copywriting ruleWriteAdd a rule the AI follows for this brand to the editing, briefing or captions section (≤ 500 characters). AI editor beta workspaces only (403 editor_beta_required elsewhere - tell the user, don't retry).
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The brand's (Node) UUID - from list_brands. |
topicrequired | enum | One of: editing, briefing, captions |
textrequired | string |
idrequireduuidThe brand's (Node) UUID - from list_brands.topicrequiredenumOne of: editing, briefing, captionstextrequiredstring{
"id": "00000000-0000-0000-0000-000000000000",
"topic": "editing",
"text": "example"
}Key scope: write:projects
add_brand_inspirationPin an inspiration exampleWritePin an example for the AI editor: polarity good (follow it) or bad (avoid it), url (a Timeliner task link of THIS brand, or any public link), and why (≤ 300 characters - what to take from it). AI editor beta workspaces only (403 editor_beta_required elsewhere - tell the user, don't retry).
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The brand's (Node) UUID - from list_brands. |
polarityrequired | enum | One of: good, bad |
urlrequired | string | |
whyrequired | string |
idrequireduuidThe brand's (Node) UUID - from list_brands.polarityrequiredenumOne of: good, badurlrequiredstringwhyrequiredstring{
"id": "00000000-0000-0000-0000-000000000000",
"polarity": "good",
"url": "example",
"why": "example"
}Key scope: write:projects
add_brand_kit_itemPut a brand file in the brand's kitWriteAdd one of the brand's files to its kit under a category (a font file always goes in as a font) - the kit grid's toggle. Runs as the API key's creator (editor and up on the brand).
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The brand's (Node) UUID. |
fileIdrequired | uuid | A file of this brand. |
categoryrequired | enum | One of: logo, productImage, broll, music, sfx, endCard, overlay, look, reference, doc, other, productRecording, screenshot, photo, font |
idrequireduuidThe brand's (Node) UUID.fileIdrequireduuidA file of this brand.categoryrequiredenumOne of: logo, productImage, broll, music, sfx, endCard, overlay, look, reference, doc, other, productRecording, screenshot, photo, font{
"id": "00000000-0000-0000-0000-000000000000",
"fileId": "00000000-0000-0000-0000-000000000000",
"category": "logo"
}Key scope: write:projects
add_brand_memberAdd a team member to a brandWriteGrant an EXISTING workspace team member access to a brand. memberId is a member id from list_members; role defaults to editor (admin/supervisor/editor). The grant cascades to the brand's projects. Guests are NOT added here - they go through the invite flow. Returns the brand id, the granted role, and the member. 409 if they already have access.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The brand's (Node) UUID - from list_brands. |
memberIdrequired | uuid | The workspace member's id (from list_members) to grant access. |
role | enum | Brand-level team role. Defaults to editor.One of: admin, supervisor, editor |
idrequireduuidThe brand's (Node) UUID - from list_brands.memberIdrequireduuidThe workspace member's id (from list_members) to grant access.roleenumBrand-level team role. Defaults to editor.One of: admin, supervisor, editor{
"id": "00000000-0000-0000-0000-000000000000",
"memberId": "00000000-0000-0000-0000-000000000000"
}Key scope: write:projects
confirm_brand_copywriting_ruleConfirm a proposed copywriting ruleWriteConfirm a candidate from list_brand_copywriting: it becomes an active rule and the AI starts following it. AI editor beta workspaces only (403 editor_beta_required elsewhere - tell the user, don't retry).
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The brand's (Node) UUID - from list_brands. |
factIdrequired | uuid | The candidate's id. |
idrequireduuidThe brand's (Node) UUID - from list_brands.factIdrequireduuidThe candidate's id.{
"id": "00000000-0000-0000-0000-000000000000",
"factId": "00000000-0000-0000-0000-000000000000"
}Key scope: write:projects
create_brandCreate brandWriteCreate a top-level brand or client in the workspace (type defaults to brand). socialLinks are free-form named links - social platforms or anything else (Website, Drive, ...). Returns the full brand detail.
| Name | Type | Details |
|---|---|---|
namerequired | string | |
type | enum | Defaults to brand.One of: brand, client |
description | string | null | |
language | string | null | BCP-47 language code for the brand. |
picture | string | null | Logo / avatar URL, if you host one externally. |
socialLinks | object[] | |
externalMetadata | object | null | Arbitrary JSON object for integration data; namespace by integration, e.g. {"crm":{"accountId":"A-123"}}. Pass null to clear. |
namerequiredstringtypeenumDefaults to brand.One of: brand, clientdescriptionstring | nulllanguagestring | nullBCP-47 language code for the brand.picturestring | nullLogo / avatar URL, if you host one externally.socialLinksobject[]externalMetadataobject | nullArbitrary JSON object for integration data; namespace by integration, e.g. {"crm":{"accountId":"A-123"}}. Pass null to clear.{
"name": "example"
}Key scope: write:projects
create_brand_connect_inviteCreate a social connect linkWriteSocial postingConnecting a social account needs the owner's own login, so no tool can connect one directly. This makes a no-login link instead: give its url to the client; they open it, sign in to the channel, and the account appears on the brand (get_brand → socialAccounts). The url is a credential - share it only with the client. platforms limits which channels it offers (default: any); expiresInDays 1–90. Needs a posting plan.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The brand's (Node) UUID - from list_brands. |
platforms | enum[] | One of: instagram, facebook, youtube, linkedin, linkedinCompany, tiktok, threads, x |
expiresInDays | integer |
idrequireduuidThe brand's (Node) UUID - from list_brands.platformsenum[]One of: instagram, facebook, youtube, linkedin, linkedinCompany, tiktok, threads, xexpiresInDaysinteger{
"id": "00000000-0000-0000-0000-000000000000"
}Key scope: write:projects
create_brand_speakerAdd a brand speakerWriteAdd a person the brand's AI thumbnails may show, with 1–4 clear photos (public https imageUrls and/or brandFileIds). REQUIRES the person's permission: ask the user who agreed and how, and only call with consent.attested=true when the user confirms that person agreed - never assume it. The consent is recorded as the key creator's attestation. A 403 with code UPLOADS_PAUSED means the workspace's uploads are paused (its subscription isn't active): nothing was made or saved - relay it and stop. Needs a key created by an admin or supervisor of the brand (403 otherwise - tell the user, don't retry).
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The brand's (Node) UUID - from list_brands. |
displayNamerequired | string | |
handlerequired | string | 2–24 letters or digits, starting with a letter; unique in the brand. |
consentrequired | object | |
description | string | |
imageUrls | url[] | |
brandFileIds | uuid[] |
idrequireduuidThe brand's (Node) UUID - from list_brands.displayNamerequiredstringhandlerequiredstring2–24 letters or digits, starting with a letter; unique in the brand.consentrequiredobjectdescriptionstringimageUrlsurl[]brandFileIdsuuid[]{
"id": "00000000-0000-0000-0000-000000000000",
"displayName": "example",
"handle": "example",
"consent": {
"subjectName": "example",
"method": "writtenOnFile",
"attested": true
}
}Key scope: write:projects
create_header_cardAdd a card to a headerWriteAdd a NEW card to a project's (projectId) or brand's (brandId) header canvas - the same as the header's + button in the app. Two card types can be added: `doc` (a rich-text page - pass its starting html, simple tags like <h2>, <p>, <ul>/<li>, <strong>) and `links` (a list of links - pass its starting links). Both are optional: leave them out for an empty card, then write it later with update_header_card using the returned id. The card goes last in the header's first section, or in the section you name with `section` (an unknown name is a 400 that lists the header's sections). A header never opened in the app gets its default cards (Brief, Raw footage / Guidelines, Brand Links) at the same time, so nothing is lost. Choose who sees it with `visibility`; left out, the card gets the workspace's default visibility for that card type, like one added in the app. Use it to give a project or brand a page of its own (a niche profile, a shot list, a reference list) instead of creating a document task. To change the project's Brief, use update_project's description. Silent - no one is notified.
| Name | Type | Details |
|---|---|---|
typerequired | enum | doc = a rich-text page; links = a list of links.One of: doc, links |
titlerequired | string | The card's name as it shows on the header, e.g. "Niche Profile". |
projectId | uuid | Add the card to this project's header (from list_projects). Never together with brandId. |
brandId | uuid | Add the card to this brand's header (a brand id from list_brands). Never together with projectId. |
html | string | DOC cards only: the starting HTML body. Omit for an empty page. |
links | object[] | LINKS cards only: the starting list. Omit for an empty list. |
section | string | The name of the header section to add it to (case-insensitive). Omit for the first section. |
visibility | enum | Who sees the card - the app's Card permissions presets: everyone (guests too, and they can edit it), team (the internal team only - guests don't see it), approvers (the team edits, guests can view), adminsOnly (workspace admins only). Omit for the workspace's default.One of: everyone, team, approvers, adminsOnly |
typerequiredenumdoc = a rich-text page; links = a list of links.One of: doc, linkstitlerequiredstringThe card's name as it shows on the header, e.g. "Niche Profile".projectIduuidAdd the card to this project's header (from list_projects). Never together with brandId.brandIduuidAdd the card to this brand's header (a brand id from list_brands). Never together with projectId.htmlstringDOC cards only: the starting HTML body. Omit for an empty page.linksobject[]LINKS cards only: the starting list. Omit for an empty list.sectionstringThe name of the header section to add it to (case-insensitive). Omit for the first section.visibilityenumWho sees the card - the app's Card permissions presets: everyone (guests too, and they can edit it), team (the internal team only - guests don't see it), approvers (the team edits, guests can view), adminsOnly (workspace admins only). Omit for the workspace's default.One of: everyone, team, approvers, adminsOnly{
"type": "doc",
"title": "example",
"projectId": "00000000-0000-0000-0000-000000000000"
}Key scope: write:projects
create_projectCreate projectWriteCreate a project under a brand or folder Node (nodeId - find it via list_brands or get_project). Optionally pre-create up to 20 top-level folders by name; folder failures do not roll back the project. Returns the project with its created folders.
| Name | Type | Details |
|---|---|---|
namerequired | string | |
nodeIdrequired | uuid | The id of the brand, client or folder the project goes under - a brand's or client's id from list_brands (or create_brand), or the nodeId of an existing project from list_projects or get_project - all 36 characters exactly as returned, never shortened or padded. Never a project, task, sub-folder, a folder inside a project's files, workspace, HQ item or file id. |
description | string | null | |
picture | string | null | URL of a project image, if you maintain one externally. |
folders | string[] | Optional starter folder names to create inside the project. |
externalMetadata | object | null | Arbitrary JSON object for integration data; namespace by integration, e.g. {"crm":{"accountId":"A-123"}}. Pass null to clear. |
phase | enum | null | Production phase: preProduction | production | post | delivered. null clears it.One of: preProduction, production, post, delivered |
shootDate | string | null | Planned shoot day, YYYY-MM-DD. null clears it. |
timeBudgetMinutes | integer | null | Time the contract allows the project, in MINUTES (15 days × 8 h = 7200). null clears it. |
namerequiredstringnodeIdrequireduuidThe id of the brand, client or folder the project goes under - a brand's or client's id from list_brands (or create_brand), or the nodeId of an existing project from list_projects or get_project - all 36 characters exactly as returned, never shortened or padded. Never a project, task, sub-folder, a folder inside a project's files, workspace, HQ item or file id.descriptionstring | nullpicturestring | nullURL of a project image, if you maintain one externally.foldersstring[]Optional starter folder names to create inside the project.externalMetadataobject | nullArbitrary JSON object for integration data; namespace by integration, e.g. {"crm":{"accountId":"A-123"}}. Pass null to clear.phaseenum | nullProduction phase: preProduction | production | post | delivered. null clears it.One of: preProduction, production, post, deliveredshootDatestring | nullPlanned shoot day, YYYY-MM-DD. null clears it.timeBudgetMinutesinteger | nullTime the contract allows the project, in MINUTES (15 days × 8 h = 7200). null clears it.{
"name": "example",
"nodeId": "00000000-0000-0000-0000-000000000000"
}Key scope: write:projects
create_sub_folderCreate sub-folderWriteCreate a sub-folder (a TASK group inside a project - never one of the project's file folders) at the end of the project's sub-folder list, exactly like the app's New sub-folder. Put tasks into it with subFolderId on create_task / update_task. LIST first: get_project returns the project's subFolders - reuse one whose name fits rather than creating a duplicate. A project in the Trash is refused. No one is notified. Returns the new sub-folder (id, name, sortOrder, createdAt).
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The project's UUID (from list_projects / get_project). |
namerequired | string | The sub-folder's name, 1–120 characters. |
idrequireduuidThe project's UUID (from list_projects / get_project).namerequiredstringThe sub-folder's name, 1–120 characters.{
"id": "00000000-0000-0000-0000-000000000000",
"name": "example"
}Key scope: write:projects
delete_brand_brain_factDelete a fact the AI check usesWriteDeletesDelete a fact for good: its text and the evidence behind it are erased and it is never re-learned. A switched-off check is restored, not deleted (restore_brand_brain_check). Confirm with the user first, naming the fact; NEVER loop this tool over a list. AI editor beta workspaces only (403 editor_beta_required elsewhere - tell the user, don't retry). During the beta only a key created by Timeliner staff who still holds an active seat in this workspace can use it (403 staff_required otherwise - tell the user, don't retry). Deletes share one budget across the whole API: about 20 per minute per key, and daily ceilings per key and per workspace - over budget returns 429 with a Retry-After header. A 429 means STOP and tell the user; never wait-and-retry your way through a batch.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The brand's (Node) UUID - from list_brands. |
factIdrequired | uuid |
idrequireduuidThe brand's (Node) UUID - from list_brands.factIdrequireduuid{
"id": "00000000-0000-0000-0000-000000000000",
"factId": "00000000-0000-0000-0000-000000000000"
}Key scope: write:projects
delete_brand_copywriting_ruleDelete or dismiss a copywriting ruleWriteDeletesDelete a section rule, or dismiss a candidate - it is never proposed again. Confirm with the user first. AI editor beta workspaces only (403 editor_beta_required elsewhere - tell the user, don't retry). Deletes share one budget across the whole API: about 20 per minute per key, and daily ceilings per key and per workspace - over budget returns 429 with a Retry-After header. A 429 means STOP and tell the user; never wait-and-retry your way through a batch.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The brand's (Node) UUID - from list_brands. |
factIdrequired | uuid |
idrequireduuidThe brand's (Node) UUID - from list_brands.factIdrequireduuid{
"id": "00000000-0000-0000-0000-000000000000",
"factId": "00000000-0000-0000-0000-000000000000"
}Key scope: write:projects
delete_brand_speakerDelete a brand speakerWriteDeletesRemove a speaker, their photos and likeness. Thumbnails already made stay. Confirm with the user first. Needs a key created by an admin or supervisor of the brand (403 otherwise - tell the user, don't retry). Deletes share one budget across the whole API: about 20 per minute per key, and daily ceilings per key and per workspace - over budget returns 429 with a Retry-After header. A 429 means STOP and tell the user; never wait-and-retry your way through a batch.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The brand's (Node) UUID - from list_brands. |
speakerIdrequired | uuid | A speaker id from list_brand_speakers. |
idrequireduuidThe brand's (Node) UUID - from list_brands.speakerIdrequireduuidA speaker id from list_brand_speakers.{
"id": "00000000-0000-0000-0000-000000000000",
"speakerId": "00000000-0000-0000-0000-000000000000"
}Key scope: write:projects
delete_header_cardDelete a header cardWriteDeletesPermanently remove ONE card someone added to a brand's or project's header (a doc page, a links list, a Documents & attachments card, …) - the same as the card's Delete in the app; there is no undo. Get the card id from get_project_header / get_brand_header (`cards[].id`). DEFAULT cards (Brief, Guidelines, Brand Links, Raw files & Assets - isDefault true) can't be deleted (409): hide one with update_header_card and hidden true instead. Files attached to the card are not deleted - they stay in the project's files. Confirm with the user first, naming the card, and NEVER loop it over a list. Deletes share one budget across the whole API: about 20 per minute per key, and daily ceilings per key and per workspace - over budget returns 429 with a Retry-After header. A 429 means STOP and tell the user; never wait-and-retry your way through a batch.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The header card's UUID - from get_project_header / get_brand_header (`cards[].id`). Send all 36 characters exactly as returned, never shortened, padded or retyped. |
idrequireduuidThe header card's UUID - from get_project_header / get_brand_header (`cards[].id`). Send all 36 characters exactly as returned, never shortened, padded or retyped.{
"id": "00000000-0000-0000-0000-000000000000"
}Key scope: write:projects
delete_projectDelete projectWriteDeletesDESTRUCTIVE. Move a project to Trash (soft-delete) and CASCADE: every active task in the project is trashed with it, and all of them - plus their files - disappear from the client's view immediately. Restorable from the app's Trash page, but a restore is a manual, workspace-wide operation, so treat this as irreversible when planning. CONFIRM WITH THE USER FOR EACH PROJECT, naming it; NEVER loop this tool over a list of projects. Idempotent; no notifications fire. Deletes share one budget across the whole API: about 20 per minute per key, and daily ceilings per key and per workspace - over budget returns 429 with a Retry-After header. A 429 means STOP and tell the user; never wait-and-retry your way through a batch.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The project's UUID. |
idrequireduuidThe project's UUID.{
"id": "00000000-0000-0000-0000-000000000000"
}Key scope: write:projects
get_brandGet brandReadGet a brand's full detail: identity fields, socialLinks, externalMetadata, connected socialAccounts (the brand's social channels - platform, handle, displayName, avatar, follower count, status; credentials excluded), the effective intakeForm (brand brief), and shareLink - the brand's working client-portal share link, or null (create one with create_brand_share_link).
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The brand's (Node) UUID. |
idrequireduuidThe brand's (Node) UUID.{
"id": "00000000-0000-0000-0000-000000000000"
}Key scope: read:projects
get_brand_headerGet a brand's header contentReadRead a brand's header in one call: the brief (the Guidelines card's text - null when it is empty, even if other pages have text), docs, links, attached docs and docAttachments (files dropped INTO a doc), the raw brand files (bounded - each, like every attached file, with a downloadUrl valid for 7 days when the API key can read files, null on every file when it cannot; get_file_download_url with its id makes a fresh one or another rendition, and needs the same files access), the header's section names (sections) and the card list (the canvas, section by section - each card names its section). Pass the brand id from list_brands. To add a card, use create_header_card.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The brand's (Node) UUID - from list_brands. |
idrequireduuidThe brand's (Node) UUID - from list_brands.{
"id": "00000000-0000-0000-0000-000000000000"
}Key scope: read:projects
get_brand_inspirationGet a brand's inspirationReadRead Edit Brand → Inspiration: pinned examples the AI editor follows or avoids (with why), the brand's edits approved the first time, the ones that came back for revisions (with the notes), and the revision rules its history keeps repeating. AI editor beta workspaces only (403 editor_beta_required elsewhere - tell the user, don't retry).
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The brand's (Node) UUID - from list_brands. |
idrequireduuidThe brand's (Node) UUID - from list_brands.{
"id": "00000000-0000-0000-0000-000000000000"
}Key scope: read:projects
get_brand_notification_defaultsGet a brand's notification defaultsReadRead Edit Brand → Notifications: the admin default for each audience (member = the team, guest = clients) - muted, or per-channel email / whatsapp / slack on-off - that applies to everyone unless a person set their own rule for the brand. null = no default. Personal rules are not readable here.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The brand's (Node) UUID - from list_brands. |
idrequireduuidThe brand's (Node) UUID - from list_brands.{
"id": "00000000-0000-0000-0000-000000000000"
}Key scope: read:projects
get_brand_packageGet a brand's packageReadRead a brand's package - what its videos must look and sound like: editDirection (replicate = copy the style of the brand's past videos, improve = raise the bar on it, null = not chosen yet), the call to action (ctaText / ctaUrl), endCardNotes, musicNotes (background music), sfxNotes (sound effects), the brand colors (hex, name, role), the brand files marked as logo / productImage / broll / music / sfx (sound effects) / endCard / overlay / look / reference / doc / other / productRecording (a screen recording of the brand's product) / screenshot / photo (each with its file and a downloadUrl valid for 7 days when the API key can read files, null when it cannot), and the brand fonts with licenseStatus and usable - NEVER use a font whose usable is false (license unknown or restricted): use its fallbackFamily, or an open-license font, instead. Change it with update_brand_package / add_brand_kit_item. Many brands have no package yet (empty lists, updatedAt:null) - that is normal: use get_brand_header for their brief and guidelines.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The brand's (Node) UUID - from list_brands. |
idrequireduuidThe brand's (Node) UUID - from list_brands.{
"id": "00000000-0000-0000-0000-000000000000"
}Key scope: read:projects
get_brand_posting_planRead a brand's posting planReadSocial postingRead a brand's posting plan - Edit Brand → Posting plan in the app: the weekly times approved posts are scheduled into (`times`: days 0 = Sunday … 6 = Saturday, "HH:MM" 24h, optional networks), the plan's time zone (null = the workspace's), whether the brand's best posting hour is used, the minimum lead time in minutes, and the team member alerted when a post can't be placed. A brand with no plan yet returns an empty list. Needs a posting plan.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The brand's id - from list_brands. |
idrequireduuidThe brand's id - from list_brands.{
"id": "00000000-0000-0000-0000-000000000000"
}Key scope: read:projects
get_brand_report_scheduleGet a brand's client report scheduleReadRead Edit Brand → Reports: the scheduled client report email (status recap and/or social numbers) - whether it is on, cadence (daily / weekly / monthly), day and time in its time zone, recipients, who unsubscribed, the personal message, the design (theme, header, accent, title, headline numbers, section order, the social networks counted and how many top posts), the next and last send. exists false = never saved (defaults shown).
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The brand's (Node) UUID - from list_brands. |
idrequireduuidThe brand's (Node) UUID - from list_brands.{
"id": "00000000-0000-0000-0000-000000000000"
}Key scope: read:projects
get_brand_settingsGet a brand's settingsReadRead a brand's Edit Brand settings in three groups: portal (client portal theme, allowed views, work requests, header, welcome message, every-stage visibility, early-stage documents, watermark, where clients land), guestAccess (brief visibility, notification security mode, magic-link expiry) and workflow (post review, Admin Approval override, automation mode, client undo windows, approval window + reminder, revision limit, and the share passcode's state - never the passcode). null on an override means it inherits the workspace value (get_workspace_settings).
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The brand's (Node) UUID - from list_brands. |
idrequireduuidThe brand's (Node) UUID - from list_brands.{
"id": "00000000-0000-0000-0000-000000000000"
}Key scope: read:projects
get_brand_thumbnail_styleRead a brand's thumbnail styleReadThe brand's AI-thumbnail style - colors (brand kit / auto / custom), text style, favourite layouts, always / never notes - and what the AI learned from the team's picks and the client's reviews (learnedNotes). referenceCount is how many reference thumbnails the brand holds; removedReferenceCount how many of them were removed after the workspace's subscription ended. A 403 with code notAvailable or planDoesNotIncludeSocialPosting is final for this workspace: relay it and stop calling.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The brand's (Node) UUID - from list_brands. |
idrequireduuidThe brand's (Node) UUID - from list_brands.{
"id": "00000000-0000-0000-0000-000000000000"
}Key scope: read:projects
get_brand_voiceGet brand voice profileReadRead a brand's Brand Brain and writing-style profile: what the brand does (about), who the content is for (audience), how it sounds (tone), the points it keeps repeating (keyMessages), the words and phrases it must NEVER use (neverSay), freeform voice instructions, and optional per-platform notes (e.g. YouTube title conventions vs Instagram caption register). ALWAYS read this before writing scripts, captions, titles, or descriptions for the brand and follow it - nothing on the neverSay list may appear in anything you write. Empty instructions with updatedAt:null = no profile saved yet - compose from the brand's published posts instead (Timeliner's own caption AI also mines those) and consider offering to save the user's preferences via update_brand_voice. The same profile is injected into Timeliner's own caption generation (generate_post_caption and the in-app composer).
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The brand's UUID (from list_brands). |
idrequireduuidThe brand's UUID (from list_brands).{
"id": "00000000-0000-0000-0000-000000000000"
}Key scope: read:projects
get_production_overviewGet production overviewReadThe CEO overview - USE THIS for 'where does each business line stand', 'how many projects are in pre-production / production / post', 'which projects are behind', 'was the creative due Friday delivered?'. Live projects grouped by business line (the top-level brand or folder above each project; nodeId null = 'Other'), with per line counts by phase and by health, and per project (most urgent first): phase (+ phaseSource set|derived|none - derived = read from sub-folder names like Pre-Pro / Production / Post), shootDate, internalDue vs clientDue, nextDue, usedMinutes vs budgetMinutes (burnPct), progressPct and health (behind | atRisk | onTrack | done | noData). Optional nodeId narrows to one brand or folder. For team capacity use get_workload.
| Name | Type | Details |
|---|---|---|
nodeId | uuid | Only projects at or under this brand / folder (list_brands). |
nodeIduuidOnly projects at or under this brand / folder (list_brands).{}Key scope: read:projects
get_projectGet projectReadGet one project plus its active folders, sorted by name, and its subFolders (task groups; create_sub_folder adds one). archived is true when the project sits in the sidebar's Archive - it reads exactly like an active one.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The project's UUID. |
idrequireduuidThe project's UUID.{
"id": "00000000-0000-0000-0000-000000000000"
}Key scope: read:projects
get_project_headerGet a project's header contentReadRead a project's header in one call: the brief (the Brief card's text only - null when the Brief is empty, even if other pages have text), every doc (guidelines / moodboard), links, attached docs and docAttachments (files dropped INTO a doc, e.g. a .docx in the Brief), the raw files (Assets, bounded - each, like every attached file, with a downloadUrl valid for 7 days when the API key can read files; null on every file when it cannot), the header's section names (sections) and the card list (the canvas, section by section - each card names its section, the name create_header_card takes). Pass the project id from list_projects. To add a card, use create_header_card.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The project's UUID - from list_projects. |
idrequireduuidThe project's UUID - from list_projects.{
"id": "00000000-0000-0000-0000-000000000000"
}Key scope: read:projects
list_brand_brain_factsList what the AI learned about a brandReadRead Edit Brand → What the AI learned: the facts the AI check reviews this brand's videos against, by section (identity, vocabulary, voice, visual, audio, format, compliance, process), whether a person wrote them or the AI learned them, and the checks switched off for this brand (suppressions). An end client also lists the parent brand's facts it inherits. AI editor beta workspaces only (403 editor_beta_required elsewhere - tell the user, don't retry). During the beta only a key created by Timeliner staff who still holds an active seat in this workspace can use it (403 staff_required otherwise - tell the user, don't retry).
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The brand's (Node) UUID - from list_brands. |
idrequireduuidThe brand's (Node) UUID - from list_brands.{
"id": "00000000-0000-0000-0000-000000000000"
}Key scope: read:projects
list_brand_connect_invitesList a brand's connect linksReadList the brand's no-login connect links (url, channels, expiry, whether used or revoked), newest first.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The brand's (Node) UUID - from list_brands. |
idrequireduuidThe brand's (Node) UUID - from list_brands.{
"id": "00000000-0000-0000-0000-000000000000"
}Key scope: read:projects
list_brand_copywritingList a brand's copywriting rulesReadRead Edit Brand → Scripts & captions: the written rules the AI follows for this brand in three sections (editing, briefing, captions), the candidates the learning passes proposed (with how many videos each was seen on), and the caption voice (read-only here - update_brand_voice changes it). AI editor beta workspaces only (403 editor_beta_required elsewhere - tell the user, don't retry).
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The brand's (Node) UUID - from list_brands. |
idrequireduuidThe brand's (Node) UUID - from list_brands.{
"id": "00000000-0000-0000-0000-000000000000"
}Key scope: read:projects
list_brand_membersList a brand's membersReadWho currently has access to a brand, with each member's brand-level role. Use this before add_brand_member to see who is already on the brand - adding someone who already has access returns 409, which tells you nothing about anyone else. Each entry has `automatic: true` when the access comes from the member being a workspace ADMIN (admins get every brand automatically) rather than from an explicit assignment. Team members only by default.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The brand's (Node) UUID - from list_brands. |
includeGuests | boolean | Include external guest reviewers. Defaults to false. |
includeDeactivated | boolean | Include deactivated / removed members. Defaults to false. |
idrequireduuidThe brand's (Node) UUID - from list_brands.includeGuestsbooleanInclude external guest reviewers. Defaults to false.includeDeactivatedbooleanInclude deactivated / removed members. Defaults to false.{
"id": "00000000-0000-0000-0000-000000000000"
}Key scope: read:projects
list_brand_raw_filesList a brand's raw filesReadList a brand header's RAW files (the brand's Brand assets) one folder level at a time. Each file: id, name, size (bytes), mimeType, folderId, durationSeconds (null when not media or not known yet), createdAt, hasTranscript (a ready transcript exists) and transcriptStatus (none | pending | extracting | processing | ready | no_speech | failed). The level's subfolders come on the first page (folders[]: id, name, parentId) - pass a folder's id as folderId to open it. Newest file first; when nextBefore is not null, call again with before = nextBefore for the next page. A task can link a brand file only when its project sits directly under this brand: a link column value { items: [{ kind: "brandFile", id }] } (a folder: kind "brandFolder"). Download a file with get_file_download_url and its id.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The brand (client) node's UUID (from list_brands) - never a project id. |
folderId | uuid | A folder to open (folders[].id from a previous call). Omit for the top level. |
limit | integer | Files per page, 1–200 (default 50). |
before | uuid | The nextBefore of the previous page - omit for the first page. |
idrequireduuidThe brand (client) node's UUID (from list_brands) - never a project id.folderIduuidA folder to open (folders[].id from a previous call). Omit for the top level.limitintegerFiles per page, 1–200 (default 50).beforeuuidThe nextBefore of the previous page - omit for the first page.{
"id": "00000000-0000-0000-0000-000000000000"
}Key scope: read:projects
list_brand_speakersList a brand's speakersReadThe people the brand's AI thumbnails may show: handle, name, whether their permission is on file or withdrawn, whether their likeness is ready, and how many thumbnails used them. Only `usable` speakers can be passed to generate_post_thumbnails. A speaker whose purgedAt is set had their photos removed after the workspace's subscription ended and is not usable while they are removed. A 403 with code notAvailable or planDoesNotIncludeSocialPosting is final for this workspace: relay it and stop calling.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The brand's (Node) UUID - from list_brands. |
idrequireduuidThe brand's (Node) UUID - from list_brands.{
"id": "00000000-0000-0000-0000-000000000000"
}Key scope: read:projects
list_brandsList brands and clientsReadList the workspace's brands and clients (Nodes of type brand or client), newest first. Use type to restrict to one kind. Brand ids are the nodeId values create_project expects. Each brand includes its connected socialAccounts (the social channels - platform, handle, displayName, avatar, status - with credentials excluded), so you can answer which channels are connected to which brand in one call. Each row also carries parentId (the sidebar folder it sits in, or null at the top level) and archived (true when it is in the sidebar's Archive - archived itself or inside an archived folder). type folder lists the sidebar folders that group brands instead: a folder is not a brand (get_brand refuses its id, and its brand-only fields are empty) and is not a project's raw-file folder. To see inside a sidebar folder, take the rows whose parentId is its id, then list_projects with each brand's id as nodeId. Returns {data, nextBefore}; when nextBefore is non-null, call again with before=nextBefore for the next page.
| Name | Type | Details |
|---|---|---|
limit | integer | Items per page, 1-100. Defaults to 50. |
before | string | Opaque pagination cursor - pass the previous response's nextBefore value verbatim. |
type | enum | Omit to return both brands and clients. folder returns the sidebar folders instead.One of: brand, client, folder |
limitintegerItems per page, 1-100. Defaults to 50.beforestringOpaque pagination cursor - pass the previous response's nextBefore value verbatim.typeenumOmit to return both brands and clients. folder returns the sidebar folders instead.One of: brand, client, folder{}Key scope: read:projects
list_project_raw_filesList a project's raw filesReadList a project's RAW files (Raw footage) one folder level at a time - the footage of a shoot, never its task files (deliverables, versions, project-file backups are not listed). Each file: id, name, size (bytes), mimeType, folderId, durationSeconds (null when not media or not known yet), createdAt, hasTranscript (a ready transcript exists) and transcriptStatus (none | pending | extracting | processing | ready | no_speech | failed). The level's subfolders come on the first page (folders[]: id, name, parentId) - pass a folder's id as folderId to open it. Newest file first; when nextBefore is not null, call again with before = nextBefore for the next page. Link a file to a task with set_task_custom_values: a link column value { items: [{ kind: "projectFile", id }] } (a folder: kind "projectFolder"). Read what a video says with get_file_transcript.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The project's UUID (from list_projects). |
folderId | uuid | A folder to open (folders[].id from a previous call). Omit for the top level. |
limit | integer | Files per page, 1–200 (default 50). |
before | uuid | The nextBefore of the previous page - omit for the first page. |
idrequireduuidThe project's UUID (from list_projects).folderIduuidA folder to open (folders[].id from a previous call). Omit for the top level.limitintegerFiles per page, 1–200 (default 50).beforeuuidThe nextBefore of the previous page - omit for the first page.{
"id": "00000000-0000-0000-0000-000000000000"
}Key scope: read:projects
list_projectsList projectsReadList the workspace's projects, newest first - archived and active together. Each project's archived is true when it sits in the sidebar's Archive (archived itself, or under an archived brand or sidebar folder); an archived project stays fully readable - get_project, its raw files and its tasks work exactly as for an active one. Pass nodeId to open one brand, client or sidebar folder: only the projects directly inside it. Returns {data, nextBefore}; when nextBefore is non-null, call again with before=nextBefore for the next page.
| Name | Type | Details |
|---|---|---|
limit | integer | Items per page, 1-100. Defaults to 50. |
before | string | Opaque pagination cursor - pass the previous response's nextBefore value verbatim. |
nodeId | uuid | A brand's, client's or sidebar folder's id (list_brands, or a project's nodeId): only the projects directly inside it, one level, like opening it in the sidebar. A sidebar folder usually holds brands, not projects - list_brands with its rows' parentId shows what is inside it. Omit for every project. |
limitintegerItems per page, 1-100. Defaults to 50.beforestringOpaque pagination cursor - pass the previous response's nextBefore value verbatim.nodeIduuidA brand's, client's or sidebar folder's id (list_brands, or a project's nodeId): only the projects directly inside it, one level, like opening it in the sidebar. A sidebar folder usually holds brands, not projects - list_brands with its rows' parentId shows what is inside it. Omit for every project.{}Key scope: read:projects
preview_brand_reportPreview a brand's next client reportWriteWhat the brand's NEXT report email would contain (the same builder the scheduled send uses) - for the saved schedule, or with any of update_brand_report_schedule's fields overlaid. Sends nothing, saves nothing.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The brand's (Node) UUID - from list_brands. |
cadence | enum | One of: daily, weekly, monthly |
timeZone | string | |
sections | object | |
design | object | Try a design without saving it; never together with sections. |
idrequireduuidThe brand's (Node) UUID - from list_brands.cadenceenumOne of: daily, weekly, monthlytimeZonestringsectionsobjectdesignobjectTry a design without saving it; never together with sections.{
"id": "00000000-0000-0000-0000-000000000000"
}Key scope: write:projects
remove_brand_inspirationUnpin an inspiration exampleWriteDeletesUnpin an example (pinned[].id); the AI editor stops reading it. AI editor beta workspaces only (403 editor_beta_required elsewhere - tell the user, don't retry). Deletes share one budget across the whole API: about 20 per minute per key, and daily ceilings per key and per workspace - over budget returns 429 with a Retry-After header. A 429 means STOP and tell the user; never wait-and-retry your way through a batch.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The brand's (Node) UUID - from list_brands. |
factIdrequired | uuid |
idrequireduuidThe brand's (Node) UUID - from list_brands.factIdrequireduuid{
"id": "00000000-0000-0000-0000-000000000000",
"factId": "00000000-0000-0000-0000-000000000000"
}Key scope: write:projects
remove_brand_kit_itemTake a file out of the brand's kitWriteDeletesTake one file out of the brand's kit; the file itself stays in the brand's files. Only a supervisor removes a licensed font. Deletes share one budget across the whole API: about 20 per minute per key, and daily ceilings per key and per workspace - over budget returns 429 with a Retry-After header. A 429 means STOP and tell the user; never wait-and-retry your way through a batch.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The brand's (Node) UUID. |
fileIdrequired | uuid | The kit file to take out. |
idrequireduuidThe brand's (Node) UUID.fileIdrequireduuidThe kit file to take out.{
"id": "00000000-0000-0000-0000-000000000000",
"fileId": "00000000-0000-0000-0000-000000000000"
}Key scope: write:projects
remove_brand_memberRemove a team member from a brandWriteDeletesRevoke a team member's access to a brand - the undo for add_brand_member. Scoped to the brand: access granted directly on one of its projects is left alone. Workspace ADMINS cannot be removed from a single brand (409 - they hold every brand automatically; change their workspace role instead), and guests must be removed in the Timeliner app (400 - revoking a guest also rotates their share link). 404 if that member has no access to the brand. Deletes share one budget across the whole API: about 20 per minute per key, and daily ceilings per key and per workspace - over budget returns 429 with a Retry-After header. A 429 means STOP and tell the user; never wait-and-retry your way through a batch.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The brand's (Node) UUID - from list_brands. |
memberIdrequired | uuid | The member to revoke - from list_brand_members or list_members. |
idrequireduuidThe brand's (Node) UUID - from list_brands.memberIdrequireduuidThe member to revoke - from list_brand_members or list_members.{
"id": "00000000-0000-0000-0000-000000000000",
"memberId": "00000000-0000-0000-0000-000000000000"
}Key scope: write:projects
restore_brand_brain_checkTurn a switched-off check back onWriteTurn a check this brand switched off (suppressions[].id) back on; it runs on the next review. AI editor beta workspaces only (403 editor_beta_required elsewhere - tell the user, don't retry). During the beta only a key created by Timeliner staff who still holds an active seat in this workspace can use it (403 staff_required otherwise - tell the user, don't retry).
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The brand's (Node) UUID - from list_brands. |
factIdrequired | uuid |
idrequireduuidThe brand's (Node) UUID - from list_brands.factIdrequireduuid{
"id": "00000000-0000-0000-0000-000000000000",
"factId": "00000000-0000-0000-0000-000000000000"
}Key scope: write:projects
revoke_brand_connect_inviteRevoke a social connect linkWriteDeletesTurn a connect link off at once. An account already connected through it stays connected. Deletes share one budget across the whole API: about 20 per minute per key, and daily ceilings per key and per workspace - over budget returns 429 with a Retry-After header. A 429 means STOP and tell the user; never wait-and-retry your way through a batch.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The brand's (Node) UUID - from list_brands. |
inviteIdrequired | uuid |
idrequireduuidThe brand's (Node) UUID - from list_brands.inviteIdrequireduuid{
"id": "00000000-0000-0000-0000-000000000000",
"inviteId": "00000000-0000-0000-0000-000000000000"
}Key scope: write:projects
set_brand_logoSet a brand's logoWriteReplace a brand's logo from a public image URL (PNG, JPEG, WebP, GIF or SVG, ≤ 5 MB). The server downloads it and stores the same sizes the app does; the answer is the brand, whose logoUrl is the new stable public URL. Private or internal URLs are refused.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The brand's (Node) UUID - from list_brands. |
urlrequired | url | Public https URL of the image. |
idrequireduuidThe brand's (Node) UUID - from list_brands.urlrequiredurlPublic https URL of the image.{
"id": "00000000-0000-0000-0000-000000000000",
"url": "https://example.com/file.mp4"
}Key scope: write:projects
set_brand_notification_defaultSet a brand's notification defaultWriteReplace one audience's notification default for the brand: muted (true = nothing about this brand reaches them) and/or channels { email, whatsapp, slack } on-off. muted null with no channels clears the default. Setting one needs the Pro plan; clearing is free. Sends nothing.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The brand's (Node) UUID - from list_brands. |
audiencerequired | enum | member = the team, guest = the brand's clients.One of: member, guest |
muted | boolean | null | true mutes this brand for the audience; null = not set. |
channels | object | Per-channel override; an absent channel follows each person's own setting. |
idrequireduuidThe brand's (Node) UUID - from list_brands.audiencerequiredenummember = the team, guest = the brand's clients.One of: member, guestmutedboolean | nulltrue mutes this brand for the audience; null = not set.channelsobjectPer-channel override; an absent channel follows each person's own setting.{
"id": "00000000-0000-0000-0000-000000000000",
"audience": "member"
}Key scope: write:projects
update_brandUpdate brand metadataWriteUpdate a brand's writable fields - provide at least one. description is the brand's brief / guidelines text (a brand header doc card that still shows the description - usually Guidelines - follows it until that card is written on its own with update_header_card) - a full text replace; pass "" to clear it, null to leave it untouched. externalMetadata is a FULL-OBJECT REPLACE (read the current value with get_brand and merge client-side before sending; null clears it). socialLinks is the brand's Brand Links card - any label, not just social (Website, Drive, instagram) - and is likewise a FULL-ARRAY REPLACE: read the current list with get_brand, add to it, and send the WHOLE array, or you will wipe the links you left out. [] or null clears them all. Writing description notifies no one. name renames the brand. type converts it: "client" (client brand - client approval stage, guests) or "brand" (internal); client → internal is refused (409) while it still has client-stage tasks, guests or end clients. adminApprovalMode is this brand's Admin Approval override. On the Agency + 2 approvers workflow "on" forces the stage, "off" removes it, null inherits the workspace setting; on the Agency, Agency + End Client and Internal workflows "on" ADDS the stage after Supervisor Approval for this brand alone, and null/"off" leave it out (other workflows refuse it with 400). When the brand loses the stage, its tasks sitting in Admin Approval are first moved back to Supervisor Approval (no notifications) - exactly as Edit Brand → Workflow does. Every other brand setting: update_brand_settings. Logo: set_brand_logo. guestAllStagesVisible is this brand's "Show clients every workflow stage" override - true lets the brand's clients (in-app and on its share links) see tasks in every stage, to-do and in-progress included, as VIEW-ONLY cards (stage, deadlines, planned posting time, a thumbnail if any; early-stage media is not playable, commentable or approvable until it reaches client review - except for a guest the task reaches through an assignment, who keeps its pre-setting rights); false hides them; null inherits the workspace setting. guestEarlyStageDocAccess decides how far a DOCUMENT in such a stage goes: placeholder (default) | view | comment | edit; null inherits. Widening either is plan-gated (403 - relay the message verbatim). Suggest these when a client asks to see their whole pipeline or planned work.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The brand's (Node) UUID. |
name | string | New brand name. |
type | enum | client = client brand (client approval + guests); brand = internal brand.One of: brand, client |
description | string | null | The brand's brief / guidelines text. "" clears it; omit or null to leave it unchanged. |
socialLinks | object[] | null | The brand's COMPLETE new link list (replaces the existing one - merge first), or null/[] to clear. |
externalMetadata | object | null | The brand's complete new externalMetadata object, or null to clear. |
adminApprovalMode | enum | null | Per-brand Admin Approval override: "on" | "off" | null (inherit the workspace's adminApprovalScope on Agency + 2 approvers; no stage on Agency / Agency + End Client / Internal). Omit to leave unchanged.One of: on, off |
guestAllStagesVisible | boolean | null | Per-brand "Show clients every workflow stage" override: true (clients see every stage, view-only) | false (client stages only) | null (inherit the workspace setting). Omit to leave unchanged. Enabling is plan-gated. |
guestEarlyStageDocAccess | enum | null | Per-brand early-stage DOCUMENT access while every stage is visible: placeholder | view | comment | edit | null (inherit). Media is a placeholder; a guest the task reaches through an assignment keeps its pre-setting rights. Omit to leave unchanged.One of: placeholder, view, comment, edit |
idrequireduuidThe brand's (Node) UUID.namestringNew brand name.typeenumclient = client brand (client approval + guests); brand = internal brand.One of: brand, clientdescriptionstring | nullThe brand's brief / guidelines text. "" clears it; omit or null to leave it unchanged.socialLinksobject[] | nullThe brand's COMPLETE new link list (replaces the existing one - merge first), or null/[] to clear.externalMetadataobject | nullThe brand's complete new externalMetadata object, or null to clear.adminApprovalModeenum | nullPer-brand Admin Approval override: "on" | "off" | null (inherit the workspace's adminApprovalScope on Agency + 2 approvers; no stage on Agency / Agency + End Client / Internal). Omit to leave unchanged.One of: on, offguestAllStagesVisibleboolean | nullPer-brand "Show clients every workflow stage" override: true (clients see every stage, view-only) | false (client stages only) | null (inherit the workspace setting). Omit to leave unchanged. Enabling is plan-gated.guestEarlyStageDocAccessenum | nullPer-brand early-stage DOCUMENT access while every stage is visible: placeholder | view | comment | edit | null (inherit). Media is a placeholder; a guest the task reaches through an assignment keeps its pre-setting rights. Omit to leave unchanged.One of: placeholder, view, comment, edit{
"id": "00000000-0000-0000-0000-000000000000"
}Key scope: write:projects
update_brand_brain_factRe-word a fact the AI check usesWriteRe-word a fact. A new fact replaces it (the answer's id is the new one; replaces names the old) - an end client's override is re-worded in place. AI editor beta workspaces only (403 editor_beta_required elsewhere - tell the user, don't retry). During the beta only a key created by Timeliner staff who still holds an active seat in this workspace can use it (403 staff_required otherwise - tell the user, don't retry).
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The brand's (Node) UUID - from list_brands. |
factIdrequired | uuid | |
textrequired | string |
idrequireduuidThe brand's (Node) UUID - from list_brands.factIdrequireduuidtextrequiredstring{
"id": "00000000-0000-0000-0000-000000000000",
"factId": "00000000-0000-0000-0000-000000000000",
"text": "example"
}Key scope: write:projects
update_brand_packageUpdate a brand's package (Brand assets)WriteChange a brand's kit (Edit Brand → Brand assets) - send only what changes: ctaText, ctaUrl, endCardNotes, musicNotes, sfxNotes, colors, assets (kit files), fonts, and editDirection (Editor beta only). A list you send REPLACES that whole list: read get_brand_package first and send it back changed. Each asset's fileId must be a file of this brand (list_brand_raw_files / get_brand_header). The app's own rules decide, run as the API key's creator - they must be a supervisor or admin on the brand (403 otherwise). Notifies no one.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The brand's (Node) UUID - from list_brands. |
editDirection | enum | null | replicate = copy past videos' style; improve = raise the bar. Editor beta only.One of: replicate, improve |
ctaText | string | null | |
ctaUrl | string | null | |
endCardNotes | string | null | |
musicNotes | string | null | |
sfxNotes | string | null | Sound-effects notes for the editor (which effects to use or avoid). |
colors | object[] | The COMPLETE color list (replaces it). |
assets | object[] | The COMPLETE kit-file list (replaces it). |
fonts | object[] | The COMPLETE font list (replaces it). |
idrequireduuidThe brand's (Node) UUID - from list_brands.editDirectionenum | nullreplicate = copy past videos' style; improve = raise the bar. Editor beta only.One of: replicate, improvectaTextstring | nullctaUrlstring | nullendCardNotesstring | nullmusicNotesstring | nullsfxNotesstring | nullSound-effects notes for the editor (which effects to use or avoid).colorsobject[]The COMPLETE color list (replaces it).assetsobject[]The COMPLETE kit-file list (replaces it).fontsobject[]The COMPLETE font list (replaces it).{
"id": "00000000-0000-0000-0000-000000000000",
"editDirection": "replicate"
}Key scope: write:projects
update_brand_posting_planEdit a brand's posting planWriteSocial postingChange a brand's posting plan - the same as saving Edit Brand → Posting plan in the app. Send only the fields that change; `times` is a FULL REPLACE of the weekly list, so read it with get_brand_posting_plan first and send the times to keep plus the new ones (at most 28; the same day, time and network twice is refused). `timeZone` is an IANA zone or null for the workspace's; `minLeadMinutes` 15–1440; `alertMemberId` an active team member or null. Saving schedules nothing and notifies no one - posts are placed into the plan when they are scheduled. Needs a posting plan.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The brand's id - from list_brands. |
times | object[] | The FULL weekly list (replace). |
timeZone | string | null | IANA zone, e.g. "Europe/London"; null = the workspace's. |
useBestTime | boolean | Use the brand's best posting hour from its analytics. |
minLeadMinutes | integer | The least time, in minutes, between scheduling a post and its slot. |
alertMemberId | uuid | null | A team member (from list_members) alerted when a post can't be placed; null for nobody. |
idrequireduuidThe brand's id - from list_brands.timesobject[]The FULL weekly list (replace).timeZonestring | nullIANA zone, e.g. "Europe/London"; null = the workspace's.useBestTimebooleanUse the brand's best posting hour from its analytics.minLeadMinutesintegerThe least time, in minutes, between scheduling a post and its slot.alertMemberIduuid | nullA team member (from list_members) alerted when a post can't be placed; null for nobody.{
"id": "5d8a2c7e-1b4f-4e9a-8c36-7f0b2d9e4a11",
"times": [
{
"days": [
1,
3,
5
],
"time": "09:30",
"platforms": [
"instagram"
]
},
{
"days": [
2
],
"time": "10:00"
}
]
}Key scope: write:projects
update_brand_report_scheduleUpdate a brand's client report scheduleWriteChange the brand's scheduled client report - send only what changes. Turning it ON emails the listed CLIENT addresses on the schedule (the first send is the next scheduled time, never immediately) - confirm the recipients with the user first. Needs the Elite plan to turn on; turning off is free. An address that unsubscribed is never added back. The first save gives the brand a view-only client link.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The brand's (Node) UUID - from list_brands. |
enabled | boolean | true runs the schedule; false pauses it. |
cadence | enum | One of: daily, weekly, monthly |
weekday | integer | 0 = Sunday … 6 = Saturday (weekly). |
monthDay | integer | Day of the month (monthly). |
sendTime | string | HH:MM, 24-hour, in timeZone. |
timeZone | string | IANA zone, e.g. America/New_York. |
recipients | email[] | The COMPLETE recipient list, at most 10 (replaces it). |
sections | object | Which data the email carries; at least one stays on. Not together with design. |
design | object | How the email looks and what it shows, merged per key; it decides the sections, so never send both. |
message | string | A personal note at the top of the email ("" clears it). |
idrequireduuidThe brand's (Node) UUID - from list_brands.enabledbooleantrue runs the schedule; false pauses it.cadenceenumOne of: daily, weekly, monthlyweekdayinteger0 = Sunday … 6 = Saturday (weekly).monthDayintegerDay of the month (monthly).sendTimestringHH:MM, 24-hour, in timeZone.timeZonestringIANA zone, e.g. America/New_York.recipientsemail[]The COMPLETE recipient list, at most 10 (replaces it).sectionsobjectWhich data the email carries; at least one stays on. Not together with design.designobjectHow the email looks and what it shows, merged per key; it decides the sections, so never send both.messagestringA personal note at the top of the email ("" clears it).{
"id": "00000000-0000-0000-0000-000000000000",
"enabled": true
}Key scope: write:projects
update_brand_settingsUpdate a brand's settingsWriteChange a brand's Portal Design (including where clients land), Guest Access or Workflow settings - send only what changes, grouped as portal / guestAccess / workflow (the same keys get_brand_settings returns). null on an override inherits the workspace value. The app's own rules apply: plan-gated values answer 403 (relay the message), bad values 400. Turning adminApprovalMode off moves the brand's tasks out of Admin Approval first. Setting approvalWindowMinutes means clients' pending approvals are auto-approved when the window ends - confirm with the user before turning it on. Nothing is sent to anyone. The share passcode has its own tools (set_brand_share_password).
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The brand's (Node) UUID - from list_brands. |
portal | object | Portal Design settings to change. |
guestAccess | object | Guest Access settings to change. |
workflow | object | Workflow settings to change. |
idrequireduuidThe brand's (Node) UUID - from list_brands.portalobjectPortal Design settings to change.guestAccessobjectGuest Access settings to change.workflowobjectWorkflow settings to change.{
"id": "5d8a2c7e-1b4f-4e9a-8c36-7f0b2d9e4a11",
"portal": {
"theme": "dark"
}
}Key scope: write:projects
update_brand_speakerUpdate a brand speakerWriteRename or re-describe a speaker, or withdraw their permission (revokeConsent:true - the speaker is never used again and their likeness is deleted). Photos are changed in the app. A speaker whose purgedAt is set takes only revokeConsent:true - anything else answers 404 file_content_missing. Needs a key created by an admin or supervisor of the brand (403 otherwise - tell the user, don't retry).
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The brand's (Node) UUID - from list_brands. |
speakerIdrequired | uuid | A speaker id from list_brand_speakers. |
displayName | string | |
handle | string | |
description | string | |
revokeConsent | boolean |
idrequireduuidThe brand's (Node) UUID - from list_brands.speakerIdrequireduuidA speaker id from list_brand_speakers.displayNamestringhandlestringdescriptionstringrevokeConsentboolean{
"id": "00000000-0000-0000-0000-000000000000",
"speakerId": "00000000-0000-0000-0000-000000000000"
}Key scope: write:projects
update_brand_thumbnail_styleUpdate a brand's thumbnail styleWriteChange the brand's thumbnail style. Fields you omit keep their value; doNotes / dontNotes REPLACE the lists (read them first and send the full list). Reference thumbnails are managed in the app. Needs a key created by an admin or supervisor of the brand (403 otherwise - tell the user, don't retry).
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The brand's (Node) UUID - from list_brands. |
palette | enum | One of: brandKit, auto, custom |
customColors | string[] | |
textStyle | enum | One of: boldCaps, titleCase, none |
favouriteArchetypes | enum[] | One of: faceBigText, beforeAfter, objectArrow, reactionScreenshot, versus, numberedList, tutorialProduct, podcastTwoFaces, curiosityGap, progression, cleanMinimal |
doNotes | string[] | |
dontNotes | string[] |
idrequireduuidThe brand's (Node) UUID - from list_brands.paletteenumOne of: brandKit, auto, customcustomColorsstring[]textStyleenumOne of: boldCaps, titleCase, nonefavouriteArchetypesenum[]One of: faceBigText, beforeAfter, objectArrow, reactionScreenshot, versus, numberedList, tutorialProduct, podcastTwoFaces, curiosityGap, progression, cleanMinimaldoNotesstring[]dontNotesstring[]{
"id": "00000000-0000-0000-0000-000000000000"
}Key scope: write:projects
update_brand_voiceUpdate brand voice profileWriteSave or refine a brand's writing-style profile - the durable memory every caption/title generation for the brand obeys (yours via update_post, Timeliner's via generate_post_caption, and the team's in-app composer). Use it when the user teaches you their style ('my YouTube titles are always under 60 chars, curiosity-gap, no clickbait words') so the preference persists beyond this conversation. instructions REPLACES the whole freeform text (read get_brand_voice first and merge - don't drop what's there; ≤4000 chars; "" clears). platformNotes merges per key: string sets that platform's note (≤1000 chars), null (or "") deletes it, omitted platforms are untouched. The Brand Brain answers about, audience, tone and keyMessages (≤1000 chars each) and the neverSay list (≤50 entries of ≤80 chars) each REPLACE that answer - merge with what get_brand_voice returned. Write plain prose rules, not JSON. Confirm with the user before overwriting a non-empty existing profile.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The brand's UUID (from list_brands). |
instructions | string | Full replacement freeform voice/style instructions ("" clears). |
about | string | Brand Brain: what the brand does and sells ("" clears). |
audience | string | Brand Brain: who the content is for ("" clears). |
tone | string | Brand Brain: how the brand sounds ("" clears). |
keyMessages | string | Brand Brain: offers, claims, taglines and exact product names to repeat ("" clears). |
neverSay | string[] | Brand Brain: full replacement of the never-say list ([] clears). |
platformNotes | object | Per-platform style notes, merged key-by-key: string sets, null deletes, omitted untouched. |
idrequireduuidThe brand's UUID (from list_brands).instructionsstringFull replacement freeform voice/style instructions ("" clears).aboutstringBrand Brain: what the brand does and sells ("" clears).audiencestringBrand Brain: who the content is for ("" clears).tonestringBrand Brain: how the brand sounds ("" clears).keyMessagesstringBrand Brain: offers, claims, taglines and exact product names to repeat ("" clears).neverSaystring[]Brand Brain: full replacement of the never-say list ([] clears).platformNotesobjectPer-platform style notes, merged key-by-key: string sets, null deletes, omitted untouched.{
"id": "00000000-0000-0000-0000-000000000000"
}Key scope: write:projects
update_header_cardWrite a header card's content or visibilityWriteChange ONE card on a brand's or project's header canvas: its content, who sees it, or (default cards) hide it. Get the card id from get_project_header / get_brand_header (`cards[].id` - each card also says its visibility, whether it is hidden and whether it isDefault). Two card types have writable content: a `doc` card (send html - a FULL REPLACE of its rich text; simple tags like <h2>, <p>, <ul>/<li>, <strong> render as in the in-app editor; "" clears it) and a `links` card (send links - a FULL REPLACE of the whole list, so include the entries you want to keep; [] clears it). Sending the wrong field for the card's type is a 400. assets/timeline/intake cards render live from other data and fileAttach needs a real upload, so none of their content is writable. A PROJECT's Brief card's text is not writable here (409) - it's a live view of the project's description: use update_project's description instead. Any other doc card, including a brand card still showing the brand description, is written on its own: that one card gets its own text and stops following the description. `visibility` sets who sees the card, on every card type but an intake form. `hidden` is for DEFAULT cards only (Brief, Guidelines, Brand Links, Raw files & Assets - isDefault true): true hides the card from everyone, false brings it back; any other card is removed with delete_header_card instead. Send at least one of html, links, visibility, hidden. To add a card the header does not have yet, use create_header_card. Silent - no one is notified.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The header card's UUID - from get_project_header / get_brand_header (`cards[].id`). Send all 36 characters exactly as returned, never shortened, padded or retyped. |
html | string | DOC cards only: the full new HTML body. "" clears it. |
links | object[] | LINKS cards only: the full new list (full replace). [] clears it. |
visibility | enum | Who sees the card - the app's Card permissions presets: everyone (guests too, and they can edit it), team (the internal team only - guests don't see it), approvers (the team edits, guests can view), adminsOnly (workspace admins only). Not for intake form cards. Never un-hides a hidden card.One of: everyone, team, approvers, adminsOnly |
hidden | boolean | DEFAULT cards only (isDefault true): true hides the card from everyone, false restores it. A card someone added is deleted with delete_header_card instead. |
idrequireduuidThe header card's UUID - from get_project_header / get_brand_header (`cards[].id`). Send all 36 characters exactly as returned, never shortened, padded or retyped.htmlstringDOC cards only: the full new HTML body. "" clears it.linksobject[]LINKS cards only: the full new list (full replace). [] clears it.visibilityenumWho sees the card - the app's Card permissions presets: everyone (guests too, and they can edit it), team (the internal team only - guests don't see it), approvers (the team edits, guests can view), adminsOnly (workspace admins only). Not for intake form cards. Never un-hides a hidden card.One of: everyone, team, approvers, adminsOnlyhiddenbooleanDEFAULT cards only (isDefault true): true hides the card from everyone, false restores it. A card someone added is deleted with delete_header_card instead.{
"id": "00000000-0000-0000-0000-000000000000"
}Key scope: write:projects
update_projectUpdate projectWriteUpdate a project's allow-listed fields - name, description, externalMetadata, and the production fields phase, shootDate and timeBudgetMinutes. Send at least one of them - a call with only the id (or only argument names this tool does not define, which are dropped) is refused before it runs and saves nothing. Returns the updated project with its active folders.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The project's UUID. |
name | string | |
description | string | null | Pass null to clear the description. |
externalMetadata | object | null | Arbitrary JSON object for integration data; namespace by integration, e.g. {"crm":{"accountId":"A-123"}}. Pass null to clear. |
phase | enum | null | Production phase: preProduction | production | post | delivered. null clears it.One of: preProduction, production, post, delivered |
shootDate | string | null | Planned shoot day, YYYY-MM-DD. null clears it. |
timeBudgetMinutes | integer | null | Time the contract allows the project, in MINUTES (15 days × 8 h = 7200). null clears it. |
idrequireduuidThe project's UUID.namestringdescriptionstring | nullPass null to clear the description.externalMetadataobject | nullArbitrary JSON object for integration data; namespace by integration, e.g. {"crm":{"accountId":"A-123"}}. Pass null to clear.phaseenum | nullProduction phase: preProduction | production | post | delivered. null clears it.One of: preProduction, production, post, deliveredshootDatestring | nullPlanned shoot day, YYYY-MM-DD. null clears it.timeBudgetMinutesinteger | nullTime the contract allows the project, in MINUTES (15 days × 8 h = 7200). null clears it.{
"id": "00000000-0000-0000-0000-000000000000",
"name": "example"
}Key scope: write:projects
abort_file_uploadAbort a file uploadWriteDeletesDiscard an in-progress upload: the parts already stored are freed and the file record is marked failed. Use it when the part PUTs cannot be made at all - for example your network blocks *.r2.cloudflarestorage.com - so a half-started upload does not linger against the storage plan. Refused (409) once the upload has completed - trash the file instead. Safe to repeat and safe to call after a failed upload: if nothing is in progress under that id it simply succeeds (204).
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The upload id returned by start_file_upload (also the File id). |
idrequireduuidThe upload id returned by start_file_upload (also the File id).{
"id": "00000000-0000-0000-0000-000000000000"
}Key scope: write:files
cleanup_storageClean up storageWriteDeletesMove storage into Trash to free space - NOTHING is deleted permanently (items stay in Trash 30 days and are restorable there). Two modes, exactly one per call: `rule` runs ONE batch (≤500 items) of a cleanup rule and returns remainingCount (repeat until 0); `selection` trashes explicit file/brandFile/task ids from list_storage_items (a task's CURRENT file can only be reclaimed by trashing the whole task via taskIds). Set dryRun=true first to preview counts and freed bytes without changing anything. DESTRUCTIVE: everything it moves leaves the client's view at once. Always dry-run first and show the user the counts before running for real. Requires a write-scope key.
| Name | Type | Details |
|---|---|---|
selection | object | Explicit ids to trash. Provide either this or `rule`. |
rule | object | Cleanup rule to run one batch of. Provide either this or `selection`. |
dryRun | boolean | Preview only - validate and count, mutate nothing. |
selectionobjectExplicit ids to trash. Provide either this or `rule`.ruleobjectCleanup rule to run one batch of. Provide either this or `selection`.dryRunbooleanPreview only - validate and count, mutate nothing.{}Key scope: write:files
complete_file_uploadComplete a file uploadWriteFinish a multipart upload once every part has been PUT. Pass the {partNumber, etag} pairs from the PUT responses. taskId attaches the file as that task's new version (fires version automations, notifies reviewers, lands in the Activity Log) - a regular task or a variant, never a kind=parent task, which holds no file of its own; with target taskFiles it is filed on the task's Project files tab instead, and an upload started with target projectFile completes as the task's Current project file backup; folderId files a project upload into a folder (never together with taskId). Returns the same UploadedFile shape as upload_file_from_url. Safe to retry: an already-completed upload returns 200 with the same result. If the listed parts hold fewer bytes than the size given to start_file_upload, it is refused with 400 (reason parts_short_of_declared_size, missingPartNumbers) and nothing is completed: send the missing part and complete again, or - when every byte was sent and the declared size was wrong - abort_file_upload and start again with the exact size. If storage refuses the part list, a wrong etag alone is put right from storage's own record and the upload completes; otherwise it is refused with 400 (reason part_list_refused) naming the parts that are missing, not the same size as the others, or listed with the wrong etag, and nothing is completed.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The upload id returned by start_file_upload (also the File id). |
partsrequired | object[] | Every uploaded part, in any order. |
taskId | uuid | Attach as this task's new version. The TASK's own id (from list_tasks or create_task), all 36 characters copied exactly as returned - never retyped from memory, never shortened or padded, and never a project, brand or folder id. Keep it in full when you note it for a later call or a later run, never cut to its first characters and padded back out; a 404 that names a task's full id means retry with exactly that id. A regular task or a variant - never a task with kind=parent, which holds no file (use one of its variants: list_tasks kind=variant, matching parentTaskId). Never an HQ item id (attach a file to an HQ item with upload_hq_item_file_from_url) or a file id. |
folderId | uuid | Project-file folder (omit with taskId). A folder of the upload's own project: folders[].id from list_project_raw_files, all 36 characters exactly as returned - never shortened or padded, and never a folder from list_brand_raw_files, another project's folder, a sidebar folder or a sub-folder of tasks. To put the file in a brand header's or another project's folder, upload it without folderId, then move_file with brandId or projectId and that folderId. |
target | enum | Where on the task (taskId) the file goes. version (the default) = the task's new version, the deliverable. taskFiles = the task's Project files tab, 'Files on this task' - any file; it is also kept in the project's Raw files in a folder named after the task, and the team is told as for any raw upload. projectFile = that tab's team-only 'Project file' backup - ONLY a Premiere .prproj, After Effects .aep, Resolve .drp/.drt, Photoshop .psd, Illustrator .ai or a .zip of the project folder, on a media task; it becomes the Current backup, keeps its own name, notifies nobody, and carries no footage list (that is read only by the app's own uploader). Needs taskId.One of: version, taskFiles, projectFile |
idrequireduuidThe upload id returned by start_file_upload (also the File id).partsrequiredobject[]Every uploaded part, in any order.taskIduuidAttach as this task's new version. The TASK's own id (from list_tasks or create_task), all 36 characters copied exactly as returned - never retyped from memory, never shortened or padded, and never a project, brand or folder id. Keep it in full when you note it for a later call or a later run, never cut to its first characters and padded back out; a 404 that names a task's full id means retry with exactly that id. A regular task or a variant - never a task with kind=parent, which holds no file (use one of its variants: list_tasks kind=variant, matching parentTaskId). Never an HQ item id (attach a file to an HQ item with upload_hq_item_file_from_url) or a file id.folderIduuidProject-file folder (omit with taskId). A folder of the upload's own project: folders[].id from list_project_raw_files, all 36 characters exactly as returned - never shortened or padded, and never a folder from list_brand_raw_files, another project's folder, a sidebar folder or a sub-folder of tasks. To put the file in a brand header's or another project's folder, upload it without folderId, then move_file with brandId or projectId and that folderId.targetenumWhere on the task (taskId) the file goes. version (the default) = the task's new version, the deliverable. taskFiles = the task's Project files tab, 'Files on this task' - any file; it is also kept in the project's Raw files in a folder named after the task, and the team is told as for any raw upload. projectFile = that tab's team-only 'Project file' backup - ONLY a Premiere .prproj, After Effects .aep, Resolve .drp/.drt, Photoshop .psd, Illustrator .ai or a .zip of the project folder, on a media task; it becomes the Current backup, keeps its own name, notifies nobody, and carries no footage list (that is read only by the app's own uploader). Needs taskId.One of: version, taskFiles, projectFile{
"id": "00000000-0000-0000-0000-000000000000",
"parts": [
{
"partNumber": 1,
"etag": "example"
}
]
}Key scope: write:files
create_file_selectCreate a select on a raw fileWriteLog a footage select on a RAW video or audio file: a range (startSeconds, endSeconds - read the times from get_file_transcript called with includeSegments:true, its segments[].start / end) with a title and notes, optionally sent to a task of the same project (taskId) so the editor finds it on the task's Plan → Media. It shows in the app's Selects panel like one made there. An omitted script is filled with the words the transcript has in that range. Answers the new select (its url opens the clip at that moment). Silent - no one is notified. Not idempotent: a retry makes a second select, so create selects one at a time and list_file_selects before retrying. Selects exist only on a project's RAW video or audio files (files[].id from list_project_raw_files) - a brand file, a task's file, a PDF or an image answers 409 selects_unavailable.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The raw video or audio file's UUID - files[].id from list_project_raw_files. |
startSecondsrequired | number | Where the select starts, seconds into the file (e.g. 12 or 12.5). |
titlerequired | string | What the moment is, e.g. "Opening hook" (1–200 characters). |
endSeconds | number | null | Where it ends - later than startSeconds. Omit or null for a point select ("from 0:12"). |
notes | string | Notes for the editor (up to 4000 characters). |
script | string | The words spoken in the range. Omit to fill it from the transcript. |
taskId | uuid | null | A task of the SAME project to send the select to (its Plan → Media then lists it) - never a parent task: use one of its variants. null takes it off its task. |
idrequireduuidThe raw video or audio file's UUID - files[].id from list_project_raw_files.startSecondsrequirednumberWhere the select starts, seconds into the file (e.g. 12 or 12.5).titlerequiredstringWhat the moment is, e.g. "Opening hook" (1–200 characters).endSecondsnumber | nullWhere it ends - later than startSeconds. Omit or null for a point select ("from 0:12").notesstringNotes for the editor (up to 4000 characters).scriptstringThe words spoken in the range. Omit to fill it from the transcript.taskIduuid | nullA task of the SAME project to send the select to (its Plan → Media then lists it) - never a parent task: use one of its variants. null takes it off its task.{
"id": "8e1d4b7a-2c9f-4a3e-b5d0-6f7a9c2e1b84",
"startSeconds": 12,
"endSeconds": 31.5,
"title": "Opening hook",
"notes": "Use the B-cam for the reaction.",
"taskId": "9b3e7a41-5c2d-4f8e-a6b0-1d7c3e9f2a64"
}Key scope: write:files
create_raw_folderCreate a raw files folderWriteCreate a folder in a project's Raw files & Assets (projectId) or a brand header's (brandId) - exactly one of the two - at the top level, or inside another folder of the same project / brand (parentId). Then put files in it with move_file (its folderId). A folder with the same name (any letter case) already at that level is answered as it is with created: false and no second one is made, so calling it again is safe. Folders made here are the same as folders made in the app: everyone who can see the project's or brand's raw files sees them. On a brand with no Brand assets card the call adds it (rawFilesCard.added: true) - tell the user. Silent - no one is notified. Create folders one at a time.
| Name | Type | Details |
|---|---|---|
namerequired | string | The folder's name, e.g. "B-roll" (1–255 characters). |
projectId | uuid | Make it in this project's Raw files & Assets (from list_projects). Never together with brandId. |
brandId | uuid | Make it in this brand header's Raw files & Assets (a brand id from list_brands). |
parentId | uuid | null | A folder of the same project / brand to make it inside (folders[].id from list_project_raw_files / list_brand_raw_files). Omit or null = the top level. |
namerequiredstringThe folder's name, e.g. "B-roll" (1–255 characters).projectIduuidMake it in this project's Raw files & Assets (from list_projects). Never together with brandId.brandIduuidMake it in this brand header's Raw files & Assets (a brand id from list_brands).parentIduuid | nullA folder of the same project / brand to make it inside (folders[].id from list_project_raw_files / list_brand_raw_files). Omit or null = the top level.{
"name": "example"
}Key scope: write:files
delete_file_selectDelete a selectWriteDeletesDelete a footage select for good - it leaves the clip's Selects panel and the task's Plan → Media. The file and the task are untouched. Silent - no one is notified. Confirm with the user before deleting a select someone made in the app. Deletes share one budget across the whole API: about 20 per minute per key, and daily ceilings per key and per workspace - over budget returns 429 with a Retry-After header. A 429 means STOP and tell the user; never wait-and-retry your way through a batch.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The raw video or audio file's UUID - files[].id from list_project_raw_files. |
selectIdrequired | uuid | The select's UUID - selects[].id from list_file_selects. |
idrequireduuidThe raw video or audio file's UUID - files[].id from list_project_raw_files.selectIdrequireduuidThe select's UUID - selects[].id from list_file_selects.{
"id": "00000000-0000-0000-0000-000000000000",
"selectId": "00000000-0000-0000-0000-000000000000"
}Key scope: write:files
get_file_download_urlGet file download URLReadGet a presigned download URL for a file, valid for 7 days (expiresAt says exactly when; fetch a fresh one after that, never store it as a permanent link). id is a task's or project's file, or a brand file - a brand header's Brand assets (files[].id from get_brand_header or list_brand_raw_files). type picks the rendition: original (default), preview, thumbnail, or variant (an MP4 of a transcoded height - height is REQUIRED with type=variant and must be one of the file's media.availableHeights, e.g. 480, 1080, 2160). A variant's MP4 is made on first request: the call then returns status 'generating' with retryAfterSeconds - wait that long and call again until it returns a url. Making a NEW copy needs the workspace setting On-demand proxy generation (Settings → Workspace → Media & Workflow → Proxies, off by default): while it is off, a height with no copy yet returns available: false instead - then use type=original (or a height already in media.variants) and tell the user. A brand file serves only the MP4 copies it already has (never 'generating'). Set downloadName to force a browser download under that filename.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The file's UUID - a task's or project's file, or a brand file (files[].id of get_brand_header). |
type | enum | One of: original, preview, thumbnail, variant |
height | integer | Required when type=variant: the variant height in pixels. |
downloadName | string |
idrequireduuidThe file's UUID - a task's or project's file, or a brand file (files[].id of get_brand_header).typeenumOne of: original, preview, thumbnail, variantheightintegerRequired when type=variant: the variant height in pixels.downloadNamestring{
"id": "00000000-0000-0000-0000-000000000000"
}Key scope: read:files
get_file_framesSee a video's framesReadLook at a VIDEO file: answers still frames of it as images you can see, evenly spread over its length, plus one text block giving each frame's second (frames[].seconds) and the file's name and durationSeconds. Use it to understand footage a transcript cannot describe - silent B-roll (transcriptStatus no_speech), drone shots, product shots - e.g. to sort a shoot's raw files into folders. count is 1–12 (default 6; fewer is faster). framesStatus: ready (the frames), processing (the video is still being processed - try again in a few minutes), unavailable (no saved frames - e.g. a video processed before frames existed: you get its one thumbnail instead, seconds null). Read-only and free. Not a video (a PDF, an image) → 409 not_video. Look at files one at a time.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The video file's UUID - files[].id from list_project_raw_files or list_brand_raw_files. |
count | integer | How many frames, 1–12 (default 6). |
idrequireduuidThe video file's UUID - files[].id from list_project_raw_files or list_brand_raw_files.countintegerHow many frames, 1–12 (default 6).{
"id": "00000000-0000-0000-0000-000000000000"
}Key scope: read:files
get_file_transcriptRead a raw file's transcriptReadRead the transcript of a RAW file (a project or brand raw file id from list_project_raw_files / list_brand_raw_files) as plain text, with the same statuses as get_task_transcript: ready (text is set), none (never transcribed - start one with start_file_transcription), pending / extracting / processing (being made - call again in ~20s), no_speech, failed. Never starts a transcription. Use it to understand what each video says before writing briefs or tagging. For WHEN things are said: includeSegments:true adds segments [{ start, end, text }] - the timed lines the Transcript tab shows, in seconds (use them for timecoded quotes) - and includeWords:true adds words [{ text, start, end }], every word with its own timing. fromSeconds / toSeconds narrow both lists to a stretch of the video (text stays the whole transcript), and need one of the two. Words are long: on a video over about 5 minutes, ask for words a window of 5 minutes or less at a time.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The raw file's UUID - files[].id from list_project_raw_files or list_brand_raw_files. |
includeSegments | boolean | true = also return segments: each timed line with its start and end in seconds. |
includeWords | boolean | true = also return words: every word with its start and end in seconds. Use a window on long videos. |
fromSeconds | number | Only segments / words still being spoken at or after this second. Needs includeSegments or includeWords. |
toSeconds | number | Only segments / words that start before this second (more than fromSeconds). Needs includeSegments or includeWords. |
idrequireduuidThe raw file's UUID - files[].id from list_project_raw_files or list_brand_raw_files.includeSegmentsbooleantrue = also return segments: each timed line with its start and end in seconds.includeWordsbooleantrue = also return words: every word with its start and end in seconds. Use a window on long videos.fromSecondsnumberOnly segments / words still being spoken at or after this second. Needs includeSegments or includeWords.toSecondsnumberOnly segments / words that start before this second (more than fromSeconds). Needs includeSegments or includeWords.{
"id": "00000000-0000-0000-0000-000000000000"
}Key scope: read:files
get_storage_cleanup_suggestionsGet storage cleanup suggestionsReadRule-based cleanup picks with reclaimable byte totals: oldVersions (superseded versions of delivered tasks), approvedOldTasks, archivedTaskMedia, oldProjectRawFiles, largeStaleFiles. The synthetic `_total` row is the DISTINCT union across rules - quote THAT as the reclaimable figure (rules overlap; summing rows double-counts). Feed a ruleKey into cleanup_storage to act on one.
| Name | Type | Details |
|---|---|---|
keepVersions | integer | oldVersions rule: superseded versions to keep per task (default 0). |
ageMonths | integer | Age cutoff (default 6). |
largeBytes | integer | largeStaleFiles threshold in bytes (default 1000000000 = 1 GB). |
keepVersionsintegeroldVersions rule: superseded versions to keep per task (default 0).ageMonthsintegerAge cutoff (default 6).largeBytesintegerlargeStaleFiles threshold in bytes (default 1000000000 = 1 GB).{}Key scope: read:files
get_storage_overviewGet storage overviewReadRead the workspace's storage picture: bytes used vs the plan's capacity plus the per-brand / per-project byte breakdown split by category - deliverableCurrent (tasks' current files), versionOld (superseded task versions, usually the biggest reclaimable chunk), raw (project raw files & assets), headerAttachment, brandFile, commentAttachment, and trashed (already in Trash, purged 30 days after trashing). Matches the in-app Storage page's figures.
No inputs.
{}Key scope: read:files
list_file_selectsList a raw file's selectsReadList the footage selects logged on a RAW video or audio file - the time ranges the app's Selects panel shows on that clip, in timecode order. Each select: id, fileId, startSeconds, endSeconds (null = a point select), title, notes, script (the words spoken in the range), taskId and taskTitle (the task it was sent to, or null), angle, createdAt, updatedAt and url - the app link that opens the clip playing at that moment (put it in a brief). Selects exist only on a project's RAW video or audio files (files[].id from list_project_raw_files) - a brand file, a task's file, a PDF or an image answers 409 selects_unavailable.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The raw video or audio file's UUID - files[].id from list_project_raw_files. |
idrequireduuidThe raw video or audio file's UUID - files[].id from list_project_raw_files.{
"id": "00000000-0000-0000-0000-000000000000"
}Key scope: read:files
list_storage_itemsList storage itemsReadList stored files (project + brand) with size, media metadata (duration, fps, width/height), storage category, and task lifecycle context (status, approvedAt/postedAt/archivedAt). Filter by brandId, projectId, category (comma-separated), mimeClass (video|image|audio|doc|other), size and date cutoffs; sort defaults to size_desc (heaviest first). Keyset-paginated via the opaque `cursor`; totalCount/totalBytes describe the FULL filtered set (first page only). Item ids feed cleanup_storage's explicit selection.
| Name | Type | Details |
|---|---|---|
brandId | uuid | Restrict to one brand. |
projectId | uuid | Restrict to one project. |
category | string | Comma-separated categories: deliverableCurrent, versionOld, raw, headerAttachment, brandFile. |
mimeClass | enum | One of: video, image, audio, doc, other |
search | string | Case-insensitive file-name match. |
minSize | integer | Minimum total bytes (file + proxies). |
createdBefore | string | ISO date - file created before this. |
approvedBefore | string | ISO date - task approved before this. |
postedBefore | string | ISO date - task posted before this. |
archivedBefore | string | ISO date - task archived before this. |
taskStatus | string | Comma-separated task statusGroup values. |
sort | string | size_desc (default), size_asc, created_desc/asc, name_asc/desc, duration_desc/asc, approved/posted/archived_desc/asc, brand/project_asc/desc. |
cursor | string | Opaque nextCursor from the previous page. |
limit | integer | Page size (default 100, max 200). |
brandIduuidRestrict to one brand.projectIduuidRestrict to one project.categorystringComma-separated categories: deliverableCurrent, versionOld, raw, headerAttachment, brandFile.mimeClassenumOne of: video, image, audio, doc, othersearchstringCase-insensitive file-name match.minSizeintegerMinimum total bytes (file + proxies).createdBeforestringISO date - file created before this.approvedBeforestringISO date - task approved before this.postedBeforestringISO date - task posted before this.archivedBeforestringISO date - task archived before this.taskStatusstringComma-separated task statusGroup values.sortstringsize_desc (default), size_asc, created_desc/asc, name_asc/desc, duration_desc/asc, approved/posted/archived_desc/asc, brand/project_asc/desc.cursorstringOpaque nextCursor from the previous page.limitintegerPage size (default 100, max 200).{}Key scope: read:files
move_fileMove a raw fileWriteMove an existing RAW file (Raw files & assets) to another place: into a project (projectId), into a brand header's Raw files & assets (brandId), or only into a folder of the project or brand it is already in (folderId alone; null = its top level). Add folderId with projectId / brandId to land it in a folder there. The SAME file moves - same id, its comments, its transcript, its share link, its footage tags and AI tagging, and its Liked mark come along; nothing is downloaded, re-uploaded or copied, and storage is not counted twice. Get the file id from get_project_header or get_brand_header (files[].id) and send all 36 characters exactly as returned: an id that was shortened, padded or retyped names no file and is refused (404 not_found) with nothing moved. When one file of this workspace starts with the same 8 characters the error names its full id; otherwise get the id again from list_project_raw_files or list_brand_raw_files, and if that id is refused too, stop and tell the user. Task files - a deliverable or version (media.fileId from get_task), a task's project-file backup - are refused (409 task_file): download and re-upload those. A file used as a post cover, a published post's file, or in a link column / task hand-off moves only between projects or between brands, never across (409 file_in_use); so does a file AI footage tagging is working on right now, until the tagging finishes. A file in the trash, or one still uploading or having its preview made (a video's preview is made right after upload and can take several minutes, longer after a big upload), is refused (409 not_movable) and nothing moves: move the other files first, try it ONCE more a few minutes later, and if it is still refused stop and tell the user - never retry in a loop. A name already used at the destination gets a " (1)" suffix (renamed: true). The file shows in the app through the destination header's Raw footage card (Brand assets on a brand): when that header has none (a brand starts without one) the move adds it (rawFilesCard.added: true), and a card an admin hid is shown again (rawFilesCard.restored: true) - tell the user when either happened. Who can see the file follows the destination (a brand's guests see its brand files). Silent - no one is notified. Move files one at a time, in sequence - never in parallel.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The raw file's UUID, all 36 characters exactly as returned - files[].id from get_project_header, get_brand_header, list_project_raw_files or list_brand_raw_files. |
projectId | uuid | Move it into this project's Raw files & assets. Never together with brandId. |
brandId | uuid | Move it into this brand header's Raw files & assets (a brand id from list_brands). |
folderId | uuid | null | A folder of the destination (or, alone, of the file's current project / brand). null or omitted with projectId / brandId = the top level. |
idrequireduuidThe raw file's UUID, all 36 characters exactly as returned - files[].id from get_project_header, get_brand_header, list_project_raw_files or list_brand_raw_files.projectIduuidMove it into this project's Raw files & assets. Never together with brandId.brandIduuidMove it into this brand header's Raw files & assets (a brand id from list_brands).folderIduuid | nullA folder of the destination (or, alone, of the file's current project / brand). null or omitted with projectId / brandId = the top level.{
"id": "00000000-0000-0000-0000-000000000000"
}Key scope: write:files
refresh_upload_part_urlsRefresh upload part URLsWriteRe-presign PUT URLs for parts that have not been sent yet (up to 100 per call). Part URLs expire 6 hours after start_file_upload; a large file on a slow link needs fresh ones. The fresh URLs point at the same Cloudflare R2 host (*.r2.cloudflarestorage.com), not at timeliner.io - re-presigning does not help a caller whose network blocks that host.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The upload id returned by start_file_upload (also the File id). |
partNumbersrequired | integer[] |
idrequireduuidThe upload id returned by start_file_upload (also the File id).partNumbersrequiredinteger[]{
"id": "00000000-0000-0000-0000-000000000000",
"partNumbers": [
1
]
}Key scope: write:files
start_file_transcriptionStart a raw file's transcriptionWriteStart the transcription of a RAW video or audio file, under the same plan and credit rules as the app's Transcribe button (it spends the workspace's credits). Answers status pending / extracting with started: true; a file that already has a transcript (or one being made) starts nothing and answers its status with started: false - so calling it twice is safe. A 402 out_of_credits means the workspace has run out of credits: relay its message and stop. On a video that is still being processed the credits are checked only once processing ends, so there it answers extracting and an out-of-credits refusal shows up later as status failed - the transcript's message (shown in the app) is the out-of-credits sentence, and calling this tool again does not re-run it: tell the user a workspace admin can see the options, and the date the workspace's credits reset, under Credits in Plan & Billing (get_ai_credits answers that date as resetsAt - never say the 1st), and then press Retry on the file's transcript. Then poll get_file_transcript every ~20s until status is ready. Only start the files you actually need to read, one at a time.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The raw file's UUID - files[].id from list_project_raw_files or list_brand_raw_files. |
idrequireduuidThe raw file's UUID - files[].id from list_project_raw_files or list_brand_raw_files.{
"id": "00000000-0000-0000-0000-000000000000"
}Key scope: write:files
start_file_uploadStart a file uploadWriteBegin a multipart upload for a file the agent can read LOCALLY (a render on this machine, a file in a watched folder) - the counterpart to upload_file_from_url for bytes that are not on a public URL. Pass projectId for a raw project file or taskId for a task's new version (the project is derived) - with taskId, target taskFiles or projectFile puts it on the task's Project files tab instead (send the same taskId and target to complete_file_upload). One of the two is required: a call with neither is refused before anything starts. A project-only file type - an editing project, design source, camera raw, archive, font or XML timeline (.prproj, .aep, .psd, .ai, .zip, .r3d, .xml and the like) - can never be a version: with taskId send target projectFile for a file the backup takes (.prproj, .aep, .drp, .drt, .psd, .ai or a .zip) or taskFiles for any other, or send projectId; sent as a version it is refused before anything starts. taskId must be a regular task or a variant, never a parent: a task whose kind is "parent" (get_task and list_tasks return kind) is a container with no file of its own - each of its variants carries its own. To upload to one, call list_tasks with that projectId and kind=variant and use a variant whose parentTaskId is the parent's id (none yet → create_task with kind=variant and that parentTaskId). A parent's id is refused with 400. Returns presigned PUT URLs (valid 6h) and partBytes: PUT each part's bytes to its url - every part except the last must be EXACTLY partBytes long, cut back to back (part N is bytes (N-1)*partBytes up to N*partBytes, the last part the rest) - record the ETag response header of each PUT exactly as returned, then call complete_file_upload with those {partNumber, etag} pairs. NETWORK REQUIREMENT: those part URLs point at Cloudflare R2 (https://<bucket>.<account>.r2.cloudflarestorage.com), NOT at timeliner.io - the app never proxies bytes - so that host must be reachable from wherever you run. If you are sandboxed behind an outbound allowlist, get *.r2.cloudflarestorage.com allowed BEFORE calling this, or this call and complete_file_upload will both succeed while every PUT fails with your proxy's error; if that happens, call abort_file_upload and ask the user to allow the host or to upload the file in the app. Omit parts to let the server pick a count from size; a parts count that cannot give every part but the last the same size of at least 5 MiB is refused before anything starts. The file counts toward the workspace's storage plan like any upload. A file type Timeliner does not accept is refused before anything starts (400 'File type not allowed.'); the message names what was read - a name with no extension needs mimeType.
| Name | Type | Details |
|---|---|---|
fileNamerequired | string | File name with its real extension, e.g. hero_cut_v3.mp4 - the type is read from it. |
sizerequired | integer | The file's EXACT size in bytes, as the file system reports it (os.path.getsize, `stat -c %s`, `wc -c <`) - never a rounded or human figure like 143 MB = 143000000. complete_file_upload refuses an upload whose parts hold fewer bytes than this. |
mimeType | string | MIME type; inferred from the name's extension when omitted, so required when the name has none. |
parts | integer | How many parts you will PUT (1-10000). Omit to use the server's recommendation. Either way, cut every part but the last at exactly the partBytes the answer returns. |
projectId | uuid | Destination project for a raw project file. The PROJECT's own id (from list_projects or create_project), all 36 characters exactly as returned - never shortened or padded, and never a task, brand, folder, HQ item or file id. A task's new version goes in taskId instead; a folder inside the project's files goes in folderId (in the same call for upload_file_from_url; on complete_file_upload for start_file_upload). |
taskId | uuid | Destination task when the file is its new version. The TASK's own id (from list_tasks or create_task), all 36 characters copied exactly as returned - never retyped from memory, never shortened or padded, and never a project, brand or folder id. Keep it in full when you note it for a later call or a later run, never cut to its first characters and padded back out; a 404 that names a task's full id means retry with exactly that id. A regular task or a variant - never a task with kind=parent, which holds no file (use one of its variants: list_tasks kind=variant, matching parentTaskId). Never an HQ item id (attach a file to an HQ item with upload_hq_item_file_from_url) or a file id. |
target | enum | Where on the task (taskId) the file goes. version (the default) = the task's new version, the deliverable. taskFiles = the task's Project files tab, 'Files on this task' - any file; it is also kept in the project's Raw files in a folder named after the task, and the team is told as for any raw upload. projectFile = that tab's team-only 'Project file' backup - ONLY a Premiere .prproj, After Effects .aep, Resolve .drp/.drt, Photoshop .psd, Illustrator .ai or a .zip of the project folder, on a media task; it becomes the Current backup, keeps its own name, notifies nobody, and carries no footage list (that is read only by the app's own uploader). Needs taskId.One of: version, taskFiles, projectFile |
fileNamerequiredstringFile name with its real extension, e.g. hero_cut_v3.mp4 - the type is read from it.sizerequiredintegerThe file's EXACT size in bytes, as the file system reports it (os.path.getsize, `stat -c %s`, `wc -c <`) - never a rounded or human figure like 143 MB = 143000000. complete_file_upload refuses an upload whose parts hold fewer bytes than this.mimeTypestringMIME type; inferred from the name's extension when omitted, so required when the name has none.partsintegerHow many parts you will PUT (1-10000). Omit to use the server's recommendation. Either way, cut every part but the last at exactly the partBytes the answer returns.projectIduuidDestination project for a raw project file. The PROJECT's own id (from list_projects or create_project), all 36 characters exactly as returned - never shortened or padded, and never a task, brand, folder, HQ item or file id. A task's new version goes in taskId instead; a folder inside the project's files goes in folderId (in the same call for upload_file_from_url; on complete_file_upload for start_file_upload).taskIduuidDestination task when the file is its new version. The TASK's own id (from list_tasks or create_task), all 36 characters copied exactly as returned - never retyped from memory, never shortened or padded, and never a project, brand or folder id. Keep it in full when you note it for a later call or a later run, never cut to its first characters and padded back out; a 404 that names a task's full id means retry with exactly that id. A regular task or a variant - never a task with kind=parent, which holds no file (use one of its variants: list_tasks kind=variant, matching parentTaskId). Never an HQ item id (attach a file to an HQ item with upload_hq_item_file_from_url) or a file id.targetenumWhere on the task (taskId) the file goes. version (the default) = the task's new version, the deliverable. taskFiles = the task's Project files tab, 'Files on this task' - any file; it is also kept in the project's Raw files in a folder named after the task, and the team is told as for any raw upload. projectFile = that tab's team-only 'Project file' backup - ONLY a Premiere .prproj, After Effects .aep, Resolve .drp/.drt, Photoshop .psd, Illustrator .ai or a .zip of the project folder, on a media task; it becomes the Current backup, keeps its own name, notifies nobody, and carries no footage list (that is read only by the app's own uploader). Needs taskId.One of: version, taskFiles, projectFile{
"fileName": "example",
"size": 1,
"projectId": "00000000-0000-0000-0000-000000000000"
}Key scope: write:files
update_file_selectEdit a selectWriteEdit a footage select (selectId from list_file_selects or create_file_select) on its raw file: its range, title, notes, script or task (taskId; null takes it off its task). Only the fields you send change; the camera angles someone linked in the app are kept. Silent - no one is notified. Answers the select.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The raw video or audio file's UUID - files[].id from list_project_raw_files. |
selectIdrequired | uuid | The select's UUID - selects[].id from list_file_selects. |
startSeconds | number | A new start, seconds into the file. |
endSeconds | number | null | A new end, later than the start; null makes it a point select. |
title | string | A new title (1–200 characters). |
notes | string | New notes ("" clears them). |
script | string | A new script ("" clears it). |
taskId | uuid | null | A task of the SAME project to send the select to (its Plan → Media then lists it) - never a parent task: use one of its variants. null takes it off its task. |
idrequireduuidThe raw video or audio file's UUID - files[].id from list_project_raw_files.selectIdrequireduuidThe select's UUID - selects[].id from list_file_selects.startSecondsnumberA new start, seconds into the file.endSecondsnumber | nullA new end, later than the start; null makes it a point select.titlestringA new title (1–200 characters).notesstringNew notes ("" clears them).scriptstringA new script ("" clears it).taskIduuid | nullA task of the SAME project to send the select to (its Plan → Media then lists it) - never a parent task: use one of its variants. null takes it off its task.{
"id": "00000000-0000-0000-0000-000000000000",
"selectId": "00000000-0000-0000-0000-000000000000",
"startSeconds": 1
}Key scope: write:files
upload_file_from_urlUpload a file from a URLWritePut a file INTO Timeliner by giving us a publicly reachable http(s) URL - we download it server-side and attach it. Two destinations: pass taskId to attach it as the task's NEW VERSION (the deliverable - same as a person dragging the file onto the task: it becomes the current version, fires version automations, notifies reviewers, and lands in the Activity Log), or pass projectId alone to save it as a project raw file (optionally inside a folder with folderId). With taskId, target taskFiles or projectFile puts it on the task's Project files tab instead (see target; list it with list_task_project_files). One of taskId or projectId is required: a call with neither has nowhere to put the file, so it is refused before anything is downloaded. taskId must be a regular task or a variant, never a parent: a task whose kind is "parent" (get_task and list_tasks return kind) is a container with no file of its own - each of its variants carries its own. To upload to one, call list_tasks with that projectId and kind=variant and use a variant whose parentTaskId is the parent's id (none yet → create_task with kind=variant and that parentTaskId). A parent's id is refused with 400. To set a post's cover image: upload the image with projectId, then pass the returned id to update_post as thumbnailFileId. The file must be reachable without authentication and at most 100 MB - bigger deliverables (full 4K exports) still go through the app's own uploader. Private, internal and localhost addresses are refused. fileName overrides the name we infer from the URL; a name already used in the project gets a " (1)" suffix.
| Name | Type | Details |
|---|---|---|
urlrequired | url | Public http(s) URL of the file to pull in. No auth, max 100 MB. |
taskId | uuid | Attach as this task's new version (the deliverable). Omit for a project file. The TASK's own id (from list_tasks or create_task), all 36 characters copied exactly as returned - never retyped from memory, never shortened or padded, and never a project, brand or folder id. Keep it in full when you note it for a later call or a later run, never cut to its first characters and padded back out; a 404 that names a task's full id means retry with exactly that id. A regular task or a variant - never a task with kind=parent, which holds no file (use one of its variants: list_tasks kind=variant, matching parentTaskId). Never an HQ item id (attach a file to an HQ item with upload_hq_item_file_from_url) or a file id. |
projectId | uuid | Save as a raw file in this project. Required when taskId is omitted. The PROJECT's own id (from list_projects or create_project), all 36 characters exactly as returned - never shortened or padded, and never a task, brand, folder, HQ item or file id. A task's new version goes in taskId instead; a folder inside the project's files goes in folderId (in the same call for upload_file_from_url; on complete_file_upload for start_file_upload). |
folderId | uuid | Optional project folder for the file. Project-file uploads only. A folder of the upload's own project: folders[].id from list_project_raw_files, all 36 characters exactly as returned - never shortened or padded, and never a folder from list_brand_raw_files, another project's folder, a sidebar folder or a sub-folder of tasks. To put the file in a brand header's or another project's folder, upload it without folderId, then move_file with brandId or projectId and that folderId. |
fileName | string | Override the stored filename (include the extension). |
target | enum | Where on the task (taskId) the file goes. version (the default) = the task's new version, the deliverable. taskFiles = the task's Project files tab, 'Files on this task' - any file; it is also kept in the project's Raw files in a folder named after the task, and the team is told as for any raw upload. projectFile = that tab's team-only 'Project file' backup - ONLY a Premiere .prproj, After Effects .aep, Resolve .drp/.drt, Photoshop .psd, Illustrator .ai or a .zip of the project folder, on a media task; it becomes the Current backup, keeps its own name, notifies nobody, and carries no footage list (that is read only by the app's own uploader). Needs taskId.One of: version, taskFiles, projectFile |
urlrequiredurlPublic http(s) URL of the file to pull in. No auth, max 100 MB.taskIduuidAttach as this task's new version (the deliverable). Omit for a project file. The TASK's own id (from list_tasks or create_task), all 36 characters copied exactly as returned - never retyped from memory, never shortened or padded, and never a project, brand or folder id. Keep it in full when you note it for a later call or a later run, never cut to its first characters and padded back out; a 404 that names a task's full id means retry with exactly that id. A regular task or a variant - never a task with kind=parent, which holds no file (use one of its variants: list_tasks kind=variant, matching parentTaskId). Never an HQ item id (attach a file to an HQ item with upload_hq_item_file_from_url) or a file id.projectIduuidSave as a raw file in this project. Required when taskId is omitted. The PROJECT's own id (from list_projects or create_project), all 36 characters exactly as returned - never shortened or padded, and never a task, brand, folder, HQ item or file id. A task's new version goes in taskId instead; a folder inside the project's files goes in folderId (in the same call for upload_file_from_url; on complete_file_upload for start_file_upload).folderIduuidOptional project folder for the file. Project-file uploads only. A folder of the upload's own project: folders[].id from list_project_raw_files, all 36 characters exactly as returned - never shortened or padded, and never a folder from list_brand_raw_files, another project's folder, a sidebar folder or a sub-folder of tasks. To put the file in a brand header's or another project's folder, upload it without folderId, then move_file with brandId or projectId and that folderId.fileNamestringOverride the stored filename (include the extension).targetenumWhere on the task (taskId) the file goes. version (the default) = the task's new version, the deliverable. taskFiles = the task's Project files tab, 'Files on this task' - any file; it is also kept in the project's Raw files in a folder named after the task, and the team is told as for any raw upload. projectFile = that tab's team-only 'Project file' backup - ONLY a Premiere .prproj, After Effects .aep, Resolve .drp/.drt, Photoshop .psd, Illustrator .ai or a .zip of the project folder, on a media task; it becomes the Current backup, keeps its own name, notifies nobody, and carries no footage list (that is read only by the app's own uploader). Needs taskId.One of: version, taskFiles, projectFile{
"url": "https://files.example.com/exports/launch-reel-03-v2.mp4",
"taskId": "9b3e7a41-5c2d-4f8e-a6b0-1d7c3e9f2a64",
"fileName": "launch-reel-03-v2.mp4"
}Key scope: write:files
cancel_post_thumbnailsCancel an AI thumbnail generationWriteStop a generation still rendering. Versions not back yet are not charged; finished ones are kept. 409 notLive when it already finished.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The post's task UUID (a post is keyed by its task - same id list_posts filters by). |
generationIdrequired | uuid | A generation id from generate_post_thumbnails or list_post_thumbnails. |
idrequireduuidThe post's task UUID (a post is keyed by its task - same id list_posts filters by).generationIdrequireduuidA generation id from generate_post_thumbnails or list_post_thumbnails.{
"id": "00000000-0000-0000-0000-000000000000",
"generationId": "00000000-0000-0000-0000-000000000000"
}Key scope: write:posts
generate_post_captionGenerate AI caption, YouTube title, or tagsWriteSocial postingHave Timeliner's AI write a post's copy from the task's own material: the video's transcript (or its images for static/carousel posts) plus the brand's previously published posts for voice-matching and any dated corrections the team gave on earlier drafts. Set `field` to choose what to write - 'caption' (default, any network), 'title' (the YouTube video title), or 'tags' (the YouTube tag list); title and tags require platform:'youtube'. Captions are platform-tuned (short for TikTok/Reels, longer for IG feed, written in the source material's language, no emojis/hashtags by design. If the draft already has text in that field, the call REWRITES that text instead (same subject and facts, better wording) and reads nothing from the video, title or brief - no transcription, no transcribing status. Each generation is charged in credits by the AI work it used, only when it works - for a batch, loop task by task. If the video isn't transcribed yet, the call auto-starts transcription and returns {status:"transcribing", retryAfterSeconds} - retry the SAME call after that many seconds until it flips to {status:"ok"} (usually under a minute or two). {status:"failed"} is terminal for the task's current material (reason: no_speech, transcript_failed, transcripts_unavailable, no_visuals, insufficient_content). reason:transcript_failed means an EARLIER transcription of this video failed; its message says why. Calling again unchanged will always fail the same way - pass retryTranscription:true ONCE to re-run the transcription (free - a task's video costs no credits) and get {status:"transcribing"} back, then poll as above. If it fails again with the same reason the video cannot be transcribed as it stands: stop calling, tell the user, and either replace the file or write the caption without a transcript. reason:ai_unavailable (HTTP 503) means Timeliner's AI is temporarily out of capacity: every call fails the same way until it recovers, so stop calling, tell the user, and try again later. Each caption spends the workspace's credits (only a usable one is charged). reason:out_of_credits (HTTP 402) means the workspace is out of credits for the caption itself (the transcription it needs is free): nothing ran - relay its message and stop calling until credits are available. Read the result from `text` (`caption` is a deprecated alias kept for older clients). apply:true saves the result into the post draft (the shared caption, `platform`'s override, or the YouTube options for title/tags) so the team sees it in the composer - same side effect as update_post: a caption change resets the client's caption approval. apply defaults to false (the copy is only returned). Never schedules or publishes anything. Fails 400 for title/tags without platform:'youtube' and 409 when apply:true targets an already-published post. Only a task whose list_tasks status is "active" can be captioned: a task in the Trash answers 404 with reason "task_trashed", and the API cannot restore it - tell the user to restore it from the app's Trash page, never retry it. On a workspace whose plan does not include social posting the call is refused before it runs and returns {"available": false, "reason": "planDoesNotIncludeSocialPosting"} - a final answer, not data and not a retryable error: relay it and stop calling this tool.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The post's task UUID (a post is keyed by its task - same id list_posts filters by). |
platform | enum | Write a caption tuned for this one network (saved as its override when apply:true). Omit for the shared caption used by every network.One of: facebook, instagram, linkedin, linkedinCompany, tiktok, youtube, threads, x |
field | enum | What to write. 'caption' (default) is the post body for any network. 'title' is the YouTube video title (written for search + click-through, max 100 chars). 'tags' is the YouTube tag list (comma-separated keywords). 'title' and 'tags' are YouTube-only - pass platform:'youtube' with them or the call fails 400. With apply:true they are saved into the draft's YouTube options, not into a caption.One of: caption, title, tags |
instructions | string | Optional steering: tone, angle, something to mention. |
apply | boolean | true = save the generated copy into the post draft. Default false (return only). |
retryTranscription | boolean | true = re-run a transcription that previously FAILED, instead of returning reason:transcript_failed (free - a task's video costs no credits). Default false. Use it once after a transcript_failed answer; if the retry fails the same way, the video is not transcribable - stop rather than looping. |
idrequireduuidThe post's task UUID (a post is keyed by its task - same id list_posts filters by).platformenumWrite a caption tuned for this one network (saved as its override when apply:true). Omit for the shared caption used by every network.One of: facebook, instagram, linkedin, linkedinCompany, tiktok, youtube, threads, xfieldenumWhat to write. 'caption' (default) is the post body for any network. 'title' is the YouTube video title (written for search + click-through, max 100 chars). 'tags' is the YouTube tag list (comma-separated keywords). 'title' and 'tags' are YouTube-only - pass platform:'youtube' with them or the call fails 400. With apply:true they are saved into the draft's YouTube options, not into a caption.One of: caption, title, tagsinstructionsstringOptional steering: tone, angle, something to mention.applybooleantrue = save the generated copy into the post draft. Default false (return only).retryTranscriptionbooleantrue = re-run a transcription that previously FAILED, instead of returning reason:transcript_failed (free - a task's video costs no credits). Default false. Use it once after a transcript_failed answer; if the retry fails the same way, the video is not transcribable - stop rather than looping.{
"id": "00000000-0000-0000-0000-000000000000"
}Key scope: write:posts
generate_post_thumbnailsGenerate AI thumbnails for a postWriteHave Timeliner's AI design 1–4 thumbnail versions for a video post from its transcript, frames, the brand's colors and thumbnail style, and (optionally) the brand's consented speakers' real faces. Spends the workspace's credits - quote_post_thumbnails first and confirm the price with the user; only versions that come back are charged. Returns {status:"generating", generationId} at once: call get_post_thumbnails with that id every ~5 seconds until status is ready, partial, failed or cancelled (usually 30–90 s). Then show the versions (each ready one has a signed imageUrl valid 10 minutes) and, on the user's choice, select_post_thumbnail. A 402 (out_of_credits) means nothing ran - relay it and stop. 422 likenessRefused: the instructions asked for a real person who is not one of the brand's consented speakers - never retry that wording. 422 insufficientContext: give hookText or instructions. Never for TikTok (its cover is a frame of the video). A 403 with code UPLOADS_PAUSED means the workspace's uploads are paused (its subscription isn't active): nothing was made or saved - relay it and stop. A 403 with code notAvailable or planDoesNotIncludeSocialPosting is final for this workspace: relay it and stop calling.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The post's task UUID (a post is keyed by its task - same id list_posts filters by). |
platform | enum | The network the cover is for - sets the default shape (YouTube 16:9, Shorts 9:16, Instagram 9:16 reels - pass instagramFormat feed for a 4:5 feed post - others 16:9).One of: youtube, instagram, facebook, linkedin |
aspectRatio | enum | One of: 16:9, 9:16, 1:1, 4:5 |
youtubeShorts | boolean | platform youtube: a Short (9:16). |
instagramFormat | enum | platform instagram: feed (4:5) or reels (9:16, the default).One of: feed, reels |
model | enum | Image model. Omit to let Timeliner choose (GPT models write on-image text best; Nano Banana models make every shape but are weaker at text - the words may come out misspelled).One of: gpt-image-2, gpt-image-2.6-flare, nano-banana-2, nano-banana-2.1, nano-banana-pro |
resolution | enum | One of: 1K, 2K, 4K |
quality | enum | GPT models only.One of: low, medium, high |
variants | integer | How many versions (default 2). Each version is charged. |
archetype | enum | Layout. Omit to let the AI pick one that fits the video.One of: faceBigText, beforeAfter, objectArrow, reactionScreenshot, versus, numberedList, tutorialProduct, podcastTwoFaces, curiosityGap, progression, cleanMinimal |
hookText | string | Text on the thumbnail - 4 words or fewer, never the video title. Drawn with every model, Nano Banana included. Omit: a GPT model suggests a short hook from the video; a Nano Banana model - the default without hookText - makes a thumbnail with no words. |
instructions | string | Free-text direction, e.g. 'speaker pointing at a laptop, warm background'. |
speakerIds | uuid[] | Consented speakers of the post's brand to show (list_brand_speakers). Without one the thumbnail shows no face. |
brandPalette | boolean | Use the brand kit's colors (default true). |
includeLogo | boolean |
idrequireduuidThe post's task UUID (a post is keyed by its task - same id list_posts filters by).platformenumThe network the cover is for - sets the default shape (YouTube 16:9, Shorts 9:16, Instagram 9:16 reels - pass instagramFormat feed for a 4:5 feed post - others 16:9).One of: youtube, instagram, facebook, linkedinaspectRatioenumOne of: 16:9, 9:16, 1:1, 4:5youtubeShortsbooleanplatform youtube: a Short (9:16).instagramFormatenumplatform instagram: feed (4:5) or reels (9:16, the default).One of: feed, reelsmodelenumImage model. Omit to let Timeliner choose (GPT models write on-image text best; Nano Banana models make every shape but are weaker at text - the words may come out misspelled).One of: gpt-image-2, gpt-image-2.6-flare, nano-banana-2, nano-banana-2.1, nano-banana-proresolutionenumOne of: 1K, 2K, 4KqualityenumGPT models only.One of: low, medium, highvariantsintegerHow many versions (default 2). Each version is charged.archetypeenumLayout. Omit to let the AI pick one that fits the video.One of: faceBigText, beforeAfter, objectArrow, reactionScreenshot, versus, numberedList, tutorialProduct, podcastTwoFaces, curiosityGap, progression, cleanMinimalhookTextstringText on the thumbnail - 4 words or fewer, never the video title. Drawn with every model, Nano Banana included. Omit: a GPT model suggests a short hook from the video; a Nano Banana model - the default without hookText - makes a thumbnail with no words.instructionsstringFree-text direction, e.g. 'speaker pointing at a laptop, warm background'.speakerIdsuuid[]Consented speakers of the post's brand to show (list_brand_speakers). Without one the thumbnail shows no face.brandPalettebooleanUse the brand kit's colors (default true).includeLogoboolean{
"id": "00000000-0000-0000-0000-000000000000"
}Key scope: write:posts
get_content_insightsGet content insights (what worked)ReadSocial postingLearn WHAT WORKED on social: the published posts that beat and trailed their platform's typical engagement rate, each joined with its hook (first caption line + what the video says in its first 8 seconds, from the transcript), a transcript excerpt (≤600 chars), duration, format and metrics - plus pattern findings (hook length, question hooks, duration, format, caption length, best weekday/hour vs the median), each with sampleSize and lowConfidence. engagementRate = (likes+comments)/views; relativeToMedian = that rate ÷ the platform's median (1.8 = 80% above typical). Only posts published ≥24 h ago with views are scored, and a platform needs ≥3 such posts. Pattern buckets: hookLength short|medium|long (≤8 / 9-15 / >15 words); questionHook question|statement; duration under15|15to30|30to60|60to180|over180 (seconds); captionLength short|medium|long (<100 / 100-300 / >300 chars); weekday 0-6 = Mon-Sun; hour 0-23 in timeZone. Say 'low confidence' whenever lowConfidence is true; never overstate a pattern. Defaults to the last 90 days; same filters as get_social_analytics. Posts imported from outside Timeliner (source:'external', taskId null) are ranked too - their hook is the caption and they never carry a transcript. YouTube is NEVER scored, ranked or compared with a typical rate (YouTube API Services policy): excludedPlatforms lists it, and platforms:['youtube'] returns postCount 0 - for YouTube use get_social_analytics youtube.channels, one channel at a time. On a workspace whose plan does not include social posting the call is refused before it runs and returns {"available": false, "reason": "planDoesNotIncludeSocialPosting"} - a final answer: relay it and stop.
| Name | Type | Details |
|---|---|---|
from | string | ISO window start (default: 90 days before `to`). |
to | string | ISO window end (default: now). |
brandId | uuid | Restrict to one brand/client. |
projectId | uuid | Restrict to one project. |
accountId | uuid | Restrict to one connected social account. |
platforms | enum[] | Restrict to these platforms.One of: facebook, instagram, linkedin, linkedinCompany, tiktok, youtube, threads, x |
timeZone | string | IANA zone for the weekday/hour patterns (default UTC - prefer the workspace's zone). |
fromstringISO window start (default: 90 days before `to`).tostringISO window end (default: now).brandIduuidRestrict to one brand/client.projectIduuidRestrict to one project.accountIduuidRestrict to one connected social account.platformsenum[]Restrict to these platforms.One of: facebook, instagram, linkedin, linkedinCompany, tiktok, youtube, threads, xtimeZonestringIANA zone for the weekday/hour patterns (default UTC - prefer the workspace's zone).{}Key scope: read:posts
get_hook_testRead an Instagram hook testReadSocial postingRead one hook test: each hook's value on the metric and gap to the best, its Instagram status and permalink, how far the measuring window is (windowStartsAt / windowEndsAt), and the winner once decided.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The hook test id - from list_hook_tests or get_post_hook_tests. |
idrequireduuidThe hook test id - from list_hook_tests or get_post_hook_tests.{
"id": "00000000-0000-0000-0000-000000000000"
}Key scope: read:posts
get_platform_guidanceGet official platform guidanceReadOfficial statements from the social platforms themselves (Instagram, Facebook, TikTok, YouTube, LinkedIn, X, Threads) on third-party scheduling & reach, original vs reposted content, trial reels, collaborators, audio, posting limits, required disclosures and API deprecations - newest first. Every item carries title, summary, sourceUrl + sourceTitle (always an official platform domain), publishedAt (the source's own date, may be null) and fetchedAt (when it was read). DEFAULT scope 'workspace' answers 'any platform changes I should know about?' for THIS workspace: only its connected networks (connectedPlatforms), each item's affects.accounts (handle, brandName) and affects.posts (its upcoming + last-30-days posts; postCount = all), developer / API notices left out (developerNoticesOmitted - Timeliner handles them), and accountsNeedingAttention = accounts whose connection expired or was revoked (the user must reconnect them). Answer per item with the account handles and affected post titles, or say none of their posts is affected; when `note` is set (nothing connected / nothing new for their networks) say exactly that - never a generic list. scope 'all' = every network's guidance (a network they have not connected, or the rules in general). ALWAYS cite title + URL + date when you use an item. If no item covers the question, say plainly that no official source settles it - never fill the gap with blog folklore. source:'seed' = the built-in verified set (no newer collection yet).
| Name | Type | Details |
|---|---|---|
scope | enum | workspace (default) = this workspace's connected networks with the accounts and posts each item affects; all = every network's guidance.One of: workspace, all |
platform | enum | Restrict to one platform.One of: instagram, facebook, tiktok, youtube, linkedin, x, threads, general |
topic | enum | Restrict to one topic.One of: thirdPartyScheduling, originality, trialReels, collaborators, audio, postingLimits, apiDeprecations, disclosures, other |
limit | integer | Items to return, 1-50 (default 20). |
scopeenumworkspace (default) = this workspace's connected networks with the accounts and posts each item affects; all = every network's guidance.One of: workspace, allplatformenumRestrict to one platform.One of: instagram, facebook, tiktok, youtube, linkedin, x, threads, generaltopicenumRestrict to one topic.One of: thirdPartyScheduling, originality, trialReels, collaborators, audio, postingLimits, apiDeprecations, disclosures, otherlimitintegerItems to return, 1-50 (default 20).{}Key scope: read:posts
get_post_coverSee a post's coverReadReturns, as an image you can look at, the cover ONE network of a post publishes from its own slot - the cover the team picked in the app for that network (its composer card or the Post tab's Change), TikTok's picked frame, or YouTube's selected thumbnail. Call it for a network whose list_posts entry has a non-null coverUrl. A network with no cover of its own (coverUrl null) answers 404 'Cover not found': it publishes the post's customThumbnail if set, else the video's own frame.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The post's task UUID (a post is keyed by its task - same id list_posts filters by). |
networkrequired | enum | The network whose cover to show - the `platform` of one of the post's networks.One of: instagram, facebook, linkedin, linkedinCompany, tiktok, youtube |
idrequireduuidThe post's task UUID (a post is keyed by its task - same id list_posts filters by).networkrequiredenumThe network whose cover to show - the `platform` of one of the post's networks.One of: instagram, facebook, linkedin, linkedinCompany, tiktok, youtube{
"id": "00000000-0000-0000-0000-000000000000",
"network": "instagram"
}Key scope: read:posts
get_post_hook_testsWhat a hook test on a post can useReadSocial postingFor a parent task (or one of its variants): its video variants with why each can't be a hook (blockedReason null = it can), the brand's connected Instagram accounts, the workspace's default rule, and the post's last tests. Call this before start_hook_test.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The parent task (kind=parent) or one of its variants. |
idrequireduuidThe parent task (kind=parent) or one of its variants.{
"id": "00000000-0000-0000-0000-000000000000"
}Key scope: read:posts
get_post_thumbnailsCheck an AI thumbnail generationReadOne generation's state and versions. While status is queued / directing / generating each call moves it forward - poll every ~5 s. Versions: state rendering | ready | failed | cancelled; a failed version is not charged. A version whose purgedAt is set had its image removed after the workspace's subscription ended: imageUrl and previewUrl are null and it can't be used (it can come back if the workspace pays again in time).
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The post's task UUID (a post is keyed by its task - same id list_posts filters by). |
generationIdrequired | uuid | A generation id from generate_post_thumbnails or list_post_thumbnails. |
idrequireduuidThe post's task UUID (a post is keyed by its task - same id list_posts filters by).generationIdrequireduuidA generation id from generate_post_thumbnails or list_post_thumbnails.{
"id": "00000000-0000-0000-0000-000000000000",
"generationId": "00000000-0000-0000-0000-000000000000"
}Key scope: read:posts
get_trial_reel_analyticsTrial reels and hook tests analyticsReadSocial postingInstagram trial reels in a window (from/to, default the last 30 days; brandId): how many went live and their latest views, and the window's hook tests - running, decided, with a clear winner, winners shared to followers, the winner's average lead over the runner-up - plus the most recent tests.
| Name | Type | Details |
|---|---|---|
from | string | ISO date-time - window start. |
to | string | ISO date-time - window end. |
brandId | uuid | Only this brand - from list_brands. |
fromstringISO date-time - window start.tostringISO date-time - window end.brandIduuidOnly this brand - from list_brands.{}Key scope: read:posts
get_trial_repostRead a post's Repost-as-trial ruleReadSocial postingRead a post's "Repost as trial" rule (make a trial-reel copy of a published Instagram Reel as a draft every N days, or once it passes X views), whether the post can carry one, and - on a copy the rule made - which edits it still needs before it can be scheduled.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The post's task id. |
idrequireduuidThe post's task id.{
"id": "00000000-0000-0000-0000-000000000000"
}Key scope: read:posts
list_channelsList social channelsReadThe connected-vs-manual channel map, per brand - use it BEFORE scheduling to tell the user which platforms will auto-post and which they'll have to post manually. Every platform is listed for every brand (threads only where this deployment offers it or the brand already has a Threads account) with: connected (a live connected account exists - its posts auto-publish), autoPublishSupported (false = always manual), and account (handle/displayName/followerCount; also present with status 'expired'/'revoked' when a reconnect is needed - say so). The x platform is listed for every brand: a connected X account auto-publishes text, up to 4 photos or 1 video. Threads is in early access: only Timeliner team accounts can connect it, so never offer it as a network to connect. Optional brandId narrows to one brand. Channels connect in-app (brand dialog → Connected accounts, or a client connect link, which never connects Threads) - you cannot connect accounts via the API.
| Name | Type | Details |
|---|---|---|
brandId | uuid | Restrict to one brand/client. |
brandIduuidRestrict to one brand/client.{}Key scope: read:posts
list_hook_testsList Instagram hook testsReadSocial postingList the workspace's Instagram hook tests, newest first - each with its hooks (A/B/C), their number on the test's metric, the winner once decided, and whether the winner was shared to followers. Filter by status (running | decided) and brandId.
| Name | Type | Details |
|---|---|---|
status | enum | One of: running, decided |
brandId | uuid | Only tests on this brand's posts - from list_brands. |
limit | integer |
statusenumOne of: running, decidedbrandIduuidOnly tests on this brand's posts - from list_brands.limitinteger{}Key scope: read:posts
list_post_thumbnailsList a post's AI thumbnailsReadThe post's AI thumbnail generations, newest first (up to 20), each with its versions, their state, signed image URLs (10 minutes) and which networks / YouTube slots already use them. A version whose purgedAt is set had its image removed after the workspace's subscription ended: imageUrl and previewUrl are null and it can't be used (it can come back if the workspace pays again in time). A 403 with code notAvailable or planDoesNotIncludeSocialPosting is final for this workspace: relay it and stop calling.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The post's task UUID (a post is keyed by its task - same id list_posts filters by). |
idrequireduuidThe post's task UUID (a post is keyed by its task - same id list_posts filters by).{
"id": "00000000-0000-0000-0000-000000000000"
}Key scope: read:posts
list_postsList scheduled postsReadRead the social-posting calendar: the workspace's scheduled/published posts, newest first. A post is a task with a scheduling status. Each post carries brandId + projectId; assigneeIds (the team-member ids assigned to the post's task - resolve names via list_members; answers 'which editor made this post' without a get_task per post, [] when unassigned); the deliverable approval stage (statusGroup - inRevision = sent back/rejected, approved/posted = signed off); overallStatus (the publish rollup: draft|pending|manual|published|failed|missed); scheduledAt; a review object (guest per-element sign-off: caption/thumbnail/schedule approved-at timestamps, null = not approved); media + customThumbnail (presigned download/thumbnail/preview URLs you can open to SEE the media); and a networks array - one entry per social network with its caption, status, scheduledAt/publishedAt, permalink (the live post URL once posted), the connected account it publishes to (account: handle/displayName/avatar/platform), per-network media override, coverUrl (non-null when that network has its own cover picked in the app - open it with get_post_cover to SEE it; such a cover is never a customThumbnail), and platformOptions (e.g. YouTube title/tags/visibility, IG format, TikTok coverTimestampMs - the cover picked from the video, in ms). Times are UTC instants - interpret them in the response's top-level timezone (the workspace IANA zone, also on get_workspace). Filter by taskId (a post is keyed by its task - there is no get_post), projectId, brandId, overall status, or a calendar window with scheduledFrom/scheduledTo. Returns {data, nextBefore}; when nextBefore is non-null, call again with before=nextBefore for the next page.
| Name | Type | Details |
|---|---|---|
limit | integer | Items per page, 1-100. Defaults to 50. |
before | string | Opaque pagination cursor - pass the previous response's nextBefore value verbatim. |
taskId | uuid | Return only the single post for this task (empty list if none). |
projectId | uuid | |
brandId | uuid | |
status | enum | Filter by the post's overall scheduling status.One of: draft, pending, manual, published, failed, missed |
scheduledFrom | string | Calendar window start (inclusive) - ISO-8601 date/time; keep only posts scheduled at or after it. |
scheduledTo | string | Calendar window end (inclusive) - ISO-8601 date/time; keep only posts scheduled at or before it. |
includeMetrics | boolean | true = each network also carries metrics: its latest snapshot (views, reach, impressions, likes, comments, shares, saves, engagementRate, watch-time fields, capturedAt), null when none was fetched (report 'no data', never zeros). Default off. |
limitintegerItems per page, 1-100. Defaults to 50.beforestringOpaque pagination cursor - pass the previous response's nextBefore value verbatim.taskIduuidReturn only the single post for this task (empty list if none).projectIduuidbrandIduuidstatusenumFilter by the post's overall scheduling status.One of: draft, pending, manual, published, failed, missedscheduledFromstringCalendar window start (inclusive) - ISO-8601 date/time; keep only posts scheduled at or after it.scheduledTostringCalendar window end (inclusive) - ISO-8601 date/time; keep only posts scheduled at or before it.includeMetricsbooleantrue = each network also carries metrics: its latest snapshot (views, reach, impressions, likes, comments, shares, saves, engagementRate, watch-time fields, capturedAt), null when none was fetched (report 'no data', never zeros). Default off.{}Key scope: read:posts
quote_post_thumbnailsPrice AI thumbnails for a postWriteWhat generate_post_thumbnails would cost with the same arguments, before anything runs: the resolved model, shape, resolution, credits per version and in total, whether the workspace is charged at all, and every model's per-version price for the same shape. Nothing is spent. Show the price to the user before generating. A 403 with code notAvailable or planDoesNotIncludeSocialPosting is final for this workspace: relay it and stop calling.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The post's task UUID (a post is keyed by its task - same id list_posts filters by). |
platform | enum | The network the cover is for - sets the default shape (YouTube 16:9, Shorts 9:16, Instagram 9:16 reels - pass instagramFormat feed for a 4:5 feed post - others 16:9).One of: youtube, instagram, facebook, linkedin |
aspectRatio | enum | One of: 16:9, 9:16, 1:1, 4:5 |
youtubeShorts | boolean | platform youtube: a Short (9:16). |
instagramFormat | enum | platform instagram: feed (4:5) or reels (9:16, the default).One of: feed, reels |
model | enum | Image model. Omit to let Timeliner choose (GPT models write on-image text best; Nano Banana models make every shape but are weaker at text - the words may come out misspelled).One of: gpt-image-2, gpt-image-2.6-flare, nano-banana-2, nano-banana-2.1, nano-banana-pro |
resolution | enum | One of: 1K, 2K, 4K |
quality | enum | GPT models only.One of: low, medium, high |
variants | integer | How many versions (default 2). Each version is charged. |
archetype | enum | Layout. Omit to let the AI pick one that fits the video.One of: faceBigText, beforeAfter, objectArrow, reactionScreenshot, versus, numberedList, tutorialProduct, podcastTwoFaces, curiosityGap, progression, cleanMinimal |
hookText | string | Text on the thumbnail - 4 words or fewer, never the video title. Drawn with every model, Nano Banana included. Omit: a GPT model suggests a short hook from the video; a Nano Banana model - the default without hookText - makes a thumbnail with no words. |
instructions | string | Free-text direction, e.g. 'speaker pointing at a laptop, warm background'. |
speakerIds | uuid[] | Consented speakers of the post's brand to show (list_brand_speakers). Without one the thumbnail shows no face. |
brandPalette | boolean | Use the brand kit's colors (default true). |
includeLogo | boolean |
idrequireduuidThe post's task UUID (a post is keyed by its task - same id list_posts filters by).platformenumThe network the cover is for - sets the default shape (YouTube 16:9, Shorts 9:16, Instagram 9:16 reels - pass instagramFormat feed for a 4:5 feed post - others 16:9).One of: youtube, instagram, facebook, linkedinaspectRatioenumOne of: 16:9, 9:16, 1:1, 4:5youtubeShortsbooleanplatform youtube: a Short (9:16).instagramFormatenumplatform instagram: feed (4:5) or reels (9:16, the default).One of: feed, reelsmodelenumImage model. Omit to let Timeliner choose (GPT models write on-image text best; Nano Banana models make every shape but are weaker at text - the words may come out misspelled).One of: gpt-image-2, gpt-image-2.6-flare, nano-banana-2, nano-banana-2.1, nano-banana-proresolutionenumOne of: 1K, 2K, 4KqualityenumGPT models only.One of: low, medium, highvariantsintegerHow many versions (default 2). Each version is charged.archetypeenumLayout. Omit to let the AI pick one that fits the video.One of: faceBigText, beforeAfter, objectArrow, reactionScreenshot, versus, numberedList, tutorialProduct, podcastTwoFaces, curiosityGap, progression, cleanMinimalhookTextstringText on the thumbnail - 4 words or fewer, never the video title. Drawn with every model, Nano Banana included. Omit: a GPT model suggests a short hook from the video; a Nano Banana model - the default without hookText - makes a thumbnail with no words.instructionsstringFree-text direction, e.g. 'speaker pointing at a laptop, warm background'.speakerIdsuuid[]Consented speakers of the post's brand to show (list_brand_speakers). Without one the thumbnail shows no face.brandPalettebooleanUse the brand kit's colors (default true).includeLogoboolean{
"id": "00000000-0000-0000-0000-000000000000"
}Key scope: write:posts
rate_post_thumbnailRate an AI thumbnail versionWriteTell the brand's thumbnail style what worked: liked or rejected, with a reason. The brand learns from it overnight (get_brand_thumbnail_style → learnedNotes). Send what the USER said, not your own opinion.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The post's task UUID (a post is keyed by its task - same id list_posts filters by). |
generationIdrequired | uuid | A generation id from generate_post_thumbnails or list_post_thumbnails. |
variantIdrequired | uuid | |
verdictrequired | enum | One of: liked, rejected |
reason | enum | One of: faceMismatch, textWrong, cluttered, offBrand, wrongVibe, other |
note | string |
idrequireduuidThe post's task UUID (a post is keyed by its task - same id list_posts filters by).generationIdrequireduuidA generation id from generate_post_thumbnails or list_post_thumbnails.variantIdrequireduuidverdictrequiredenumOne of: liked, rejectedreasonenumOne of: faceMismatch, textWrong, cluttered, offBrand, wrongVibe, othernotestring{
"id": "00000000-0000-0000-0000-000000000000",
"generationId": "00000000-0000-0000-0000-000000000000",
"variantId": "00000000-0000-0000-0000-000000000000",
"verdict": "liked"
}Key scope: write:posts
remove_trial_repostRemove a post's Repost-as-trial ruleWriteDeletesSocial postingRemove a post's "Repost as trial" rule. Copies it already made stay as drafts. Confirm with the user. Deletes share one budget across the whole API: about 20 per minute per key, and daily ceilings per key and per workspace - over budget returns 429 with a Retry-After header. A 429 means STOP and tell the user; never wait-and-retry your way through a batch.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The post's task id. |
idrequireduuidThe post's task id.{
"id": "00000000-0000-0000-0000-000000000000"
}Key scope: write:posts
schedule_postSchedule postWriteSocial postingSchedule a task as a social post - a media task, or a regular DOCUMENT task (a text-first post: the document is the post text, and the task's one file, if it has one, is the attachment): set the slot (scheduledAt, must be in the future) + target platforms. Full-replace semantics (also reschedules and re-arms a 'missed' post); draft:true places a calendar draft that never enters the publish queue. The response tells you what will ACTUALLY happen - always relay it: `channels` lists each leg as auto (a connected account publishes it) or manual (not connected - so the team posts it themselves), and `approvalGate` says whether the post will auto-publish at the slot. IMPORTANT: when the workspace requires approval before posting (the default) and the task is not 'approved'/'posted', the schedule still succeeds but the post will NOT fire - at the slot it is marked 'missed' and held (it never auto-publishes late; it must be rescheduled). Relay the approvalGate.warning and ASK the user whether to move the task to 'approved' now - if yes, call update_task with statusGroup:'approved' (a deliberate, notifying, hard-to-undo step; never do it silently). Routing through 'clientApproval' instead does NOT publish - the client must approve (reaching 'approved') before the slot. Compose content first (update_post / generate_post_caption) and check list_channels to pick platforms. Fires the same post-plan notification as an in-app schedule (guests only see it once the task is at clientApproval or later) and the partner post.status_changed webhook. ONE POST PLAN PER DELIVERABLE: a parent task and its variants post either as the parent (one post carrying every variant) or as each variant on its own, never both - so scheduling a parent while one of its variants holds a post (or a variant while its parent does) fails 409, drafts too, and schedules nothing. That error names the task holding the plan (title, taskId, slot): tell the user which post it is and ASK which they want - never unschedule it on your own; only on their say-so call unschedule_post on that task, then schedule_post again. A published post never blocks. Before scheduling a parent or a variant, list_posts (by projectId, or by the other side's taskId) shows whether the other side is already planned. Fails 409 on an already-published post and 400 for past slots, for a DOCUMENT parent or document variant (a media parent can carry a post - its post goes out with every variant), and for a text-only document post (no file attached) aimed at a network that needs media - only Facebook, LinkedIn, and X take text-only posts; attach media first with upload_file_from_url and the same taskId. An X post is its text (280 as X counts them) with up to 4 photos or 1 video; X has no platformOptions, and Timeliner never reads X on its own: an X account's numbers come in only when an admin or supervisor presses its Sync in Analytics → Social (charged in credits). YouTube asks every upload whether the video is made for kids: naming youtube on a post with no madeForKids answer fails 422 youtube_made_for_kids_required and schedules nothing - ASK the user, set it with update_post (platformOptions.youtube.madeForKids), then schedule again; never guess. A title, description or tags YouTube would refuse fails 422 too (its code, or youtube_metadata_invalid with an issue). YouTube takes video only: naming youtube for a task whose file is not a video (an image, a PDF, audio) fails 400 and schedules nothing - drop youtube from platforms. Facebook does not let other apps publish a carousel holding video: when the brand has a connected Facebook Page, a carousel with videos and fewer than two photos (a parent with no saved plan posts as a carousel) fails 400 and schedules nothing, as does a photo over 10 MB or in a format Facebook refuses - relay the error's way out; do not retry the same call. A document post that was approved and then changed is held at its slot until it is approved again. A task in the Trash answers 404 with reason "task_trashed" and the API cannot restore it - tell the user to restore it from the app's Trash page, never retry it. On a workspace whose plan does not include social posting the call is refused before it runs and returns {"available": false, "reason": "planDoesNotIncludeSocialPosting"} - a final answer, not data and not a retryable error: relay it and stop calling this tool.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The post's task UUID (a post is keyed by its task - same id list_posts filters by). |
scheduledAtrequired | string | ISO-8601 instant the post should go out at (UTC or offset). Must be in the future. |
platformsrequired | enum[] | Target networks (full replace of the post's platform set).One of: facebook, instagram, linkedin, linkedinCompany, tiktok, youtube, threads, x |
draft | boolean | true = save as a calendar draft (never auto-publishes). Default false. |
idrequireduuidThe post's task UUID (a post is keyed by its task - same id list_posts filters by).scheduledAtrequiredstringISO-8601 instant the post should go out at (UTC or offset). Must be in the future.platformsrequiredenum[]Target networks (full replace of the post's platform set).One of: facebook, instagram, linkedin, linkedinCompany, tiktok, youtube, threads, xdraftbooleantrue = save as a calendar draft (never auto-publishes). Default false.{
"id": "9b3e7a41-5c2d-4f8e-a6b0-1d7c3e9f2a64",
"scheduledAt": "2026-11-02T15:00:00.000Z",
"platforms": [
"instagram",
"tiktok"
]
}Key scope: write:posts
select_post_thumbnailUse an AI thumbnail as the post's coverWriteMake one version the post's cover: on every network that takes a cover image (default), or on the named networks, or in the YouTube post's A/B thumbnail slots a/b/c (a slot not added yet is created). Only the slot marked Publishes in the app's composer goes out with the video - which slot is marked Publishes is chosen in the app (the composer or the post's review), never here; if the Publishes slot is empty, the first filled slot goes out instead - and the others are downloaded from the published post for Test & Compare in YouTube Studio. The post needs a saved draft (409 noDraft otherwise - save it with update_post first). Re-opens the client's thumbnail approval, as changing a cover in the app does. Confirm with the user before replacing a cover the client already approved. 409 notReady: the version is still rendering or failed. 404 file_content_missing (with purgedAt): its image was removed after the workspace's subscription ended - pick another version. A 403 with code UPLOADS_PAUSED means the workspace's uploads are paused (its subscription isn't active): nothing was made or saved - relay it and stop.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The post's task UUID (a post is keyed by its task - same id list_posts filters by). |
generationIdrequired | uuid | A generation id from generate_post_thumbnails or list_post_thumbnails. |
variantIdrequired | uuid | The version's id (versions[].id). |
networks | "all" | enum[] | |
youtubeSlots | enum[] | YouTube A/B thumbnail slots to fill (only the slot marked Publishes in the composer goes out); if that slot is empty, the first filled slot goes out instead. Needs youtube in networks (or networks omitted).One of: a, b, c |
idrequireduuidThe post's task UUID (a post is keyed by its task - same id list_posts filters by).generationIdrequireduuidA generation id from generate_post_thumbnails or list_post_thumbnails.variantIdrequireduuidThe version's id (versions[].id).networks"all" | enum[]youtubeSlotsenum[]YouTube A/B thumbnail slots to fill (only the slot marked Publishes in the composer goes out); if that slot is empty, the first filled slot goes out instead. Needs youtube in networks (or networks omitted).One of: a, b, c{
"id": "00000000-0000-0000-0000-000000000000",
"generationId": "00000000-0000-0000-0000-000000000000",
"variantId": "00000000-0000-0000-0000-000000000000"
}Key scope: write:posts
set_trial_repostSet a post's Repost-as-trial ruleWriteSocial postingOn a PUBLISHED Instagram Reel, make a trial-reel copy as a draft every intervalDays (1-90) days (trigger interval) or once it passes viewsThreshold views (trigger views). Replaces and restarts any rule on the post. A copy can't be scheduled until a person changes its opening line and its cover or video.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The published Instagram Reel's task id. |
triggerrequired | enum | One of: interval, views |
intervalDays | integer | null | |
viewsThreshold | integer | null |
idrequireduuidThe published Instagram Reel's task id.triggerrequiredenumOne of: interval, viewsintervalDaysinteger | nullviewsThresholdinteger | null{
"id": "00000000-0000-0000-0000-000000000000",
"trigger": "interval"
}Key scope: write:posts
start_hook_testStart an Instagram hook testWriteSocial postingPost 2-3 video variants of a parent task (the same video with different openings) as Instagram trial reels at ONE time and let the numbers pick the winning hook. Every hook is scheduled like a real post, so confirm the hooks, account, posting time and captions with the user first. Rule fields left out use the workspace default. If one hook can't be scheduled, nothing is posted (409). Instagram's API cannot share a trial reel to followers: the user shares the winner from the Instagram app (the hook's permalink opens it), then mark_hook_test_shared records it.
| Name | Type | Details |
|---|---|---|
taskIdrequired | uuid | The parent task, or one of its variants. |
hookTaskIdsrequired | uuid[] | The hooks in order A, B, C - variant ids whose blockedReason is null in get_post_hook_tests. |
scheduledAtrequired | string | ISO-8601 date-time with offset, at least 5 minutes from now. |
socialAccountIdrequired | uuid | The brand's connected Instagram account - from get_post_hook_tests. |
caption | string | One caption for every hook. Send this or captions. |
captions | object | One caption per hook, keyed by hook task id. |
metric | enum | What picks the winner: views, shares, saves, watchThrough (share of viewers the opening kept - measures the hook itself) or engagementRate.One of: views, watchThrough, shares, saves, engagementRate |
windowHours | 24 | 48 | 72 | |
onWin | enum | One of: notify, remind |
saveAsDefault | boolean |
taskIdrequireduuidThe parent task, or one of its variants.hookTaskIdsrequireduuid[]The hooks in order A, B, C - variant ids whose blockedReason is null in get_post_hook_tests.scheduledAtrequiredstringISO-8601 date-time with offset, at least 5 minutes from now.socialAccountIdrequireduuidThe brand's connected Instagram account - from get_post_hook_tests.captionstringOne caption for every hook. Send this or captions.captionsobjectOne caption per hook, keyed by hook task id.metricenumWhat picks the winner: views, shares, saves, watchThrough (share of viewers the opening kept - measures the hook itself) or engagementRate.One of: views, watchThrough, shares, saves, engagementRatewindowHours24 | 48 | 72onWinenumOne of: notify, remindsaveAsDefaultboolean{
"taskId": "9b3e7a41-5c2d-4f8e-a6b0-1d7c3e9f2a64",
"hookTaskIds": [
"3c9e1f72-6a4b-4d0e-b85c-2e7f9a1d4b36",
"e4a7b2d9-8c1f-4b6e-9d23-5f0c8a3e7b12"
],
"caption": "Three ways to style one jacket.",
"scheduledAt": "2026-11-20T17:00:00+02:00",
"socialAccountId": "7a2f9c4e-3d1b-4e8a-b6c5-0d9e2f7a1c48"
}Key scope: write:posts
stop_hook_testStop a running hook testWriteDeletesSocial postingStop a RUNNING hook test: it is never decided. The hooks' posts stay as they are - a scheduled hook still posts unless you unschedule it. Confirm with the user. Deletes share one budget across the whole API: about 20 per minute per key, and daily ceilings per key and per workspace - over budget returns 429 with a Retry-After header. A 429 means STOP and tell the user; never wait-and-retry your way through a batch.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The hook test id. |
idrequireduuidThe hook test id.{
"id": "00000000-0000-0000-0000-000000000000"
}Key scope: write:posts
unschedule_postUnschedule postWriteDeletesSocial postingRemove a post from the publish queue: clears the slot and the scheduling status (the platform selection is kept so re-scheduling doesn't re-pick networks). Use it to cancel a scheduled/draft/manual/missed post before it goes out. Fails 409 when the post isn't scheduled or is already published (a live post can't be unscheduled - deleting it from the network stays in-app). A post whose task is in the Trash answers 404 with reason "task_trashed": it does not publish while it stays there, and the API cannot restore it - tell the user, never retry it. On a workspace whose plan does not include social posting the call is refused before it runs and returns {"available": false, "reason": "planDoesNotIncludeSocialPosting"} - a final answer, not data and not a retryable error: relay it and stop calling this tool. Deletes share one budget across the whole API: about 20 per minute per key, and daily ceilings per key and per workspace - over budget returns 429 with a Retry-After header. A 429 means STOP and tell the user; never wait-and-retry your way through a batch.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The post's task UUID (a post is keyed by its task - same id list_posts filters by). |
idrequireduuidThe post's task UUID (a post is keyed by its task - same id list_posts filters by).{
"id": "00000000-0000-0000-0000-000000000000"
}Key scope: write:posts
update_hook_testChange how a hook test picks its winnerWriteSocial postingChange the metric a RUNNING hook test is decided on (409 once decided).
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The hook test id. |
metricrequired | enum | What picks the winner: views, shares, saves, watchThrough (share of viewers the opening kept - measures the hook itself) or engagementRate.One of: views, watchThrough, shares, saves, engagementRate |
idrequireduuidThe hook test id.metricrequiredenumWhat picks the winner: views, shares, saves, watchThrough (share of viewers the opening kept - measures the hook itself) or engagementRate.One of: views, watchThrough, shares, saves, engagementRate{
"id": "00000000-0000-0000-0000-000000000000",
"metric": "views"
}Key scope: write:posts
update_postUpdate post contentWriteSocial postingWrite or rewrite a post's content - the shared caption, per-network caption overrides, the custom cover (thumbnailFileId - a JPEG, PNG or WebP image already uploaded to the post's project, never a video; changing it resets the client's thumbnail approval), and/or the per-network settings via platformOptions: YouTube metadata (title, tags, visibility, isShorts), Instagram (format feed/reel/story, collaborator - up to 3 handles, really invited at publish), first comment), Facebook (first comment; format only accepts 'post' for now), LinkedIn (postAs personal/company - also covers Company Page legs, targetAudience [stored but not applied at publish yet], first comment), TikTok (privacyLevel, allowComments/Duet/Stitch, commercial-content toggles), and Threads (topicTag - one topic tag, no '#'; replies are always open to everyone - replyControl takes only 'everyone'). An X post is its text (280 as X counts them) with up to 4 photos or 1 video; X has no platformOptions, and Timeliner never reads X on its own: an X account's numbers come in only when an admin or supervisor presses its Sync in Analytics → Social (charged in credits). Manual steps: collaborators on LinkedIn / YouTube (videos and Shorts) / TikTok / Facebook and an in-app audioNote (Instagram, TikTok, Facebook Reels, YouTube Shorts) make that network's leg a manual hand-off - the team is reminded at posting time instead of it auto-publishing; Instagram trialReel is refused (422) until enabled for the deployment, and turning it on for a post that publishes as a carousel (a parent whose variants post as 2+ slides) is refused (400 trialReelCarousel) - Instagram never posts a carousel as a trial reel. This is the content-crafting tool: read the post (list_posts with taskId) or the task's media (get_task) for context, draft the copy, and save it here. Read the brand's voice profile first (get_brand_voice) and write in that style. A post is keyed by its task; writing content for a media task that isn't planned on the calendar yet is allowed and simply pre-fills the composer for the team. On a DOCUMENT post (a regular doc task) the shared caption IS the document: do not send `caption` here (409 captionFromDoc) - change the text with update_task_doc, and the post follows it; platformCaptions, platformOptions (e.g. LinkedIn firstComment) and thumbnailFileId work as usual. This tool NEVER schedules, moves, or publishes anything - use schedule_post for the slot + networks - and it fires no notifications. platformCaptions merges per key: a string sets that network's override, null (or "") removes it so the network falls back to the shared caption; omitted networks are untouched. platformOptions deep-merges per platform - unpatched fields (thumbnails, covers, the YouTube A/B thumbnail slots - not writable here) survive. YouTube thumbnail A/B: a YouTube post can carry up to 3 thumbnails (slots a/b/c), added in the app's composer (YouTube card → Thumbnail → Add thumbnail (A/B)); only the slot marked Publishes there goes out with the video (YouTube takes one; if the Publishes slot is empty, the first filled slot goes out instead), and the others are downloaded from the published post to run Test & Compare in YouTube Studio. thumbnailFileId (the post's custom cover) is never used on YouTube, which publishes only the slot marked Publishes (or the first filled slot if that one is empty); select_post_thumbnail with youtubeSlots omitted puts an AI version in that slot, and with youtubeSlots in the named slots; which slot is marked Publishes is chosen in the app (the composer or the post's review), never through this API. Captions are capped at 5000 characters; a caption over one of the post's scheduled networks' own limits is refused 400 captionOverLimit (Threads allows 500, each emoji counting as its UTF-8 byte length; X allows 280 as X counts them - a link counts as 23, an emoji or CJK character as 2); YouTube titles at 100; first comments at 2200. TikTok commercial-content legality combos are clamped at publish against the creator's live options. Editing the caption of an already-client-approved post resets its caption approval (the client re-reviews), exactly like an in-app edit. Fails with 409 on published posts (frozen). Send at least one of caption, platformCaptions, platformOptions or thumbnailFileId - a call with only the id (or only argument names this tool does not define, which are dropped) is refused before it runs and saves nothing. On a workspace whose plan does not include social posting the call is refused before it runs and returns {"available": false, "reason": "planDoesNotIncludeSocialPosting"} - a final answer, not data and not a retryable error: relay it and stop calling this tool.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The post's task UUID (a post is keyed by its task - same id list_posts filters by). |
caption | string | Shared caption for every network ("" clears it). |
platformCaptions | object | Per-network caption overrides, merged key-by-key: string sets, null removes (falls back to the shared caption), omitted networks keep their current override. |
platformOptions | object | Per-network composer options patch. Writable: youtube, instagram, facebook, linkedin (incl. Company Page legs via postAs), tiktok (incl. coverTimestampMs), threads (topicTag, replyControl). Deep-merged per platform - unpatched fields and the in-browser image/thumbnail settings survive. Name at least one network with at least one field (omit platformOptions to leave every network as it is); any other key is refused. |
thumbnailFileId | uuid | null | Custom cover for the post: the id of a JPEG, PNG or WebP image ALREADY UPLOADED to this post's project (400 otherwise - a video or document can't be a cover). null clears it. Picking a video FRAME isn't possible here - frames are captured in the browser composer; upload the cover image to the project and pass its file id. YouTube never uses this cover (it publishes its thumbnail slot marked Publishes, or the first filled slot if that one is empty - select_post_thumbnail, or the app's composer). Changing the cover resets the client's thumbnail approval (they re-review), exactly like an in-app change. |
idrequireduuidThe post's task UUID (a post is keyed by its task - same id list_posts filters by).captionstringShared caption for every network ("" clears it).platformCaptionsobjectPer-network caption overrides, merged key-by-key: string sets, null removes (falls back to the shared caption), omitted networks keep their current override.platformOptionsobjectPer-network composer options patch. Writable: youtube, instagram, facebook, linkedin (incl. Company Page legs via postAs), tiktok (incl. coverTimestampMs), threads (topicTag, replyControl). Deep-merged per platform - unpatched fields and the in-browser image/thumbnail settings survive. Name at least one network with at least one field (omit platformOptions to leave every network as it is); any other key is refused.thumbnailFileIduuid | nullCustom cover for the post: the id of a JPEG, PNG or WebP image ALREADY UPLOADED to this post's project (400 otherwise - a video or document can't be a cover). null clears it. Picking a video FRAME isn't possible here - frames are captured in the browser composer; upload the cover image to the project and pass its file id. YouTube never uses this cover (it publishes its thumbnail slot marked Publishes, or the first filled slot if that one is empty - select_post_thumbnail, or the app's composer). Changing the cover resets the client's thumbnail approval (they re-review), exactly like an in-app change.{
"id": "9b3e7a41-5c2d-4f8e-a6b0-1d7c3e9f2a64",
"caption": "Our new collection is live. Link in bio."
}Key scope: write:posts
create_chat_messagePost a chat messageWritePost a message into a chat channel, authored by the API key's creator. Silent - nothing beyond the channel's own unread badge fires. Find the channel with list_chat_channels first. NOT for social publishing.
| Name | Type | Details |
|---|---|---|
scopeTyperequired | enum | Channel kind. 'global' is the workspace-wide channel.One of: global, brand, project, dm, custom |
textrequired | string | The message text. |
scopeId | uuid | Brand / project / conversation / standalone-channel id. Omit for global. |
scopeTyperequiredenumChannel kind. 'global' is the workspace-wide channel.One of: global, brand, project, dm, customtextrequiredstringThe message text.scopeIduuidBrand / project / conversation / standalone-channel id. Omit for global.{
"scopeType": "global",
"text": "example"
}Key scope: write:chat
create_task_chat_messagePost in a task's chatWritePost a message in a task's chat, authored by the API key's creator. Silent - no one is notified. Use create_task_comment instead for timecoded review feedback on a cut.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The task's UUID - from list_tasks. |
textrequired | string | The message text. |
idrequireduuidThe task's UUID - from list_tasks.textrequiredstringThe message text.{
"id": "00000000-0000-0000-0000-000000000000",
"text": "example"
}Key scope: write:chat
edit_chat_messageEdit a chat messageWriteChange the text of ONE chat message the API key's creator wrote - the same as the message's Edit in the app, which marks it as edited. Get the message id from list_chat_messages (or the id create_chat_message returned). The text is a FULL REPLACE. Someone else's message, or an app activity post, can't be edited (403); a message the key's creator can't see is 404. Silent - no one is notified, and no @mentions are derived from the new text.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The chat message's id - from list_chat_messages. |
textrequired | string | The message's full new text. |
idrequireduuidThe chat message's id - from list_chat_messages.textrequiredstringThe message's full new text.{
"id": "4b8e2d7f-9a1c-4e3b-a6d5-2c7f0e9b1a38",
"text": "Rough cut is up. The second half still needs color."
}Key scope: write:chat
list_chat_channelsList chat channelsReadList the CHAT channels the API key's creator can see in Discussions: the workspace-wide channel and standalone channels like #marketing. Each: scopeType, scopeId, name, visibility (private/team/client, standalone only), archived. Private channels the key's creator isn't a member of are omitted. NOT social posting accounts - that's list_channels.
No inputs.
{}Key scope: read:chat
list_chat_messagesRead a chat channelReadRead recent messages in one chat channel, oldest-first. scopeType is 'global' (no scopeId), or 'brand' / 'project' / 'dm' / 'custom' with the matching id - get standalone channel ids from list_chat_channels. Each message: id, text, author, isSystem, teamOnly, createdAt.
| Name | Type | Details |
|---|---|---|
scopeTyperequired | enum | Channel kind. 'global' is the workspace-wide channel.One of: global, brand, project, dm, custom |
scopeId | uuid | Brand / project / conversation / standalone-channel id. Omit for global. |
limit | integer | How many messages (max 100). |
scopeTyperequiredenumChannel kind. 'global' is the workspace-wide channel.One of: global, brand, project, dm, customscopeIduuidBrand / project / conversation / standalone-channel id. Omit for global.limitintegerHow many messages (max 100).{
"scopeType": "global"
}Key scope: read:chat
list_task_chatRead a task's chatReadRead a task's CHAT - the conversation about the task (updates, questions, decisions). Returns the NEWEST posts (default 30, max 100 via `limit`), presented oldest-first. This is NOT the timecoded review thread: use list_task_comments for feedback on a specific frame. Pass a task id from list_tasks.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The task's UUID - from list_tasks. |
limit | integer | How many of the newest posts (max 100). |
idrequireduuidThe task's UUID - from list_tasks.limitintegerHow many of the newest posts (max 100).{
"id": "00000000-0000-0000-0000-000000000000"
}Key scope: read:chat
create_brand_chargeAdd a one-off brand chargeWriteBill the brand a one-off charge (work outside the retainer): label, amount, chargeDate, optional projectId. Elite plan. Nothing is sent to the client.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The brand's (Node) UUID - from list_brands. |
labelrequired | string | |
amountrequired | number | |
chargeDaterequired | string | YYYY-MM-DD |
projectId | uuid | null |
idrequireduuidThe brand's (Node) UUID - from list_brands.labelrequiredstringamountrequirednumberchargeDaterequiredstringYYYY-MM-DDprojectIduuid | null{
"id": "5d8a2c7e-1b4f-4e9a-8c36-7f0b2d9e4a11",
"label": "Extra product shoot",
"amount": 400,
"chargeDate": "2026-11-20"
}Key scope: write:finance
delete_brand_chargeDelete a one-off brand chargeWriteDeletesRemove a one-off charge. Refused (409) while payments are recorded against it. Confirm with the user first; NEVER loop this tool over a list. Deletes share one budget across the whole API: about 20 per minute per key, and daily ceilings per key and per workspace - over budget returns 429 with a Retry-After header. A 429 means STOP and tell the user; never wait-and-retry your way through a batch.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The brand's (Node) UUID - from list_brands. |
chargeIdrequired | uuid |
idrequireduuidThe brand's (Node) UUID - from list_brands.chargeIdrequireduuid{
"id": "00000000-0000-0000-0000-000000000000",
"chargeId": "00000000-0000-0000-0000-000000000000"
}Key scope: write:finance
get_ai_creditsGet the credits balanceReadRead the workspace's credits - what its transcription, AI work and WhatsApp notifications are paid in. available is what can be spent right now (every bucket plus extra usage headroom, minus held = reserved by AI work still running); availableWithoutOverage leaves extra usage out. Buckets, spent in this order: base (the plan's monthly included credits), committed (reads 0 where no top-up applies), lots (extra credits granted by Timeliner, kept past the reset), overage = extra usage, as the app calls it (only when switched on, up to its cap; amountUsd is this cycle's extra usage bill so far). included.credits is the plan's monthly base. A cycle is the workspace's own credit month: cycleStart is when it began and resetsAt is when the included credits reset - the workspace's next billing date, or the next UTC 1st for a workspace with no billing date. usage is this cycle's included credits used - percentUsed, and alertThreshold (75, 90 or 100) once an alert level is crossed. rateCard holds the prices: creditUsd per credit, creditsPerEdit (a 60-second AI edit), creditsPerCheck (an AI check of a 1-minute video), transcriptionCreditsPerMinute, and prices - the price sheet (an AI edit is editJobCredits + a price per finished second: editFirstMinutePerSecond for seconds 1-60, editToThreeMinutesPerSecond to 180, editBeyondPerSecond after; versions; AI checks; thumbnails; whatsAppMessage, one WhatsApp notification - invitations are free, and, once blocking is switched on, a workspace out of credits has its WhatsApp paused while email and in-app notices still go out; xPost, one post to X, and xPostWithLink, one whose text carries a link - charged when X accepts it, and, once blocking is switched on, an X post the credits cannot cover is not sent). A price for something this deployment does not offer is left out, never 0. Read-only. 403 ai_credits_unavailable = credits are not open to this workspace (a sandbox, a locked workspace, or credits not switched on yet): say so, never guess a balance.
No inputs.
{}Key scope: read:finance
get_brand_retainerGet a brand's retainerReadRead the brand's monthly retainer (Edit Brand → Billing): the amount in effect this month and every step of its schedule. Received money: get_pricing_receivables.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The brand's (Node) UUID - from list_brands. |
idrequireduuidThe brand's (Node) UUID - from list_brands.{
"id": "00000000-0000-0000-0000-000000000000"
}Key scope: read:finance
get_member_profitabilityGet member profitabilityReadPer-member profitability for ANY pay type - the 'was this hire/freelancer worth it?' dataset: total cost (per-task pay + fixed project fees + prorated salary), what's been paid out, BOOKED client revenue attributed to them (billing-mode aware: task prices split across a task's editors; fixed/legacy project prices allocated by delivered share), delivered + in-progress counts, cost per video, a strong/thin/underwater ROI verdict, and - over the same window - viewsAttributed + engagementAttributed (the video views and engagement their published videos earned, even-split per editor; null when the workspace has no social-distribution data). Those views and engagement cover ALL NETWORKS EXCEPT YOUTUBE (pooledExcludes; YouTube API Services: YouTube is never added to other networks) - say so, and never read a 0 as 'genuinely zero views' when the videos went to YouTube. Answers 'what did this editor cost me and how many views did their videos get?' in one call. `payType` reports the member's model over the window: perTask | perProject | monthly | mixed (both task pay and project fees). Optional from/to (ISO date) filter by task creation date; optional memberId narrows to one member; includeProjects=true appends members[].projects[] - the per-(member, project) breakdown (pay model there, fee, per-task buckets, tagged/delivered counts, and the days span from first task to last delivery).
| Name | Type | Details |
|---|---|---|
from | string | ISO date/datetime - include tasks created on/after this. |
to | string | ISO date/datetime - include tasks created on/before this. |
memberId | string | Limit to one member id (from list_members). |
includeProjects | boolean | true = append the per-(member, project) breakdown under members[].projects[]. |
fromstringISO date/datetime - include tasks created on/after this.tostringISO date/datetime - include tasks created on/before this.memberIdstringLimit to one member id (from list_members).includeProjectsbooleantrue = append the per-(member, project) breakdown under members[].projects[].{}Key scope: read:finance
get_pricing_payablesGet team payablesReadWhat the agency owes its team (editors) - split approved vs pending and paid vs unpaid, per editor, plus workspace totals. Members on a monthly salary are reported under `salaries` instead of the per-task buckets: each row carries windowCost (prorated salary), delivered, activeCount (still in progress/revisions), costPerVideo, and attributedRevenue (booked client money credited to their work). To judge whether a hire is worth it, compare attributedRevenue vs windowCost (≥2x = healthy, <1x = losing money) and check costPerVideo against what the client pays per deliverable. Optional from/to (ISO date) filter by task creation date. The numbers match the in-app Payments Dashboard and the analytics Cost tab.
| Name | Type | Details |
|---|---|---|
from | string | ISO date/datetime - include tasks created on/after this. |
to | string | ISO date/datetime - include tasks created on/before this. |
fromstringISO date/datetime - include tasks created on/after this.tostringISO date/datetime - include tasks created on/before this.{}Key scope: read:finance
get_pricing_receivablesGet client receivablesReadWhat each brand/client owes the agency - split approved vs pending and paid vs outstanding, per brand, plus workspace totals and net + projected margin. Includes project-level prices (retainer/package deals) folded into the totals and itemized under `projects`. Optional from/to (ISO date) filter by task creation date. The numbers match the in-app Analytics Financial Summary.
| Name | Type | Details |
|---|---|---|
from | string | ISO date/datetime - include tasks created on/after this. |
to | string | ISO date/datetime - include tasks created on/before this. |
fromstringISO date/datetime - include tasks created on/after this.tostringISO date/datetime - include tasks created on/before this.{}Key scope: read:finance
get_project_pnlGet project P&LReadOne project's profit & loss - billing-mode-aware revenue (a fixed project price IS the revenue; otherwise task prices bill), team cost (per-task pay or fixed member fees, plus salary allocated by delivered share), realized margin and margin %. `unpricedTasks` > 0 means the margin is an 'at least' figure. Optional from/to (ISO date) filter by task creation date. Matches the in-app Project Profitability card.
| Name | Type | Details |
|---|---|---|
idrequired | string | Project id. |
from | string | ISO date/datetime - include tasks created on/after this. |
to | string | ISO date/datetime - include tasks created on/before this. |
idrequiredstringProject id.fromstringISO date/datetime - include tasks created on/after this.tostringISO date/datetime - include tasks created on/before this.{
"id": "example"
}Key scope: read:finance
list_brand_chargesList a brand's one-off chargesReadList the one-off charges billed to the brand on top of its retainer, newest first, each with whether it was received in full.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The brand's (Node) UUID - from list_brands. |
idrequireduuidThe brand's (Node) UUID - from list_brands.{
"id": "00000000-0000-0000-0000-000000000000"
}Key scope: read:finance
list_paymentsList paymentsReadThe append-only payment ledger - what money ACTUALLY moved, with real business dates (including backdates). Each row carries `voided` (true when a reversal cancelled it) and reversal rows carry `reverses`. Filter by direction ('out' = paid to members, 'in' = received from brands), counterparty (editor/node), project, or a paid_at date window. Matches the in-app Payment history blocks.
| Name | Type | Details |
|---|---|---|
direction | enum | 'out' = payouts to members; 'in' = client money received.One of: in, out |
editor | string | Member profile id (from list_members). |
node | string | Brand node id (from list_brands). |
project | string | Project id (from list_projects). |
from | string | ISO date - payments on/after this business date. |
to | string | ISO date - payments on/before this business date. |
limit | integer | Max rows (default 100). |
directionenum'out' = payouts to members; 'in' = client money received.One of: in, outeditorstringMember profile id (from list_members).nodestringBrand node id (from list_brands).projectstringProject id (from list_projects).fromstringISO date - payments on/after this business date.tostringISO date - payments on/before this business date.limitintegerMax rows (default 100).{}Key scope: read:finance
list_pricing_templatesList pricing templatesReadList the workspace's reusable pricing models/templates - name, pricingMode (flat/rules/profitShare/hourly), default client price + editor pay, and badge. Use these to understand how deliverables are priced.
No inputs.
{}Key scope: read:finance
record_paymentRecord paymentWriteRecord ONE payment in the append-only ledger - money paid OUT to a team member (memberId required) or received IN from a brand/client (nodeId required). Partial amounts are fine; backdate with paidAt when the money moved earlier. Does NOT mark owed tasks/prices as settled. Pass idempotencyKey to make retries safe (a replay returns the original row with duplicate=true). Corrections go through void_payment, never edits.
| Name | Type | Details |
|---|---|---|
directionrequired | enum | 'out' = paid to a member; 'in' = received from a brand.One of: in, out |
amountrequired | number | The amount actually paid/received. |
memberId | uuid | The member paid (required for 'out') - from list_members. |
nodeId | uuid | The paying brand (required for 'in') - from list_brands. |
projectId | uuid | Optional project this payment belongs to. |
paidAt | string | Optional ISO business date to backdate. |
method | string | Optional method - e.g. PayPal, wire. |
note | string | Optional note for the accountant. |
idempotencyKey | string | Client-chosen replay-safety key. |
directionrequiredenum'out' = paid to a member; 'in' = received from a brand.One of: in, outamountrequirednumberThe amount actually paid/received.memberIduuidThe member paid (required for 'out') - from list_members.nodeIduuidThe paying brand (required for 'in') - from list_brands.projectIduuidOptional project this payment belongs to.paidAtstringOptional ISO business date to backdate.methodstringOptional method - e.g. PayPal, wire.notestringOptional note for the accountant.idempotencyKeystringClient-chosen replay-safety key.{
"direction": "in",
"amount": 1
}Key scope: write:finance
set_brand_retainerSet a brand's retainerWriteSet the brand's monthly retainer FROM a month on (earlier months are never rewritten). monthlyAmount null ends it from that month. Setting an amount needs the Elite plan; ending is free. Confirm the amount and month with the user.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The brand's (Node) UUID - from list_brands. |
monthlyAmountrequired | number | null | Amount per month in the workspace currency, or null to end it. |
effectiveMonthrequired | string | YYYY-MM - the first month it applies to. |
idrequireduuidThe brand's (Node) UUID - from list_brands.monthlyAmountrequirednumber | nullAmount per month in the workspace currency, or null to end it.effectiveMonthrequiredstringYYYY-MM - the first month it applies to.{
"id": "5d8a2c7e-1b4f-4e9a-8c36-7f0b2d9e4a11",
"monthlyAmount": 2500,
"effectiveMonth": "2026-12"
}Key scope: write:finance
set_client_paidMark client money receivedWriteSettle client money: mark specific tasks' client prices (taskIds) OR one project's project-level price (projectId - retainers / fixed billing) as received or outstanding. Exactly one of taskIds/projectId. Marking received writes dated 'in' ledger entries with the brand counterparty (backdate with paidAt); marking outstanding voids them by reversal. Same engine as the in-app brand tab.
| Name | Type | Details |
|---|---|---|
paidrequired | boolean | true = received, false = back to outstanding (voids the payment). |
taskIds | uuid[] | Task ids whose client price is being marked. |
projectId | uuid | A project whose PROJECT-LEVEL price is being marked. |
paidAt | string | Optional ISO date to backdate (ignored when paid=false). |
paidrequiredbooleantrue = received, false = back to outstanding (voids the payment).taskIdsuuid[]Task ids whose client price is being marked.projectIduuidA project whose PROJECT-LEVEL price is being marked.paidAtstringOptional ISO date to backdate (ignored when paid=false).{
"paid": true
}Key scope: write:finance
set_payouts_paidMark team payouts paidWriteSettle team money: mark per-task pay rows (editorPayIds - TaskEditorPay ids from get_pricing_payables) and/or per-member project fees (memberFeeIds) as paid or unpaid. Marking paid writes dated 'out' entries in the append-only ledger (backdate with paidAt when the money went out earlier); marking unpaid voids them by reversal. Idempotent on retry. Same engine as the in-app checkboxes.
| Name | Type | Details |
|---|---|---|
paidrequired | boolean | true = mark paid, false = mark unpaid (voids the payments). |
editorPayIds | uuid[] | TaskEditorPay row ids to flip. |
memberFeeIds | uuid[] | ProjectMemberPay fee row ids to flip. |
paidAt | string | Optional ISO date to backdate (ignored when paid=false). |
paidrequiredbooleantrue = mark paid, false = mark unpaid (voids the payments).editorPayIdsuuid[]TaskEditorPay row ids to flip.memberFeeIdsuuid[]ProjectMemberPay fee row ids to flip.paidAtstringOptional ISO date to backdate (ignored when paid=false).{
"paid": true
}Key scope: write:finance
set_project_billingSet project billingWriteConfigure a project's two independent billing axes - client side: 'perTask' (task prices bill) or 'fixedPrice' (one project price IS the revenue; amount required, optional label); team side: 'perTask' (per-task pay rows) or 'fixedProject' (one fee per member; memberFees replaces the fee list - absent unpaid rows are removed, paid rows survive). For SINGLE-member fee changes ('pay Alex $1,500 for this project') use team.feeUpdates instead - a merge that upserts each listed member's fee (amount null = remove), valid on ANY team mode (the fee becomes that member's pay of record in this project; their per-task pay there stops counting). Any combination is valid. Existing task prices/pay rows are KEPT but stop counting per the mode - switching back restores them; nothing is destroyed. Paid fees are payment records and refuse edits (409).
| Name | Type | Details |
|---|---|---|
idrequired | string | Project id. |
client | object | Client-billing axis; omit to leave untouched. |
team | object | Team-pay axis; omit to leave untouched. |
idrequiredstringProject id.clientobjectClient-billing axis; omit to leave untouched.teamobjectTeam-pay axis; omit to leave untouched.{
"id": "example"
}Key scope: write:finance
set_task_pricingSet task pricingWriteApply a pricing template to ONE task and/or set which template split role each assigned editor fills - e.g. two editors on a task but only the one tagged 'Online Editor' is paid: pass editorRoles [{memberId: <online editor>, role: 'Online Editor'}, {memberId: <other>, role: null}]. role null is 'No role (not paid)' - an opt-out that zeroes that editor's pay, NOT a clear; to return an editor to untagged send {memberId, role: null, untag: true}. To undo a change, re-send only the editors you changed: their previous role, or untag: true where the result's roleSource was null - never role null for them. A role one editor holds is never auto-given to another, and editors sharing one role split its share. Prices are recomputed by the in-app engine and the result lists every editor's role, roleSource and amount. Template ids come from list_pricing_templates, member ids from list_members / get_task. Refused (409) once money has moved on the task (a payout marked paid, the client price received, or a recorded payment).
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The task's UUID. |
templateId | uuid | Pricing template to apply. Omit to keep the task's current template. |
editorRoles | object[] | Per-editor role tags. Roles must be ones the template defines (case-insensitive). |
idrequireduuidThe task's UUID.templateIduuidPricing template to apply. Omit to keep the task's current template.editorRolesobject[]Per-editor role tags. Roles must be ones the template defines (case-insensitive).{
"id": "00000000-0000-0000-0000-000000000000"
}Key scope: write:finance
update_brand_chargeEdit a one-off brand chargeWriteChange a one-off charge - send only what changes. Raising the amount of a fully received charge makes it part-received again.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The brand's (Node) UUID - from list_brands. |
chargeIdrequired | uuid | |
label | string | |
amount | number | |
chargeDate | string | YYYY-MM-DD |
projectId | uuid | null |
idrequireduuidThe brand's (Node) UUID - from list_brands.chargeIdrequireduuidlabelstringamountnumberchargeDatestringYYYY-MM-DDprojectIduuid | null{
"id": "00000000-0000-0000-0000-000000000000",
"chargeId": "00000000-0000-0000-0000-000000000000",
"label": "example"
}Key scope: write:finance
void_paymentVoid paymentWriteDeletesCancel one ledger payment by recording its reversal (the ledger is append-only - nothing is deleted; the history keeps both entries). Voiding an already-voided payment returns a 409 conflict; reversal rows themselves cannot be voided.
| Name | Type | Details |
|---|---|---|
idrequired | string | The payment id to void (from list_payments). |
idrequiredstringThe payment id to void (from list_payments).{
"id": "example"
}Key scope: write:finance
copy_brand_automation_rulesCopy automation rules onto a brandWriteCopy the workspace's automation rules (fromBrandId: null) or another brand's onto this brand - Edit Brand → Workflow → Automations → Start from. Copies land DISABLED (turn each on with update_automation_rule enabled: true); a rule that no longer fits is skipped with its reason. Automations plan.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The brand's (Node) UUID - from list_brands. |
fromBrandIdrequired | uuid | null | The brand to copy from, or null for the workspace-wide rules. |
ruleIds | uuid[] | Copy only these rules (default: all of the source's). |
idrequireduuidThe brand's (Node) UUID - from list_brands.fromBrandIdrequireduuid | nullThe brand to copy from, or null for the workspace-wide rules.ruleIdsuuid[]Copy only these rules (default: all of the source's).{
"id": "00000000-0000-0000-0000-000000000000",
"fromBrandId": "00000000-0000-0000-0000-000000000000"
}Key scope: write:automations
create_automation_flowCreate automation flow (draft)WriteCreate a NEW flow as a DRAFT - it never runs until a person opens it in Timeliner (Automations) and publishes it. Pass a name and, ideally, the whole graph; the response's `check` lists anything that would block publishing so you can fix it with update_automation_flow before handing it over. Tell the user the flow is a draft waiting for them to review and publish. What is possible today: AVAILABLE triggers: statusChanged, customStatusEntered, stageChanged, versionUploaded, commentAdded, hqItemCreated, hqStageChanged, hqItemAssigned, hqFieldChanged, hqFileAttached, clientApproved [Agency+], clientRequestedRevisions [Agency+], postPublished [Agency+] SINGLE-STEP ONLY triggers (a classic automation with one trigger and a list of actions; no waits/branches): statusStalled, deadlineApproaching, publishDateScheduled, dateColumnSet, intakeApproved, intakeSubmitted, hqDueDateSet, hqDueDateReached, hqDocUpdated, inboundHook AVAILABLE steps/actions: setStatus, setCustomStatus, moveToStage, setDeadline, setStartDate, setDateColumn, setEstimate, setProjectDeadline, applyPricingTemplate, routeToBrand, trashMedia, trashTask, addTag, removeTag, assign, unassign, autoAssign, notify, postToSlack, sendReviewLinkToSlack, sendEmail [Agency+], setPostingTime, writePostCaption, scheduleNextPostingTime, createHqItem, hqMoveToStage, hqSetField, hqAssign, hqUnassign, hqSetDueDate, hqNotify, hqSetSourceTaskStatus, sendWebhook, ifElse [Agency+], wait [Agency+], goal [Agency+], split [Agency+], goTo [Agency+], addToFlow [Agency+], removeFromFlow [Agency+], stop [Agency+], findSourceTask [Agency+], findLinkedHqItem [Agency+] NOT POSSIBLE YET (never propose; say only that it is not available in the builder, never that it is planned, coming or on a roadmap, and offer the closest available option): taskCreated [Agency+], taskAssigned [Agency+], allVariantsApproved [Agency+], clientOpenedLink [Agency+], deadlinePassed [Agency+], schedule [Agency+], postFailed [Agency+], viewsThreshold [Agency+], memberOverCapacity [Agency+], driveNewFile [Agency+], bookingCreated [Agency+], findByQuery [Agency+], createVariant [Agency+], whatsappGroup [Agency+], sms [Agency+], aiSummarizeFeedback [Agency+], copyToDrive [Agency+], httpRequest [Agency+]
| Name | Type | Details |
|---|---|---|
namerequired | string | What the flow does, e.g. 'Chase client approval after 48 h'. |
description | string | |
graph | object | The flow graph. Graph shape: {version:1, triggers:[{id, label?, trigger:{type,...}, boardId?, filters?}], root: stepId|null, steps:{[id]: step}}. Triggers are OR'd. A trigger node takes only those five fields. Every step carries its own id (equal to its key in steps) and its kind (the field is named kind, never type) and names its successor(s) by id; null = END. root is the id of the first step after the triggers (null only when there are no steps), and each step's next names the step after it - e.g. wait then notify = root:'w1', w1.next:'n1', n1.next:null. A step no path from root reaches is never drawn and never runs. A complete graph, for "when a client approves, wait 1 day, then notify the task's assignees": {"version":1,"triggers":[{"id":"t1","trigger":{"type":"clientApproved"}}],"root":"w1","steps":{"w1":{"id":"w1","kind":"wait","wait":{"mode":"duration","amount":1,"unit":"days"},"next":"n1"},"n1":{"id":"n1","kind":"action","action":{"type":"notify","recipients":{"kind":"assignees"}},"next":null}}}. Conditions - a trigger's filters, an ifElse branch's when - are always a group {match:'all'|'any',conditions:[{field,op,value}]}. field: task.status|task.customStatus|task.stage|task.tag|task.type|task.brand|task.project|task.assignee|task.hasAssignee|task.deadline|task.internalDeadline|task.revisionCount|task.orientation|task.durationSec|task.title|hq.board|hq.stage|hq.assignee|hq.dueDate|time.weekday|time.hour|time.businessHours; op: is|isNot|anyOf|noneOf|isSet|isNotSet|before|after|gt|lt|contains|notContains. To limit a flow to a brand, give its trigger filters:{match:'all',conditions:[{field:'task.brand',op:'anyOf',value:[<brand id>]}]} - never a brandId (or any other) field on the trigger. These fields take ONLY these exact values, never a synonym (no 'portrait', '9:16', 'video'): task.status (op "anyOf"|"noneOf"): "toDo"|"inProgress"|"inRevision"|"supervisorApproval"|"supervisorApproved"|"adminApproval"|"clientApproval"|"clientApproved"|"endClientApproval"|"approved"|"posted"|"archive"; task.type (op "is"|"isNot"): "media"|"doc"; task.orientation (op "is"|"isNot"): "vertical"|"horizontal"|"square"; time.weekday (op "anyOf"|"noneOf"): "0"|"1"|"2"|"3"|"4"|"5"|"6"; time.businessHours (op "is"): true|false. time.weekday 0 = Sunday. E.g. only vertical videos = {field:'task.orientation',op:'is',value:'vertical'}. Every other field takes a real id you looked up (task.stage: '<columnId>:<optionId>'), a date (ISO or relative '+48h'/'-2d') or a number (task.durationSec in seconds, time.hour 0-23); task.title takes contains|notContains with the words to look for (case-insensitive; several, comma-separated, match any). Step kinds: action{action,next,message?}; find{find:{relation:'sourceTask'}|{relation:'linkedHqItem',boardId},next,notFound}; ifElse{branches:[{id,label,when:{match:'all'|'any',conditions:[{field,op,value}]},next}],elseNext}; wait{wait:{mode:'duration',amount,unit:'minutes'|'hours'|'days',businessHoursOnly?}|{mode:'untilTaskDate',field:'deadline'|'internalDeadline',offsetHours}|{mode:'untilWindow',weekdays:[0-6],hour}|{mode:'untilEvent',event:{type:'clientApproved'|'clientRequestedRevisions'|'clientCommented'|'versionUploaded'}|{type:'statusIs',status}|{type:'hqStageIs',stageId},timeoutHours},next,timeoutNext?}; goal{event,next}; split{mode:'percent'|'roundRobin',branches:[{id,label,weight,next}]}; goTo{target}; addToFlow|removeFromFlow{flowId,next}; stop. The graph is a TREE (no step has two parents) plus explicit goTo jumps. Every loop must pass through a wait that holds at least 1 hour (a duration ≥ 1 h, a weekly window or an event wait) - a deadline wait does not count. Trigger and action payloads use the SAME vocabulary as automation rules (see list_automation_rules for real examples). Look up real ids first (custom columns, members, brands, HQ boards) - never guess an id. A status trigger is {type:'statusChanged',toStatus:<a status or a list of statuses>}; the field is toStatus, never statuses, and the statuses are task.status's values above. A posting-time step is an ordinary action step: {type:'setPostingTime',offsetDays}, whole days counted from the moment it runs (under a date trigger, from that date). It takes no hour and no platform: a post with no time yet lands at 9:00 workspace time, a post already scheduled keeps its time of day, and the platforms stay the task's own. When the user asks for an hour or a platform, draft it without them, leave them out of the summary, and say plainly in your reply after the draft what it will do instead. A plan without social posting refuses this step, and no retry changes that: say so. A notify action is {type:'notify',recipients} and an hqNotify {type:'hqNotify',recipients}. recipients is one object, never a list, and there is no other field for it. notify takes exactly one of {kind:'assignees'}|{kind:'admins'}|{kind:'supervisorsAndAdmins'}|{kind:'members',memberIds:[<team member id>]}|{kind:'clients'}; hqNotify exactly one of {kind:'assignees'}|{kind:'boardMembers'}|{kind:'admins'}|{kind:'members',memberIds:[<team member id>]}. notify to assignees, admins, supervisorsAndAdmins or members, and every hqNotify, reach the team only, never a client or guest; a guest's id in memberIds is refused. notify {kind:'clients'} tells the task's clients (the project's client-tier guests) by email and in their bell, through their own notification settings, at most once a day per client, task and flow, with the step's message copy; never WhatsApp. When the user wants a particular client or guest named, never swap the recipient silently: either tell them plainly and draft nothing yet, or draft and say it plainly in your reply after the draft, in the user's words ("a notification can go to your team or to the task's clients, never to one guest by name"), and offer what is possible. No step can text or WhatsApp a client (sms and whatsappGroup are not available). A client is reached by a notify step to {kind:'clients'}, or by a sendEmail step to the task's clients, {type:'sendEmail',to:{clients:true},subject,message,includeReviewLink?} (typed addresses are not available in a flow) when they want their own subject or the review button; the team by notify; and a client's Slack channel by sendReviewLinkToSlack, only once Slack is connected. Never offer a status change as a way to reach a client, and never move a task the client already approved back to clientApproval: that puts approved work in front of them again. Offer the same options every time this is asked. HQ actions need an HQ card: under a task trigger put a find step (linkedHqItem with the board) before them; task actions under an HQ trigger need a find step (sourceTask) first. HQ triggers carry boardId. createHqItem is a TASK action that MAKES the card, so it needs no find step: under a task trigger use {type:'createHqItem', boardId (from the workspace's HQ boards), stageId? (null = first stage), titlePrefix?}. Custom notification copy goes only on notify steps, in message:{subjectPrefix?,intro?,signOff?,slackHeadline?}. No links, emails, phone numbers, @here/@channel, markup or shouting - it leaves from Timeliner's own email and Slack app. Automations never trigger each other through their writes; chaining is only an explicit addToFlow step (max depth 3). |
namerequiredstringWhat the flow does, e.g. 'Chase client approval after 48 h'.descriptionstringgraphobjectThe flow graph.
Graph shape: {version:1, triggers:[{id, label?, trigger:{type,...}, boardId?, filters?}], root: stepId|null, steps:{[id]: step}}. Triggers are OR'd. A trigger node takes only those five fields. Every step carries its own id (equal to its key in steps) and its kind (the field is named kind, never type) and names its successor(s) by id; null = END. root is the id of the first step after the triggers (null only when there are no steps), and each step's next names the step after it - e.g. wait then notify = root:'w1', w1.next:'n1', n1.next:null. A step no path from root reaches is never drawn and never runs.
A complete graph, for "when a client approves, wait 1 day, then notify the task's assignees": {"version":1,"triggers":[{"id":"t1","trigger":{"type":"clientApproved"}}],"root":"w1","steps":{"w1":{"id":"w1","kind":"wait","wait":{"mode":"duration","amount":1,"unit":"days"},"next":"n1"},"n1":{"id":"n1","kind":"action","action":{"type":"notify","recipients":{"kind":"assignees"}},"next":null}}}.
Conditions - a trigger's filters, an ifElse branch's when - are always a group {match:'all'|'any',conditions:[{field,op,value}]}. field: task.status|task.customStatus|task.stage|task.tag|task.type|task.brand|task.project|task.assignee|task.hasAssignee|task.deadline|task.internalDeadline|task.revisionCount|task.orientation|task.durationSec|task.title|hq.board|hq.stage|hq.assignee|hq.dueDate|time.weekday|time.hour|time.businessHours; op: is|isNot|anyOf|noneOf|isSet|isNotSet|before|after|gt|lt|contains|notContains. To limit a flow to a brand, give its trigger filters:{match:'all',conditions:[{field:'task.brand',op:'anyOf',value:[<brand id>]}]} - never a brandId (or any other) field on the trigger.
These fields take ONLY these exact values, never a synonym (no 'portrait', '9:16', 'video'): task.status (op "anyOf"|"noneOf"): "toDo"|"inProgress"|"inRevision"|"supervisorApproval"|"supervisorApproved"|"adminApproval"|"clientApproval"|"clientApproved"|"endClientApproval"|"approved"|"posted"|"archive"; task.type (op "is"|"isNot"): "media"|"doc"; task.orientation (op "is"|"isNot"): "vertical"|"horizontal"|"square"; time.weekday (op "anyOf"|"noneOf"): "0"|"1"|"2"|"3"|"4"|"5"|"6"; time.businessHours (op "is"): true|false. time.weekday 0 = Sunday. E.g. only vertical videos = {field:'task.orientation',op:'is',value:'vertical'}. Every other field takes a real id you looked up (task.stage: '<columnId>:<optionId>'), a date (ISO or relative '+48h'/'-2d') or a number (task.durationSec in seconds, time.hour 0-23); task.title takes contains|notContains with the words to look for (case-insensitive; several, comma-separated, match any).
Step kinds: action{action,next,message?}; find{find:{relation:'sourceTask'}|{relation:'linkedHqItem',boardId},next,notFound}; ifElse{branches:[{id,label,when:{match:'all'|'any',conditions:[{field,op,value}]},next}],elseNext}; wait{wait:{mode:'duration',amount,unit:'minutes'|'hours'|'days',businessHoursOnly?}|{mode:'untilTaskDate',field:'deadline'|'internalDeadline',offsetHours}|{mode:'untilWindow',weekdays:[0-6],hour}|{mode:'untilEvent',event:{type:'clientApproved'|'clientRequestedRevisions'|'clientCommented'|'versionUploaded'}|{type:'statusIs',status}|{type:'hqStageIs',stageId},timeoutHours},next,timeoutNext?}; goal{event,next}; split{mode:'percent'|'roundRobin',branches:[{id,label,weight,next}]}; goTo{target}; addToFlow|removeFromFlow{flowId,next}; stop.
The graph is a TREE (no step has two parents) plus explicit goTo jumps. Every loop must pass through a wait that holds at least 1 hour (a duration ≥ 1 h, a weekly window or an event wait) - a deadline wait does not count.
Trigger and action payloads use the SAME vocabulary as automation rules (see list_automation_rules for real examples). Look up real ids first (custom columns, members, brands, HQ boards) - never guess an id.
A status trigger is {type:'statusChanged',toStatus:<a status or a list of statuses>}; the field is toStatus, never statuses, and the statuses are task.status's values above. A posting-time step is an ordinary action step: {type:'setPostingTime',offsetDays}, whole days counted from the moment it runs (under a date trigger, from that date). It takes no hour and no platform: a post with no time yet lands at 9:00 workspace time, a post already scheduled keeps its time of day, and the platforms stay the task's own. When the user asks for an hour or a platform, draft it without them, leave them out of the summary, and say plainly in your reply after the draft what it will do instead. A plan without social posting refuses this step, and no retry changes that: say so.
A notify action is {type:'notify',recipients} and an hqNotify {type:'hqNotify',recipients}. recipients is one object, never a list, and there is no other field for it. notify takes exactly one of {kind:'assignees'}|{kind:'admins'}|{kind:'supervisorsAndAdmins'}|{kind:'members',memberIds:[<team member id>]}|{kind:'clients'}; hqNotify exactly one of {kind:'assignees'}|{kind:'boardMembers'}|{kind:'admins'}|{kind:'members',memberIds:[<team member id>]}. notify to assignees, admins, supervisorsAndAdmins or members, and every hqNotify, reach the team only, never a client or guest; a guest's id in memberIds is refused. notify {kind:'clients'} tells the task's clients (the project's client-tier guests) by email and in their bell, through their own notification settings, at most once a day per client, task and flow, with the step's message copy; never WhatsApp. When the user wants a particular client or guest named, never swap the recipient silently: either tell them plainly and draft nothing yet, or draft and say it plainly in your reply after the draft, in the user's words ("a notification can go to your team or to the task's clients, never to one guest by name"), and offer what is possible. No step can text or WhatsApp a client (sms and whatsappGroup are not available). A client is reached by a notify step to {kind:'clients'}, or by a sendEmail step to the task's clients, {type:'sendEmail',to:{clients:true},subject,message,includeReviewLink?} (typed addresses are not available in a flow) when they want their own subject or the review button; the team by notify; and a client's Slack channel by sendReviewLinkToSlack, only once Slack is connected. Never offer a status change as a way to reach a client, and never move a task the client already approved back to clientApproval: that puts approved work in front of them again. Offer the same options every time this is asked.
HQ actions need an HQ card: under a task trigger put a find step (linkedHqItem with the board) before them; task actions under an HQ trigger need a find step (sourceTask) first. HQ triggers carry boardId.
createHqItem is a TASK action that MAKES the card, so it needs no find step: under a task trigger use {type:'createHqItem', boardId (from the workspace's HQ boards), stageId? (null = first stage), titlePrefix?}.
Custom notification copy goes only on notify steps, in message:{subjectPrefix?,intro?,signOff?,slackHeadline?}. No links, emails, phone numbers, @here/@channel, markup or shouting - it leaves from Timeliner's own email and Slack app.
Automations never trigger each other through their writes; chaining is only an explicit addToFlow step (max depth 3).{
"name": "example"
}Key scope: write:automations
create_automation_ruleCreate automation ruleWriteCreate an Automations Center rule - e.g. the backward-scheduling recipe: trigger publishDateScheduled + setDateColumn/setDeadline/setStartDate actions with NEGATIVE offsetDays counting back from the publish date (-21 = 21 days before publish). The same recipe works from a client's intake answer: trigger intakeApproved with anchorQuestionId set to a DATE question on the request form, and every offset counts back from the date the client asked for. Under status/stage triggers, offsets count from the moment the rule fires instead. Max 25 rules per SCOPE (50 on Scale and Enterprise) - pack up to 20 actions into one rule rather than one rule per action. Pass brandId to scope the rule to one brand (from list_brands) instead of the whole workspace; a brand-scoped rule runs only on that brand's tasks AND only if that brand is set to use its own automations, so tell the user to check the brand's Automations settings. Pass hqBoardId INSTEAD to scope the rule to an HQ board (from list_hq_boards): the trigger and every action must then come from the hq* vocabulary, and the rule runs on that board's items only - brandId and hqBoardId are mutually exclusive. Two recipes worth knowing on a board: hqDueDateReached with a NEGATIVE offsetDays nudges before a card is due (reminders are armed when a due date is set or changed, so already-overdue cards are never flushed), and createHqItem on a DELIVERABLE rule drops a card on a board when a task lands - one card per (board, task), so it is safe on a status a task reaches repeatedly. Read list_automation_rules first; if the response's automationsCenterEnabled is false, warn the user the rule is saved but dormant until Settings → Automations is switched on. Requires an upgraded plan. NOT update_automations (review/workflow timeout scalars).
| Name | Type | Details |
|---|---|---|
triggerrequired | object | When the rule fires. Column/option ids come from list_custom_columns. |
actionsrequired | object[] | 1-20 actions, run in order. |
enabled | boolean | Default true. |
brandId | uuid | Scope the rule to this brand (id from list_brands). Omit for a workspace-global rule. |
hqBoardId | uuid | Scope the rule to this HQ board (id from list_hq_boards). The trigger and actions must then be the hq* ones. Mutually exclusive with brandId. |
triggerrequiredobjectWhen the rule fires. Column/option ids come from list_custom_columns.actionsrequiredobject[]1-20 actions, run in order.enabledbooleanDefault true.brandIduuidScope the rule to this brand (id from list_brands). Omit for a workspace-global rule.hqBoardIduuidScope the rule to this HQ board (id from list_hq_boards). The trigger and actions must then be the hq* ones. Mutually exclusive with brandId.{
"trigger": {
"type": "hqItemCreated"
},
"actions": [
{
"type": "hqMoveToStage",
"target": "next"
}
]
}Key scope: write:automations
create_intake_formCreate an intake formWriteCreate a new named intake (deliverable-request) form. Give a name; the authoring language can be any language Timeliner supports and defaults to 'en'. The first form (or setAsDefault:true) becomes the workspace default. The questions + catalog are then built in the app. Returns the created form. (Plan-gated feature; supervisor+.)
| Name | Type | Details |
|---|---|---|
namerequired | string | The form name. |
language | enum | Authoring language - any language Timeliner supports. Defaults to 'en'.One of: en, es, pt, de, nl, fr, hi, ru, zh, he, ar |
setAsDefault | boolean | Make this the workspace default form. |
namerequiredstringThe form name.languageenumAuthoring language - any language Timeliner supports. Defaults to 'en'.One of: en, es, pt, de, nl, fr, hi, ru, zh, he, arsetAsDefaultbooleanMake this the workspace default form.{
"name": "example"
}Key scope: write:automations
delete_automation_ruleDelete automation ruleWriteDeletesPermanently delete an Automations Center rule. Its run history is kept, but the rule cannot be restored - confirm with the user which rule dies before calling. To pause a rule instead, use update_automation_rule with enabled:false. Deletes share one budget across the whole API: about 20 per minute per key, and daily ceilings per key and per workspace - over budget returns 429 with a Retry-After header. A 429 means STOP and tell the user; never wait-and-retry your way through a batch.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The rule id, from list_automation_rules. |
idrequireduuidThe rule id, from list_automation_rules.{
"id": "00000000-0000-0000-0000-000000000000"
}Key scope: write:automations
get_automation_flowGet automation flowReadOne flow in full: `draftGraph` (the exact JSON the builder edits - edit THIS and send it back with update_automation_flow), `publishedGraph` (what runs now, null if never published), a plain-English `outline`, 7-day activity, and `check` - every issue that blocks publishing, each with a message and the step id it points at.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The flow id, from list_automation_flows. |
idrequireduuidThe flow id, from list_automation_flows.{
"id": "00000000-0000-0000-0000-000000000000"
}Key scope: read:automations
get_automationsGet workspace automationsReadRead the workspace's automations: the review/workflow timeouts (auto-advance variant review, auto-revert-after-comment, auto-submit-for-review, the guest revert windows) AND the read-only notification automations (quiet hours, anti-spam batching, the scheduled catch-up digest).
No inputs.
{}Key scope: read:automations
get_intake_formGet an intake formReadRead one intake form in full: its sections (goal / central message / deadline / catalog / …), the question builder, the catalog items (deliverables with prices/badges), and the post-submission settings. Pass a form id from list_intake_forms.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The intake form's UUID - from list_intake_forms. |
idrequireduuidThe intake form's UUID - from list_intake_forms.{
"id": "00000000-0000-0000-0000-000000000000"
}Key scope: read:automations
list_automation_flow_runsList automation flow runsReadThe flow's latest runs (one task or HQ card travelling through it), newest first: state (active / waiting / completed / exited / failed), where it is now, why it exited, and each step's outcome and skip code. Use it to answer 'did it run on task X / why did it skip'.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The flow id, from list_automation_flows. |
limit | integer |
idrequireduuidThe flow id, from list_automation_flows.limitinteger{
"id": "00000000-0000-0000-0000-000000000000"
}Key scope: read:automations
list_automation_flowsList automation flowsReadList the workspace's Automation Studio FLOWS - the visual multi-step automations (waits, If/else branches, goals, splits, HQ ↔ workspace steps) - each with a plain-English `summary`, its `triggers`, status (draft / published / paused / dormant), and 7-day `activity` (runs, failures, last run, tasks waiting in it now). `flowsPaused` true means every flow is held from the workspace settings. Classic single-step rules are list_automation_rules.
| Name | Type | Details |
|---|---|---|
status | enum | Only flows in this state.One of: draft, published, paused, dormant |
statusenumOnly flows in this state.One of: draft, published, paused, dormant{}Key scope: read:automations
list_automation_rulesList workspace automation rulesReadRead the workspace's Automations Center rules - the 'when X happens → do Y' rules. TWO VOCABULARIES, never mixed inside one rule. DELIVERABLE rules (hqBoardId null): triggers status/stage change, posting time scheduled, a date column set, a version uploaded with optional media conditions, a client request approved, a client request coming in; actions move stage, set status, assign/unassign, set deadlines/dates/posting time/project deadline, send to brand, notify, apply a pricing template, add a card to an HQ board (createHqItem). HQ BOARD rules (hqBoardId set): triggers hqItemCreated, hqStageChanged, hqItemAssigned, hqDueDateSet, hqDueDateReached, hqFieldChanged, hqDocUpdated, hqFileAttached; actions hqMoveToStage, hqSetField, hqAssign, hqUnassign, hqSetDueDate, hqNotify, and hqSetSourceTaskStatus (moves the deliverable a card was spawned from). Use this to answer 'what automations do we have?' - and ALWAYS before create/update/delete_automation_rule. The response's automationsCenterEnabled is the master toggle: false means every rule is dormant. Each rule's brandId says which brand it is scoped to and hqBoardId which HQ board; both null means workspace-global. Pass brandId to list one brand's rules ('none' = only the workspace-global ones), or hqBoardId to list one board's ('none' = only the deliverable rules). Requires an upgraded plan. Not to be confused with get_automations (review/workflow timeouts).
| Name | Type | Details |
|---|---|---|
brandId | string | A brand id (from list_brands) for that brand's rules, or 'none' for only the workspace-global rules. Omit for every scope. |
hqBoardId | string | An HQ board id (from list_hq_boards) for that board's rules, or 'none' for only the deliverable rules. Omit for every scope. |
brandIdstringA brand id (from list_brands) for that brand's rules, or 'none' for only the workspace-global rules. Omit for every scope.hqBoardIdstringAn HQ board id (from list_hq_boards) for that board's rules, or 'none' for only the deliverable rules. Omit for every scope.{}Key scope: read:automations
list_intake_formsList intake formsReadList the workspace's intake (deliverable-request) forms - the Typeform-style request forms clients fill in to request work. Returns each form's id, name, language, and whether it's the workspace default. (Plan-gated feature.)
No inputs.
{}Key scope: read:automations
set_automation_flow_statusPause or resume an automation flowWritePause a live flow (new tasks stop entering; tasks already waiting in it hold) or resume a paused one. It cannot publish a draft - a 409 tells you the flow must be published by a person in Timeliner first.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The flow id, from list_automation_flows. |
actionrequired | enum | One of: pause, resume |
idrequireduuidThe flow id, from list_automation_flows.actionrequiredenumOne of: pause, resume{
"id": "00000000-0000-0000-0000-000000000000",
"action": "pause"
}Key scope: write:automations
update_automation_flowUpdate automation flow draftWriteRename a flow and/or REPLACE its draft graph (send the complete graph - start from get_automation_flow's draftGraph and keep the ids of steps you keep). Never changes what is running: a published flow keeps running its published version until a person publishes again. Pass expectedDraftUpdatedAt (from your last read) to avoid overwriting someone's edits - a 409 means re-read and reapply.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The flow id, from list_automation_flows. |
name | string | |
description | string | null | |
graph | object | The flow graph. Graph shape: {version:1, triggers:[{id, label?, trigger:{type,...}, boardId?, filters?}], root: stepId|null, steps:{[id]: step}}. Triggers are OR'd. A trigger node takes only those five fields. Every step carries its own id (equal to its key in steps) and its kind (the field is named kind, never type) and names its successor(s) by id; null = END. root is the id of the first step after the triggers (null only when there are no steps), and each step's next names the step after it - e.g. wait then notify = root:'w1', w1.next:'n1', n1.next:null. A step no path from root reaches is never drawn and never runs. A complete graph, for "when a client approves, wait 1 day, then notify the task's assignees": {"version":1,"triggers":[{"id":"t1","trigger":{"type":"clientApproved"}}],"root":"w1","steps":{"w1":{"id":"w1","kind":"wait","wait":{"mode":"duration","amount":1,"unit":"days"},"next":"n1"},"n1":{"id":"n1","kind":"action","action":{"type":"notify","recipients":{"kind":"assignees"}},"next":null}}}. Conditions - a trigger's filters, an ifElse branch's when - are always a group {match:'all'|'any',conditions:[{field,op,value}]}. field: task.status|task.customStatus|task.stage|task.tag|task.type|task.brand|task.project|task.assignee|task.hasAssignee|task.deadline|task.internalDeadline|task.revisionCount|task.orientation|task.durationSec|task.title|hq.board|hq.stage|hq.assignee|hq.dueDate|time.weekday|time.hour|time.businessHours; op: is|isNot|anyOf|noneOf|isSet|isNotSet|before|after|gt|lt|contains|notContains. To limit a flow to a brand, give its trigger filters:{match:'all',conditions:[{field:'task.brand',op:'anyOf',value:[<brand id>]}]} - never a brandId (or any other) field on the trigger. These fields take ONLY these exact values, never a synonym (no 'portrait', '9:16', 'video'): task.status (op "anyOf"|"noneOf"): "toDo"|"inProgress"|"inRevision"|"supervisorApproval"|"supervisorApproved"|"adminApproval"|"clientApproval"|"clientApproved"|"endClientApproval"|"approved"|"posted"|"archive"; task.type (op "is"|"isNot"): "media"|"doc"; task.orientation (op "is"|"isNot"): "vertical"|"horizontal"|"square"; time.weekday (op "anyOf"|"noneOf"): "0"|"1"|"2"|"3"|"4"|"5"|"6"; time.businessHours (op "is"): true|false. time.weekday 0 = Sunday. E.g. only vertical videos = {field:'task.orientation',op:'is',value:'vertical'}. Every other field takes a real id you looked up (task.stage: '<columnId>:<optionId>'), a date (ISO or relative '+48h'/'-2d') or a number (task.durationSec in seconds, time.hour 0-23); task.title takes contains|notContains with the words to look for (case-insensitive; several, comma-separated, match any). Step kinds: action{action,next,message?}; find{find:{relation:'sourceTask'}|{relation:'linkedHqItem',boardId},next,notFound}; ifElse{branches:[{id,label,when:{match:'all'|'any',conditions:[{field,op,value}]},next}],elseNext}; wait{wait:{mode:'duration',amount,unit:'minutes'|'hours'|'days',businessHoursOnly?}|{mode:'untilTaskDate',field:'deadline'|'internalDeadline',offsetHours}|{mode:'untilWindow',weekdays:[0-6],hour}|{mode:'untilEvent',event:{type:'clientApproved'|'clientRequestedRevisions'|'clientCommented'|'versionUploaded'}|{type:'statusIs',status}|{type:'hqStageIs',stageId},timeoutHours},next,timeoutNext?}; goal{event,next}; split{mode:'percent'|'roundRobin',branches:[{id,label,weight,next}]}; goTo{target}; addToFlow|removeFromFlow{flowId,next}; stop. The graph is a TREE (no step has two parents) plus explicit goTo jumps. Every loop must pass through a wait that holds at least 1 hour (a duration ≥ 1 h, a weekly window or an event wait) - a deadline wait does not count. Trigger and action payloads use the SAME vocabulary as automation rules (see list_automation_rules for real examples). Look up real ids first (custom columns, members, brands, HQ boards) - never guess an id. A status trigger is {type:'statusChanged',toStatus:<a status or a list of statuses>}; the field is toStatus, never statuses, and the statuses are task.status's values above. A posting-time step is an ordinary action step: {type:'setPostingTime',offsetDays}, whole days counted from the moment it runs (under a date trigger, from that date). It takes no hour and no platform: a post with no time yet lands at 9:00 workspace time, a post already scheduled keeps its time of day, and the platforms stay the task's own. When the user asks for an hour or a platform, draft it without them, leave them out of the summary, and say plainly in your reply after the draft what it will do instead. A plan without social posting refuses this step, and no retry changes that: say so. A notify action is {type:'notify',recipients} and an hqNotify {type:'hqNotify',recipients}. recipients is one object, never a list, and there is no other field for it. notify takes exactly one of {kind:'assignees'}|{kind:'admins'}|{kind:'supervisorsAndAdmins'}|{kind:'members',memberIds:[<team member id>]}|{kind:'clients'}; hqNotify exactly one of {kind:'assignees'}|{kind:'boardMembers'}|{kind:'admins'}|{kind:'members',memberIds:[<team member id>]}. notify to assignees, admins, supervisorsAndAdmins or members, and every hqNotify, reach the team only, never a client or guest; a guest's id in memberIds is refused. notify {kind:'clients'} tells the task's clients (the project's client-tier guests) by email and in their bell, through their own notification settings, at most once a day per client, task and flow, with the step's message copy; never WhatsApp. When the user wants a particular client or guest named, never swap the recipient silently: either tell them plainly and draft nothing yet, or draft and say it plainly in your reply after the draft, in the user's words ("a notification can go to your team or to the task's clients, never to one guest by name"), and offer what is possible. No step can text or WhatsApp a client (sms and whatsappGroup are not available). A client is reached by a notify step to {kind:'clients'}, or by a sendEmail step to the task's clients, {type:'sendEmail',to:{clients:true},subject,message,includeReviewLink?} (typed addresses are not available in a flow) when they want their own subject or the review button; the team by notify; and a client's Slack channel by sendReviewLinkToSlack, only once Slack is connected. Never offer a status change as a way to reach a client, and never move a task the client already approved back to clientApproval: that puts approved work in front of them again. Offer the same options every time this is asked. HQ actions need an HQ card: under a task trigger put a find step (linkedHqItem with the board) before them; task actions under an HQ trigger need a find step (sourceTask) first. HQ triggers carry boardId. createHqItem is a TASK action that MAKES the card, so it needs no find step: under a task trigger use {type:'createHqItem', boardId (from the workspace's HQ boards), stageId? (null = first stage), titlePrefix?}. Custom notification copy goes only on notify steps, in message:{subjectPrefix?,intro?,signOff?,slackHeadline?}. No links, emails, phone numbers, @here/@channel, markup or shouting - it leaves from Timeliner's own email and Slack app. Automations never trigger each other through their writes; chaining is only an explicit addToFlow step (max depth 3). |
expectedDraftUpdatedAt | string | draftUpdatedAt from your last read. |
idrequireduuidThe flow id, from list_automation_flows.namestringdescriptionstring | nullgraphobjectThe flow graph.
Graph shape: {version:1, triggers:[{id, label?, trigger:{type,...}, boardId?, filters?}], root: stepId|null, steps:{[id]: step}}. Triggers are OR'd. A trigger node takes only those five fields. Every step carries its own id (equal to its key in steps) and its kind (the field is named kind, never type) and names its successor(s) by id; null = END. root is the id of the first step after the triggers (null only when there are no steps), and each step's next names the step after it - e.g. wait then notify = root:'w1', w1.next:'n1', n1.next:null. A step no path from root reaches is never drawn and never runs.
A complete graph, for "when a client approves, wait 1 day, then notify the task's assignees": {"version":1,"triggers":[{"id":"t1","trigger":{"type":"clientApproved"}}],"root":"w1","steps":{"w1":{"id":"w1","kind":"wait","wait":{"mode":"duration","amount":1,"unit":"days"},"next":"n1"},"n1":{"id":"n1","kind":"action","action":{"type":"notify","recipients":{"kind":"assignees"}},"next":null}}}.
Conditions - a trigger's filters, an ifElse branch's when - are always a group {match:'all'|'any',conditions:[{field,op,value}]}. field: task.status|task.customStatus|task.stage|task.tag|task.type|task.brand|task.project|task.assignee|task.hasAssignee|task.deadline|task.internalDeadline|task.revisionCount|task.orientation|task.durationSec|task.title|hq.board|hq.stage|hq.assignee|hq.dueDate|time.weekday|time.hour|time.businessHours; op: is|isNot|anyOf|noneOf|isSet|isNotSet|before|after|gt|lt|contains|notContains. To limit a flow to a brand, give its trigger filters:{match:'all',conditions:[{field:'task.brand',op:'anyOf',value:[<brand id>]}]} - never a brandId (or any other) field on the trigger.
These fields take ONLY these exact values, never a synonym (no 'portrait', '9:16', 'video'): task.status (op "anyOf"|"noneOf"): "toDo"|"inProgress"|"inRevision"|"supervisorApproval"|"supervisorApproved"|"adminApproval"|"clientApproval"|"clientApproved"|"endClientApproval"|"approved"|"posted"|"archive"; task.type (op "is"|"isNot"): "media"|"doc"; task.orientation (op "is"|"isNot"): "vertical"|"horizontal"|"square"; time.weekday (op "anyOf"|"noneOf"): "0"|"1"|"2"|"3"|"4"|"5"|"6"; time.businessHours (op "is"): true|false. time.weekday 0 = Sunday. E.g. only vertical videos = {field:'task.orientation',op:'is',value:'vertical'}. Every other field takes a real id you looked up (task.stage: '<columnId>:<optionId>'), a date (ISO or relative '+48h'/'-2d') or a number (task.durationSec in seconds, time.hour 0-23); task.title takes contains|notContains with the words to look for (case-insensitive; several, comma-separated, match any).
Step kinds: action{action,next,message?}; find{find:{relation:'sourceTask'}|{relation:'linkedHqItem',boardId},next,notFound}; ifElse{branches:[{id,label,when:{match:'all'|'any',conditions:[{field,op,value}]},next}],elseNext}; wait{wait:{mode:'duration',amount,unit:'minutes'|'hours'|'days',businessHoursOnly?}|{mode:'untilTaskDate',field:'deadline'|'internalDeadline',offsetHours}|{mode:'untilWindow',weekdays:[0-6],hour}|{mode:'untilEvent',event:{type:'clientApproved'|'clientRequestedRevisions'|'clientCommented'|'versionUploaded'}|{type:'statusIs',status}|{type:'hqStageIs',stageId},timeoutHours},next,timeoutNext?}; goal{event,next}; split{mode:'percent'|'roundRobin',branches:[{id,label,weight,next}]}; goTo{target}; addToFlow|removeFromFlow{flowId,next}; stop.
The graph is a TREE (no step has two parents) plus explicit goTo jumps. Every loop must pass through a wait that holds at least 1 hour (a duration ≥ 1 h, a weekly window or an event wait) - a deadline wait does not count.
Trigger and action payloads use the SAME vocabulary as automation rules (see list_automation_rules for real examples). Look up real ids first (custom columns, members, brands, HQ boards) - never guess an id.
A status trigger is {type:'statusChanged',toStatus:<a status or a list of statuses>}; the field is toStatus, never statuses, and the statuses are task.status's values above. A posting-time step is an ordinary action step: {type:'setPostingTime',offsetDays}, whole days counted from the moment it runs (under a date trigger, from that date). It takes no hour and no platform: a post with no time yet lands at 9:00 workspace time, a post already scheduled keeps its time of day, and the platforms stay the task's own. When the user asks for an hour or a platform, draft it without them, leave them out of the summary, and say plainly in your reply after the draft what it will do instead. A plan without social posting refuses this step, and no retry changes that: say so.
A notify action is {type:'notify',recipients} and an hqNotify {type:'hqNotify',recipients}. recipients is one object, never a list, and there is no other field for it. notify takes exactly one of {kind:'assignees'}|{kind:'admins'}|{kind:'supervisorsAndAdmins'}|{kind:'members',memberIds:[<team member id>]}|{kind:'clients'}; hqNotify exactly one of {kind:'assignees'}|{kind:'boardMembers'}|{kind:'admins'}|{kind:'members',memberIds:[<team member id>]}. notify to assignees, admins, supervisorsAndAdmins or members, and every hqNotify, reach the team only, never a client or guest; a guest's id in memberIds is refused. notify {kind:'clients'} tells the task's clients (the project's client-tier guests) by email and in their bell, through their own notification settings, at most once a day per client, task and flow, with the step's message copy; never WhatsApp. When the user wants a particular client or guest named, never swap the recipient silently: either tell them plainly and draft nothing yet, or draft and say it plainly in your reply after the draft, in the user's words ("a notification can go to your team or to the task's clients, never to one guest by name"), and offer what is possible. No step can text or WhatsApp a client (sms and whatsappGroup are not available). A client is reached by a notify step to {kind:'clients'}, or by a sendEmail step to the task's clients, {type:'sendEmail',to:{clients:true},subject,message,includeReviewLink?} (typed addresses are not available in a flow) when they want their own subject or the review button; the team by notify; and a client's Slack channel by sendReviewLinkToSlack, only once Slack is connected. Never offer a status change as a way to reach a client, and never move a task the client already approved back to clientApproval: that puts approved work in front of them again. Offer the same options every time this is asked.
HQ actions need an HQ card: under a task trigger put a find step (linkedHqItem with the board) before them; task actions under an HQ trigger need a find step (sourceTask) first. HQ triggers carry boardId.
createHqItem is a TASK action that MAKES the card, so it needs no find step: under a task trigger use {type:'createHqItem', boardId (from the workspace's HQ boards), stageId? (null = first stage), titlePrefix?}.
Custom notification copy goes only on notify steps, in message:{subjectPrefix?,intro?,signOff?,slackHeadline?}. No links, emails, phone numbers, @here/@channel, markup or shouting - it leaves from Timeliner's own email and Slack app.
Automations never trigger each other through their writes; chaining is only an explicit addToFlow step (max depth 3).expectedDraftUpdatedAtstringdraftUpdatedAt from your last read.{
"id": "00000000-0000-0000-0000-000000000000"
}Key scope: write:automations
update_automation_ruleUpdate automation ruleWriteEdit an Automations Center rule: change its recipe (pass BOTH trigger and actions - they must come together) and/or flip enabled. Get rule ids from list_automation_rules. A rule's SCOPE is fixed - a board rule stays on its board and its replacement recipe must still use the hq* vocabulary; moving a rule between scopes means creating a new one. Enabled-only changes work on any plan; recipe edits need an upgraded plan. NOT update_automations (review/workflow timeout scalars).
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The rule id, from list_automation_rules. |
trigger | object | |
actions | object[] | |
enabled | boolean |
idrequireduuidThe rule id, from list_automation_rules.triggerobjectactionsobject[]enabledboolean{
"id": "00000000-0000-0000-0000-000000000000"
}Key scope: write:automations
update_automationsUpdate workspace automationsWriteChange one or more REVIEW/WORKFLOW automations. Minutes: 0 = off. Guest windows: 0 = off, -1 = forever, else minutes. The notification automations (quiet/batch/catch-up) are read-only here - change those in the app. Returns the full updated automations.
| Name | Type | Details |
|---|---|---|
autoAdvanceVariantReview | boolean | |
reviewRevertTimeout | integer | Minutes; 0 = off. |
autoSubmitForReviewTimeout | integer | Minutes; 0 = off. |
guestRevertWindow | integer | Minutes; 0 = off, -1 = forever. |
guestApprovalRevertWindow | integer | Minutes; 0 = off, -1 = forever. |
autoAdvanceVariantReviewbooleanreviewRevertTimeoutintegerMinutes; 0 = off.autoSubmitForReviewTimeoutintegerMinutes; 0 = off.guestRevertWindowintegerMinutes; 0 = off, -1 = forever.guestApprovalRevertWindowintegerMinutes; 0 = off, -1 = forever.{}Key scope: write:automations
validate_automation_flowValidate an automation flow graphWriteCheck a graph WITHOUT saving it: structure, loops, availability, references to columns / members / boards, message safety and conflicts with the workspace's live automations - the same checks publish runs. Returns canPublish, errors and warnings (each with a message and step id) and the plain-English outline the graph reads as. Pass flowId when validating a new version of an existing flow.
| Name | Type | Details |
|---|---|---|
graphrequired | object | The flow graph. Graph shape: {version:1, triggers:[{id, label?, trigger:{type,...}, boardId?, filters?}], root: stepId|null, steps:{[id]: step}}. Triggers are OR'd. A trigger node takes only those five fields. Every step carries its own id (equal to its key in steps) and its kind (the field is named kind, never type) and names its successor(s) by id; null = END. root is the id of the first step after the triggers (null only when there are no steps), and each step's next names the step after it - e.g. wait then notify = root:'w1', w1.next:'n1', n1.next:null. A step no path from root reaches is never drawn and never runs. A complete graph, for "when a client approves, wait 1 day, then notify the task's assignees": {"version":1,"triggers":[{"id":"t1","trigger":{"type":"clientApproved"}}],"root":"w1","steps":{"w1":{"id":"w1","kind":"wait","wait":{"mode":"duration","amount":1,"unit":"days"},"next":"n1"},"n1":{"id":"n1","kind":"action","action":{"type":"notify","recipients":{"kind":"assignees"}},"next":null}}}. Conditions - a trigger's filters, an ifElse branch's when - are always a group {match:'all'|'any',conditions:[{field,op,value}]}. field: task.status|task.customStatus|task.stage|task.tag|task.type|task.brand|task.project|task.assignee|task.hasAssignee|task.deadline|task.internalDeadline|task.revisionCount|task.orientation|task.durationSec|task.title|hq.board|hq.stage|hq.assignee|hq.dueDate|time.weekday|time.hour|time.businessHours; op: is|isNot|anyOf|noneOf|isSet|isNotSet|before|after|gt|lt|contains|notContains. To limit a flow to a brand, give its trigger filters:{match:'all',conditions:[{field:'task.brand',op:'anyOf',value:[<brand id>]}]} - never a brandId (or any other) field on the trigger. These fields take ONLY these exact values, never a synonym (no 'portrait', '9:16', 'video'): task.status (op "anyOf"|"noneOf"): "toDo"|"inProgress"|"inRevision"|"supervisorApproval"|"supervisorApproved"|"adminApproval"|"clientApproval"|"clientApproved"|"endClientApproval"|"approved"|"posted"|"archive"; task.type (op "is"|"isNot"): "media"|"doc"; task.orientation (op "is"|"isNot"): "vertical"|"horizontal"|"square"; time.weekday (op "anyOf"|"noneOf"): "0"|"1"|"2"|"3"|"4"|"5"|"6"; time.businessHours (op "is"): true|false. time.weekday 0 = Sunday. E.g. only vertical videos = {field:'task.orientation',op:'is',value:'vertical'}. Every other field takes a real id you looked up (task.stage: '<columnId>:<optionId>'), a date (ISO or relative '+48h'/'-2d') or a number (task.durationSec in seconds, time.hour 0-23); task.title takes contains|notContains with the words to look for (case-insensitive; several, comma-separated, match any). Step kinds: action{action,next,message?}; find{find:{relation:'sourceTask'}|{relation:'linkedHqItem',boardId},next,notFound}; ifElse{branches:[{id,label,when:{match:'all'|'any',conditions:[{field,op,value}]},next}],elseNext}; wait{wait:{mode:'duration',amount,unit:'minutes'|'hours'|'days',businessHoursOnly?}|{mode:'untilTaskDate',field:'deadline'|'internalDeadline',offsetHours}|{mode:'untilWindow',weekdays:[0-6],hour}|{mode:'untilEvent',event:{type:'clientApproved'|'clientRequestedRevisions'|'clientCommented'|'versionUploaded'}|{type:'statusIs',status}|{type:'hqStageIs',stageId},timeoutHours},next,timeoutNext?}; goal{event,next}; split{mode:'percent'|'roundRobin',branches:[{id,label,weight,next}]}; goTo{target}; addToFlow|removeFromFlow{flowId,next}; stop. The graph is a TREE (no step has two parents) plus explicit goTo jumps. Every loop must pass through a wait that holds at least 1 hour (a duration ≥ 1 h, a weekly window or an event wait) - a deadline wait does not count. Trigger and action payloads use the SAME vocabulary as automation rules (see list_automation_rules for real examples). Look up real ids first (custom columns, members, brands, HQ boards) - never guess an id. A status trigger is {type:'statusChanged',toStatus:<a status or a list of statuses>}; the field is toStatus, never statuses, and the statuses are task.status's values above. A posting-time step is an ordinary action step: {type:'setPostingTime',offsetDays}, whole days counted from the moment it runs (under a date trigger, from that date). It takes no hour and no platform: a post with no time yet lands at 9:00 workspace time, a post already scheduled keeps its time of day, and the platforms stay the task's own. When the user asks for an hour or a platform, draft it without them, leave them out of the summary, and say plainly in your reply after the draft what it will do instead. A plan without social posting refuses this step, and no retry changes that: say so. A notify action is {type:'notify',recipients} and an hqNotify {type:'hqNotify',recipients}. recipients is one object, never a list, and there is no other field for it. notify takes exactly one of {kind:'assignees'}|{kind:'admins'}|{kind:'supervisorsAndAdmins'}|{kind:'members',memberIds:[<team member id>]}|{kind:'clients'}; hqNotify exactly one of {kind:'assignees'}|{kind:'boardMembers'}|{kind:'admins'}|{kind:'members',memberIds:[<team member id>]}. notify to assignees, admins, supervisorsAndAdmins or members, and every hqNotify, reach the team only, never a client or guest; a guest's id in memberIds is refused. notify {kind:'clients'} tells the task's clients (the project's client-tier guests) by email and in their bell, through their own notification settings, at most once a day per client, task and flow, with the step's message copy; never WhatsApp. When the user wants a particular client or guest named, never swap the recipient silently: either tell them plainly and draft nothing yet, or draft and say it plainly in your reply after the draft, in the user's words ("a notification can go to your team or to the task's clients, never to one guest by name"), and offer what is possible. No step can text or WhatsApp a client (sms and whatsappGroup are not available). A client is reached by a notify step to {kind:'clients'}, or by a sendEmail step to the task's clients, {type:'sendEmail',to:{clients:true},subject,message,includeReviewLink?} (typed addresses are not available in a flow) when they want their own subject or the review button; the team by notify; and a client's Slack channel by sendReviewLinkToSlack, only once Slack is connected. Never offer a status change as a way to reach a client, and never move a task the client already approved back to clientApproval: that puts approved work in front of them again. Offer the same options every time this is asked. HQ actions need an HQ card: under a task trigger put a find step (linkedHqItem with the board) before them; task actions under an HQ trigger need a find step (sourceTask) first. HQ triggers carry boardId. createHqItem is a TASK action that MAKES the card, so it needs no find step: under a task trigger use {type:'createHqItem', boardId (from the workspace's HQ boards), stageId? (null = first stage), titlePrefix?}. Custom notification copy goes only on notify steps, in message:{subjectPrefix?,intro?,signOff?,slackHeadline?}. No links, emails, phone numbers, @here/@channel, markup or shouting - it leaves from Timeliner's own email and Slack app. Automations never trigger each other through their writes; chaining is only an explicit addToFlow step (max depth 3). |
flowId | uuid | The flow id, from list_automation_flows. |
graphrequiredobjectThe flow graph.
Graph shape: {version:1, triggers:[{id, label?, trigger:{type,...}, boardId?, filters?}], root: stepId|null, steps:{[id]: step}}. Triggers are OR'd. A trigger node takes only those five fields. Every step carries its own id (equal to its key in steps) and its kind (the field is named kind, never type) and names its successor(s) by id; null = END. root is the id of the first step after the triggers (null only when there are no steps), and each step's next names the step after it - e.g. wait then notify = root:'w1', w1.next:'n1', n1.next:null. A step no path from root reaches is never drawn and never runs.
A complete graph, for "when a client approves, wait 1 day, then notify the task's assignees": {"version":1,"triggers":[{"id":"t1","trigger":{"type":"clientApproved"}}],"root":"w1","steps":{"w1":{"id":"w1","kind":"wait","wait":{"mode":"duration","amount":1,"unit":"days"},"next":"n1"},"n1":{"id":"n1","kind":"action","action":{"type":"notify","recipients":{"kind":"assignees"}},"next":null}}}.
Conditions - a trigger's filters, an ifElse branch's when - are always a group {match:'all'|'any',conditions:[{field,op,value}]}. field: task.status|task.customStatus|task.stage|task.tag|task.type|task.brand|task.project|task.assignee|task.hasAssignee|task.deadline|task.internalDeadline|task.revisionCount|task.orientation|task.durationSec|task.title|hq.board|hq.stage|hq.assignee|hq.dueDate|time.weekday|time.hour|time.businessHours; op: is|isNot|anyOf|noneOf|isSet|isNotSet|before|after|gt|lt|contains|notContains. To limit a flow to a brand, give its trigger filters:{match:'all',conditions:[{field:'task.brand',op:'anyOf',value:[<brand id>]}]} - never a brandId (or any other) field on the trigger.
These fields take ONLY these exact values, never a synonym (no 'portrait', '9:16', 'video'): task.status (op "anyOf"|"noneOf"): "toDo"|"inProgress"|"inRevision"|"supervisorApproval"|"supervisorApproved"|"adminApproval"|"clientApproval"|"clientApproved"|"endClientApproval"|"approved"|"posted"|"archive"; task.type (op "is"|"isNot"): "media"|"doc"; task.orientation (op "is"|"isNot"): "vertical"|"horizontal"|"square"; time.weekday (op "anyOf"|"noneOf"): "0"|"1"|"2"|"3"|"4"|"5"|"6"; time.businessHours (op "is"): true|false. time.weekday 0 = Sunday. E.g. only vertical videos = {field:'task.orientation',op:'is',value:'vertical'}. Every other field takes a real id you looked up (task.stage: '<columnId>:<optionId>'), a date (ISO or relative '+48h'/'-2d') or a number (task.durationSec in seconds, time.hour 0-23); task.title takes contains|notContains with the words to look for (case-insensitive; several, comma-separated, match any).
Step kinds: action{action,next,message?}; find{find:{relation:'sourceTask'}|{relation:'linkedHqItem',boardId},next,notFound}; ifElse{branches:[{id,label,when:{match:'all'|'any',conditions:[{field,op,value}]},next}],elseNext}; wait{wait:{mode:'duration',amount,unit:'minutes'|'hours'|'days',businessHoursOnly?}|{mode:'untilTaskDate',field:'deadline'|'internalDeadline',offsetHours}|{mode:'untilWindow',weekdays:[0-6],hour}|{mode:'untilEvent',event:{type:'clientApproved'|'clientRequestedRevisions'|'clientCommented'|'versionUploaded'}|{type:'statusIs',status}|{type:'hqStageIs',stageId},timeoutHours},next,timeoutNext?}; goal{event,next}; split{mode:'percent'|'roundRobin',branches:[{id,label,weight,next}]}; goTo{target}; addToFlow|removeFromFlow{flowId,next}; stop.
The graph is a TREE (no step has two parents) plus explicit goTo jumps. Every loop must pass through a wait that holds at least 1 hour (a duration ≥ 1 h, a weekly window or an event wait) - a deadline wait does not count.
Trigger and action payloads use the SAME vocabulary as automation rules (see list_automation_rules for real examples). Look up real ids first (custom columns, members, brands, HQ boards) - never guess an id.
A status trigger is {type:'statusChanged',toStatus:<a status or a list of statuses>}; the field is toStatus, never statuses, and the statuses are task.status's values above. A posting-time step is an ordinary action step: {type:'setPostingTime',offsetDays}, whole days counted from the moment it runs (under a date trigger, from that date). It takes no hour and no platform: a post with no time yet lands at 9:00 workspace time, a post already scheduled keeps its time of day, and the platforms stay the task's own. When the user asks for an hour or a platform, draft it without them, leave them out of the summary, and say plainly in your reply after the draft what it will do instead. A plan without social posting refuses this step, and no retry changes that: say so.
A notify action is {type:'notify',recipients} and an hqNotify {type:'hqNotify',recipients}. recipients is one object, never a list, and there is no other field for it. notify takes exactly one of {kind:'assignees'}|{kind:'admins'}|{kind:'supervisorsAndAdmins'}|{kind:'members',memberIds:[<team member id>]}|{kind:'clients'}; hqNotify exactly one of {kind:'assignees'}|{kind:'boardMembers'}|{kind:'admins'}|{kind:'members',memberIds:[<team member id>]}. notify to assignees, admins, supervisorsAndAdmins or members, and every hqNotify, reach the team only, never a client or guest; a guest's id in memberIds is refused. notify {kind:'clients'} tells the task's clients (the project's client-tier guests) by email and in their bell, through their own notification settings, at most once a day per client, task and flow, with the step's message copy; never WhatsApp. When the user wants a particular client or guest named, never swap the recipient silently: either tell them plainly and draft nothing yet, or draft and say it plainly in your reply after the draft, in the user's words ("a notification can go to your team or to the task's clients, never to one guest by name"), and offer what is possible. No step can text or WhatsApp a client (sms and whatsappGroup are not available). A client is reached by a notify step to {kind:'clients'}, or by a sendEmail step to the task's clients, {type:'sendEmail',to:{clients:true},subject,message,includeReviewLink?} (typed addresses are not available in a flow) when they want their own subject or the review button; the team by notify; and a client's Slack channel by sendReviewLinkToSlack, only once Slack is connected. Never offer a status change as a way to reach a client, and never move a task the client already approved back to clientApproval: that puts approved work in front of them again. Offer the same options every time this is asked.
HQ actions need an HQ card: under a task trigger put a find step (linkedHqItem with the board) before them; task actions under an HQ trigger need a find step (sourceTask) first. HQ triggers carry boardId.
createHqItem is a TASK action that MAKES the card, so it needs no find step: under a task trigger use {type:'createHqItem', boardId (from the workspace's HQ boards), stageId? (null = first stage), titlePrefix?}.
Custom notification copy goes only on notify steps, in message:{subjectPrefix?,intro?,signOff?,slackHeadline?}. No links, emails, phone numbers, @here/@channel, markup or shouting - it leaves from Timeliner's own email and Slack app.
Automations never trigger each other through their writes; chaining is only an explicit addToFlow step (max depth 3).flowIduuidThe flow id, from list_automation_flows.{
"graph": {
"version": 1,
"triggers": [
{}
],
"root": "example",
"steps": {}
}
}Key scope: write:automations
create_analytics_dashboardCreate Analytics dashboardWriteBuild a TEAM Analytics dashboard everyone on the team can open in Timeliner (Analytics → the dashboard picker): start from a template (essentials by default; production, finance, social, ceo, everything) and apply operations. Give brandId to make it a brand's report. Up to 20 team dashboards per workspace (409 at the cap). Nobody is notified. Returns the dashboard, `applied` and `skipped`. Edits applied in order, at most 50 - the same ones the app's Customize mode makes: showCard / hideCard {key}, onlyShow {keys}, resize {key, width: third|half|twoThirds|full, height: compact|short|tall|extraTall}, move {key, to: top|bottom}, moveAfter {key, after}, applyTemplate {template}, autoFit {section?}, addChart {section, chart, width?, height?}, updateChart {blockId, chart}, addHeading / addNote {section, text}, removeBlock {blockId}. Card keys, sizes and every chart option come from get_analytics_dashboard_catalog. A chart counts tasks (never money): {title, type, measure, groupBy, scope, statuses, brandIds, topN, sort, color, target, compare}. Edits that cannot apply are returned in `skipped` with a reason; nothing is guessed.
| Name | Type | Details |
|---|---|---|
namerequired | string | What the team sees in the picker, e.g. 'Acme monthly report'. |
brandId | uuid | null | A brand id from list_brands; null/omitted = all brands. |
template | enum | One of: essentials, production, finance, social, ceo, everything |
operations | object[] | Edits applied in order, at most 50 - the same ones the app's Customize mode makes: showCard / hideCard {key}, onlyShow {keys}, resize {key, width: third|half|twoThirds|full, height: compact|short|tall|extraTall}, move {key, to: top|bottom}, moveAfter {key, after}, applyTemplate {template}, autoFit {section?}, addChart {section, chart, width?, height?}, updateChart {blockId, chart}, addHeading / addNote {section, text}, removeBlock {blockId}. Card keys, sizes and every chart option come from get_analytics_dashboard_catalog. A chart counts tasks (never money): {title, type, measure, groupBy, scope, statuses, brandIds, topN, sort, color, target, compare}. Edits that cannot apply are returned in `skipped` with a reason; nothing is guessed. |
namerequiredstringWhat the team sees in the picker, e.g. 'Acme monthly report'.brandIduuid | nullA brand id from list_brands; null/omitted = all brands.templateenumOne of: essentials, production, finance, social, ceo, everythingoperationsobject[]Edits applied in order, at most 50 - the same ones the app's Customize mode makes: showCard / hideCard {key}, onlyShow {keys}, resize {key, width: third|half|twoThirds|full, height: compact|short|tall|extraTall}, move {key, to: top|bottom}, moveAfter {key, after}, applyTemplate {template}, autoFit {section?}, addChart {section, chart, width?, height?}, updateChart {blockId, chart}, addHeading / addNote {section, text}, removeBlock {blockId}. Card keys, sizes and every chart option come from get_analytics_dashboard_catalog. A chart counts tasks (never money): {title, type, measure, groupBy, scope, statuses, brandIds, topN, sort, color, target, compare}. Edits that cannot apply are returned in `skipped` with a reason; nothing is guessed.{
"name": "example"
}Key scope: write:workspace
create_workload_blockCreate workload blockWriteCreate a workload block for a team member: a shoot day / location scout ('production'), a vacation or public holiday ('timeOff' - reduces their capacity), or 'other'. Applies to every calendar day in the range, weekends included (a Saturday shoot is the point). minutesPerDay is the daily amount (480 = 8h).
| Name | Type | Details |
|---|---|---|
memberIdrequired | uuid | Team member id (from list_members). |
titlerequired | string | e.g. 'Client shoot day', 'Vacation'. |
startDaterequired | string | YYYY-MM-DD, inclusive. |
endDaterequired | string | YYYY-MM-DD, inclusive, on/after startDate. |
minutesPerDayrequired | integer | Minutes per day (480 = 8h). |
kind | enum | Defaults to production.One of: production, timeOff, other |
taskId | uuid | null | Optional task this block serves (the deliverable a shoot day is for). |
projectId | uuid | null | Optional related project. |
memberIdrequireduuidTeam member id (from list_members).titlerequiredstringe.g. 'Client shoot day', 'Vacation'.startDaterequiredstringYYYY-MM-DD, inclusive.endDaterequiredstringYYYY-MM-DD, inclusive, on/after startDate.minutesPerDayrequiredintegerMinutes per day (480 = 8h).kindenumDefaults to production.One of: production, timeOff, othertaskIduuid | nullOptional task this block serves (the deliverable a shoot day is for).projectIduuid | nullOptional related project.{
"memberId": "00000000-0000-0000-0000-000000000000",
"title": "example",
"startDate": "example",
"endDate": "example",
"minutesPerDay": 1
}Key scope: write:workspace
delete_analytics_dashboardDelete Analytics dashboardWriteDeletesDelete a TEAM Analytics dashboard for everyone. Only the saved layout and its notes and custom charts go; no task or number is touched. It cannot be undone, so confirm with the user, naming the dashboard. Deletes share one budget across the whole API: about 20 per minute per key, and daily ceilings per key and per workspace - over budget returns 429 with a Retry-After header. A 429 means STOP and tell the user; never wait-and-retry your way through a batch.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The dashboard's full UUID, exactly as list_analytics_dashboards or create_analytics_dashboard returned it. |
idrequireduuidThe dashboard's full UUID, exactly as list_analytics_dashboards or create_analytics_dashboard returned it.{
"id": "00000000-0000-0000-0000-000000000000"
}Key scope: write:workspace
delete_workload_blockDelete workload blockWriteDeletesDelete a workload block (e.g. a cancelled shoot or removed time off). Deletes share one budget across the whole API: about 20 per minute per key, and daily ceilings per key and per workspace - over budget returns 429 with a Retry-After header. A 429 means STOP and tell the user; never wait-and-retry your way through a batch.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The block's UUID. |
idrequireduuidThe block's UUID.{
"id": "00000000-0000-0000-0000-000000000000"
}Key scope: write:workspace
get_analyticsGet analyticsReadRead the workspace's analytics in one call: task status counts, monthly financial trend, per-editor performance (approved / in-progress / on-time% / avg revision rounds), revision stats (internal + external, per editor + per brand + monthly trend), production momentum, top editors/clients by revisions, teamWorkload (per-member open task counts by status), and timeTracking (per-member time from the Time Tracking column - totalSeconds tracked + the number of tasks tracked; use this to sum the team's tracked time). Optional from/to (ISO date; on task creation date, except timeTracking which filters on when the time was logged), brandId, projectId and memberId filters - they narrow every dataset, timeTracking included: brandId and projectId to time tracked on that brand's / project's tasks, memberId to the time that member tracked. Numbers match the in-app Analytics view. Below the Agency plan only statusCounts and timeTracking are answered - the other datasets are left out, as on the app's own Analytics cards; say they need the Agency plan.
| Name | Type | Details |
|---|---|---|
from | string | ISO date/datetime - tasks created on/after this. |
to | string | ISO date/datetime - tasks created on/before this. |
brandId | uuid | Restrict to one brand/client. |
projectId | uuid | Restrict to one project (its tasks, tracked time and project money). |
memberId | uuid | Restrict to tasks involving one team member; timeTracking narrows to the time that member tracked. |
fromstringISO date/datetime - tasks created on/after this.tostringISO date/datetime - tasks created on/before this.brandIduuidRestrict to one brand/client.projectIduuidRestrict to one project (its tasks, tracked time and project money).memberIduuidRestrict to tasks involving one team member; timeTracking narrows to the time that member tracked.{}Key scope: read:workspace
get_analytics_dashboardGet Analytics dashboardReadOne TEAM dashboard's layout: whether the overview strip shows, every visible card and block in reading order with its section and size, and each heading, note and custom chart (with its full chart settings and block id). Read it before update_analytics_dashboard and pass its revision back.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The dashboard's full UUID, exactly as list_analytics_dashboards or create_analytics_dashboard returned it. |
idrequireduuidThe dashboard's full UUID, exactly as list_analytics_dashboards or create_analytics_dashboard returned it.{
"id": "00000000-0000-0000-0000-000000000000"
}Key scope: read:workspace
get_analytics_dashboard_catalogAnalytics dashboard catalogReadEverything that can go on an Analytics dashboard: each card's key, English name, section (today = Today, performance = Production, finance, social), allowed widths, row limits and whether only managers see it; the templates and the cards each shows; and every custom-chart option (types, measures, groupBys, scopes, sorts, colors). Read it before create_analytics_dashboard or update_analytics_dashboard.
No inputs.
{}Key scope: read:workspace
get_workloadGet team workloadReadThe capacity-planning grid - USE THIS to answer 'who is available', 'who can take a new project', 'is the team overloaded next week'. Per active team member: per-day and per-week scheduledMinutes vs capacityMinutes (task time estimates spread across the workspace's working days, plus production/time-off blocks), the task spans (startDate → dueDate with each member's share), block spans, and unscheduledTaskIds (assigned but missing dates) + overdueTaskIds. A member has room when scheduledMinutes < capacityMinutes over the weeks in question. Default range: this week → +8 weeks. Elite/Agency/Scale plans only (403 otherwise).
| Name | Type | Details |
|---|---|---|
from | string | Range start, YYYY-MM-DD. Default: this week's start. |
to | string | Range end (inclusive), YYYY-MM-DD. Default: +8 weeks. |
fromstringRange start, YYYY-MM-DD. Default: this week's start.tostringRange end (inclusive), YYYY-MM-DD. Default: +8 weeks.{}Key scope: read:workspace
get_workspaceGet workspaceReadGet the workspace this API key belongs to (id, name, picture, defaultCurrency, template, timezone). timezone is the workspace's IANA zone (null = browser-detected) - use it to interpret the UTC post times from list_posts. All other tools are automatically scoped to this workspace - never ask for a workspace id.
No inputs.
{}Key scope: read:workspace
get_workspace_settingsGet workspace settingsReadRead the workspace's settings (Settings → Workspace + Advanced): permissions (editor/supervisor), workflow (dual deadlines, revision caps), media-review, guest portal, and read-only context like the download policy. Effective values with defaults applied.
No inputs.
{}Key scope: read:workspace
list_analytics_dashboardsList Analytics dashboardsReadList the workspace's TEAM Analytics dashboards (the saved report layouts everyone on the team can open; people's private dashboards are never listed). Each: id, name, brandId (null = all brands), revision, editedAt, cardCount, blockCount. brandId narrows to that brand's dashboards plus the all-brands ones.
| Name | Type | Details |
|---|---|---|
brandId | uuid | A brand id from list_brands. |
brandIduuidA brand id from list_brands.{}Key scope: read:workspace
list_membersList team membersReadList the workspace's team members so you can answer 'who is on the team', 'who is available', or 'what is each person's role'. Each member has a role (admin, supervisor, or editor - admin and supervisor manage work; editors do the editing), an optional free-form subRole label (e.g. 'Rough Cut Editor'), and deactivated/pending flags. Use a member's id to recognise task assignees. By default returns only active team members: people who accepted their invite and were not removed. Set includeGuests=true to also include external guest reviewers, includeDeactivated=true to include removed members, includePending=true to include people invited who have not accepted yet (a task's assigneeIds can name one of them). Not paginated.
| Name | Type | Details |
|---|---|---|
includeGuests | boolean | Include external guest reviewers (role 'guest'). Defaults to false. |
includeDeactivated | boolean | Include deactivated / removed members. Defaults to false. |
includePending | boolean | Include people invited who have not accepted yet (pending: true). Defaults to false. update_member refuses them until they accept. |
includeGuestsbooleanInclude external guest reviewers (role 'guest'). Defaults to false.includeDeactivatedbooleanInclude deactivated / removed members. Defaults to false.includePendingbooleanInclude people invited who have not accepted yet (pending: true). Defaults to false. update_member refuses them until they accept.{}Key scope: read:workspace
list_workload_blocksList workload blocksReadList the workspace's workload blocks - member-level date ranges for shoot days, location scouts and time off. 'timeOff' blocks reduce the member's capacity for those days; 'production'/'other' blocks add scheduled minutes (weekends included). Optional from/to narrows to blocks overlapping the range. Returns {data, nextBefore}; when nextBefore is non-null, call again with before=nextBefore for the next page.
| Name | Type | Details |
|---|---|---|
from | string | Only blocks ending on/after this date (YYYY-MM-DD). |
to | string | Only blocks starting on/before this date (YYYY-MM-DD). |
limit | integer | Items per page, 1-100. Defaults to 50. |
before | string | Opaque pagination cursor - pass the previous response's nextBefore value verbatim. |
fromstringOnly blocks ending on/after this date (YYYY-MM-DD).tostringOnly blocks starting on/before this date (YYYY-MM-DD).limitintegerItems per page, 1-100. Defaults to 50.beforestringOpaque pagination cursor - pass the previous response's nextBefore value verbatim.{}Key scope: read:workspace
update_analytics_dashboardUpdate Analytics dashboardWriteRename a TEAM dashboard and/or apply operations to it, as one new revision. Pass the revision from get_analytics_dashboard: a 409 means someone changed it since - read it again and re-plan rather than retrying blindly. Edits applied in order, at most 50 - the same ones the app's Customize mode makes: showCard / hideCard {key}, onlyShow {keys}, resize {key, width: third|half|twoThirds|full, height: compact|short|tall|extraTall}, move {key, to: top|bottom}, moveAfter {key, after}, applyTemplate {template}, autoFit {section?}, addChart {section, chart, width?, height?}, updateChart {blockId, chart}, addHeading / addNote {section, text}, removeBlock {blockId}. Card keys, sizes and every chart option come from get_analytics_dashboard_catalog. A chart counts tasks (never money): {title, type, measure, groupBy, scope, statuses, brandIds, topN, sort, color, target, compare}. Edits that cannot apply are returned in `skipped` with a reason; nothing is guessed.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The dashboard's full UUID, exactly as list_analytics_dashboards or create_analytics_dashboard returned it. |
name | string | |
revision | integer | |
operations | object[] | Edits applied in order, at most 50 - the same ones the app's Customize mode makes: showCard / hideCard {key}, onlyShow {keys}, resize {key, width: third|half|twoThirds|full, height: compact|short|tall|extraTall}, move {key, to: top|bottom}, moveAfter {key, after}, applyTemplate {template}, autoFit {section?}, addChart {section, chart, width?, height?}, updateChart {blockId, chart}, addHeading / addNote {section, text}, removeBlock {blockId}. Card keys, sizes and every chart option come from get_analytics_dashboard_catalog. A chart counts tasks (never money): {title, type, measure, groupBy, scope, statuses, brandIds, topN, sort, color, target, compare}. Edits that cannot apply are returned in `skipped` with a reason; nothing is guessed. |
idrequireduuidThe dashboard's full UUID, exactly as list_analytics_dashboards or create_analytics_dashboard returned it.namestringrevisionintegeroperationsobject[]Edits applied in order, at most 50 - the same ones the app's Customize mode makes: showCard / hideCard {key}, onlyShow {keys}, resize {key, width: third|half|twoThirds|full, height: compact|short|tall|extraTall}, move {key, to: top|bottom}, moveAfter {key, after}, applyTemplate {template}, autoFit {section?}, addChart {section, chart, width?, height?}, updateChart {blockId, chart}, addHeading / addNote {section, text}, removeBlock {blockId}. Card keys, sizes and every chart option come from get_analytics_dashboard_catalog. A chart counts tasks (never money): {title, type, measure, groupBy, scope, statuses, brandIds, topN, sort, color, target, compare}. Edits that cannot apply are returned in `skipped` with a reason; nothing is guessed.{
"id": "00000000-0000-0000-0000-000000000000"
}Key scope: write:workspace
update_memberUpdate memberWriteUpdate a team member's per-member settings: weeklyCapacityMinutes - their weekly workload capacity in minutes (2400 = 40h; null = follow the workspace default defaultWeeklyCapacityMinutes) - and/or payModel - how they're paid: 'perTask' (per-deliverable pay rows), 'perProject' (a fixed fee per project, set per project via set_project_billing team.feeUpdates), or 'monthly' (salary; monthlySalary required). Pay-model changes are effective-dated (history keeps counting; the new model applies from today). Member ids come from list_members. Only active members can be updated: someone invited who has not accepted (pending: true) or removed (deactivated: true) is refused with 400, so update an invitee after they accept.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The member's UUID. |
weeklyCapacityMinutes | integer | null | Weekly capacity in minutes (2400 = 40h), or null to follow the workspace default. |
payModel | enum | The member's pay model; 'monthly' requires monthlySalary.One of: perTask, perProject, monthly |
monthlySalary | number | Monthly salary amount - required when payModel is 'monthly'. |
idrequireduuidThe member's UUID.weeklyCapacityMinutesinteger | nullWeekly capacity in minutes (2400 = 40h), or null to follow the workspace default.payModelenumThe member's pay model; 'monthly' requires monthlySalary.One of: perTask, perProject, monthlymonthlySalarynumberMonthly salary amount - required when payModel is 'monthly'.{
"id": "00000000-0000-0000-0000-000000000000"
}Key scope: write:workspace
update_workload_blockUpdate workload blockWriteUpdate a workload block's title, kind, dates or minutesPerDay (block ids come from list_workload_blocks or get_workload). Provide at least one field.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The block's UUID. |
title | string | |
kind | enum | One of: production, timeOff, other |
startDate | string | YYYY-MM-DD. |
endDate | string | YYYY-MM-DD, on/after startDate. |
minutesPerDay | integer | |
taskId | uuid | null | Link (or null to unlink) the task this block serves. |
idrequireduuidThe block's UUID.titlestringkindenumOne of: production, timeOff, otherstartDatestringYYYY-MM-DD.endDatestringYYYY-MM-DD, on/after startDate.minutesPerDayintegertaskIduuid | nullLink (or null to unlink) the task this block serves.{
"id": "00000000-0000-0000-0000-000000000000"
}Key scope: write:workspace
update_workspace_settingsUpdate workspace settingsWriteChange one or more writable workspace settings. Send only the keys you want to change. Plan-gated keys (dualDeadlineMode, defaultRevisionLimit, enableTranscripts, guestAllStagesVisible, guestEarlyStageDocAccess, autoTranscribeUploads) need an upgraded plan to ENABLE - if the call is refused, relay the error message verbatim; it names the exact plan. Never name a plan tier yourself. guestAllStagesVisible ("Show clients every workflow stage", default false) lets clients see tasks in every stage as view-only cards - offer it when a client asks to see planned or in-progress work; guestEarlyStageDocAccess (placeholder | view | comment | edit) sets how far a document in such a stage goes. A brand's own values (update_brand) override both per brand. Read-only settings (downloadPolicy, archiveEnabled, …) are rejected - change those in the app. Returns the full updated settings.
| Name | Type | Details |
|---|---|---|
editorCanCreateTasks | boolean | |
editorCanCreateProjects | boolean | Let editors create projects inside brands they can already access, and delete only the projects they created. Brands and folders stay supervisor-only. Default false. |
editorSeeAllProjectTasks | boolean | |
editorCanReachClientApproval | boolean | |
supervisorCanApprove | boolean | |
supervisorChartAccess | boolean | Supervisors see brand/client financials in charts. |
autoAddSupervisorsToNodes | boolean | |
supervisorCanArchiveBrands | boolean | Let supervisors archive/unarchive the brands they manage. Projects stay admin-only. Default false. |
dualDeadlineMode | boolean | Plan-gated to enable. |
defaultRevisionLimit | integer | null | Plan-gated to set. null = unlimited. |
showFrameNumber | boolean | |
startMuted | boolean | |
autoplayOnOpen | boolean | |
enableTranscripts | boolean | Plan-gated to enable. |
transcriptSidePanel | boolean | Video review layout default: dock the transcript in its own panel left of the player, side by side with the comments. Desktop + team members only. All plans; default false. |
autoTranscribeUploads | boolean | Start the transcript of every NEW uploaded video (task versions and raw files) automatically. Same plan gate as enableTranscripts (every plan with transcripts; a refused enable is a 403 - relay it verbatim); only works while enableTranscripts is on; default false. A task version's transcript is free; each raw file's transcript uses the workspace's credits. |
rawFilesCommentsEnabled | boolean | Task-review-style comments (timecodes, ranges, drawings, unread badges) on raw files in Raw Files & Assets. All plans; default false. |
openTaskOnTitleClick | boolean | What a click on a task's name does for team members: false (default) = rename, true = open the task (rename on double-click). All plans. |
productionTracking | boolean | Advanced "Production tracking" for production teams (default false, all plans): reveals each project's phase, shoot date and time budget, the Linked task column type, the production overview cards in Analytics and HQ mirror boards. |
guestCanViewBrief | boolean | Plan-gated to enable (Studio or higher). |
guestCanSchedulePosts | boolean | Let client approvers schedule & publish content they already approved. Posting-plan gated; default false. |
guestAllStagesVisible | boolean | "Show clients every workflow stage": clients see tasks in every stage (to-do, in progress, internal approvals) as view-only cards. Early-stage media is not playable, commentable or approvable - except for a guest the task reaches through an assignment, who keeps its pre-setting rights. Plan-gated to enable; default false. |
guestEarlyStageDocAccess | enum | How far a DOCUMENT in an early stage goes while every stage is visible: placeholder (default) | view | comment | edit. Plan-gated past placeholder.One of: placeholder, view, comment, edit |
guestPortalLanding | enum | null | Where clients land: null (default) = each client's last choice, media = always All media on what needs their review, firstView = always the first Client view. All plans; a brand's portal.landing (update_brand_settings) overrides it.One of: media, firstView |
guestCanMarkPosted | boolean | Client approvers may move their own approved work to Posted (default true). All plans. |
editorCanCreateTasksbooleaneditorCanCreateProjectsbooleanLet editors create projects inside brands they can already access, and delete only the projects they created. Brands and folders stay supervisor-only. Default false.editorSeeAllProjectTasksbooleaneditorCanReachClientApprovalbooleansupervisorCanApprovebooleansupervisorChartAccessbooleanSupervisors see brand/client financials in charts.autoAddSupervisorsToNodesbooleansupervisorCanArchiveBrandsbooleanLet supervisors archive/unarchive the brands they manage. Projects stay admin-only. Default false.dualDeadlineModebooleanPlan-gated to enable.defaultRevisionLimitinteger | nullPlan-gated to set. null = unlimited.showFrameNumberbooleanstartMutedbooleanautoplayOnOpenbooleanenableTranscriptsbooleanPlan-gated to enable.transcriptSidePanelbooleanVideo review layout default: dock the transcript in its own panel left of the player, side by side with the comments. Desktop + team members only. All plans; default false.autoTranscribeUploadsbooleanStart the transcript of every NEW uploaded video (task versions and raw files) automatically. Same plan gate as enableTranscripts (every plan with transcripts; a refused enable is a 403 - relay it verbatim); only works while enableTranscripts is on; default false. A task version's transcript is free; each raw file's transcript uses the workspace's credits.rawFilesCommentsEnabledbooleanTask-review-style comments (timecodes, ranges, drawings, unread badges) on raw files in Raw Files & Assets. All plans; default false.openTaskOnTitleClickbooleanWhat a click on a task's name does for team members: false (default) = rename, true = open the task (rename on double-click). All plans.productionTrackingbooleanAdvanced "Production tracking" for production teams (default false, all plans): reveals each project's phase, shoot date and time budget, the Linked task column type, the production overview cards in Analytics and HQ mirror boards.guestCanViewBriefbooleanPlan-gated to enable (Studio or higher).guestCanSchedulePostsbooleanLet client approvers schedule & publish content they already approved. Posting-plan gated; default false.guestAllStagesVisibleboolean"Show clients every workflow stage": clients see tasks in every stage (to-do, in progress, internal approvals) as view-only cards. Early-stage media is not playable, commentable or approvable - except for a guest the task reaches through an assignment, who keeps its pre-setting rights. Plan-gated to enable; default false.guestEarlyStageDocAccessenumHow far a DOCUMENT in an early stage goes while every stage is visible: placeholder (default) | view | comment | edit. Plan-gated past placeholder.One of: placeholder, view, comment, editguestPortalLandingenum | nullWhere clients land: null (default) = each client's last choice, media = always All media on what needs their review, firstView = always the first Client view. All plans; a brand's portal.landing (update_brand_settings) overrides it.One of: media, firstViewguestCanMarkPostedbooleanClient approvers may move their own approved work to Posted (default true). All plans.{}Key scope: write:workspace
create_hq_boardCreate HQ boardWriteCreate an internal HQ board, optionally seeded from a template preset (companyOps, salesPipeline, sops, assetLibrary, onboarding, blank). A template seeds its stages and custom fields with ENGLISH names (plain user-editable strings afterward); without a template the board gets a single 'To do' stage. Active boards are capped per plan (409 at the cap; archived boards don't count). Returns the full board with its stages/fields - use those stage ids with create_hq_item.
| Name | Type | Details |
|---|---|---|
namerequired | string | |
description | string | null | |
icon | string | null | Emoji (e.g. 💰) or a curated icon name (e.g. "DollarSign"). Defaults to the template's icon. |
color | string | null | Palette token (e.g. blue, emerald). Invalid tokens are dropped. |
kind | enum | Card-styling flavor. Defaults to the template's kind, else tasks.One of: tasks, docs, crm, assets, checklist |
access | enum | open = every team member; restricted = explicit members + admins. Defaults to open.One of: open, restricted |
template | enum | Template preset to seed stages/fields from (English names).One of: companyOps, salesPipeline, sops, assetLibrary, onboarding, blank |
namerequiredstringdescriptionstring | nulliconstring | nullEmoji (e.g. 💰) or a curated icon name (e.g. "DollarSign"). Defaults to the template's icon.colorstring | nullPalette token (e.g. blue, emerald). Invalid tokens are dropped.kindenumCard-styling flavor. Defaults to the template's kind, else tasks.One of: tasks, docs, crm, assets, checklistaccessenumopen = every team member; restricted = explicit members + admins. Defaults to open.One of: open, restrictedtemplateenumTemplate preset to seed stages/fields from (English names).One of: companyOps, salesPipeline, sops, assetLibrary, onboarding, blank{
"name": "example"
}Key scope: write:hq
create_hq_fieldCreate HQ fieldWriteAdd a custom field to an HQ board - it becomes a list-view column and an item-page detail. Select fields may seed their options; currency fields take an ISO 4217 currency, which is stored and returned here while HQ screens always show the workspace currency. Capped per board (409). Set values afterward with set_hq_item_field_values on this board's items (the new field id belongs to this board only). Returns the field (with option ids).
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The HQ board's UUID. |
kindrequired | enum | One of: text, number, currency, date, select, link, email, phone, user, timeTracker |
namerequired | string | |
currency | string | Currency fields only, e.g. USD. Stored and returned; HQ screens always show the workspace currency. |
options | object[] | Select fields only - the options in order. |
idrequireduuidThe HQ board's UUID.kindrequiredenumOne of: text, number, currency, date, select, link, email, phone, user, timeTrackernamerequiredstringcurrencystringCurrency fields only, e.g. USD. Stored and returned; HQ screens always show the workspace currency.optionsobject[]Select fields only - the options in order.{
"id": "00000000-0000-0000-0000-000000000000",
"kind": "text",
"name": "example"
}Key scope: write:hq
create_hq_field_optionAdd HQ select optionWriteAdd an option to an HQ select field (appended last). Capped per field (409). Returns the option.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The HQ board's UUID. |
fieldIdrequired | uuid | A select-kind field of the board. |
labelrequired | string | |
color | string | null | Palette token (e.g. blue, emerald, rose). Invalid tokens are dropped; null clears. |
idrequireduuidThe HQ board's UUID.fieldIdrequireduuidA select-kind field of the board.labelrequiredstringcolorstring | nullPalette token (e.g. blue, emerald, rose). Invalid tokens are dropped; null clears.{
"id": "00000000-0000-0000-0000-000000000000",
"fieldId": "00000000-0000-0000-0000-000000000000",
"label": "example"
}Key scope: write:hq
create_hq_itemCreate HQ itemWriteCreate an item (card) in one of an HQ board's stages - it is appended at the bottom of that column. Get the stage ids from get_hq_board first. Pass contentHtml to write the item's document in the SAME call (no follow-up write_hq_doc needed). Assignees, due date, and field values are set afterward with update_hq_item / set_hq_item_field_values.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The HQ board's UUID. |
titlerequired | string | |
stageIdrequired | uuid | The stage (column) to create the item in - from get_hq_board. |
icon | string | null | Emoji shown on the card. |
contentHtml | string | Optional document body (HTML) to write on the new item in the same call. The response then carries docSaved - false means the item was created but the document was not written; retry the body with write_hq_doc rather than creating a second item. |
sourceProjectId | uuid | null | A project id (from list_projects) this card stands for - the card shows an Open project link. One card per project per board (409 when another card already links it). |
sourceTaskId | uuid | null | A task id (from list_tasks) this card stands for - the card shows an Open task link. One card per task per board (409 when another card already links it). |
idrequireduuidThe HQ board's UUID.titlerequiredstringstageIdrequireduuidThe stage (column) to create the item in - from get_hq_board.iconstring | nullEmoji shown on the card.contentHtmlstringOptional document body (HTML) to write on the new item in the same call. The response then carries docSaved - false means the item was created but the document was not written; retry the body with write_hq_doc rather than creating a second item.sourceProjectIduuid | nullA project id (from list_projects) this card stands for - the card shows an Open project link. One card per project per board (409 when another card already links it).sourceTaskIduuid | nullA task id (from list_tasks) this card stands for - the card shows an Open task link. One card per task per board (409 when another card already links it).{
"id": "00000000-0000-0000-0000-000000000000",
"title": "example",
"stageId": "00000000-0000-0000-0000-000000000000"
}Key scope: write:hq
create_hq_item_commentComment on an HQ itemWritePost a comment on an HQ item's thread, authored by the API key's creator. Silent - no one is notified. Team-internal only. Returns the created comment.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The HQ item's UUID. |
textrequired | string | The comment text. |
idrequireduuidThe HQ item's UUID.textrequiredstringThe comment text.{
"id": "00000000-0000-0000-0000-000000000000",
"text": "example"
}Key scope: write:hq
create_hq_stageCreate HQ stageWriteAdd a stage (a kanban column / list group) at the end of an HQ board. outcome marks Done/Won/Lost columns (cards there stop reading as late). Capped per board (409 at the cap). Returns the stage.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The HQ board's UUID. |
namerequired | string | |
color | string | null | Palette token (e.g. blue, emerald, rose). Invalid tokens are dropped; null clears. |
outcome | enum | Defaults to none.One of: none, done, won, lost |
idrequireduuidThe HQ board's UUID.namerequiredstringcolorstring | nullPalette token (e.g. blue, emerald, rose). Invalid tokens are dropped; null clears.outcomeenumDefaults to none.One of: none, done, won, lost{
"id": "00000000-0000-0000-0000-000000000000",
"name": "example"
}Key scope: write:hq
delete_hq_boardDelete HQ boardWriteDeletesPERMANENTLY delete an HQ board and everything on it - items, stages, fields, values, comments, doc versions. This cannot be undone (prefer update_hq_board archived=true for reversible removal). Refused with 409 while the board still holds files. CONFIRM WITH THE USER FOR EACH BOARD, naming it; NEVER loop this tool over a list of boards. Deletes share one budget across the whole API: about 20 per minute per key, and daily ceilings per key and per workspace - over budget returns 429 with a Retry-After header. A 429 means STOP and tell the user; never wait-and-retry your way through a batch.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The HQ board's UUID. |
idrequireduuidThe HQ board's UUID.{
"id": "00000000-0000-0000-0000-000000000000"
}Key scope: write:hq
delete_hq_fieldDelete HQ fieldWriteDeletesDelete a custom field from an HQ board. Every item's value in that field is deleted with it - this cannot be undone. Deletes share one budget across the whole API: about 20 per minute per key, and daily ceilings per key and per workspace - over budget returns 429 with a Retry-After header. A 429 means STOP and tell the user; never wait-and-retry your way through a batch.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The HQ board's UUID. |
fieldIdrequired | uuid |
idrequireduuidThe HQ board's UUID.fieldIdrequireduuid{
"id": "00000000-0000-0000-0000-000000000000",
"fieldId": "00000000-0000-0000-0000-000000000000"
}Key scope: write:hq
delete_hq_field_optionDelete HQ select optionWriteDeletesDelete an option of an HQ select field. Items that held it are left empty in that field. Deletes share one budget across the whole API: about 20 per minute per key, and daily ceilings per key and per workspace - over budget returns 429 with a Retry-After header. A 429 means STOP and tell the user; never wait-and-retry your way through a batch.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The HQ board's UUID. |
fieldIdrequired | uuid | |
optionIdrequired | uuid |
idrequireduuidThe HQ board's UUID.fieldIdrequireduuidoptionIdrequireduuid{
"id": "00000000-0000-0000-0000-000000000000",
"fieldId": "00000000-0000-0000-0000-000000000000",
"optionId": "00000000-0000-0000-0000-000000000000"
}Key scope: write:hq
delete_hq_fileDelete an HQ fileWriteDeletesRemove an HQ file (an item attachment or a board-shelf file) - it moves to the board's trash, the same as deleting it in the app. Deletes share one budget across the whole API: about 20 per minute per key, and daily ceilings per key and per workspace - over budget returns 429 with a Retry-After header. A 429 means STOP and tell the user; never wait-and-retry your way through a batch.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The HQ file's UUID - from list_hq_item_files. |
idrequireduuidThe HQ file's UUID - from list_hq_item_files.{
"id": "00000000-0000-0000-0000-000000000000"
}Key scope: write:hq
delete_hq_itemDelete HQ itemWriteDeletesPERMANENTLY delete an HQ item - its doc body, field values, and comments go with it. There is no HQ trash; this cannot be undone (prefer update_hq_item archived=true for reversible removal). CONFIRM WITH THE USER FOR EACH ITEM, naming it; NEVER loop this tool over a list of items - to clear many, archive them with update_hq_item archived=true, or delete their whole board with delete_hq_board. Deletes share one budget across the whole API: about 20 per minute per key, and daily ceilings per key and per workspace - over budget returns 429 with a Retry-After header. A 429 means STOP and tell the user; never wait-and-retry your way through a batch.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The HQ item's UUID. |
idrequireduuidThe HQ item's UUID.{
"id": "00000000-0000-0000-0000-000000000000"
}Key scope: write:hq
delete_hq_item_commentDelete an HQ item commentWriteDeletesDelete a comment (and its replies) from an HQ item's thread. Cannot be undone. Deletes share one budget across the whole API: about 20 per minute per key, and daily ceilings per key and per workspace - over budget returns 429 with a Retry-After header. A 429 means STOP and tell the user; never wait-and-retry your way through a batch.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The HQ item's UUID. |
commentIdrequired | uuid |
idrequireduuidThe HQ item's UUID.commentIdrequireduuid{
"id": "00000000-0000-0000-0000-000000000000",
"commentId": "00000000-0000-0000-0000-000000000000"
}Key scope: write:hq
delete_hq_stageDelete HQ stageWriteDeletesDelete an HQ board's stage. If it still holds items, targetStageId (another stage of the same board) is REQUIRED and they move there. A board's last stage can never be deleted (409). Deletes share one budget across the whole API: about 20 per minute per key, and daily ceilings per key and per workspace - over budget returns 429 with a Retry-After header. A 429 means STOP and tell the user; never wait-and-retry your way through a batch.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The HQ board's UUID. |
stageIdrequired | uuid | |
targetStageId | uuid | Where the stage's items move. |
idrequireduuidThe HQ board's UUID.stageIdrequireduuidtargetStageIduuidWhere the stage's items move.{
"id": "00000000-0000-0000-0000-000000000000",
"stageId": "00000000-0000-0000-0000-000000000000"
}Key scope: write:hq
edit_hq_item_docEdit part of an HQ item's documentWriteChange PART of an HQ item's document body (the Document tab - SOPs, notes) without resending the whole thing - the right tool for any small change. Each edit names where it goes: append / prepend (end / start of the document); replaceSection (a section = a heading plus everything up to the next heading of the same or a higher level; a heading inside a toggle or callout counts too, and its section ends where that block ends - a heading in a table or list does not - html replaces the heading TOO, so start it with the heading to keep it, or send "" to delete the section); appendToSection (adds html at the end of that section - e.g. a new paragraph under the "Editing steps" heading); replaceText (find = a piece of the stored HTML as get_hq_item returns it in contentText, which must occur exactly once; html "" deletes it - copy it exactly, though the spelling of & / " / ' / a hard space (&, ), runs of whitespace and line breaks between tags are tolerated; tags and attributes must match). Headings match on their visible text, case and spacing ignored. Edits apply in order and all or nothing, to whatever the document holds when the call lands - so a teammate editing another part of the document in the app meanwhile does not make this fail and is not overwritten. Everything outside your edits, including comment highlights, is kept exactly as it is. A 422 with code anchorNotFound / anchorAmbiguous (index = which edit) means an anchor was not found or matched more than once and nothing was written: read contentText with get_hq_item and pick an exact anchor. An HQ document holds at most 1,000,000 characters of HTML: a 422 with code docTooLarge means the edited document would pass that and nothing was written - sending the same edit again fails the same way, so shorten the html or put the extra content in another item. The body before the edit is saved as a version in the item's version history. Use write_hq_item_doc only to rewrite the whole document. Silent - no one is notified.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The HQ item's full UUID - all 36 characters, exactly as list_hq_items, get_hq_item or create_hq_item returned it. Never shorten, abbreviate or pad it: a shortened id is a 404, and nothing is written. |
editsrequired | object[] | 1–50 edits, applied in order. |
baseRev | integer | null | Optional and rarely needed. Only apply if the document is still at this docRev (returned by a previous write_hq_item_doc / edit_hq_item_doc) - a 409 otherwise. Omit it to apply the edits to the current content. |
idrequireduuidThe HQ item's full UUID - all 36 characters, exactly as list_hq_items, get_hq_item or create_hq_item returned it. Never shorten, abbreviate or pad it: a shortened id is a 404, and nothing is written.editsrequiredobject[]1–50 edits, applied in order.baseRevinteger | nullOptional and rarely needed. Only apply if the document is still at this docRev (returned by a previous write_hq_item_doc / edit_hq_item_doc) - a 409 otherwise. Omit it to apply the edits to the current content.{
"id": "00000000-0000-0000-0000-000000000000",
"edits": [
{
"op": "append",
"html": "example"
}
]
}Key scope: write:hq
get_hq_boardGet HQ boardReadGet one HQ board with its stages (the kanban columns - use their ids for create_hq_item / update_hq_item), its custom field definitions (+select options - use field/option ids with set_hq_item_field_values on THIS board's items only; every board has its own field ids, and an option id is valid only for the field it is listed under), and its members.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The HQ board's UUID. |
idrequireduuidThe HQ board's UUID.{
"id": "00000000-0000-0000-0000-000000000000"
}Key scope: read:hq
get_hq_itemGet HQ itemReadGet one HQ item: boardId, title, stage, assignees, due date, its custom-field values, AND contentText - the item's doc body as HTML (SOPs / notes live there; null when the item has no doc). boardId is the board whose field ids this item accepts - pass it to get_hq_board before set_hq_item_field_values.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The HQ item's full UUID - all 36 characters, exactly as list_hq_items, get_hq_item or create_hq_item returned it. Never shorten, abbreviate or pad it: a shortened id is a 404, and nothing is written. |
idrequireduuidThe HQ item's full UUID - all 36 characters, exactly as list_hq_items, get_hq_item or create_hq_item returned it. Never shorten, abbreviate or pad it: a shortened id is a 404, and nothing is written.{
"id": "00000000-0000-0000-0000-000000000000"
}Key scope: read:hq
list_hq_boardsList HQ boardsReadList the workspace's HQ boards - the team's INTERNAL boards (ops tasks, SOP docs, sales pipeline, asset shelves); clients and guests never get a seat. Each board: id, name, description, icon, color, kind (tasks|docs|crm|assets|checklist), access (open|restricted - this workspace-level key sees restricted boards too), archivedAt, itemCount, memberCount. Not paginated (boards are capped per plan). Use get_hq_board to learn a board's stages before creating or moving items.
No inputs.
{}Key scope: read:hq
list_hq_item_commentsList HQ item commentsReadRead an HQ item's comment thread, oldest first. Each comment carries its author { id, name }. HQ comments are team-internal - clients and guests can never see them. Not paginated.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The HQ item's UUID. |
idrequireduuidThe HQ item's UUID.{
"id": "00000000-0000-0000-0000-000000000000"
}Key scope: read:hq
list_hq_item_filesList HQ item filesReadList an HQ item's attached files (its Files tab), newest first - id, name, size, mimeType, uploadedBy, createdAt, and a downloadUrl valid for 7 days.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The HQ item's UUID. |
idrequireduuidThe HQ item's UUID.{
"id": "00000000-0000-0000-0000-000000000000"
}Key scope: read:hq
list_hq_itemsList HQ board itemsReadList a board's active (non-archived) items, newest first, each with its custom-field values. Filter by stageId (a stage of the board) or assigneeId (a member id from list_members). The doc body is not included - read one item with get_hq_item for that. Returns {data, nextBefore}; when nextBefore is non-null, call again with before=nextBefore for the next page.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The HQ board's UUID. |
limit | integer | Items per page, 1-100. Defaults to 50. |
before | string | Opaque pagination cursor - pass the previous response's nextBefore value verbatim. |
stageId | uuid | Restrict to one stage (column) of the board. |
assigneeId | uuid | Restrict to items assigned to this team member. |
idrequireduuidThe HQ board's UUID.limitintegerItems per page, 1-100. Defaults to 50.beforestringOpaque pagination cursor - pass the previous response's nextBefore value verbatim.stageIduuidRestrict to one stage (column) of the board.assigneeIduuidRestrict to items assigned to this team member.{
"id": "00000000-0000-0000-0000-000000000000"
}Key scope: read:hq
reorder_hq_boardsReorder HQ boardsWriteSet the order HQ boards are listed in (the HQ home and the in-board boards panel). Pass EVERY non-trashed board of the workspace exactly once (archived included) - get them from list_hq_boards.
| Name | Type | Details |
|---|---|---|
boardIdsrequired | uuid[] | All board ids, in the new order. |
boardIdsrequireduuid[]All board ids, in the new order.{
"boardIds": [
"00000000-0000-0000-0000-000000000000"
]
}Key scope: write:hq
reorder_hq_field_optionsReorder HQ select optionsWriteSet the order of an HQ select field's options (pickers and column sorts follow it). Pass EVERY option id of the field exactly once. Returns the field.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The HQ board's UUID. |
fieldIdrequired | uuid | |
optionIdsrequired | uuid[] |
idrequireduuidThe HQ board's UUID.fieldIdrequireduuidoptionIdsrequireduuid[]{
"id": "00000000-0000-0000-0000-000000000000",
"fieldId": "00000000-0000-0000-0000-000000000000",
"optionIds": [
"00000000-0000-0000-0000-000000000000"
]
}Key scope: write:hq
reorder_hq_stagesReorder HQ stagesWriteSet the order of an HQ board's stages (kanban columns). Pass EVERY stage id of the board exactly once, in the new order. Returns the board.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The HQ board's UUID. |
stageIdsrequired | uuid[] | All stage ids, in the new order. |
idrequireduuidThe HQ board's UUID.stageIdsrequireduuid[]All stage ids, in the new order.{
"id": "00000000-0000-0000-0000-000000000000",
"stageIds": [
"00000000-0000-0000-0000-000000000000"
]
}Key scope: write:hq
set_hq_item_field_valuesSet HQ item field valuesWriteBulk-set custom-field values on an HQ item. Get the board's field definitions (ids + kinds + select options) from get_hq_board; each entry's kind must match its field's kind. Field ids belong to ONE board: take them from get_hq_board for the item's OWN boardId (get_hq_item and list_hq_items return boardId on every item) right before you write. A field with the same name on another board - two boards from the same template, a duplicated board, a board the item was moved off - has a DIFFERENT id and is refused with 400. A fieldId is never a stage id or a select option id. Value by kind: text/email/phone → a string; number/currency → a number; date → 'YYYY-MM-DD'; select → the `id` of one of THAT field's own `options` in get_hq_board (never another field's option - not even a same-named option of another field or board - and never the option's label; a wrong one is a 400 that lists the field's valid label = optionId pairs - retry with one of those); link → an http(s) URL; user → an ACTIVE team-member id; timeTracker → the TOTAL logged seconds (a non-negative number; the in-app play/pause timer state is untouched). Pass value null to clear a cell. All entries are validated before anything is written. Returns the item's full value set.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The HQ item's full UUID - all 36 characters, exactly as list_hq_items, get_hq_item or create_hq_item returned it. Never shorten, abbreviate or pad it: a shortened id is a 404, and nothing is written. |
valuesrequired | object[] | The cells to set - one entry per field. |
idrequireduuidThe HQ item's full UUID - all 36 characters, exactly as list_hq_items, get_hq_item or create_hq_item returned it. Never shorten, abbreviate or pad it: a shortened id is a 404, and nothing is written.valuesrequiredobject[]The cells to set - one entry per field.{
"id": "00000000-0000-0000-0000-000000000000",
"values": [
{
"fieldId": "00000000-0000-0000-0000-000000000000",
"kind": "text",
"value": "example"
}
]
}Key scope: write:hq
sync_hq_mirror_boardSync HQ mirror boardWriteBring a MIRROR board (one whose mirror is set with update_hq_board) up to date now: one card per project or open task in its scope - new ones are added, titles / due dates / stages (and task assignees) refreshed, and cards whose project or task left the scope ARCHIVED (never deleted). At most 500 per sync (truncated=true when more were in scope). Writes the cards directly: no board automation, notification or webhook runs, and nobody is told. Returns the counts. 409 when the board has no mirror, or its brand/folder is gone.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The HQ board's UUID. |
idrequireduuidThe HQ board's UUID.{
"id": "00000000-0000-0000-0000-000000000000"
}Key scope: write:hq
update_hq_boardUpdate HQ boardWriteUpdate an HQ board's allow-listed fields - name, description, icon, color, access, archived, columnOrder, viewOrder. Provide at least one. archived=true archives the board (reversible; archived boards stop counting toward the plan cap); archived=false restores it. columnOrder reorders the board's properties (list-view columns AND the item page's details) - built-ins stage, assignees, dueDate plus field ids; keys you omit fall in behind. viewOrder reorders the Board|List|Files toggle - its FIRST view is what the board opens in for everyone. Returns the full updated board (its current columnOrder and viewOrder included).
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The HQ board's UUID. |
name | string | |
description | string | null | Pass null to clear. |
icon | string | null | |
color | string | null | |
access | enum | One of: open, restricted |
archived | boolean | |
columnOrder | string[] | Property order: 'stage', 'assignees', 'dueDate' and this board's field ids, each once. |
viewOrder | enum[] | Board|List|Files toggle order - the first entry is the board's default view.One of: board, list, files |
mirror | object | null | Make this a MIRROR board that keeps one card per project (source=projects) or per open task (source=tasks) under a brand/folder (node = a brand or folder id from list_brands; null = the whole workspace). stageMap puts each phase or status in a stage of this board. Saving syncs nothing - call sync_hq_mirror_board next. null turns the mirror off (the cards stay). |
idrequireduuidThe HQ board's UUID.namestringdescriptionstring | nullPass null to clear.iconstring | nullcolorstring | nullaccessenumOne of: open, restrictedarchivedbooleancolumnOrderstring[]Property order: 'stage', 'assignees', 'dueDate' and this board's field ids, each once.viewOrderenum[]Board|List|Files toggle order - the first entry is the board's default view.One of: board, list, filesmirrorobject | nullMake this a MIRROR board that keeps one card per project (source=projects) or per open task (source=tasks) under a brand/folder (node = a brand or folder id from list_brands; null = the whole workspace). stageMap puts each phase or status in a stage of this board. Saving syncs nothing - call sync_hq_mirror_board next. null turns the mirror off (the cards stay).{
"id": "00000000-0000-0000-0000-000000000000"
}Key scope: write:hq
update_hq_fieldUpdate HQ fieldWriteRename an HQ board's custom field (its column title) and/or change a currency field's stored currency (HQ screens always show the workspace currency).
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The HQ board's UUID. |
fieldIdrequired | uuid | |
name | string | |
currency | string | Currency fields only. Stored and returned; HQ screens always show the workspace currency. |
idrequireduuidThe HQ board's UUID.fieldIdrequireduuidnamestringcurrencystringCurrency fields only. Stored and returned; HQ screens always show the workspace currency.{
"id": "00000000-0000-0000-0000-000000000000",
"fieldId": "00000000-0000-0000-0000-000000000000"
}Key scope: write:hq
update_hq_field_optionUpdate HQ select optionWriteRename or recolor an option of an HQ select field.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The HQ board's UUID. |
fieldIdrequired | uuid | |
optionIdrequired | uuid | |
label | string | |
color | string | null | Palette token (e.g. blue, emerald, rose). Invalid tokens are dropped; null clears. |
idrequireduuidThe HQ board's UUID.fieldIdrequireduuidoptionIdrequireduuidlabelstringcolorstring | nullPalette token (e.g. blue, emerald, rose). Invalid tokens are dropped; null clears.{
"id": "00000000-0000-0000-0000-000000000000",
"fieldId": "00000000-0000-0000-0000-000000000000",
"optionId": "00000000-0000-0000-0000-000000000000"
}Key scope: write:hq
update_hq_itemUpdate HQ itemWriteUpdate an HQ item's allow-listed fields - title, icon, stageId (move it to another stage of the SAME board), assigneeIds, dueDate (YYYY-MM-DD or null), sortOrder, archived. Provide at least one. assigneeIds is a FULL REPLACE: send the complete list you want, [] to clear. Every id you ADD must be an ACTIVE team member (member ids from list_members) - guests, people who have not accepted their invitation and removed members are refused; people already on the item may stay.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The HQ item's full UUID - all 36 characters, exactly as list_hq_items, get_hq_item or create_hq_item returned it. Never shorten, abbreviate or pad it: a shortened id is a 404, and nothing is written. |
title | string | |
icon | string | null | |
stageId | uuid | A stage of the item's board - from get_hq_board. |
assigneeIds | uuid[] | FULL REPLACE of the item's assignees; [] clears all. Ids you add must be active team members; people already on the item may stay. |
dueDate | string | null | YYYY-MM-DD or null to clear. |
sortOrder | number | Manual position within the stage column. |
archived | boolean | |
sourceProjectId | uuid | null | A project id (from list_projects) this card stands for - the card shows an Open project link. One card per project per board (409 when another card already links it). null unlinks. |
sourceTaskId | uuid | null | A task id (from list_tasks) this card stands for - the card shows an Open task link. One card per task per board (409 when another card already links it). null unlinks. |
idrequireduuidThe HQ item's full UUID - all 36 characters, exactly as list_hq_items, get_hq_item or create_hq_item returned it. Never shorten, abbreviate or pad it: a shortened id is a 404, and nothing is written.titlestringiconstring | nullstageIduuidA stage of the item's board - from get_hq_board.assigneeIdsuuid[]FULL REPLACE of the item's assignees; [] clears all. Ids you add must be active team members; people already on the item may stay.dueDatestring | nullYYYY-MM-DD or null to clear.sortOrdernumberManual position within the stage column.archivedbooleansourceProjectIduuid | nullA project id (from list_projects) this card stands for - the card shows an Open project link. One card per project per board (409 when another card already links it). null unlinks.sourceTaskIduuid | nullA task id (from list_tasks) this card stands for - the card shows an Open task link. One card per task per board (409 when another card already links it). null unlinks.{
"id": "00000000-0000-0000-0000-000000000000"
}Key scope: write:hq
update_hq_item_commentEdit an HQ item commentWriteEdit the text of a comment on an HQ item. Only comments authored by the API key's creator can be edited (403 otherwise). Returns the comment.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The HQ item's UUID. |
commentIdrequired | uuid | |
textrequired | string |
idrequireduuidThe HQ item's UUID.commentIdrequireduuidtextrequiredstring{
"id": "00000000-0000-0000-0000-000000000000",
"commentId": "00000000-0000-0000-0000-000000000000",
"text": "example"
}Key scope: write:hq
update_hq_stageUpdate HQ stageWriteRename, recolor, or change the outcome (none|done|won|lost) of an HQ board's stage.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The HQ board's UUID. |
stageIdrequired | uuid | The stage's UUID - from get_hq_board. |
name | string | |
color | string | null | Palette token (e.g. blue, emerald, rose). Invalid tokens are dropped; null clears. |
outcome | enum | One of: none, done, won, lost |
idrequireduuidThe HQ board's UUID.stageIdrequireduuidThe stage's UUID - from get_hq_board.namestringcolorstring | nullPalette token (e.g. blue, emerald, rose). Invalid tokens are dropped; null clears.outcomeenumOne of: none, done, won, lost{
"id": "00000000-0000-0000-0000-000000000000",
"stageId": "00000000-0000-0000-0000-000000000000"
}Key scope: write:hq
upload_hq_item_file_from_urlAttach a file to an HQ itemWriteAttach a file to an HQ item by URL: the server downloads a PUBLIC http(s) URL and stores it on the item's Files tab, like a file dropped there in the app (the item is marked changed; 'file attached' board automations run). Counts toward workspace storage. Returns the file with a downloadUrl.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The HQ item's UUID. |
urlrequired | url | A public http(s) URL to the file. |
fileName | string | Name to store it under; inferred when omitted. |
idrequireduuidThe HQ item's UUID.urlrequiredurlA public http(s) URL to the file.fileNamestringName to store it under; inferred when omitted.{
"id": "00000000-0000-0000-0000-000000000000",
"url": "https://example.com/file.mp4"
}Key scope: write:hq
write_hq_item_docWrite an HQ item's documentWriteREPLACE an HQ item's document body (the Notion-style Document tab) with new HTML. The previous body is saved as a doc version first, so it stays recoverable from the item's version history. Full replace - read the item first (get_hq_item returns contentText) and carry over anything that should stay. To change only PART of the document (add a paragraph under a heading, fix one passage, add a step at the end) use edit_hq_item_doc instead: it sends just the change and leaves the rest of the document, and a teammate's live edits, untouched. To put an image or a file in the document, call upload_doc_attachment_from_url first and paste the embedHtml it returns into contentHtml. An HQ document holds at most 1,000,000 characters of HTML. Silent - no one is notified.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The HQ item's UUID. |
contentHtmlrequired | string | The FULL new document body as HTML (<p>, <h1-h3>, <ul>/<ol>, <strong>, <em>, <a>, plus any embedHtml returned by upload_doc_attachment_from_url for images and files). |
idrequireduuidThe HQ item's UUID.contentHtmlrequiredstringThe FULL new document body as HTML (<p>, <h1-h3>, <ul>/<ol>, <strong>, <em>, <a>, plus any embedHtml returned by upload_doc_attachment_from_url for images and files).{
"id": "00000000-0000-0000-0000-000000000000",
"contentHtml": "example"
}Key scope: write:hq
create_webhookCreate webhookWriteRegister a public https:// endpoint to receive events (task.completed, task.created, task.updated, task.trashed, project.trashed, custom.column_changed, post.status_changed). The response includes the plaintext signing secret ONCE - relay it to the user immediately; it is never shown again. Max 20 subscriptions per workspace (409 beyond that).
| Name | Type | Details |
|---|---|---|
urlrequired | string | Public https:// endpoint; loopback and private ranges are rejected. |
eventsrequired | enum[] | Event types to subscribe to.One of: task.completed, post.status_changed, task.created, task.updated, task.trashed, project.trashed, custom.column_changed, payment.recorded, payment.voided, task.status_changed, comment.created, version.uploaded, file.uploaded, project.created, post.published, post.failed, intake.submitted, share.opened, member.invited, member.joined, automation.triggered, time_entry.created, time_entry.updated, time_entry.deleted |
urlrequiredstringPublic https:// endpoint; loopback and private ranges are rejected.eventsrequiredenum[]Event types to subscribe to.One of: task.completed, post.status_changed, task.created, task.updated, task.trashed, project.trashed, custom.column_changed, payment.recorded, payment.voided, task.status_changed, comment.created, version.uploaded, file.uploaded, project.created, post.published, post.failed, intake.submitted, share.opened, member.invited, member.joined, automation.triggered, time_entry.created, time_entry.updated, time_entry.deleted{
"url": "https://hooks.example.com/timeliner",
"events": [
"task.completed"
]
}Key scope: write:webhooks
delete_webhookDelete webhookWriteDeletesPermanently delete a webhook subscription. Deliveries stop immediately; this cannot be undone. Deletes share one budget across the whole API: about 20 per minute per key, and daily ceilings per key and per workspace - over budget returns 429 with a Retry-After header. A 429 means STOP and tell the user; never wait-and-retry your way through a batch.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The webhook subscription's UUID. |
idrequireduuidThe webhook subscription's UUID.{
"id": "00000000-0000-0000-0000-000000000000"
}Key scope: write:webhooks
get_webhookGet webhookReadGet one webhook subscription (without its secret).
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The webhook subscription's UUID. |
idrequireduuidThe webhook subscription's UUID.{
"id": "00000000-0000-0000-0000-000000000000"
}Key scope: read:webhooks
list_webhook_deliveriesList webhook deliveriesReadThe most recent deliveries attempted for a webhook subscription, newest first: event type, status (pending / delivered / failed / dead), attempt count, last HTTP status and error, next retry time. The first place to look when a partner says an event never arrived.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The webhook subscription's UUID. |
limit | integer | Rows to return, 1-200 (default 50). |
idrequireduuidThe webhook subscription's UUID.limitintegerRows to return, 1-200 (default 50).{
"id": "00000000-0000-0000-0000-000000000000"
}Key scope: read:webhooks
list_webhooksList webhooksReadList every webhook subscription in the workspace (not paginated). Signing secrets are never returned - only secretPrefix.
No inputs.
{}Key scope: read:webhooks
rotate_webhook_secretRotate webhook secretWriteDeletesGenerate a new signing secret for the subscription and return it ONCE. The previous secret stops verifying immediately - make sure the receiving endpoint is updated. Relay the new secret to the user right away; it is never shown again.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The webhook subscription's UUID. |
idrequireduuidThe webhook subscription's UUID.{
"id": "00000000-0000-0000-0000-000000000000"
}Key scope: write:webhooks
send_test_webhookSend a test webhook eventWritePOST one signed sample delivery to a webhook subscription right now and report the endpoint's answer (HTTP status, latency, error). The envelope carries test: true and a representative sample payload. eventType must be one the subscription is subscribed to; omitted = its first event. Not retried and never counts toward auto-disable - use it to verify a partner endpoint before real events flow.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The webhook subscription's UUID. |
eventType | enum | Which subscribed event to sample.One of: task.completed, post.status_changed, task.created, task.updated, task.trashed, project.trashed, custom.column_changed, payment.recorded, payment.voided, task.status_changed, comment.created, version.uploaded, file.uploaded, project.created, post.published, post.failed, intake.submitted, share.opened, member.invited, member.joined, automation.triggered, time_entry.created, time_entry.updated, time_entry.deleted |
idrequireduuidThe webhook subscription's UUID.eventTypeenumWhich subscribed event to sample.One of: task.completed, post.status_changed, task.created, task.updated, task.trashed, project.trashed, custom.column_changed, payment.recorded, payment.voided, task.status_changed, comment.created, version.uploaded, file.uploaded, project.created, post.published, post.failed, intake.submitted, share.opened, member.invited, member.joined, automation.triggered, time_entry.created, time_entry.updated, time_entry.deleted{
"id": "00000000-0000-0000-0000-000000000000"
}Key scope: write:webhooks
update_webhookUpdate webhookWriteChange a webhook subscription's url, events, or active flag - provide at least one. Set active=false to pause deliveries without deleting the subscription.
| Name | Type | Details |
|---|---|---|
idrequired | uuid | The webhook subscription's UUID. |
url | string | New public https:// endpoint. |
events | enum[] | One of: task.completed, post.status_changed, task.created, task.updated, task.trashed, project.trashed, custom.column_changed, payment.recorded, payment.voided, task.status_changed, comment.created, version.uploaded, file.uploaded, project.created, post.published, post.failed, intake.submitted, share.opened, member.invited, member.joined, automation.triggered, time_entry.created, time_entry.updated, time_entry.deleted |
active | boolean |
idrequireduuidThe webhook subscription's UUID.urlstringNew public https:// endpoint.eventsenum[]One of: task.completed, post.status_changed, task.created, task.updated, task.trashed, project.trashed, custom.column_changed, payment.recorded, payment.voided, task.status_changed, comment.created, version.uploaded, file.uploaded, project.created, post.published, post.failed, intake.submitted, share.opened, member.invited, member.joined, automation.triggered, time_entry.created, time_entry.updated, time_entry.deletedactiveboolean{
"id": "00000000-0000-0000-0000-000000000000"
}Key scope: write:webhooks
get_api_key_infoGet this API key's permissionsReadIntrospect the key this session uses: its name, the scopes it holds (read:<resource> / write:<resource> over tasks, projects, files, posts, chat, finance, automations, workspace, hq, webhooks), its expiry, and its per-minute rate limit. Call this when a tool returned 403 insufficient_scope, to tell the user exactly which scope the key is missing before retrying.
No inputs.
{}Key scope: any key