API referenceApprovals
Deny an action
POST
Rejects a pending approval; the model is told it was denied, with the note when given.
Any signed-in caller. Not available to MCP clients or the assistant.
cookie
seylo_session<token>application/json- body
approvalId*stringPanel-issued id.
Match
^[a-z0-9]{16}$note?stringLength
length <= 500Success.
application/json- response
id*stringPanel-issued id.
Match
^[a-z0-9]{16}$opId*stringopSummary*stringopKind*string|stringinputPreview*unknownvia*string|stringrequestedBy*reason*stringtarget*|nullstatus*string|string|string|string|string|stringdecidedBy*|nulldecidedAt*|nullerror*string|nullexpiresAt*stringFormat
date-timecreatedAt*stringFormat
date-timecurl -X POST 'https://example.com/api/v1/approvals.deny' \ -H 'Content-Type: application/json' \ -d '{ "approvalId": "string"}'Example Response
{ "id": "string", "opId": "string", "opSummary": "string", "opKind": "mutation", "inputPreview": null, "via": "mcp", "requestedBy": { "userId": "string", "userName": "string", "clientName": "string" }, "reason": "string", "target": { "type": "project", "id": "string", "name": "string" }, "status": "pending", "decidedBy": { "id": "string", "name": "string" }, "decidedAt": "2019-08-24T14:15:22Z", "error": "string", "expiresAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z"}Approve and run an action POST
Approves a pending approval and runs its op at once as the approving person, with their permissions; FORBIDDEN if they could not run it themselves. Returns the approval with status executed or failed. Any signed-in caller. Not available to MCP clients or the assistant.
Get an approval GET
Returns one approval. Models use it to see whether the action they asked for was approved, denied or has run. Any signed-in caller. Available to MCP clients and the assistant.