Skip to main content
Every input document has a status that describes Filed’s processing of the current file version. Read it from the inputDocuments field on a client.
An input document’s status is separate from the status of the ingestion task. A task describes the overall background job, while an input-document status describes one file in that job.

Status values

Status values are lowercase GraphQL enum values:

Status transitions

New files begin in running. A successfully processed file becomes completed; an unsuccessful file becomes failed. Retrying a failed file returns it to running. Filed compares file contents, not only filenames. If a file matches another file that is already running or completed for the same client, the new input is marked duplicate and does not run through processing again. If an existing source file changes, Filed treats the new content as a new file version and returns the input document to running.

Query document statuses

Use a workspaceToken and query the client through me. See Authentication for token setup.

Polling guidance

Poll the overall task when you need to know whether the complete ingestion operation has finished. Query inputDocuments.status when you need per-file progress or want to identify a particular failed or duplicate file. Stop polling a document after it reaches completed, failed, or duplicate. Only running represents ongoing work.
When reporting a failure to Filed support, include the client ID, input document ID, and ingestion task ID. These identifiers make it possible to locate the exact processing attempt.