Get CSV
Get the status of CSV extraction task.
GET
/
csv
/
{id}
The CSV to JSON convenience endpoints provides two core endpoints for converting CSV files to JSON. This process is asynchronous, allowing large files to be processed without blocking the client.
Endpoints
- POST /csv: Upload a CSV file to initiate the conversion. The API responds with a job ID.
- GET CSV: Poll this endpoint using the job ID to retrieve the JSON data once conversion is complete.
Process
-
Initiate Conversion (POST /csv):
- Upload the CSV file.
- Receive a job ID in the response to poll for the result.
-
Poll for Completion:
- Poll the
/csv/{id}
endpoint every few seconds. - Once the conversion is finished, the API will return the JSON data.
- Poll the
Example Usage
Authorizations
Path Parameters
Response
200 - application/json
The id of the task
The status of the task
Available options:
QUEUED
, STARTED
, PENDING
, SUCCESS
, FAILURE
The type of the task
The date and time this object was created
The name of the PDF
The date and time this object was last updated
The output of the task