Files
List Files
Changed onList all files for the authenticated organization, with optional filtering.
Args: workspace_uuid (str, optional): Filter by workspace UUID. file_type (str, optional): Filter by file type (image, video, text, document).
Returns: list[FileDetail]: List of files matching the filters.
Raises: AymaraAPIError: If the organization is missing.
Example: GET /api/v2/files?workspace_uuid=...&file_type=image
get/v2/files
Request
- Base URLhttps://api.aymara.ai
- Auth
- API key in header x-api-key
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
workspace_uuidstring nullable
file_typestring nullable
limitinteger
offsetinteger
Response
OK
Changes
- info
endpoint added
- info