pulso Docs

API

View as Markdown

Tasks

Reading needs tasks:read; completing and assigning, tasks:write, and a member allowed to do it in the app.

List tasks#

curl "https://pulso.run/api/v1/tasks?status=open&for_me=true" \
  -H "Authorization: Bearer ak_..."

The same tasks as the Tasks page: the steps a person acts on (tasks, approvals, questions) in signals still being worked, newest first and a page at a time. Filters, all optional:

Parameter Value
status open or done. Both when left out.
monitor_id A monitor’s id
assignee member:<id>, team:<id> or unassigned
for_me true: assigned to the key’s member or their teams

Read a task#

curl https://pulso.run/api/v1/tasks/01M806F87YJ837B9GR6QP15X3V \
  -H "Authorization: Bearer ak_..."

Any step of a signal’s playbook, also the automatic ones. Returns { "task": … }:

{
  "task": {
    "id": "01M806F87YJ837B9GR6QP15X3V",
    "kind": "question",
    "title": "Question: Was the refund sent?",
    "status": "done",
    "actionable": true,
    "assignee": { "id": "01M7ZJ3AVZCZ96R6X1H7D6GDW2", "name": "Alex", "email": "alex@example.com" },
    "team": null,
    "completed_by": { "id": "01M7ZJ3AVZCZ96R6X1H7D6GDW2", "name": "Alex", "email": "alex@example.com" },
    "data": { "answer": "Yes" },
    "created_at": "2026-11-22T09:14:03.120Z",
    "updated_at": "2026-11-22T10:02:11.870Z",
    "signal": { "id": "01M806EYYCSC4EC2WVX27CJV50", "title": "Ana was charged twice for BC-10442" },
    "monitor": { "id": "01M7ZJ3DXSQ8YS1EHDA656QNDK", "name": "Duplicate charges" },
    "url": "https://pulso.run/accounts/…/signals/01M806EYYCSC4EC2WVX27CJV50"
  }
}
  • status: closed (not reached yet), open or done.
  • actionable: whether a person completes it, rather than Pulso.
  • data: what the step recorded, such as a question’s answer or a form step’s answers.

Complete a task#

curl -X POST https://pulso.run/api/v1/tasks/01M806F87YJ837B9GR6QP15X3V/complete \
  -H "Authorization: Bearer ak_..." -H "Content-Type: application/json" \
  -d '{"data": {"answer": "Yes"}}'

data holds what the step asks for, the same shape its data shows once done: {"answer": …} for a question, nothing for a plain task. The playbook then moves on, as when someone completes it in the app. Returns { "task": … }.

A script or HTTP request step that failed and stopped the playbook is completed with no data: the playbook goes on without it, and its data keeps the error and logs.

A wait still waiting is skipped the same way; its data keeps until, when it would have gone on, and adds "skipped": true.

  • 422 with errors under data. when the answer is missing or isn’t valid.
  • 409 when the step isn’t open, the signal’s playbook is on hold, or Pulso runs the step itself.
  • 403 when the step must be completed by its assignee and the member is someone else (admins can complete any).

Run a failed step again#

POST /api/v1/tasks/:id/retry runs a script or HTTP request step that failed and stopped the playbook once more. It answers at once with the step open and empty data; read the task again shortly for the result, which has error, duration_ms and ran_at, plus output and logs for a script, or status, headers and body for an HTTP request. 409 for any other step.

Assign and unassign#

  • POST /api/v1/tasks/:id/assign with assignee: member:<id> or team:<id>. Picked by hand, it stops following the signal’s assignee.
  • POST /api/v1/tasks/:id/unassign with from: member or team.

Only an open step of a live signal can be reassigned.