curl -X GET 'https://api.sendforsign.com/api/agent_action?clientKey=CLIENT_KEY&contractKey=CONTRACT_KEY' \
-H 'X-Sendforsign-Key: YOUR_API_KEY'
[
{ "createTime": "2026-11-18T10:02:11Z", "agent": "Claude", "onBehalfOf": "mia@studionord.example",
"mode": "send", "tool": "create_contract", "outcome": "ok", "message": null },
{ "createTime": "2026-11-18T10:03:40Z", "agent": "Claude", "onBehalfOf": "mia@studionord.example",
"mode": "send", "tool": "send_for_signature", "outcome": "blocked",
"message": "<why the connection's rules refused it>" }
]
Contract
Get agent actions
Every action an AI agent took on a contract through the Sendforsign MCP server: which agent, on whose behalf, what it did, and whether it was allowed.
GET
/
api
/
agent_action
curl -X GET 'https://api.sendforsign.com/api/agent_action?clientKey=CLIENT_KEY&contractKey=CONTRACT_KEY' \
-H 'X-Sendforsign-Key: YOUR_API_KEY'
[
{ "createTime": "2026-11-18T10:02:11Z", "agent": "Claude", "onBehalfOf": "mia@studionord.example",
"mode": "send", "tool": "create_contract", "outcome": "ok", "message": null },
{ "createTime": "2026-11-18T10:03:40Z", "agent": "Claude", "onBehalfOf": "mia@studionord.example",
"mode": "send", "tool": "send_for_signature", "outcome": "blocked",
"message": "<why the connection's rules refused it>" }
]
Returns the agent action log of one contract, oldest first. Each change an AI agent makes through the
MCP server is recorded, including actions that were blocked by the connection’s mode or domain
allowlist. The same entries appear in the contract timeline of the editor. See Accountability.
Query parameters
Response
An array of actions:curl -X GET 'https://api.sendforsign.com/api/agent_action?clientKey=CLIENT_KEY&contractKey=CONTRACT_KEY' \
-H 'X-Sendforsign-Key: YOUR_API_KEY'
[
{ "createTime": "2026-11-18T10:02:11Z", "agent": "Claude", "onBehalfOf": "mia@studionord.example",
"mode": "send", "tool": "create_contract", "outcome": "ok", "message": null },
{ "createTime": "2026-11-18T10:03:40Z", "agent": "Claude", "onBehalfOf": "mia@studionord.example",
"mode": "send", "tool": "send_for_signature", "outcome": "blocked",
"message": "<why the connection's rules refused it>" }
]