Explore API Reference
Last updated 6 months ago
List of explores
const response = await fetch('https://API_HOST/api/v2/explores', { method: 'GET', headers: {}, }); const data = await response.json();
[ { "id": "8aec2615e1c540d2b71129a3a9e5fdc3", "name": "order details", "ownerId": "85ae22a39ef14788987f5b915938f050", "folderId": "6be53896a0604c0d817f638229f83ac9", "scheduled": true, "createTime": 1660439099000, "updateTime": 1660445539000 } ]
explore id
Result in CSV format
Details about the latest success job
Details about the explore
const response = await fetch('https://API_HOST/api/v2/explores/{id}/download', { method: 'GET', headers: {}, }); const data = await response.json();
"text"
const response = await fetch('https://API_HOST/api/v2/explores/{id}/job/latestsuccess', { method: 'GET', headers: {}, }); const data = await response.json();
{ "startTime": 1660439099000, "endTime": 1660445539000, "outputPath": "8aec2615e1c540d2b71129a3a9e5fdc3" }
const response = await fetch('https://API_HOST/api/v2/explores/{id}', { method: 'GET', headers: {}, }); const data = await response.json();
{ "id": "8aec2615e1c540d2b71129a3a9e5fdc3", "name": "order details", "ownerId": "85ae22a39ef14788987f5b915938f050", "folderId": "6be53896a0604c0d817f638229f83ac9", "encodedSQL": "c2VsZWN0ICogZnJvbSB0ZXN0OTk5", "createTime": 1660439099000, "updateTime": 1660445539000 }