Skip to content
PHRONEN
Menu

Product

ProductPricingCompanyEnterpriseDownload

Proof

EvidenceSecurity

Account

Sign inCreate accountSalesContact

Tasks

Hand PHRONEN an outcome and get back a task you can follow, approve, pause and read the proof of.

createshell
curl https://api.phronen.ai/api/v1/tasks \
  -H "Authorization: Bearer $PHRONEN_KEY" \
  -H "Idempotency-Key: deploy-2026-09-20-1" \
  -d '{ "goal": "Get the site live on the new domain and tell me when it is." }'
FieldMeaning
goalThe outcome, in plain words. Required.
titleOptional short name; derived from the goal if omitted.
projectOptional project name to file the task under.
environmentlocal · ci · staging · production · desktop. Production is limited to owners and admins by default.
device_idPin the work to one trusted device. Otherwise PHRONEN picks the device that has what the task needs.
parent_idMake this a follow-up of an earlier task.
verifytrue by default. false records the work without an independent check and never reports it as verified.
max_repairsHow many times PHRONEN may repair and re-check before stopping. Default 3.
201 Createdjson
{
  "id": "1d6d…",
  "number": 1044,
  "status": "queued",
  "stage": "understand",
  "stream": "/api/v1/tasks/1d6d…/events",
  "task": { … }
}

Status

statusMeaning
queuedaccepted, waiting for a device
runningin progress
awaiting_approvalthe control plane paused; the web continues unless this is a payment
pausedpaused by you
completedfinished and confirmed by the independent check — the only way a task is called done
failedstopped short; reason says why, in plain words
cancelledstopped by you

Acting on a task

POST https://api.phronen.ai/api/v1/tasks/{id}/approve   { "decision": "approve" | "reject", "proposal_id": "ID of the inspected proposal", "note": "…" }
POST https://api.phronen.ai/api/v1/tasks/{id}/pause
POST https://api.phronen.ai/api/v1/tasks/{id}/resume
POST https://api.phronen.ai/api/v1/tasks/{id}/cancel
GET https://api.phronen.ai/api/v1/tasks                 # ?status=awaiting_approval
GET https://api.phronen.ai/api/v1/tasks/{id}