If response is rejected, the linked request becomes rejected_by_human. If accepted, the provider proposes the pre-built Safe transaction, submits the stored agent confirmation, and executes when threshold is met.
Response 200
{
"additionalProperties": false,
"type": "object",
"required": [
"id",
"response",
"respondedAt",
"request"
],
"properties": {
"id": {
"type": "string"
},
"response": {
"anyOf": [
{
"const": "accepted",
"type": "string"
},
{
"const": "rejected",
"type": "string"
}
]
},
"respondedAt": {
"minimum": 0,
"description": "Unix timestamp in milliseconds",
"type": "integer"
},
"request": {
"anyOf": [
{
"additionalProperties": false,
"type": "object",
"required": [
"requestId",
"status",
"agentAddress",
"safeAddress",
"intent",
"clearSigning",
"safe",
"safeTransaction",
"agentSignature",
"providerConfirmation",
"txHash",
"error",
"createdAt",
"respondedAt",
"executedAt"
],
"properties": {
"requestId": {
"minLength": 1,
"description": "Provider request identifier",
"type": "string"
},
"status": {
"anyOf": [
{
"const": "pending_human",
"type": "string"
},
{
"const": "rejected_by_human",
"type": "string"
},
{
"const": "proposing",
"type": "string"
},
{
"const": "proposed",
"type": "string"
},
{
"const": "executing",
"type": "string"
},
{
"const": "executed",
"type": "string"
},
{
"const": "proposal_failed",
"type": "string"
},
{
"const": "execution_failed",
"type": "string"
}
]
},
"agentAddress": {
"pattern": "^0x[a-fA-F0-9]{40}$",
"description": "0x-prefixed EVM address",
"type": "string"
},
"safeAddress": {
"pattern": "^0x[a-fA-F0-9]{40}$",
"description": "0x-prefixed EVM address",
"type": "string"
},
"intent": {
"additionalProperties": false,
"type": "object",
"required": [
"actions"
],
"properties": {
"actions": {
"minItems": 1,
"maxItems": 10,
"type": "array",
"items": {
"additionalProperties": false,
"type": "object",
"required": [
"chainId",
"to",
"data",
"value"
],
"properties": {
"chainId": {
"minimum": 1,
"type": "integer"
},
"to": {
"pattern": "^0x[a-fA-F0-9]{40}$",
"description": "0x-prefixed EVM address",
"type": "string"
},
"data": {
"pattern": "^0x(?:[a-fA-F0-9]{2})*$",
"description": "0x-prefixed hex string",
"type": "string"
},
"value": {
"minLength": 1,
"description": "Wei amount as decimal string",
"type": "string"
}
}
}
}
}
},
"clearSigning": {
"additionalProperties": false,
"type": "object",
"required": [
"actionResults",
"aggregatedDescription"
],
"properties": {
"actionResults": {
"minItems": 1,
"maxItems": 10,
"type": "array",
"items": {
"anyOf": [
{
"additionalProperties": false,
"type": "object",
"required": [
"resolved",
"descriptorId",
"description",
"protocolTag",
"bindingKind",
"source"
],
"properties": {
"resolved": {
"const": true,
"type": "boolean"
},
"descriptorId": {
"type": "string"
},
"description": {
"type": "string"
},
"protocolTag": {
"type": "string"
},
"bindingKind": {
"anyOf": [
{
"const": "calldata",
"type": "string"
},
{
"const": "eip712",
"type": "string"
}
]
},
"source": {
"anyOf": [
{
"const": "vendor",
"type": "string"
},
{
"const": "overlay",
"type": "string"
}
]
}
}
},
{
"additionalProperties": false,
"type": "object",
"required": [
"resolved",
"reason"
],
"properties": {
"resolved": {
"const": false,
"type": "boolean"
},
"reason": {
"type": "string"
}
}
}
]
}
},
"aggregatedDescription": {
"type": "string"
}
}
},
"safe": {
"additionalProperties": false,
"type": "object",
"required": [
"chainId",
"safeAddress",
"version",
"threshold",
"owners"
],
"properties": {
"chainId": {
"minimum": 1,
"type": "integer"
},
"safeAddress": {
"pattern": "^0x[a-fA-F0-9]{40}$",
"description": "0x-prefixed EVM address",
"type": "string"
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"threshold": {
"minimum": 1,
"type": "integer"
},
"owners": {
"type": "array",
"items": {
"pattern": "^0x[a-fA-F0-9]{40}$",
"description": "0x-prefixed EVM address",
"type": "string"
}
}
}
},
"safeTransaction": {
"additionalProperties": false,
"type": "object",
"required": [
"to",
"value",
"data",
"nonce",
"operation",
"safeTxGas",
"baseGas",
"gasPrice",
"gasToken",
"refundReceiver",
"safeTxHash"
],
"properties": {
"to": {
"pattern": "^0x[a-fA-F0-9]{40}$",
"description": "0x-prefixed EVM address",
"type": "string"
},
"value": {
"minLength": 1,
"type": "string"
},
"data": {
"pattern": "^0x(?:[a-fA-F0-9]{2})*$",
"description": "0x-prefixed hex string",
"type": "string"
},
"nonce": {
"minLength": 1,
"type": "string"
},
"operation": {
"minimum": 0,
"type": "integer"
},
"safeTxGas": {
"minLength": 1,
"type": "string"
},
"baseGas": {
"minLength": 1,
"type": "string"
},
"gasPrice": {
"minLength": 1,
"type": "string"
},
"gasToken": {
"pattern": "^0x[a-fA-F0-9]{40}$",
"description": "0x-prefixed EVM address",
"type": "string"
},
"refundReceiver": {
"anyOf": [
{
"pattern": "^0x[a-fA-F0-9]{40}$",
"description": "0x-prefixed EVM address",
"type": "string"
},
{
"type": "null"
}
]
},
"safeTxHash": {
"pattern": "^0x(?:[a-fA-F0-9]{2})*$",
"description": "0x-prefixed hex string",
"type": "string"
}
}
},
"agentSignature": {
"pattern": "^0x(?:[a-fA-F0-9]{2})*$",
"description": "0x-prefixed hex string",
"type": "string"
},
"providerConfirmation": {
"anyOf": [
{
"additionalProperties": false,
"type": "object",
"required": [
"sender",
"signature"
],
"properties": {
"sender": {
"pattern": "^0x[a-fA-F0-9]{40}$",
"description": "0x-prefixed EVM address",
"type": "string"
},
"signature": {
"pattern": "^0x(?:[a-fA-F0-9]{2})*$",
"description": "0x-prefixed hex string",
"type": "string"
}
}
},
{
"type": "null"
}
]
},
"txHash": {
"anyOf": [
{
"pattern": "^0x(?:[a-fA-F0-9]{2})*$",
"description": "0x-prefixed hex string",
"type": "string"
},
{
"type": "null"
}
]
},
"error": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"createdAt": {
"minimum": 0,
"description": "Unix timestamp in milliseconds",
"type": "integer"
},
"respondedAt": {
"anyOf": [
{
"minimum": 0,
"description": "Unix timestamp in milliseconds",
"type": "integer"
},
{
"type": "null"
}
]
},
"executedAt": {
"anyOf": [
{
"minimum": 0,
"description": "Unix timestamp in milliseconds",
"type": "integer"
},
{
"type": "null"
}
]
}
}
},
{
"type": "null"
}
]
}
}
}