Posts

Send a post for approval

Files an approval request in a person's inbox, optionally for a time.

POSThttps://traceeai.com/api/v1/posts/{post_id}/submit-for-approval

CLI:tracee posts submit·MCP:postsaction submit_for_approval

Authorizations

  • Authorizationstringheaderrequired

    Bearer <key>: a personal key (tracee login or Settings → Personal keys), a workspace key, or an MCP client's OAuth token. See Authentication.

Headers

  • Tracee-Workspacestring

    For 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_idstringrequired

    The post, from GET /api/v1/posts (or the id POST /api/v1/posts returns)

    uuid

Body

application/json
  • scheduled_forstring

    ISO 8601 with offset

    date-time

  • notestring

    Context for the approver

    up to 500 characters

Response

  • 200Already done.

    The action's result, exactly as the MCP tool returns it to agents. A next field, 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 next field, when present, names the endpoint that follows up.