List files
Get a paginated list of all files created by the user or organization associated with the provided API token.
Example cURL request:
curl -s \
-H "Authorization: Token $REPLICATE_API_TOKEN" \
https://api.replicate.com/v1/files
The response will be a paginated JSON array of file objects, sorted with the most recent file first.
get/files
Response
Success
Example response
{
"results": [
{
"checksums": {
"sha256": "f047f8e745f9996c6e386064e06cb2007b8e6bc0a968a334fc0d2b2d64012066"
},
"content_type": "application/zip",
"created_at": "2024-02-21T12:54:18.578761Z",
"expires_at": "2024-02-21T13:54:18.578761Z",
"id": "cneqzikepnug6xezperrr4z55o",
"metadata": {
"customer_reference_id": 123
},
"size": 69420,
"urls": {
"get": "https://api.replicate.com/v1/files/cneqzikepnug6xezperrr4z55o"
}
}
]
}