Import
Read an import run chunk by chunk
Every chunk with the analysis it produced, provenance intact. This is the debug view; the rolled-up output is what an agent reads.
GET
/
project
/
{projectId}
/
import
/
runs
/
{runId}
/
chunks
Error
A valid request URL is required to generate request examples{
"chunks": [
{
"analysis": {
"entities": [
{
"boxes": [
{
"height": 123,
"width": 123,
"x": 123,
"y": 123
}
],
"detail": "<string>",
"name": "<string>",
"type": "<string>"
}
],
"notes": [
{
"boxes": [
{
"height": 123,
"width": 123,
"x": 123,
"y": 123
}
],
"text": "<string>"
}
],
"relationships": [
{
"from": "<string>",
"implied": true,
"provenance": {
"boxes": [
{
"height": 123,
"width": 123,
"x": 123,
"y": 123
}
],
"text": "<string>"
},
"to": "<string>",
"type": "<string>"
}
]
},
"chunkId": "<string>",
"error": "<string>",
"fileId": "<string>",
"filename": "<string>",
"inputTokens": 123,
"kind": "pdf_page",
"outputTokens": 123,
"page": 123,
"status": "pending"
}
],
"progress": {
"chunksDone": 123,
"chunksFailed": 123,
"chunksRunning": 123,
"chunksTotal": 123,
"completedAt": "<string>",
"createdAt": "<string>",
"entityCount": 123,
"error": "<string>",
"fileIds": [
"<string>"
],
"files": [
{
"chunksDone": 123,
"chunksFailed": 123,
"chunksTotal": 123,
"fileId": "<string>",
"filename": "<string>",
"kind": "pdf_page"
}
],
"inputTokens": 123,
"noteCount": 123,
"outputTokens": 123,
"paused": true,
"phase": "queued",
"relationshipCount": 123,
"runId": "<string>",
"status": "waiting"
}
}⌘I
Error
A valid request URL is required to generate request examples{
"chunks": [
{
"analysis": {
"entities": [
{
"boxes": [
{
"height": 123,
"width": 123,
"x": 123,
"y": 123
}
],
"detail": "<string>",
"name": "<string>",
"type": "<string>"
}
],
"notes": [
{
"boxes": [
{
"height": 123,
"width": 123,
"x": 123,
"y": 123
}
],
"text": "<string>"
}
],
"relationships": [
{
"from": "<string>",
"implied": true,
"provenance": {
"boxes": [
{
"height": 123,
"width": 123,
"x": 123,
"y": 123
}
],
"text": "<string>"
},
"to": "<string>",
"type": "<string>"
}
]
},
"chunkId": "<string>",
"error": "<string>",
"fileId": "<string>",
"filename": "<string>",
"inputTokens": 123,
"kind": "pdf_page",
"outputTokens": 123,
"page": 123,
"status": "pending"
}
],
"progress": {
"chunksDone": 123,
"chunksFailed": 123,
"chunksRunning": 123,
"chunksTotal": 123,
"completedAt": "<string>",
"createdAt": "<string>",
"entityCount": 123,
"error": "<string>",
"fileIds": [
"<string>"
],
"files": [
{
"chunksDone": 123,
"chunksFailed": 123,
"chunksTotal": 123,
"fileId": "<string>",
"filename": "<string>",
"kind": "pdf_page"
}
],
"inputTokens": 123,
"noteCount": 123,
"outputTokens": 123,
"paused": true,
"phase": "queued",
"relationshipCount": 123,
"runId": "<string>",
"status": "waiting"
}
}