{
"object": "file",
"id": "file_1234",
"name": "example_file",
"type": "PDF",
"presignedUrl": "https://s3.example.com/file_1234.pdf",
"parentFileId": "file_5678", // Optional, only set if this file is a derivative of another file
"contents": {
"rawText": "This is the raw text content of the file...",
"pages": [
{
"pageNumber": 1,
"markdown": "This is the markdown content of the page...",
}
]
},
"metadata": {
"parentSplit": { // Optional, only set if this file is a derivative of another file
"id": "324kjlfsd",
"type": "addendum",
"identifier": "addendum_1",
"startPage": 7,
"endPage": 9
}
}
"createdAt": "2024-01-01T00:00:00Z",
"updatedAt": "2024-01-01T00:00:00Z"
}
{
"object": "file",
"id": "file_1234",
"name": "example_file",
"type": "PDF",
"presignedUrl": "https://s3.example.com/file_1234.pdf",
"parentFileId": "file_5678", // Optional, only set if this file is a derivative of another file
"contents": {
"rawText": "This is the raw text content of the file...",
"pages": [
{
"pageNumber": 1,
"markdown": "This is the markdown content of the page...",
}
]
},
"metadata": {
"parentSplit": { // Optional, only set if this file is a derivative of another file
"id": "324kjlfsd",
"type": "addendum",
"identifier": "addendum_1",
"startPage": 7,
"endPage": 9
}
}
"createdAt": "2024-01-01T00:00:00Z",
"updatedAt": "2024-01-01T00:00:00Z"
}
Hide properties
IMG
PDF
TXT
DOCX
CSV
EXCEL
.Hide properties
rawText
query parameter is set to true in the endpoint request.Hide properties
markdown
query parameter is set to true in the endpoint request.html
query parameter is set to true in the endpoint request.Hide properties
{
"object": "file",
"id": "file_1234",
"name": "example_file",
"type": "PDF",
"presignedUrl": "https://s3.example.com/file_1234.pdf",
"parentFileId": "file_5678", // Optional, only set if this file is a derivative of another file
"contents": {
"rawText": "This is the raw text content of the file...",
"pages": [
{
"pageNumber": 1,
"markdown": "This is the markdown content of the page...",
}
]
},
"metadata": {
"parentSplit": { // Optional, only set if this file is a derivative of another file
"id": "324kjlfsd",
"type": "addendum",
"identifier": "addendum_1",
"startPage": 7,
"endPage": 9
}
}
"createdAt": "2024-01-01T00:00:00Z",
"updatedAt": "2024-01-01T00:00:00Z"
}