Tasks
Generated from api/openapi.yaml (OpenAPI 3.1). Base URL: https://api.teemli.com. Auth: Authorization: Bearer <token or tml_ API key>. Errors are application/problem+json; writes accept an Idempotency-Key header.
Tasks (conversations of kind task) and Needs you
My tasks
Section titled “My tasks”GET /v1/orgs/{org}/tasksConversations of kind task, most recently active first. Segments map to state.
API keys: needs the agents:read scope.
| Parameter | In | Type | Description |
|---|---|---|---|
org (required) |
path | string (uuid) | The caller’s organisation id. |
agent_id |
query | string (uuid) | |
state |
query | active, needs_you, done, failed, stopped, all |
Task segment: active (working or waiting), needs_you (an open card for me), done, failed (couldn’t finish), stopped, all |
limit |
query | integer | Page size. |
cursor |
query | string | Opaque cursor from a previous page’s next_cursor. |
Responses
200A page of tasks — ConversationPage400Malformed request (e.g. invalid cursor or filter) — Problem401Missing, invalid or expired token — Problem
Start a task
Section titled “Start a task”POST /v1/orgs/{org}/tasksCreates a task conversation and posts text as its first message; a turn starts.
API keys: needs the agents:run scope.
| Parameter | In | Type | Description |
|---|---|---|---|
org (required) |
path | string (uuid) | The caller’s organisation id. |
Request body (JSON)
| Field | Type | Description |
|---|---|---|
agent_id (required) |
string (uuid) | |
title |
string | |
text (required) |
string |
Responses
201Task created — ConversationCreated401Missing, invalid or expired token — Problem404Not found (also returned for rows the caller may not see, and for disabled features) — Problem422Invalid input — Problem
Everything waiting on me
Section titled “Everything waiting on me”GET /v1/orgs/{org}/needs-youOpen cards routed to me, oldest first (my agents’ cards, and the approvals/hand-offs of
AI employees I manage, which arrive without conversation_id). Group by agent on the
client. Includes non-blocking setup_change cards. laptop lists turns waiting on my
laptop: it’s offline (they continue when it reconnects) or its Ask prompt is open
(answer it on the laptop). count = cards + laptop.
API keys: needs the agents:read scope.
| Parameter | In | Type | Description |
|---|---|---|---|
org (required) |
path | string (uuid) | The caller’s organisation id. |
Responses
200Open cards and laptop waits — object401Missing, invalid or expired token — Problem
Projects (favourites and recent first), teams, and my counts (open, overdue, today, inbox unread)
Section titled “Projects (favourites and recent first), teams, and my counts (open, overdue, today, inbox unread)”GET /v1/orgs/{org}/tasks/homeAPI keys: needs the tasks:read scope.
| Parameter | In | Type | Description |
|---|---|---|---|
org (required) |
path | string (uuid) | The caller’s organisation id. |
Responses
200{projects: TaskProject[], teams: {id,name,is_member}[], counts} — object404Not found (also returned for rows the caller may not see, and for disabled features) — Problem
People I can see, AI employees shared with me (assignable), and my own agents (“Let X do it”)
Section titled “People I can see, AI employees shared with me (assignable), and my own agents (“Let X do it”)”GET /v1/orgs/{org}/tasks/directoryAPI keys: needs the tasks:read scope.
| Parameter | In | Type | Description |
|---|---|---|---|
org (required) |
path | string (uuid) | The caller’s organisation id. |
Responses
200{people: TaskActor[], agents: TaskActor[], my_agents: TaskActor[]} — object
Full-text search (Postgres tsvector, prefix matching) over items and projects you can see
Section titled “Full-text search (Postgres tsvector, prefix matching) over items and projects you can see”GET /v1/orgs/{org}/tasks/searchAPI keys: needs the tasks:read scope.
| Parameter | In | Type | Description |
|---|---|---|---|
org (required) |
path | string (uuid) | The caller’s organisation id. |
q (required) |
query | string | |
project_id |
query | string (uuid) | |
include_completed |
query | boolean |
Responses
200{items: TaskItem[], projects: TaskProject[]} — object
Tags (org-wide names)
Section titled “Tags (org-wide names)”GET /v1/orgs/{org}/tasks/tagsAPI keys: needs the tasks:read scope.
| Parameter | In | Type | Description |
|---|---|---|---|
org (required) |
path | string (uuid) | The caller’s organisation id. |
Responses
200{items: Tag[]}
Create a tag (returns the existing one with the same name)
Section titled “Create a tag (returns the existing one with the same name)”POST /v1/orgs/{org}/tasks/tagsAPI keys: needs the tasks:write scope.
| Parameter | In | Type | Description |
|---|---|---|---|
org (required) |
path | string (uuid) | The caller’s organisation id. |
Request body (JSON)
| Field | Type | Description |
|---|---|---|
name (required) |
string | |
color |
string |
Responses
201Tag
Built-in templates and the organisation’s saved templates
Section titled “Built-in templates and the organisation’s saved templates”GET /v1/orgs/{org}/tasks/templatesAPI keys: needs the tasks:read scope.
| Parameter | In | Type | Description |
|---|---|---|---|
org (required) |
path | string (uuid) | The caller’s organisation id. |
Responses
200{builtin: [{key,name,description,icon,color,sections,fields}], org: TaskProject[]}
Projects I can see
Section titled “Projects I can see”GET /v1/orgs/{org}/tasks/projectsAPI keys: needs the tasks:read scope.
| Parameter | In | Type | Description |
|---|---|---|---|
org (required) |
path | string (uuid) | The caller’s organisation id. |
archived |
query | boolean | |
templates |
query | boolean | |
team_id |
query | string (uuid) |
Responses
200{items: TaskProject[]}
Create a project (optionally from a built-in template key or a template project id). Guests and AI employees can’t
Section titled “Create a project (optionally from a built-in template key or a template project id). Guests and AI employees can’t”POST /v1/orgs/{org}/tasks/projectsAPI keys: needs the tasks:write scope.
| Parameter | In | Type | Description |
|---|---|---|---|
org (required) |
path | string (uuid) | The caller’s organisation id. |
Request body (JSON)
| Field | Type | Description |
|---|---|---|
name (required) |
string | |
description |
string | |
team_id |
string (uuid) | |
visibility |
org, team, private |
|
public_role |
viewer, commenter, editor |
|
color |
string | |
icon |
string | |
template |
string | |
default_view |
list, board, timeline, calendar |
Responses
201The project with sections, fields and members — TaskProject403Authenticated but not allowed (e.g. unverified email, not the agent’s controller, card routed to someone else) — Problem422Invalid input — Problem
A project with sections, custom fields and members
Section titled “A project with sections, custom fields and members”GET /v1/orgs/{org}/tasks/projects/{id}API keys: needs the tasks:read scope.
| Parameter | In | Type | Description |
|---|---|---|---|
org (required) |
path | string (uuid) | The caller’s organisation id. |
id (required) |
path | string (uuid) | A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import). |
Responses
200TaskProject404Not found (also returned for rows the caller may not see, and for disabled features) — Problem
Rename, describe, recolour, change visibility/public role/team, archive, default view (project admins)
Section titled “Rename, describe, recolour, change visibility/public role/team, archive, default view (project admins)”PATCH /v1/orgs/{org}/tasks/projects/{id}API keys: needs the tasks:write scope.
| Parameter | In | Type | Description |
|---|---|---|---|
org (required) |
path | string (uuid) | The caller’s organisation id. |
id (required) |
path | string (uuid) | A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import). |
Responses
200TaskProject403Authenticated but not allowed (e.g. unverified email, not the agent’s controller, card routed to someone else) — Problem
Delete a project and the items only it holds (project admins)
Section titled “Delete a project and the items only it holds (project admins)”DELETE /v1/orgs/{org}/tasks/projects/{id}API keys: needs the tasks:write scope.
| Parameter | In | Type | Description |
|---|---|---|---|
org (required) |
path | string (uuid) | The caller’s organisation id. |
id (required) |
path | string (uuid) | A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import). |
Responses
200{deleted}
Star / unstar ({favorite})
Section titled “Star / unstar ({favorite})”PUT /v1/orgs/{org}/tasks/projects/{id}/favoriteAPI keys: needs the tasks:write scope.
| Parameter | In | Type | Description |
|---|---|---|---|
org (required) |
path | string (uuid) | The caller’s organisation id. |
id (required) |
path | string (uuid) | A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import). |
Responses
200TaskProject
Copy sections, fields, rules and tasks (no dates or assignees) into a template ({name})
Section titled “Copy sections, fields, rules and tasks (no dates or assignees) into a template ({name})”POST /v1/orgs/{org}/tasks/projects/{id}/save-as-templateAPI keys: needs the tasks:write scope.
| Parameter | In | Type | Description |
|---|---|---|---|
org (required) |
path | string (uuid) | The caller’s organisation id. |
id (required) |
path | string (uuid) | A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import). |
Responses
201TaskProject
Duplicate a project with its tasks, dates and assignees ({name})
Section titled “Duplicate a project with its tasks, dates and assignees ({name})”POST /v1/orgs/{org}/tasks/projects/{id}/duplicateAPI keys: needs the tasks:write scope.
| Parameter | In | Type | Description |
|---|---|---|---|
org (required) |
path | string (uuid) | The caller’s organisation id. |
id (required) |
path | string (uuid) | A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import). |
Responses
201TaskProject
Add a person, an AI employee shared with you, or a guest by email (guests switch on; they get an email) — project admins
Section titled “Add a person, an AI employee shared with you, or a guest by email (guests switch on; they get an email) — project admins”POST /v1/orgs/{org}/tasks/projects/{id}/membersAPI keys: needs the tasks:write scope.
| Parameter | In | Type | Description |
|---|---|---|---|
org (required) |
path | string (uuid) | The caller’s organisation id. |
id (required) |
path | string (uuid) | A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import). |
Request body (JSON)
| Field | Type | Description |
|---|---|---|
person_id |
string (uuid) | |
agent_id |
string (uuid) | |
email |
string | |
role |
viewer, commenter, editor, admin |
Responses
201{member, project}403Authenticated but not allowed (e.g. unverified email, not the agent’s controller, card routed to someone else) — Problem
Change a member’s role ({role}); a private project keeps one admin
Section titled “Change a member’s role ({role}); a private project keeps one admin”PATCH /v1/orgs/{org}/tasks/projects/{id}/members/{member}API keys: needs the tasks:write scope.
| Parameter | In | Type | Description |
|---|---|---|---|
org (required) |
path | string (uuid) | The caller’s organisation id. |
id (required) |
path | string (uuid) | A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import). |
member (required) |
path | string (uuid) |
Responses
200TaskProject
Remove a member (admins) or leave (yourself)
Section titled “Remove a member (admins) or leave (yourself)”DELETE /v1/orgs/{org}/tasks/projects/{id}/members/{member}API keys: needs the tasks:write scope.
| Parameter | In | Type | Description |
|---|---|---|---|
org (required) |
path | string (uuid) | The caller’s organisation id. |
id (required) |
path | string (uuid) | A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import). |
member (required) |
path | string (uuid) |
Responses
200{removed}
Add a section ({name, after_id?}) — editors
Section titled “Add a section ({name, after_id?}) — editors”POST /v1/orgs/{org}/tasks/projects/{id}/sectionsAPI keys: needs the tasks:write scope.
| Parameter | In | Type | Description |
|---|---|---|---|
org (required) |
path | string (uuid) | The caller’s organisation id. |
id (required) |
path | string (uuid) | A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import). |
Responses
201Section
Rename or reorder ({name?, after_id?: uuid|null})
Section titled “Rename or reorder ({name?, after_id?: uuid|null})”PATCH /v1/orgs/{org}/tasks/sections/{id}API keys: needs the tasks:write scope.
| Parameter | In | Type | Description |
|---|---|---|---|
org (required) |
path | string (uuid) | The caller’s organisation id. |
id (required) |
path | string (uuid) | A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import). |
Responses
200Section
Delete a section; its items move to the first remaining section
Section titled “Delete a section; its items move to the first remaining section”DELETE /v1/orgs/{org}/tasks/sections/{id}API keys: needs the tasks:write scope.
| Parameter | In | Type | Description |
|---|---|---|---|
org (required) |
path | string (uuid) | The caller’s organisation id. |
id (required) |
path | string (uuid) | A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import). |
Responses
200TaskProject
Custom field ({name, kind: text|number|select|multi_select|date|person, options?})
Section titled “Custom field ({name, kind: text|number|select|multi_select|date|person, options?})”POST /v1/orgs/{org}/tasks/projects/{id}/fieldsAPI keys: needs the tasks:write scope.
| Parameter | In | Type | Description |
|---|---|---|---|
org (required) |
path | string (uuid) | The caller’s organisation id. |
id (required) |
path | string (uuid) | A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import). |
Responses
201Field
Rename, change options (full list; keep ids), reorder
Section titled “Rename, change options (full list; keep ids), reorder”PATCH /v1/orgs/{org}/tasks/fields/{id}API keys: needs the tasks:write scope.
| Parameter | In | Type | Description |
|---|---|---|---|
org (required) |
path | string (uuid) | The caller’s organisation id. |
id (required) |
path | string (uuid) | A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import). |
Responses
200Field
Delete a field and its values
Section titled “Delete a field and its values”DELETE /v1/orgs/{org}/tasks/fields/{id}API keys: needs the tasks:write scope.
| Parameter | In | Type | Description |
|---|---|---|---|
org (required) |
path | string (uuid) | The caller’s organisation id. |
id (required) |
path | string (uuid) | A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import). |
Responses
200{deleted}
Top-level items of a project (by section, then position)
Section titled “Top-level items of a project (by section, then position)”GET /v1/orgs/{org}/tasks/projects/{id}/itemsAPI keys: needs the tasks:read scope.
| Parameter | In | Type | Description |
|---|---|---|---|
org (required) |
path | string (uuid) | The caller’s organisation id. |
id (required) |
path | string (uuid) | A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import). |
completed |
query | open, done, all |
Responses
200{items: TaskItem[]}
Rules of a project
Section titled “Rules of a project”GET /v1/orgs/{org}/tasks/projects/{id}/rulesAPI keys: needs the tasks:read scope.
| Parameter | In | Type | Description |
|---|---|---|---|
org (required) |
path | string (uuid) | The caller’s organisation id. |
id (required) |
path | string (uuid) | A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import). |
Responses
200{items: TaskRule[]}
A rule: one trigger → 1-10 actions. Runs in the worker as its creator; rules triggered by rules stop after 3 hops
Section titled “A rule: one trigger → 1-10 actions. Runs in the worker as its creator; rules triggered by rules stop after 3 hops”POST /v1/orgs/{org}/tasks/projects/{id}/rulesAPI keys: needs the tasks:write scope.
| Parameter | In | Type | Description |
|---|---|---|---|
org (required) |
path | string (uuid) | The caller’s organisation id. |
id (required) |
path | string (uuid) | A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import). |
Request body (JSON)
| Field | Type | Description |
|---|---|---|
id |
string (uuid) | |
name |
string | |
enabled |
boolean | |
trigger |
object | |
actions |
array of object | |
run_count |
integer | |
last_run_at |
string \ | null (date-time) |
Responses
201TaskRule422Invalid input — Problem
Change a rule (name, enabled, trigger, actions)
Section titled “Change a rule (name, enabled, trigger, actions)”PATCH /v1/orgs/{org}/tasks/rules/{id}API keys: needs the tasks:write scope.
| Parameter | In | Type | Description |
|---|---|---|---|
org (required) |
path | string (uuid) | The caller’s organisation id. |
id (required) |
path | string (uuid) | A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import). |
Responses
200TaskRule
Delete a rule
Section titled “Delete a rule”DELETE /v1/orgs/{org}/tasks/rules/{id}API keys: needs the tasks:write scope.
| Parameter | In | Type | Description |
|---|---|---|---|
org (required) |
path | string (uuid) | The caller’s organisation id. |
id (required) |
path | string (uuid) | A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import). |
Responses
200{deleted}
Forms of a project
Section titled “Forms of a project”GET /v1/orgs/{org}/tasks/projects/{id}/formsAPI keys: needs the tasks:read scope.
| Parameter | In | Type | Description |
|---|---|---|---|
org (required) |
path | string (uuid) | The caller’s organisation id. |
id (required) |
path | string (uuid) | A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import). |
Responses
200{items: TaskForm[]}
A form (public link or organisation-only) whose entries become items
Section titled “A form (public link or organisation-only) whose entries become items”POST /v1/orgs/{org}/tasks/projects/{id}/formsAPI keys: needs the tasks:write scope.
| Parameter | In | Type | Description |
|---|---|---|---|
org (required) |
path | string (uuid) | The caller’s organisation id. |
id (required) |
path | string (uuid) | A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import). |
Responses
201TaskForm
Change a form
Section titled “Change a form”PATCH /v1/orgs/{org}/tasks/forms/{id}API keys: needs the tasks:write scope.
| Parameter | In | Type | Description |
|---|---|---|---|
org (required) |
path | string (uuid) | The caller’s organisation id. |
id (required) |
path | string (uuid) | A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import). |
Responses
200TaskForm
Delete a form
Section titled “Delete a form”DELETE /v1/orgs/{org}/tasks/forms/{id}API keys: needs the tasks:write scope.
| Parameter | In | Type | Description |
|---|---|---|---|
org (required) |
path | string (uuid) | The caller’s organisation id. |
id (required) |
path | string (uuid) | A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import). |
Responses
200{deleted}
My saved views (filters, sorts, grouping) of a project
Section titled “My saved views (filters, sorts, grouping) of a project”GET /v1/orgs/{org}/tasks/projects/{id}/viewsAPI keys: needs the tasks:read scope.
| Parameter | In | Type | Description |
|---|---|---|---|
org (required) |
path | string (uuid) | The caller’s organisation id. |
id (required) |
path | string (uuid) | A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import). |
Responses
200{items}
Save a view ({name, kind, config})
Section titled “Save a view ({name, kind, config})”POST /v1/orgs/{org}/tasks/projects/{id}/viewsAPI keys: needs the tasks:write scope.
| Parameter | In | Type | Description |
|---|---|---|---|
org (required) |
path | string (uuid) | The caller’s organisation id. |
id (required) |
path | string (uuid) | A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import). |
Responses
201SavedView
Change a saved view
Section titled “Change a saved view”PATCH /v1/orgs/{org}/tasks/views/{id}API keys: needs the tasks:write scope.
| Parameter | In | Type | Description |
|---|---|---|---|
org (required) |
path | string (uuid) | The caller’s organisation id. |
id (required) |
path | string (uuid) | A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import). |
Responses
200SavedView
Delete a saved view
Section titled “Delete a saved view”DELETE /v1/orgs/{org}/tasks/views/{id}API keys: needs the tasks:write scope.
| Parameter | In | Type | Description |
|---|---|---|---|
org (required) |
path | string (uuid) | The caller’s organisation id. |
id (required) |
path | string (uuid) | A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import). |
Responses
200{deleted}
Items assigned to me (done: the last 30 days)
Section titled “Items assigned to me (done: the last 30 days)”GET /v1/orgs/{org}/tasks/my-tasksAPI keys: needs the tasks:read scope.
| Parameter | In | Type | Description |
|---|---|---|---|
org (required) |
path | string (uuid) | The caller’s organisation id. |
completed |
query | open, done, all |
Responses
200{items: TaskItem[]}
Create an item, a subtask (parent_id) or a private item (no project). Assigning an AI employee starts its work
Section titled “Create an item, a subtask (parent_id) or a private item (no project). Assigning an AI employee starts its work”POST /v1/orgs/{org}/tasks/itemsAPI keys: needs the tasks:write scope.
| Parameter | In | Type | Description |
|---|---|---|---|
org (required) |
path | string (uuid) | The caller’s organisation id. |
Request body (JSON)
| Field | Type | Description |
|---|---|---|
title |
string | |
description |
string | |
project_id |
string (uuid) | |
section_id |
string (uuid) | |
parent_id |
string \ | null (uuid) |
after_id |
string (uuid) | |
completed |
boolean | |
assignee |
object \ | null |
start_on |
string \ | null (date) |
due_on |
string \ | null (date) |
priority |
low, medium, high, urgent, null |
|
custom_fields |
object | |
tag_ids |
array of string (uuid) | |
recurrence |
object \ | null |
Responses
201TaskItem — TaskItem422Invalid input — Problem
Bulk edit ({ids, patch?, section_id?, delete?}) — all or nothing
Section titled “Bulk edit ({ids, patch?, section_id?, delete?}) — all or nothing”POST /v1/orgs/{org}/tasks/items/bulkAPI keys: needs the tasks:write scope.
| Parameter | In | Type | Description |
|---|---|---|---|
org (required) |
path | string (uuid) | The caller’s organisation id. |
Responses
200{updated}
An item with my role, parents, subtasks, dependencies, followers and attachments
Section titled “An item with my role, parents, subtasks, dependencies, followers and attachments”GET /v1/orgs/{org}/tasks/items/{id}API keys: needs the tasks:read scope.
| Parameter | In | Type | Description |
|---|---|---|---|
org (required) |
path | string (uuid) | The caller’s organisation id. |
id (required) |
path | string (uuid) | A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import). |
Responses
200TaskItemDetail404Not found (also returned for rows the caller may not see, and for disabled features) — Problem
Change an item (JSON null clears a field; custom_fields merge)
Section titled “Change an item (JSON null clears a field; custom_fields merge)”PATCH /v1/orgs/{org}/tasks/items/{id}API keys: needs the tasks:write scope.
| Parameter | In | Type | Description |
|---|---|---|---|
org (required) |
path | string (uuid) | The caller’s organisation id. |
id (required) |
path | string (uuid) | A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import). |
Request body (JSON)
| Field | Type | Description |
|---|---|---|
title |
string | |
description |
string | |
project_id |
string (uuid) | |
section_id |
string (uuid) | |
parent_id |
string \ | null (uuid) |
after_id |
string (uuid) | |
completed |
boolean | |
assignee |
object \ | null |
start_on |
string \ | null (date) |
due_on |
string \ | null (date) |
priority |
low, medium, high, urgent, null |
|
custom_fields |
object | |
tag_ids |
array of string (uuid) | |
recurrence |
object \ | null |
Responses
200TaskItem403Authenticated but not allowed (e.g. unverified email, not the agent’s controller, card routed to someone else) — Problem
Delete an item and its subtasks
Section titled “Delete an item and its subtasks”DELETE /v1/orgs/{org}/tasks/items/{id}API keys: needs the tasks:write scope.
| Parameter | In | Type | Description |
|---|---|---|---|
org (required) |
path | string (uuid) | The caller’s organisation id. |
id (required) |
path | string (uuid) | A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import). |
Responses
200{deleted}
Reorder or move to a section ({project_id, section_id?, after_id?}; no after_id = top)
Section titled “Reorder or move to a section ({project_id, section_id?, after_id?}; no after_id = top)”POST /v1/orgs/{org}/tasks/items/{id}/moveAPI keys: needs the tasks:write scope.
| Parameter | In | Type | Description |
|---|---|---|---|
org (required) |
path | string (uuid) | The caller’s organisation id. |
id (required) |
path | string (uuid) | A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import). |
Responses
200TaskItem
Also add to another project ({project_id, section_id?})
Section titled “Also add to another project ({project_id, section_id?})”POST /v1/orgs/{org}/tasks/items/{id}/projectsAPI keys: needs the tasks:write scope.
| Parameter | In | Type | Description |
|---|---|---|---|
org (required) |
path | string (uuid) | The caller’s organisation id. |
id (required) |
path | string (uuid) | A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import). |
Responses
200TaskItem
Remove from a project
Section titled “Remove from a project”DELETE /v1/orgs/{org}/tasks/items/{id}/projects/{project}API keys: needs the tasks:write scope.
| Parameter | In | Type | Description |
|---|---|---|---|
org (required) |
path | string (uuid) | The caller’s organisation id. |
id (required) |
path | string (uuid) | A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import). |
project (required) |
path | string (uuid) |
Responses
200TaskItem
Follow (no body) or add a follower ({person_id|agent_id}, editors)
Section titled “Follow (no body) or add a follower ({person_id|agent_id}, editors)”POST /v1/orgs/{org}/tasks/items/{id}/followersAPI keys: needs the tasks:write scope.
| Parameter | In | Type | Description |
|---|---|---|---|
org (required) |
path | string (uuid) | The caller’s organisation id. |
id (required) |
path | string (uuid) | A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import). |
Responses
200TaskItemDetail
Unfollow
Section titled “Unfollow”DELETE /v1/orgs/{org}/tasks/items/{id}/followers/{principal}API keys: needs the tasks:write scope.
| Parameter | In | Type | Description |
|---|---|---|---|
org (required) |
path | string (uuid) | The caller’s organisation id. |
id (required) |
path | string (uuid) | A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import). |
principal (required) |
path | string (uuid) |
Responses
200TaskItemDetail
Blocked by ({blocked_by_id}); cycles are refused
Section titled “Blocked by ({blocked_by_id}); cycles are refused”POST /v1/orgs/{org}/tasks/items/{id}/dependenciesAPI keys: needs the tasks:write scope.
| Parameter | In | Type | Description |
|---|---|---|---|
org (required) |
path | string (uuid) | The caller’s organisation id. |
id (required) |
path | string (uuid) | A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import). |
Responses
200TaskItemDetail422Invalid input — Problem
Remove a dependency
Section titled “Remove a dependency”DELETE /v1/orgs/{org}/tasks/items/{id}/dependencies/{other}API keys: needs the tasks:write scope.
| Parameter | In | Type | Description |
|---|---|---|---|
org (required) |
path | string (uuid) | The caller’s organisation id. |
id (required) |
path | string (uuid) | A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import). |
other (required) |
path | string (uuid) |
Responses
200TaskItemDetail
Comments and history, oldest first (Story: kind comment|activity)
Section titled “Comments and history, oldest first (Story: kind comment|activity)”GET /v1/orgs/{org}/tasks/items/{id}/storiesAPI keys: needs the tasks:read scope.
| Parameter | In | Type | Description |
|---|---|---|---|
org (required) |
path | string (uuid) | The caller’s organisation id. |
id (required) |
path | string (uuid) | A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import). |
Responses
200{items: Story[]}
Comment ({text, attachment_ids?}); mentions @Name notify and share; @Riya asks an AI employee; replies reach an AI employee working on the item
Section titled “Comment ({text, attachment_ids?}); mentions @Name notify and share; @Riya asks an AI employee; replies reach an AI employee working on the item”POST /v1/orgs/{org}/tasks/items/{id}/commentsAPI keys: needs the tasks:write scope.
| Parameter | In | Type | Description |
|---|---|---|---|
org (required) |
path | string (uuid) | The caller’s organisation id. |
id (required) |
path | string (uuid) | A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import). |
Responses
201Story
Edit your comment
Section titled “Edit your comment”PATCH /v1/orgs/{org}/tasks/comments/{id}API keys: needs the tasks:write scope.
| Parameter | In | Type | Description |
|---|---|---|---|
org (required) |
path | string (uuid) | The caller’s organisation id. |
id (required) |
path | string (uuid) | A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import). |
Responses
200Story
Delete your comment
Section titled “Delete your comment”DELETE /v1/orgs/{org}/tasks/comments/{id}API keys: needs the tasks:write scope.
| Parameter | In | Type | Description |
|---|---|---|---|
org (required) |
path | string (uuid) | The caller’s organisation id. |
id (required) |
path | string (uuid) | A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import). |
Responses
200{deleted}
Toggle a reaction ({emoji})
Section titled “Toggle a reaction ({emoji})”POST /v1/orgs/{org}/tasks/comments/{id}/reactionsAPI keys: needs the tasks:write scope.
| Parameter | In | Type | Description |
|---|---|---|---|
org (required) |
path | string (uuid) | The caller’s organisation id. |
id (required) |
path | string (uuid) | A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import). |
Responses
200Story
Attach a file (raw body ≤ 25 MB, the file’s Content-Type) — commenters; stored under the organisation’s prefix
Section titled “Attach a file (raw body ≤ 25 MB, the file’s Content-Type) — commenters; stored under the organisation’s prefix”POST /v1/orgs/{org}/tasks/items/{id}/attachmentsAPI keys: needs the tasks:write scope.
| Parameter | In | Type | Description |
|---|---|---|---|
org (required) |
path | string (uuid) | The caller’s organisation id. |
id (required) |
path | string (uuid) | A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import). |
name |
query | string |
Request body: application/octet-stream.
Responses
201Attachment422Invalid input — Problem
Remove a file (uploader or editors)
Section titled “Remove a file (uploader or editors)”DELETE /v1/orgs/{org}/tasks/attachments/{id}API keys: needs the tasks:write scope.
| Parameter | In | Type | Description |
|---|---|---|---|
org (required) |
path | string (uuid) | The caller’s organisation id. |
id (required) |
path | string (uuid) | A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import). |
Responses
200{deleted}
Download (checked against the item’s access on every request)
Section titled “Download (checked against the item’s access on every request)”GET /v1/orgs/{org}/tasks/attachments/{id}/contentAPI keys: needs the tasks:read scope.
| Parameter | In | Type | Description |
|---|---|---|---|
org (required) |
path | string (uuid) | The caller’s organisation id. |
id (required) |
path | string (uuid) | A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import). |
Responses
200The bytes
“Let Scout do it” ({agent_id}: your own agent, on an item you own) → {conversation_id, item}
Section titled ““Let Scout do it” ({agent_id}: your own agent, on an item you own) → {conversation_id, item}”POST /v1/orgs/{org}/tasks/items/{id}/agentAPI keys: needs the tasks:write scope.
| Parameter | In | Type | Description |
|---|---|---|---|
org (required) |
path | string (uuid) | The caller’s organisation id. |
id (required) |
path | string (uuid) | A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import). |
Responses
201{conversation_id, item}422Invalid input — Problem
Stop the agent working on the item
Section titled “Stop the agent working on the item”DELETE /v1/orgs/{org}/tasks/items/{id}/agentAPI keys: needs the tasks:write scope.
| Parameter | In | Type | Description |
|---|---|---|---|
org (required) |
path | string (uuid) | The caller’s organisation id. |
id (required) |
path | string (uuid) | A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import). |
Responses
200TaskItem
My notifications (assigned, mentioned, commented, completed, due soon, followers, forms, agent updates)
Section titled “My notifications (assigned, mentioned, commented, completed, due soon, followers, forms, agent updates)”GET /v1/orgs/{org}/tasks/inboxAPI keys: needs the tasks:read scope.
| Parameter | In | Type | Description |
|---|---|---|---|
org (required) |
path | string (uuid) | The caller’s organisation id. |
filter |
query | unread, all, archived |
Responses
200{items: Notification[], unread}
Mark everything read
Section titled “Mark everything read”POST /v1/orgs/{org}/tasks/inbox/read-allAPI keys: needs the tasks:write scope.
| Parameter | In | Type | Description |
|---|---|---|---|
org (required) |
path | string (uuid) | The caller’s organisation id. |
Responses
200{unread}
Mark read / unread ({read})
Section titled “Mark read / unread ({read})”POST /v1/orgs/{org}/tasks/inbox/{id}/readAPI keys: needs the tasks:write scope.
| Parameter | In | Type | Description |
|---|---|---|---|
org (required) |
path | string (uuid) | The caller’s organisation id. |
id (required) |
path | string (uuid) | A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import). |
Responses
200{unread}
Archive / unarchive ({archived})
Section titled “Archive / unarchive ({archived})”POST /v1/orgs/{org}/tasks/inbox/{id}/archiveAPI keys: needs the tasks:write scope.
| Parameter | In | Type | Description |
|---|---|---|---|
org (required) |
path | string (uuid) | The caller’s organisation id. |
id (required) |
path | string (uuid) | A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import). |
Responses
200{unread}
Asana workspaces ({token} = personal access token, never stored; or {connection_id} = your Asana connection via Composio)
Section titled “Asana workspaces ({token} = personal access token, never stored; or {connection_id} = your Asana connection via Composio)”POST /v1/orgs/{org}/tasks/import/asana/workspacesAPI keys: not available (needs a person signed in to the app).
| Parameter | In | Type | Description |
|---|---|---|---|
org (required) |
path | string (uuid) | The caller’s organisation id. |
Responses
200{workspaces}
Projects of a workspace ({token|connection_id, workspace_gid})
Section titled “Projects of a workspace ({token|connection_id, workspace_gid})”POST /v1/orgs/{org}/tasks/import/asana/projectsAPI keys: not available (needs a person signed in to the app).
| Parameter | In | Type | Description |
|---|---|---|---|
org (required) |
path | string (uuid) | The caller’s organisation id. |
Responses
200{projects}
Dry run: counts per project and which assignees match people here by email
Section titled “Dry run: counts per project and which assignees match people here by email”POST /v1/orgs/{org}/tasks/import/asana/previewAPI keys: not available (needs a person signed in to the app).
| Parameter | In | Type | Description |
|---|---|---|---|
org (required) |
path | string (uuid) | The caller’s organisation id. |
Responses
200{projects, people: {matched, unmatched}, totals}
Import (runs in the background as you; progress via GET /tasks/imports/{id} and live task.import.updated)
Section titled “Import (runs in the background as you; progress via GET /tasks/imports/{id} and live task.import.updated)”POST /v1/orgs/{org}/tasks/import/asanaAPI keys: not available (needs a person signed in to the app).
| Parameter | In | Type | Description |
|---|---|---|---|
org (required) |
path | string (uuid) | The caller’s organisation id. |
Responses
202{import}
An import’s state and counts
Section titled “An import’s state and counts”GET /v1/orgs/{org}/tasks/imports/{id}API keys: not available (needs a person signed in to the app).
| Parameter | In | Type | Description |
|---|---|---|---|
org (required) |
path | string (uuid) | The caller’s organisation id. |
id (required) |
path | string (uuid) | A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import). |
Responses
200Import
CSV columns, row count, sample and a guessed mapping ({csv})
Section titled “CSV columns, row count, sample and a guessed mapping ({csv})”POST /v1/orgs/{org}/tasks/import/csv/previewAPI keys: not available (needs a person signed in to the app).
| Parameter | In | Type | Description |
|---|---|---|---|
org (required) |
path | string (uuid) | The caller’s organisation id. |
Responses
200{columns, rows, sample, mapping}
Import CSV rows ({csv, mapping?, project_id? | new_project_name?})
Section titled “Import CSV rows ({csv, mapping?, project_id? | new_project_name?})”POST /v1/orgs/{org}/tasks/import/csvAPI keys: not available (needs a person signed in to the app).
| Parameter | In | Type | Description |
|---|---|---|---|
org (required) |
path | string (uuid) | The caller’s organisation id. |
Responses
201{project_id, created}
A form’s questions. Public forms need no sign-in; organisation-only forms need a bearer token from that organisation
Section titled “A form’s questions. Public forms need no sign-in; organisation-only forms need a bearer token from that organisation”GET /v1/forms/{token}API keys: not available (needs a person signed in to the app).
| Parameter | In | Type | Description |
|---|---|---|---|
token (required) |
path | string |
Responses
200{title, description, org_name, project_name, access, questions, ask_description, ask_due}404Not found (also returned for rows the caller may not see, and for disabled features) — Problem
Submit ({title, description?, due_on?, answers, name?, email?}) → a new item in the project, created as the form’s owner (20 a minute per form)
Section titled “Submit ({title, description?, due_on?, answers, name?, email?}) → a new item in the project, created as the form’s owner (20 a minute per form)”POST /v1/forms/{token}API keys: not available (needs a person signed in to the app).
| Parameter | In | Type | Description |
|---|---|---|---|
token (required) |
path | string |
Responses
201{ok}409Conflicting state (card already answered, duplicate in flight, name taken) — Problem