curl -sS "$BMA_BASE_URL/v1/files" \
-H "x-api-key: $BMA_API_KEY" \
-H "bma-workspace-id: $BMA_PROJECT_ID"{
"data": [
{
"id": "<string>",
"created_at": "<string>",
"filename": "<string>",
"mime_type": "<string>",
"size_bytes": 123,
"type": "file",
"downloadable": true,
"expires_at": "<string>"
}
],
"next_page": "<string>"
}{
"type": "error",
"error": {
"type": "invalid_request_error",
"message": "<string>",
"code": "<string>"
},
"request_id": "<string>"
}{
"type": "error",
"error": {
"type": "invalid_request_error",
"message": "<string>",
"code": "<string>"
},
"request_id": "<string>"
}files
List Files
GET
/
v1
/
files
curl -sS "$BMA_BASE_URL/v1/files" \
-H "x-api-key: $BMA_API_KEY" \
-H "bma-workspace-id: $BMA_PROJECT_ID"{
"data": [
{
"id": "<string>",
"created_at": "<string>",
"filename": "<string>",
"mime_type": "<string>",
"size_bytes": 123,
"type": "file",
"downloadable": true,
"expires_at": "<string>"
}
],
"next_page": "<string>"
}{
"type": "error",
"error": {
"type": "invalid_request_error",
"message": "<string>",
"code": "<string>"
},
"request_id": "<string>"
}{
"type": "error",
"error": {
"type": "invalid_request_error",
"message": "<string>",
"code": "<string>"
},
"request_id": "<string>"
}Query Parameters
Restrict the result set to Files whose id is in this list. At most 100 entries (after de-duplication). Mutually exclusive with page and limit. When supplied, the response is always a single page (next_page is null). IDs that do not resolve to a visible File — including deleted Files — are silently omitted.