Get an intake batch
One intake batch with its files, each with the document it became and its state. A batch under another entity is indistinguishable from an id that names nothing.
One intake batch with its files, each with the document it became and its state. A batch under another entity is indistinguishable from an id that names nothing.
One intake batch with its files, each with the document it became and its state. A batch under another entity is indistinguishable from an id that names nothing.
x-api-key<token>A per-user API key. x-api-key takes precedence over every session cookie when both are sent. Omit this header to use a session, including for signed-act presence.
batchId*stringuuidentityId*stringuuidThe batch and its files.
application/jsonevidenceOnly*integerFiles kept and cited, never read: an evidence-only kind, or an email none of whose parts became a document.
0 <= valuefiles*integerThe batch's files: its artifacts, an email counted by the documents it carried (an email with none is its own one file).
0 <= valueneedsYou*integerRead, with a case open on the file or its booking.
0 <= valuereading*integerStill being read or imported.
0 <= valuerecorded*integerRead and booked, or a bank file imported, with nothing open.
0 <= valueunreadable*integerIts reading or import gave up.
0 <= valuecreatedAt*stringdate-timecreatedBy*|Who handed the files over, rendered; null for a mail, whose sender is on the mail.
id*stringuuidsource*stringupload (files handed over in one go) or email_in (one mail to the books' address).
"upload""email_in"items*array<>The batch's files in the order they arrived.
limit*integerThe hard cap on this bounded list: at most 100 files a batch, an email among them counted by its attachments, at most 20 each.
curl -X GET 'https://api.amanucci.com/v1/entities/497f6eca-6276-4993-bfeb-53cbbbba6f08/intake-batches/497f6eca-6276-4993-bfeb-53cbbbba6f08'{
"evidenceOnly": 0,
"files": 0,
"needsYou": 0,
"reading": 0,
"recorded": 0,
"unreadable": 0,
"createdAt": "2019-08-24T14:15:22Z",
"createdBy": {
"display": "string",
"id": "string",
"kind": "human"
},
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"source": "upload",
"items": [
{
"artifactId": "706a3f1e-c357-4634-b1bf-20c221b5bb4e",
"documentId": "4704590c-004e-410d-adf7-acb7ca0a7052",
"filename": "string",
"kind": "string",
"state": "recorded"
}
],
"limit": 0
}