Media
Import files from a connected app
Brings pictures and videos (Canva designs and Figma frames as PNG) into the media library like an upload; each file's media_ids attach to posts. A file imported before isn't copied again.
https://traceeai.com/api/v1/media/apps/{app}/importCLI:tracee media import-from-app·MCP:mediaaction import_from_app
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
appstringrequiredThe connected app
Available options:
googledrivedropboxone_driveboxcanvafigmagoogledocsnotionconfluence
Body
file_idsstring[]requiredIds from browse_app_files. From GET /api/v1/media/apps/{app}/files (items[].id)
1–20 itemseach 1–500 characters
Response
- 200Done.
The action's result, exactly as the MCP tool returns it to agents. A
nextfield, when present, names the endpoint that follows up.