Fetch a CSV export
GET
/ask/export/{id}
const url = 'https://api.getchord.xyz/v1/ask/export/example';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.getchord.xyz/v1/ask/export/exampleA table the analyst exported, as CSV (one hour).
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters”id
required
string
Export id, optionally with .csv.
Responses
Section titled “ Responses ”text/csv.
Media typetext/csv
string
Nothing at this identity (NOT_FOUND, UNKNOWN_TOKEN, NO_ROUTE).
Media typeapplication/json
Every non-2xx body.
object
error
required
Stable machine code, e.g. INVALID_PARAMS, NOT_READY, RATE_LIMIT_EXCEEDED.
string
message
For humans.
string
statusCode
HTTP status, when included.
integer
Example
{ "error": "INVALID_PARAMS", "message": "amount must be an integer string in the token's smallest unit"}