Export Results
curl --request POST \
--url http://127.0.0.1:3333/v3/bots/{botId}/results/export \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"timeFilter": "allTime",
"timeZone": "<string>",
"includeDeletedBlocks": false
}
'import requests
url = "http://127.0.0.1:3333/v3/bots/{botId}/results/export"
payload = {
"timeFilter": "allTime",
"timeZone": "<string>",
"includeDeletedBlocks": False
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({timeFilter: 'allTime', timeZone: '<string>', includeDeletedBlocks: false})
};
fetch('http://127.0.0.1:3333/v3/bots/{botId}/results/export', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"exportId": "<string>"
}{
"error": "<string>",
"message": "<string>"
}Jobs & Exports
Export Results
Create a results export job.
POST
/
v3
/
bots
/
{botId}
/
results
/
export
Export Results
curl --request POST \
--url http://127.0.0.1:3333/v3/bots/{botId}/results/export \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"timeFilter": "allTime",
"timeZone": "<string>",
"includeDeletedBlocks": false
}
'import requests
url = "http://127.0.0.1:3333/v3/bots/{botId}/results/export"
payload = {
"timeFilter": "allTime",
"timeZone": "<string>",
"includeDeletedBlocks": False
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({timeFilter: 'allTime', timeZone: '<string>', includeDeletedBlocks: false})
};
fetch('http://127.0.0.1:3333/v3/bots/{botId}/results/export', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"exportId": "<string>"
}{
"error": "<string>",
"message": "<string>"
}Authorizations
bearerAuthapiKeyAuth
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Body
application/json
Response
Default Response