Reference
Tasks
GET/api/v1/tasksList tasks
Lists tasks the way the task list in nxva.base does, 50 per page, soonest due first. Without a status it shows what is still to be done (open, in_progress). Use get_task for one task's description and comments.scope tasks:read
Query
| status | one of open, in_progress, done, cancelled[]Statuses to include. Default: open and in_progress. |
| assignee | string"me", "unassigned", or a user id. |
| order | stringAn order id or number (e.g. "AB-2026-0007"), or "none" for tasks without an order. |
| due | one of overdue, today, this_week, this_month, none |
| source | one of github, wingman, customer, public |
| query | stringWords to find in number, title, description, comments, order, assignee or issue. |
| page | integer1-based page of 50 rows. Omit for the first page. |
Response 200
| items[] | object[] |
| items[].id | string |
| items[].number | string |
| items[].title | string |
| items[].status | string |
| items[].priority | string |
| items[].due_date | string | null |
| items[].assignee | string | null |
| items[].orderoptional | object | null |
| items[].order.number | string |
| items[].order.customer | string |
| items[].source | one of github, wingman, customer, public |
| items[].issue_urloptional | string | null |
| items[].url | string |
| page | integer |
| total | integer |
| has_more | boolean |
Schema
{
"type": "object",
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"number": {
"type": "string"
},
"title": {
"type": "string"
},
"status": {
"type": "string"
},
"priority": {
"type": "string"
},
"due_date": {
"type": [
"string",
"null"
]
},
"assignee": {
"type": [
"string",
"null"
]
},
"order": {
"anyOf": [
{
"type": "object",
"properties": {
"number": {
"type": "string"
},
"customer": {
"type": "string"
}
},
"required": [
"number",
"customer"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"source": {
"type": "string",
"enum": [
"github",
"wingman",
"customer",
"public"
]
},
"issue_url": {
"type": [
"string",
"null"
]
},
"url": {
"type": "string"
}
},
"required": [
"id",
"number",
"title",
"status",
"priority",
"due_date",
"assignee",
"source",
"url"
],
"additionalProperties": false
}
},
"page": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"total": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"has_more": {
"type": "boolean"
}
},
"required": [
"items",
"page",
"total",
"has_more"
],
"additionalProperties": false
}Refusals are problems with a code — see Errors.
POST/api/v1/tasksCreate task
Creates a task, as the signed-in person -- tasks.manage only, as on the page. Optionally on an order, assigned to somebody, with dates, an estimate, a status and a priority. With a reporter it is a customer request raised for that person: it belongs to their company and they see it in support. visible_to_customer shows an internal task in support too, on an order. Creating either mails nobody -- the same as the form.scope tasks:create
Body (JSON)
| titlerequired | string |
| description | stringMarkdown. |
| order | stringThe order's id or number, e.g. "AB-2026-0007". |
| assignee | string"me", or a user id. Default: nobody. |
| status | one of open, in_progress, done, cancelledDefault: open. |
| priority | one of low, medium, highDefault: medium. |
| start_date | stringYYYY-MM-DD. |
| due_date | stringYYYY-MM-DD, not before start_date. |
| planned_minutes | integerThe estimate, in minutes. |
| reporter | stringA person's id or email address. Makes the task a customer request from them: always visible to the customer. On an order, the person must belong to its company. |
| visible_to_customer | booleanShow an internal task to the customer in support. Only takes effect on a task with an order. Default: false. |
Response 200
| id | string |
| number | string |
| status | string |
| priority | string |
| assignee | string | null |
| orderoptional | string | null |
| due_date | string | null |
| origin | string |
| reported_byoptional | string | null |
| visible_to_customeroptional | boolean |
| url | string |
Schema
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"number": {
"type": "string"
},
"status": {
"type": "string"
},
"priority": {
"type": "string"
},
"assignee": {
"type": [
"string",
"null"
]
},
"order": {
"type": [
"string",
"null"
]
},
"due_date": {
"type": [
"string",
"null"
]
},
"origin": {
"type": "string"
},
"reported_by": {
"type": [
"string",
"null"
]
},
"visible_to_customer": {
"type": "boolean"
},
"url": {
"type": "string"
}
},
"required": [
"id",
"number",
"status",
"priority",
"assignee",
"due_date",
"origin",
"url"
],
"additionalProperties": false
}Refusals are problems with a code — see Errors.
GET/api/v1/tasks/{id}Get task
One task with its description, dates, planned and booked time, the GitHub issue it mirrors if any, and every comment. Comments carry an audience: internal notes, or answers the customer can read. The task and each comment list their attachments; get_attachment reads one whose scan_state is clean. A public request (source public) has a requester instead of reported_by; an answer with audience customer is mailed to them.scope tasks:read
Path
| idrequired | stringThe task's id or number, e.g. "AU-2026-0042". |
Response 200
| id | string |
| number | string |
| title | string |
| description | string | null |
| status | string |
| priority | string |
| kind | string |
| source | one of github, wingman, customer, public |
| start_date | string | null |
| due_date | string | null |
| completed_at | string | null |
| planned_minutes | integer | null |
| booked_minutes | integer |
| assignee | object | null |
| assignee.id | string |
| assignee.name | string |
| created_by | string | null |
| created_by_agentoptional | string |
| intake_item_idoptional | string | null |
| orderoptional | object | null |
| order.id | string |
| order.number | string |
| order.customer | string |
| company | object | null |
| company.id | string |
| company.name | string |
| reported_byoptional | string | null |
| requesteroptional | object | null |
| requester.email | string |
| requester.name | string | null |
| public_addressoptional | string | null |
| anonymised_atoptional | string | null |
| visible_to_customeroptional | boolean |
| rejection_reasonoptional | string | null |
| issueoptional | object | null |
| issue.repository | string |
| issue.number | integer | null |
| issue.url | string | null |
| issue.state | string | null |
| issue.labels | string[] |
| issue.pending_pushes[] | object[] |
| issue.pending_pushes[].kind | string |
| issue.pending_pushes[].attempts | integer |
| issue.pending_pushes[].failed | boolean |
| issue.pending_pushes[].last_error | string | null |
| attachments[] | object[] |
| attachments[].id | string |
| attachments[].file_name | string |
| attachments[].content_type | string |
| attachments[].bytes | integer |
| attachments[].scan_state | string |
| comments[] | object[] |
| comments[].author | string |
| comments[].origin | string |
| comments[].audience | string |
| comments[].body | string | null |
| comments[].deleted | boolean |
| comments[].agent_label | string | null |
| comments[].agentoptional | string |
| comments[].created_at | string |
| comments[].attachments[] | object[] |
| comments[].attachments[].id | string |
| comments[].attachments[].file_name | string |
| comments[].attachments[].content_type | string |
| comments[].attachments[].bytes | integer |
| comments[].attachments[].scan_state | string |
| url | string |
Schema
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"number": {
"type": "string"
},
"title": {
"type": "string"
},
"description": {
"type": [
"string",
"null"
]
},
"status": {
"type": "string"
},
"priority": {
"type": "string"
},
"kind": {
"type": "string"
},
"source": {
"type": "string",
"enum": [
"github",
"wingman",
"customer",
"public"
]
},
"start_date": {
"type": [
"string",
"null"
]
},
"due_date": {
"type": [
"string",
"null"
]
},
"completed_at": {
"type": [
"string",
"null"
]
},
"planned_minutes": {
"anyOf": [
{
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"booked_minutes": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"assignee": {
"anyOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"id",
"name"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"created_by": {
"type": [
"string",
"null"
]
},
"created_by_agent": {
"type": "string"
},
"intake_item_id": {
"type": [
"string",
"null"
]
},
"order": {
"anyOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"number": {
"type": "string"
},
"customer": {
"type": "string"
}
},
"required": [
"id",
"number",
"customer"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"company": {
"anyOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"id",
"name"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"reported_by": {
"type": [
"string",
"null"
]
},
"requester": {
"anyOf": [
{
"type": "object",
"properties": {
"email": {
"type": "string"
},
"name": {
"type": [
"string",
"null"
]
}
},
"required": [
"email",
"name"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"public_address": {
"type": [
"string",
"null"
]
},
"anonymised_at": {
"type": [
"string",
"null"
]
},
"visible_to_customer": {
"type": "boolean"
},
"rejection_reason": {
"type": [
"string",
"null"
]
},
"issue": {
"anyOf": [
{
"type": "object",
"properties": {
"repository": {
"type": "string"
},
"number": {
"anyOf": [
{
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"url": {
"type": [
"string",
"null"
]
},
"state": {
"type": [
"string",
"null"
]
},
"labels": {
"type": "array",
"items": {
"type": "string"
}
},
"pending_pushes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"kind": {
"type": "string"
},
"attempts": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"failed": {
"type": "boolean"
},
"last_error": {
"type": [
"string",
"null"
]
}
},
"required": [
"kind",
"attempts",
"failed",
"last_error"
],
"additionalProperties": false
}
}
},
"required": [
"repository",
"number",
"url",
"state",
"labels",
"pending_pushes"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"attachments": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"file_name": {
"type": "string"
},
"content_type": {
"type": "string"
},
"bytes": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"scan_state": {
"type": "string"
}
},
"required": [
"id",
"file_name",
"content_type",
"bytes",
"scan_state"
],
"additionalProperties": false
}
},
"comments": {
"type": "array",
"items": {
"type": "object",
"properties": {
"author": {
"type": "string"
},
"origin": {
"type": "string"
},
"audience": {
"type": "string"
},
"body": {
"type": [
"string",
"null"
]
},
"deleted": {
"type": "boolean"
},
"agent_label": {
"type": [
"string",
"null"
]
},
"agent": {
"type": "string"
},
"created_at": {
"type": "string"
},
"attachments": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"file_name": {
"type": "string"
},
"content_type": {
"type": "string"
},
"bytes": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"scan_state": {
"type": "string"
}
},
"required": [
"id",
"file_name",
"content_type",
"bytes",
"scan_state"
],
"additionalProperties": false
}
}
},
"required": [
"author",
"origin",
"audience",
"body",
"deleted",
"agent_label",
"created_at",
"attachments"
],
"additionalProperties": false
}
},
"url": {
"type": "string"
}
},
"required": [
"id",
"number",
"title",
"description",
"status",
"priority",
"kind",
"source",
"start_date",
"due_date",
"completed_at",
"planned_minutes",
"booked_minutes",
"assignee",
"created_by",
"company",
"attachments",
"comments",
"url"
],
"additionalProperties": false
}Refusals are problems with a code — see Errors.
PATCH/api/v1/tasks/{id}Update task
Changes a task's status, priority, assignee, order or -- on a customer ticket -- reporter; at least one. order (tasks.manage): moves the task to another order, or off any with "none"; refused once settled time is booked on it, and an unassigned task gets the new order's default assignee. Status and priority: the assignee, or anybody with tasks.manage. Assignee: tasks.manage only. A status change on a task mirrored from GitHub is pushed to the issue. On a customer ticket, accepting (in_progress), declining (cancelled) or finishing (done) it mails the person who raised it, exactly as from the page; moving it back to open and changing its priority mail nobody. reporter: tasks.manage only, a person of the ticket's company; nobody is mailed about it, and the change is noted internally on the task. convert_to_customer_ticket (tasks.manage, with reporter): turns an internal task on an order into that person's customer ticket -- the reporter must belong to the order's company; title, description and attachments become visible to them in support, earlier comments stay internal, the status is kept, and it cannot be undone. The reporter is mailed only with notify_reporter.scope tasks:write
Path
| idrequired | stringThe task's id or number, e.g. "AU-2026-0042". |
Body (JSON)
| status | one of open, in_progress, done, cancelled |
| priority | one of low, medium, high |
| assignee | string"me", "unassigned", or a user id. |
| reporter | stringA customer ticket's new reporter: a person's id or email address, of the ticket's company. tasks.manage only. |
| order | stringThe order to move the task to, by id or number (e.g. "AB-2026-0007"), or "none". tasks.manage only. |
| convert_to_customer_ticket | booleantrue: turns an internal task into a customer ticket raised by `reporter`. Irreversible. tasks.manage only. |
| notify_reporter | booleanWith convert_to_customer_ticket: mails the reporter that the ticket was opened. Default false. |
Response 200
| number | string |
| status | string |
| priority | string |
| assignee | string | null |
| orderoptional | string | null |
| reported_byoptional | string | null |
| url | string |
Schema
{
"type": "object",
"properties": {
"number": {
"type": "string"
},
"status": {
"type": "string"
},
"priority": {
"type": "string"
},
"assignee": {
"type": [
"string",
"null"
]
},
"order": {
"type": [
"string",
"null"
]
},
"reported_by": {
"type": [
"string",
"null"
]
},
"url": {
"type": "string"
}
},
"required": [
"number",
"status",
"priority",
"assignee",
"url"
],
"additionalProperties": false
}Refusals are problems with a code — see Errors.
DELETE/api/v1/tasks/{id}Delete task
Deletes a task entered by hand, with its comments. tasks.manage only. An onboarding step or a task from a GitHub issue is never deleted -- set its status to cancelled -- and neither is a task with booked time.scope tasks:create
Path
| idrequired | stringThe task's id or number, e.g. "AU-2026-0042". |
Response 200
| deleted | string |
Schema
{
"type": "object",
"properties": {
"deleted": {
"type": "string"
}
},
"required": [
"deleted"
],
"additionalProperties": false
}Refusals are problems with a code — see Errors.
POST/api/v1/tasks/{id}/commentsAdd task comment
Writes a comment on a task, as the signed-in person, marked as written through an agent. Markdown is fine. audience defaults to internal. audience customer makes it an answer the customer reads in support, and mails the person who raised the ticket -- it cannot be taken back or made internal later, so write it as the final text. attachments takes ids from upload_attachment. On a task mirrored from GitHub the comment is also posted to the issue. Allowed to the assignee, or anybody with tasks.manage.scope tasks:comment
Path
| idrequired | stringThe task's id or number, e.g. "AU-2026-0042". |
Body (JSON)
| bodyrequired | stringThe comment, Markdown. |
| audience | one of internal, customerinternal (default): the team only. customer: visible in support, and the reporter is mailed. |
| attachments | string[]Ids from upload_attachment, at most 5. With audience customer the customer sees them once scanned clean. |
Response 200
| number | string |
| comment_id | string |
| audience | one of internal, customer |
| url | string |
Schema
{
"type": "object",
"properties": {
"number": {
"type": "string"
},
"comment_id": {
"type": "string"
},
"audience": {
"type": "string",
"enum": [
"internal",
"customer"
]
},
"url": {
"type": "string"
}
},
"required": [
"number",
"comment_id",
"audience",
"url"
],
"additionalProperties": false
}Refusals are problems with a code — see Errors.
POST/api/v1/tasks/{id}/push/discardDiscard task push
Gives up on pushes to GitHub that failed for good (issue deleted or locked, repository removed): the failed entries are dropped, the task stays as it is in nxva.base, and the next sync brings the issue's state back. A comment whose push is dropped stays in nxva.base only. The assignee, or anybody with tasks.manage.scope tasks:write
Path
| idrequired | stringThe task's id or number, e.g. "AU-2026-0042". |
Response 200
| discarded | integer |
Schema
{
"type": "object",
"properties": {
"discarded": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
}
},
"required": [
"discarded"
],
"additionalProperties": false
}Refusals are problems with a code — see Errors.
POST/api/v1/tasks/{id}/push/retryRetry task push
Tries again to push a task's pending status changes and comments to its GitHub issue, once the cause of a failure is fixed. The assignee, or anybody with tasks.manage. get_task shows whether a push failed.scope tasks:write
Path
| idrequired | stringThe task's id or number, e.g. "AU-2026-0042". |
Response 200
| retried | integer |
| still_pending | integer |
Schema
{
"type": "object",
"properties": {
"retried": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"still_pending": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
}
},
"required": [
"retried",
"still_pending"
],
"additionalProperties": false
}Refusals are problems with a code — see Errors.