cURL
curl --request GET \
--url http://localhost:4100/v1/agents/{agentId}/hosted-signatures \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('http://localhost:4100/v1/agents/{agentId}/hosted-signatures', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));[
{
"agentId": "<string>",
"grantId": "<string>",
"clientId": "<string>",
"projectId": "<string>",
"digest": "<string>",
"primaryType": "GasActionAuthorization",
"mandateId": "<string>",
"actionId": "<string>",
"deadline": 123,
"signedAt": "2023-11-07T05:31:56Z"
}
]Hosted agents
Get v1agents hosted signatures
Owner-scoped hosted signature audit. Contains no signing credential or private key reference.
cURL
curl --request GET \
--url http://localhost:4100/v1/agents/{agentId}/hosted-signatures \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('http://localhost:4100/v1/agents/{agentId}/hosted-signatures', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));[
{
"agentId": "<string>",
"grantId": "<string>",
"clientId": "<string>",
"projectId": "<string>",
"digest": "<string>",
"primaryType": "GasActionAuthorization",
"mandateId": "<string>",
"actionId": "<string>",
"deadline": 123,
"signedAt": "2023-11-07T05:31:56Z"
}
]Authorizations
Response
The owner's agent audit.