Asteria Docs
Files

List Files

This organisation's files, newest first.

GET
/v1/files
Authorization<token>

Your API key (sk-ast-...)

In: header

Query Parameters

purpose?string|null
limit?Limit
Default100

Response Body

application/json

application/json

curl -X GET "https://example.com/v1/files"
{  "object": "list",  "data": [    {      "id": "string",      "object": "file",      "bytes": 0,      "created_at": 0,      "filename": "string",      "purpose": "string"    }  ],  "has_more": false}