Skip to main content
GET
/
v1
/
files
List Files
curl --request GET \
  --url https://api.spi-tch.com/v1/files
{
  "items": [
    {
      "file_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "status": "uploading",
      "original_name": "<string>",
      "size_bytes": 123,
      "content_type": "<string>",
      "category": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "uploaded_by": "<string>"
    }
  ],
  "next_cursor": "<string>"
}

Query Parameters

limit
integer
default:50
Required range: x < 100
status
enum<string> | null
Available options:
uploading,
ready
cursor
string | null

Response

Successful Response

Response model for listing files.

Attributes: items: List of file metadata responses next_cursor: Optional cursor for pagination to get next page of results

items
FileMetaResponse · object[]
required
next_cursor
string | null
I