capabilities.work

List Extractions Then Retrieve

A 2-step recipe with Sensible. We can help you get access.

Recipe · 2 steps

List Extractions Then Retrieve

List recent extractions by filter and retrieve the most recent one in full.

  1. List past extractions filtered by status and document type, and capture the id of the first (most recent) extraction in the page.
  2. Retrieve the first extraction from the listing in full so the caller can read its parsed document and validations.
What you'll need to have ready
  • apiKey: Sensible API key used as the Bearer token.
  • statuses: Comma-delimited statuses to filter by (e.g. COMPLETE).
  • documentTypeIds: Comma-delimited document type ids to filter by.
  • limit: Page size for the listing.
For your developer

Arazzo workflow sensible-so:list-extractions-then-retrieve, 2 operations: list-extractions → retrieving-results. Specs on APIs.io.