API v2
  • Overview
    • Authentication
    • API Host
    • Error Codes
  • API Reference
    • CSVUploads
    • Explores (Deprecated)
    • Folders
    • Reports
Powered by GitBook
On this page
  1. API Reference

Explores (Deprecated)

Explore API Reference

PreviousCSVUploadsNextFolders

Last updated 1 year ago

Retreive latest success job details

get
Path parameters
idstringRequired

explore id

Responses
200
Details about the latest success job
application/json
get
GET /api/v2/explores/{id}/job/latestsuccess HTTP/1.1
Host: api_host
Accept: */*
200

Details about the latest success job

{
  "startTime": 1660439099000,
  "endTime": 1660445539000,
  "outputPath": "8aec2615e1c540d2b71129a3a9e5fdc3"
}

Returns explore result in csv format

get
Path parameters
idstringRequired

explore id

Responses
200
Result in CSV format
text/csv
Responsestring
get
GET /api/v2/explores/{id}/download HTTP/1.1
Host: api_host
Accept: */*
200

Result in CSV format

text
  • GETRetreive all
  • GETRetreive
  • GETRetreive latest success job details
  • GETReturns explore result in csv format

Retreive

get
Path parameters
idstringRequired

explore id

Responses
200
Details about the explore
application/json
get
GET /api/v2/explores/{id} HTTP/1.1
Host: api_host
Accept: */*
200

Details about the explore

{
  "id": "8aec2615e1c540d2b71129a3a9e5fdc3",
  "name": "order details",
  "ownerId": "85ae22a39ef14788987f5b915938f050",
  "folderId": "6be53896a0604c0d817f638229f83ac9",
  "encodedSQL": "c2VsZWN0ICogZnJvbSB0ZXN0OTk5",
  "createTime": 1660439099000,
  "updateTime": 1660445539000
}

Retreive all

get
Query parameters
projectIdstringOptional

The project Id from which to retreive. If not given, then default project is used

folderIdstringOptional

The folder Id acc. to which records will be retrieved. If not given, then all explores will be retrieved

limitstringOptional

The number of records to retrieve. If not given, then by default 1000 explores will be fetched.

Responses
200
List of explores
application/json
get
200

List of explores

GET /api/v2/explores HTTP/1.1
Host: api_host
Accept: */*
[
  {
    "id": "8aec2615e1c540d2b71129a3a9e5fdc3",
    "name": "order details",
    "ownerId": "85ae22a39ef14788987f5b915938f050",
    "folderId": "6be53896a0604c0d817f638229f83ac9",
    "scheduled": true,
    "createTime": 1660439099000,
    "updateTime": 1660445539000
  }
]