intents_status
const url = 'https://example.com/intents/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/status';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/intents/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/statusGet the current status of an intent.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Unique identifier for an intent, assigned by the caller.
Intent ID
Responses
Section titled “ Responses ”Intent status
Intent is awaiting proposal
object
Intent has proposal and is being processed
object
Proposal currently being processed.
object
Additional metadata shared with the evidence layer.
The content is agreed between the policy provider and evidence layer.
Identifier of the proposed solution.
Examples include a URL, a UCP product variant ID, or another identifier agreed between the policy provider and evidence layer.
Intent was proven (terminal)
object
Evidence used by proof generation, as a plain JSON object.
object
Intent that successfully completed proof generation.
Proposal that produced the proof.
object
Additional metadata shared with the evidence layer.
The content is agreed between the policy provider and evidence layer.
Identifier of the proposed solution.
Examples include a URL, a UCP product variant ID, or another identifier agreed between the policy provider and evidence layer.
Intent failed to prove (terminal)
object
If the failure is caused by constraint violations, this points to the relevant constraints.
A failed constraint of the policy
object
Evidence extracted before the failure as a plain JSON object, or null if none existed.
object
Intent that failed evidence extraction or proof generation.
Proposal that was being processed when the failure occurred.
object
Additional metadata shared with the evidence layer.
The content is agreed between the policy provider and evidence layer.
Identifier of the proposed solution.
Examples include a URL, a UCP product variant ID, or another identifier agreed between the policy provider and evidence layer.
Human-readable failure reason.
Intent expired (terminal)
object
Intent that expired before receiving a proposal.
Example
{ "status": "open"}Intent not found
object
Example generated
{ "message": "example"}Internal error
object
Example generated
{ "message": "example"}