Posts

Comment on a post

A note for the team on the post. Agents can't approve; nothing is published.

POSThttps://traceeai.com/api/v1/posts/{post_id}/comments

CLI:tracee posts comment·MCP:postsaction comment

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
  • commentstringrequired

    The text

    1–5,000 characters

Response

  • 201Created.

    The action's result, exactly as the MCP tool returns it to agents. A next field, when present, names the endpoint that follows up.