curl --request GET \
--url https://api.orion.file.ai/prod/v1/files/{fileId}/values \
--header 'x-api-key: <api-key>'
{
"values": {
"formValues": [
{
"id": "67ea5f20650d2fb5e33c1ffb",
"fileId": "7870a865-d560-4183-82c1-4b10e696e930_2",
"fileName": "7870a865-d560-4183-82c1-4b10e696e930_2.pdf",
"fileType": "application/pdf",
"createdAt": "2025-03-31T09:50:56.068Z",
"updatedAt": "2025-03-31T09:50:56.068Z",
"schemaRelationshipId": "67ea5f20650d2fb5e33c1ffb",
"languageCode": null,
"originalBlueprintFormValuesId": null,
"fields": [
{
"title": "Degree",
"type": "string",
"description": "The degree obtained by the individual",
"format": null,
"hidden": false,
"value": "Bachelor of Mathematics",
"items": null
},
{
"title": "Department",
"type": "string",
"description": "The department where the degree was obtained",
"format": null,
"hidden": false,
"value": "Mathematics Department",
"items": null
}
],
"metadata": {
"createdBy": "67ea5edb650d2fb5e33c1ff2",
"userId": "67ea5edb650d2fb5e33c1ff2",
"organizationId": "67ea5f20650d2fb5e33c1ffb",
"workspaceId": "67ea5f07650d2fb5e33c1ff4"
}
}
],
"count": 1,
"currentPage": 1
}
}
Get file schema values by fileIds of the current organization and workspace.
This endpoint is paginated, you can use the page
and limit
query parameters to control the pagination.
curl --request GET \
--url https://api.orion.file.ai/prod/v1/files/{fileId}/values \
--header 'x-api-key: <api-key>'
{
"values": {
"formValues": [
{
"id": "67ea5f20650d2fb5e33c1ffb",
"fileId": "7870a865-d560-4183-82c1-4b10e696e930_2",
"fileName": "7870a865-d560-4183-82c1-4b10e696e930_2.pdf",
"fileType": "application/pdf",
"createdAt": "2025-03-31T09:50:56.068Z",
"updatedAt": "2025-03-31T09:50:56.068Z",
"schemaRelationshipId": "67ea5f20650d2fb5e33c1ffb",
"languageCode": null,
"originalBlueprintFormValuesId": null,
"fields": [
{
"title": "Degree",
"type": "string",
"description": "The degree obtained by the individual",
"format": null,
"hidden": false,
"value": "Bachelor of Mathematics",
"items": null
},
{
"title": "Department",
"type": "string",
"description": "The department where the degree was obtained",
"format": null,
"hidden": false,
"value": "Mathematics Department",
"items": null
}
],
"metadata": {
"createdBy": "67ea5edb650d2fb5e33c1ff2",
"userId": "67ea5edb650d2fb5e33c1ff2",
"organizationId": "67ea5f20650d2fb5e33c1ffb",
"workspaceId": "67ea5f07650d2fb5e33c1ff4"
}
}
],
"count": 1,
"currentPage": 1
}
}
API key for authentication
The file schema values are retrieved
The response is of type object
.