Files
List Files
List partner files in the authenticated key scope
GET
Retrieve a paginated list of partner files in the authenticated key scope.
Results are ordered by
createdAt descending, with the file ID as a stable
tie-breaker, so the newest-created media is always returned first.
This includes:
- direct uploads created via
POST /files - media ingested by partner posting flows
Query Parameters
number
default:"50"
Number of files to return. Must be an integer between
1 and 100.number
default:"0"
Number of files to skip for pagination. Must be an integer
>= 0.string
Filter by file type:
image or video.string
Optional context filter.
- Omit
contextto keep default partner-only results. - Use a single context (example:
ai-studio) or comma-separated contexts (example:ai-studio,media-upload). - Use
context=allto return all file contexts in your authenticated key scope.
string
Inclusive ISO 8601 lower bound on
createdAt (for example,
2026-08-01T00:00:00.000Z).string
Inclusive ISO 8601 upper bound on
createdAt. When both bounds are supplied,
until must be at or after since.Response
Successful requests return200 with:
files- Array of file objectstotal- Total count of matching fileslimit- Applied limitoffset- Applied offset
File Object
Examples
List partner files
Error Responses
400 invalid_query_parameter- one or more query parameters are invalid401- authentication failed (missing/invalid/revoked token)402 subscription_required- active Creator/Professional/Business plan required403 tier_not_allowed- Scheduler tier cannot use Partner API500 list_failed- Failed to retrieve files (retry)
