Posts
Send a post for approval
Files an approval request in a person's inbox, optionally for a time.
https://traceeai.com/api/v1/posts/{post_id}/submit-for-approvalCLI:tracee posts submit·MCP:postsaction submit_for_approval
Authorizations
AuthorizationstringheaderrequiredBearer <key>: a personal key (tracee loginor Settings → Personal keys), a workspace key, or an MCP client's OAuth token. See Authentication.
Headers
Tracee-WorkspacestringFor a personal key or OAuth token that reaches several workspaces: the workspace id to act on. Workspace keys don't need it.
uuid
Path parameters
post_idstringrequiredThe post, from GET /api/v1/posts (or the id POST /api/v1/posts returns)
uuid
Body
scheduled_forstringISO 8601 with offset
date-time
notestringContext for the approver
up to 500 characters
Response
- 200Already done.
The action's result, exactly as the MCP tool returns it to agents. A
nextfield, when present, names the endpoint that follows up. - 202Started or still running: follow it with the id in the answer.
The action's result, exactly as the MCP tool returns it to agents. A
nextfield, when present, names the endpoint that follows up.