get_flow
Retrieve a flow by identifier and return its JSON metadata, original document, converted version, or readable PDF view.
Instructions
Retrieve a flow by its identifier. docType allows choosing between JSON metadata (Metadata), the original document (Original), the converted document (Converted), or the readable representation (ReadableView). By default, returns the JSON metadata (status, dates, identifiers).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flow_id | Yes | Flow identifier assigned by the Approved Platform (returned by submit_flow or search_flows, maxLength 36). | |
| doc_type | No | Document type to retrieve: Metadata (default, returns the flow's JSON metadata — recommended), Original (original submitted document, returned as base64), Converted (document converted by the AP, returned as base64), ReadableView (human-readable PDF representation, returned as base64). | Metadata |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||