GET
/
prod
/
v1
/
files
Get all files
curl --request GET \
  --url https://api.orion.file.ai/prod/v1/files \
  --header 'x-api-key: <api-key>'
{
  "files": [
    {
      "fileId": "53d6a0b1-2a8d-4ed9-9e6a-ceaef7ca3908",
      "fileName": "file1.jpg",
      "fileType": "image/jpeg",
      "fileSize": 261928,
      "fileStoragePath": "path/to/file1.jpg",
      "fileHash": "be3ef5fbb21e31c1281300b23b1c918a8ba54427c799aea21865f68d5efd01b7",
      "uploadId": "f2538513-f0b9-4aa8-9c57-bc0a85c77de6",
      "status": "processed",
      "currency": "USD",
      "summary": "Example file",
      "duplicateToFileId": null,
      "referenceId": "1e70a5e860",
      "isDuplicate": false,
      "isEmbedded": false,
      "schemaId": "6835aca6030a79ffaabca742",
      "fileClass": "Receipt",
      "fileContactId": "6835aca2281d9ed1bab90b11",
      "fileContactName": "Example Company",
      "createdAt": "2025-05-27T12:14:24.258Z",
      "updatedAt": "2025-05-27T12:14:24.258Z"
    }
  ],
  "count": 1,
  "currentPage": 1
}

Authorizations

x-api-key
string
header
required

API key for authentication

Query Parameters

fileIds
string

File Ids

Example:

"649e2d2d2d2d2d2d2d2d2d2d"

page
number
default:1

Page number

Example:

1

limit
number
default:100

Number of items per page

Example:

100

sortBy
string
default:createdAt

Field to sort by

Example:

"createdAt"

sortOrder
enum<string>
default:ASC

Sort direction

Available options:
ASC,
DESC
Example:

"ASC"

Response

200
application/json

The list of files is found

The response is of type object.