Postato Docs
MCP ToolsTools

List Media

List uploaded media files. Returns up to 50 items per page. Use offset to paginate. Media expires after 7 days unless used in a published post.

list_media

List uploaded media files. Returns up to 50 items per page. Use offset to paginate. Media expires after 7 days unless used in a published post.

Parameters

ParameterTypeRequiredDescription
statuspending | ready | expirednoFilter by status. "ready" = available for use in posts. Omit to return all.
typeimage | video | documentnoFilter by media type. Omit to return all.
limitnumbernoMax results to return (default 50, max 100).
offsetnumbernoNumber of results to skip for pagination (default 0).
workspaceIdstringnoWorkspace ID. Required if your API key accesses multiple workspaces.

When to use

Browse the media library for a workspace. Good for agent UIs that let the user pick from previously uploaded assets rather than re-uploading every time.

Pagination and filtering

  • limit (default 25, max 100)
  • cursor for next page
  • type filter: image, video, or document
  • status filter: pending, uploaded, failed

Example

{
  "workspaceId": "wks_01H...",
  "type": "image",
  "status": "uploaded",
  "limit": 50
}

Returns { items: [...], cursor }.

Gotchas

  • Media is workspace-scoped. An asset uploaded to workspace A is not visible from workspace B — even within the same tenant. Re-upload if needed.
  • Retention: there is no automatic purge. Uploaded media accumulates over time. Use delete_media to clean up deprecated assets.
  • The items array includes url for each entry. Prefer referencing by id when constructing posts — URLs may rotate under signed-access policies.

On this page