cURL
curl --request POST \
--url http://localhost:4100/v1/agents/me/hosted-signature \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"projectId": "<string>",
"actionId": "<string>"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({projectId: '<string>', actionId: '<string>'})
};
fetch('http://localhost:4100/v1/agents/me/hosted-signature', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"signature": "<string>",
"digest": "<string>"
}{
"error": {
"code": "hosted_signing_rate_limited",
"message": "<string>"
},
"retryAfterSeconds": 30
}Hosted agents
Post v1agentsmehosted signature
Signs only a server-stored Base Sepolia version 3 action bound to the hosted agent and active OAuth connection. Requires agent:act. Available only when hosted agents are configured.
cURL
curl --request POST \
--url http://localhost:4100/v1/agents/me/hosted-signature \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"projectId": "<string>",
"actionId": "<string>"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({projectId: '<string>', actionId: '<string>'})
};
fetch('http://localhost:4100/v1/agents/me/hosted-signature', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"signature": "<string>",
"digest": "<string>"
}{
"error": {
"code": "hosted_signing_rate_limited",
"message": "<string>"
},
"retryAfterSeconds": 30
}Authorizations
Body
application/json