Skip to main content
POST
The same as Report a task’s outcome, but you name the task by the workflow and reference you grouped its calls under, so you do not need Navige’s transactionId. These are the values you sent as the x-navige-workflow and x-navige-transaction headers, or as transaction.workflowKey and transaction.externalRef to Ask for a decision. Transactions explains how outcomes are used.
The key field is filled with a public demo key, so you can send a request without signing up. It reaches a shared demo workspace that resets every night, so do not send anything private. To call your own workspace, replace it with your key from Agents in the console.
You can report an outcome again to correct it. Each report replaces the last one, including errorClass: a report without it clears an earlier one.

What to send

When Navige records a call, it keeps only the first 200 characters of a longer workflow key or reference. This endpoint does not cut them: it refuses a value longer than 200. If you sent a longer one, send its first 200 characters here, or report by transactionId.

Status codes

200 with the fields described below. A missing or too-long workflowKey or externalRef, or a refused succeeded or errorClass, gets 400 with { "error": "…" }. No task with that workflow and reference in your key’s organisation gets 404 with { "error": "no such transaction" }; a task in another organisation reads the same. A key that is missing or not valid gets 401, and an agent that is inactive or expired gets 403.

Authorizations

x-navige-key
string
header
default:nv_docs_demo_nuJM-1NFjNqDKAeGoZ5-QaAfFAdVXv79
required

Your agent's Navige key, from Agents in the console. The docs fill in a public demo key that reaches a shared demo workspace, reset every night; paste your own to call your workspace.

Body

application/json
workflowKey
string
required

The kind of task, as you sent it. Matched exactly.

Maximum string length: 200
Example:

"support.ticket.triage"

externalRef
string
required

Your reference for this task, as you sent it. Matched exactly.

Maximum string length: 200
Example:

"ticket-88412"

succeeded
boolean
required

true if the task did what it was for, false if not. Must be a JSON boolean: the string "false" or the number 0 is refused.

errorClass
string

With a failure, a short class for what went wrong, such as wrong_category. Up to 64 characters after leading and trailing spaces are removed; an empty value is treated as not sent. Send a class, not an error message.

Maximum string length: 64
Example:

"wrong_category"

Response

Default Response

ok
enum<boolean>
required

Always true on a 200.

Available options:
true
transactionId
string<uuid>
required

The task the outcome was recorded on.

succeeded
boolean
required

The outcome recorded.