SQL
sql.results_csv
Results of a SQL run as CSV
Details
- Endpoint
- GET /v1/execution/:execution_id/results/csv
- Credits
- Free
- Rate class
- Light. Counts against your light requests per second.
- Also called
- /api/v1/execution/:execution_id/results/csv
The full result of a finished run as CSV with a header row. Ids print as 0x hex.
Parameters
| Name | Type | Description |
|---|---|---|
| execution_idrequired | string |
Request
Send your key in the x-api-key header, or leave it out to use the keyless tier.
curl
curl "https://api.tide.ad/v1/execution/01019A4C0F2A8B3C4D5E6F708192A3B4C5/results/csv" \
-H "x-api-key: YOUR_API_KEY"TypeScript
const res = await fetch("https://api.tide.ad/v1/execution/01019A4C0F2A8B3C4D5E6F708192A3B4C5/results/csv", {
headers: {
"x-api-key": process.env.TIDE_API_KEY!,
},
});
const data = await res.json();Response
No example response is available for this method yet.