curl --request GET \
--url 'https://api.nsr.stateset.com/v1/files' \
--header 'X-API-Key: YOUR_API_KEY'
{
"data": [
{
"bytes": 1,
"content_type": "string",
"created_at": 1,
"filename": "string",
"id": "string",
"metadata": {},
"object": "string",
"purpose": "string",
"status": "string"
}
],
"object": "string"
}
List files handlers
Required scope: read
GET
/
v1
/
files
curl --request GET \
--url 'https://api.nsr.stateset.com/v1/files' \
--header 'X-API-Key: YOUR_API_KEY'
{
"data": [
{
"bytes": 1,
"content_type": "string",
"created_at": 1,
"filename": "string",
"id": "string",
"metadata": {},
"object": "string",
"purpose": "string",
"status": "string"
}
],
"object": "string"
}
Required scope:
read
Response
FileListResponse
FileObject[]
required
string
required
Status codes
| Code | Meaning |
|---|---|
200 | Files |
401 | Unauthorized — missing or invalid credentials |
403 | Forbidden — the key/token lacks the required scope |
429 | Rate limited — see Retry-After / X-RateLimit-Reset |
curl --request GET \
--url 'https://api.nsr.stateset.com/v1/files' \
--header 'X-API-Key: YOUR_API_KEY'
{
"data": [
{
"bytes": 1,
"content_type": "string",
"created_at": 1,
"filename": "string",
"id": "string",
"metadata": {},
"object": "string",
"purpose": "string",
"status": "string"
}
],
"object": "string"
}