read
creative

Lists the store's studio media library, newest first: uploaded images, clips and tracks, generated ones, and renders kep

Changed on

Lists the store's studio media library, newest first: uploaded images, clips and tracks, generated ones, and renders kept as media. Each item has its id, uri, kind, size and a 15-minute signed URL. Deleted items are left out unless asked for. Paged: pass page.next_cursor back as cursor. Read-only.

post/api/v1/tools/media_list

Request

  • Base URL
    https://app.magistry.io
  • Auth
    • HTTP bearer
    • or OAuth 2
      Authorization codehttps://app.magistry.io/api/oauth/authorize
      Token URLhttps://app.magistry.io/api/oauth/token
      Scopescreative:read

Request body

object required
kind, 'image' | 'audio' | 'video'

Only this kind of media.

include_deleted, boolean

Also list deleted items (default false).

q, string

Part of the title to match.

cursor, string

The page.next_cursor of the previous page.

limit, integer

Items per page (default 25).

Response

Tool result

object required
ok, boolean required
result, unknown required

Changes

    • warning

      added the new method_not_allowed enum value to the error response property for the response status

    • warning

      added the new method_not_allowed enum value to the error response property for the response status

    • warning

      added the new method_not_allowed enum value to the error response property for the response status

    11 more changes in this revision