Skip to main content
GET
Requires version 1.1.5 or later of the Archetype platform.

Overview

This endpoint returns a list of metadata records for files belonging to your organization. Use the optional sharding parameters to page through large file collections. The list is partitioned into shards of max_items_per_shard items, and shard_index selects which shard to return. Both parameters are optional — when omitted, the server returns the full set, up to 1000 maximum records.

Query Parameters

integer
default:"-1"
Zero-based index of the shard to return. Use together with max_items_per_shard to page through results. Specify -1 to retrieve all files.
integer
default:"-1"
Maximum number of metadata records per shard. Specify -1 for the maximum allowed number of records per shard. The maximum number of records per shard is 1000.
string
Filter results to a single exact MIME type (e.g. image/png, text/csv). Omit to return files of all types. v1.1.2+

Response

Returns an array of file metadata records. Each record has the same shape as the response from Get File Metadata.