Read a document.
One document by its id: its name, its directory, where its processing stands and who created it. It is the same record the list answers; reading one alone is for a caller that stored the id from an earlier listing.
Not included is the document itself. Neither the text nor the original file nor a rendering of any page is available through this API, for any role and with any key. The content of a document is read in the Galilea application; this operation tells an integration what Galilea holds and in which state, nothing more.
What is not visible is not found. A document of another tenant, one in a directory the key cannot reach, and an id that exists nowhere are all answered with 404.
apiKeyX-API-Key<token>API key issued in the Galilea settings.
documentId*stringThe id of the document, as returned by GET /documents.
uuidThe document.
application/json- response
One document as this API answers it, in the list and alone: what it is called, where it
sits, where its processing stands and who created it. Nothing more. There is no content property and no file reference, and there will be neither in
this API.
id*stringuuidname*stringThe document name as shown in the Galilea application; for an upload, the file name without its extension.
directory*stringThe directory the document is in.
uuidstate*DocumentStateProcessing state of a document.
- processing: the document runs through parsing and indexing.
- ready: the document was processed and can be used.
- rejected: the document was not processed because the file or the available credits do not permit it; repeating the processing changes nothing until the cause is removed.
- error: processing was attempted and failed; repeating it can succeed.
For
rejectedanderror,errorMessagecarries the text Galilea recorded, if it recorded one.
"processing""ready""rejected""error"errorMessage?|For rejected and error: the English text Galilea recorded for the case, written for support rather than for display. Not translated, not a stable code, and null when nothing was recorded; the API puts no substitute text in its place. Null in every other state.
createdAt*stringdate-timecreatedBy*The user the document was created on behalf of; for an API upload, the user the key belongs to.
lastModifiedAt*stringdate-timecurl -X GET "https://example.com/documents/0ea697ea-a714-4c30-a80c-00e4e45d1f60"{ "id": "0ea697ea-a714-4c30-a80c-00e4e45d1f60", "name": "esx-4cl-ag_08_connecting", "directory": "5491d698-d876-4e72-bceb-f6259c10ce9c", "state": "ready", "errorMessage": null, "createdAt": "2026-10-02T10:02:48Z", "createdBy": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "Integration STW" }, "lastModifiedAt": "2026-10-02T10:05:11Z"}