About this endpoint
What it does
Converts data between CSV and structured formats, chosen with operation:
parseturns CSV text into an object withheadersandrows.toJsonturns CSV text, orheadersandrows, into a list of objects keyed by the header names.stringifyturnsheadersandrowsinto CSV text.
Quoted fields (values containing the delimiter, quotes or line breaks) are handled, and you can set a custom single-character delimiter such as ;. All values stay strings. There is no number or date detection.
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| operation | String | Yes | parse, stringify or toJson. Selects the conversion mode. |
| text | String | Yes for parse and toJson. Not needed for stringify. | CSV text to convert. |
| headers | Array of strings | No | Column names. Needed for stringify. For toJson, send with rows instead of text. Not used by parse. |
| rows | Array of arrays of strings | No | Rows, each an array of strings. Needed for stringify. For toJson, send with headers instead of text. Not used by parse. |
| delimiter | String | No | Single character separating cells. Cannot be a double quote or a line break. Default ,. |
Sending a field that does not belong to the chosen operation returns a 400 with a plain message.
Response
A successful call returns a JSON object with these fields:
| Parameter | Type | Description |
|---|---|---|
| tool | String | Name of the tool that produced the response. |
| result | Array of objects, object or string | The converted data. A string for stringify, an object with headers and rows for parse, or an array of row objects for toJson. |



