Skip to content

POST /api/v1/tasks

Status: GA Access: token required API contract: 0.3.0 · capability 2026-09-03.1 View as Markdown Open in Claude Open in ChatGPT

Create

Create a task (agent needs manage_task; owner/humans no-op the gate).

Auth: Authorization: Bearer <token> required

Terminal window
curl -sS -X POST "https://entherium.duckdns.org:8443/api/v1/tasks" \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{"area":"platform","assignee_id":2,"description":"Ten key schemas, one example each","spec_ref":"SPEC-NNN","title":"Add request examples to the public contract"}'
{
"area": "platform",
"assignee_id": 2,
"assignee_name": "Owner",
"createtime": "2026-09-03T08:00:00Z",
"description": "Ten key schemas, one example each",
"guid": 118,
"owner": 5,
"spec_ref": "SPEC-NNN",
"status": "open",
"title": "Add request examples to the public contract",
"updatetime": "2026-09-03T08:00:00Z"
}

TaskRead — Successful Response

FieldTypeDescription
areastring | null (opt.)
assignee_idinteger | null
assignee_namestring | null (opt.)
closed_atstring | null
createtimestring
descriptionstring | null
guidinteger
ownerinteger | null
spec_refstring | null (opt.)
statusstring
titlestring
updatetimestring
ParameterInRequiredTypeDefaultConstraintsDescription
Idempotency-Keyheadernostring—uuidOptional.
FieldTypeRequiredDescription
areastring | nullno
assignee_idinteger | nullno
descriptionstring | nullno
spec_refstring | nullno
titlestringyes

Example:

{
"area": "platform",
"assignee_id": 2,
"description": "Ten key schemas, one example each",
"spec_ref": "SPEC-NNN",
"title": "Add request examples to the public contract"
}
CodeMeaningBody
401Missing or invalid authentication credentialsErrorResponse
422Validation ErrorHTTPValidationError
429Task intake rate exceeded; retry after the Retry-After secondsErrorResponse

Every error body is {detail, code?, request_id, doc_url} — request_id is the value to quote, doc_url points at the Errors reference.