Skip to main content
POST
Navige knows whether a call was allowed and what it cost. It does not know whether the task succeeded, so you report it here. Until you do, the task is unjudged, which is counted as neither a success nor a failure. Transactions explains how outcomes are used. Use this endpoint when you have the transactionId from Ask for a decision. If you grouped calls with your own workflow and reference instead, use Report an outcome by your reference.
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.

Status codes

200 with the fields described below. A body Navige refuses, or an id that is not a valid UUID, gets 400 with { "error": "…" }. A task that does not exist, or belongs to another organisation, gets 404 with { "error": "no such transaction" }. 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.

Path Parameters

id
string<uuid>
required

The task's transactionId.

Body

application/json
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.