Skip to Content
Asteria Docs
Files

List Files

This organisation's files, newest first.

GET
/v1/files

Authorization

ApiKey
headerAuthorization<token>

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

Query Parameters

purpose?string|null
limit?Limit
Default100

Response Body

Successful Response

application/json
  1. response
object?Object
Default"list"
data*array<>
has_more?Has More
Defaultfalse
Example Request
curl -X GET 'https://api.asteria-labs.com/v1/files'
Example Response
{  "object": "list",  "data": [    {      "id": "string",      "object": "file",      "bytes": 0,      "created_at": 0,      "filename": "string",      "purpose": "string"    }  ],  "has_more": false}