Apps

Run an app action

read actions run straight away; write and destructive ones become an approval request and run as soon as a person approves.

POSThttps://traceeai.com/api/v1/apps/actions/{slug}/run

CLI:tracee apps run·MCP:appsaction run

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

  • slugstringrequired

    The slug. From GET /api/v1/apps/actions query=<what you want to do>

    up to 200 characters

Body

application/json
  • argsobject

    The args

    any keys

  • connection_idstring

    Which connection, if the app has several. From GET /api/v1/connections (connectedApps[].connection_id).

  • notestring

    Context for the approver

    up to 500 characters

Response

  • 200Done.

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