Predict Document by ID

View as Markdown

Returns the predicted extraction data for a document — the values produced by Staple’s models. Useful for comparing raw model output against the final validated data, or for automated flows that consume predictions directly.

Authentication

x-api-keystring
API key issued by Staple.
AuthorizationBearer
JWT obtained from the login endpoint.

Path parameters

docIdstringRequired

Response

OK