POST
/api/v1/sandbox/agentsAgents
Mint sandbox agent
Create a sandbox agent identity with a scoped mandate.
Sandbox API
https://sandbox-api.nuvante.ioCreates a mandate for an autonomous agent with some of your own capabilities, an optional GBP amount cap and an expiry date. The capabilities you ask for are checked against your own when the agent is minted, so you can't give an agent more than your participant has. Needs the manageOwnAgents capability (tenant admins only). Cross-platform interoperability (AP2 and x402, DIDs) is planned for Phase 2.
Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| capabilities | { initiateTransaction?: boolean; cancelOwnTransaction?: boolean } · body | Yes | The capabilities to give the agent. They must be a subset of your own. |
| expiresAt | string (ISO 8601 datetime) · body | Yes | When the mandate expires. Transactions from an expired agent are rejected. |
| amountCapGbp | string (decimal) · body | No | An optional per-transaction cap in GBP. Transactions above it are rejected. |
Responses
201Agent minted.
Request
curl --request POST \
--url 'https://sandbox-api.nuvante.io/api/v1/sandbox/agents' \
--header 'Authorization: Bearer nvt_sandbox_your_key' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"capabilities": {
"initiateTransaction": true,
"cancelOwnTransaction": false
},
"expiresAt": "2026-09-19T00:00:00.000Z",
"amountCapGbp": "50000"
}'Response
{
"data": {
"agentId": "agt_a23e4567-e89b-42d3-a456-426614174040",
"participantId": "323e4567-e89b-42d3-a456-426614174002",
"capabilities": {
"initiateTransaction": true,
"cancelOwnTransaction": false
},
"amountCapGbp": "50000",
"expiresAt": "2026-09-19T00:00:00.000Z",
"revokedAt": null,
"createdAt": "2026-08-19T13:00:00.000Z"
},
"meta": {
"commandId": "e23e4567-e89b-42d3-a456-426614174041"
}
}