SoraiDocs
GuidesAPI reference

sorai media list

List a store's uploaded images, newest first.

A media id is what cover_media_id and gallery_media_ids take.

sorai media list [flags]

Flags

  • --store <id|slug>: A store id or slug. Defaults to SORAI_STORE, the saved login's store, or the only store.
  • --limit <int>: How many rows to return, up to 200.
  • --cursor <string>: The pagination.next_cursor of the previous page.

Permissions

Needs a key with the catalog:read permission.

On this page