Query

Get query results url

GET
Get a url to download query results as a CSV

Path parameters

query_idstringRequired
The unique identifier for the query

Response

This endpoint returns an object
queryId
string
Query id
downloadUrl
string
Results download url
GET
1curl https://app.coactive.ai/api/v1/queries/string/csv/url \
2 -H "Authorization: Bearer <token>"
200
Retrieved
1{
2 "queryId": "57552f03-87af-4847-a83e-e46a320af0c2",
3 "downloadUrl": "https://example.com/path/to/results.csv"
4}