Media

Read a doc from a connected app

A Google Doc, a doc or text file in Drive, a Notion or a Confluence page, as plain text.

GEThttps://traceeai.com/api/v1/media/apps/{app}/docs/{doc_id}

CLI:tracee media read-doc·MCP:mediaaction read_app_doc

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

  • appstringrequired

    The connected app

    Available options:googledrivedropboxone_driveboxcanvafigmagoogledocsnotionconfluence

  • doc_idstringrequired

    The doc's id from browse_app_files. From GET /api/v1/media/apps/{app}/files (an item with kind=doc)

    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.