Files
List Files
List partner files in the authenticated key scope
GET
Retrieve a paginated list of partner files in the authenticated key scope. This includes:Documentation Index
Fetch the complete documentation index at: https://docs.genviral.io/llms.txt
Use this file to discover all available pages before exploring further.
- direct uploads created via
POST /files - media ingested by partner posting flows
Query Parameters
Number of files to return. Must be an integer between
1 and 100.Number of files to skip for pagination. Must be an integer
>= 0.Filter by file type:
image or video.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.
Response
Successful requests return200 with:
files- Array of file objectstotal- Total count of matching fileslimit- Applied limitoffset- Applied offset
File Object
| Field | Type | Description |
|---|---|---|
id | string | Unique file identifier |
url | string | CDN URL for the file |
contentType | string | MIME type of the file |
filename | string | Original filename |
size | number | File size in bytes |
createdAt | string | ISO 8601 timestamp |
Examples
List all 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)
