Batch exports
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
GET | |
POST | |
GET | |
PATCH | |
DELETE | |
GET | |
POST | |
POST | |
POST |
List all org organizations batch exports
Required API key scopes
batch_export:readQuery parameters
- limitinteger
- offsetinteger
Response
Example request
GET /api /organizations /:organization_id /batch_exportsExample response
Status 200
RESPONSE
List all org organizations batch exports
Required API key scopes
batch_export:readQuery parameters
- limitinteger
- offsetinteger
Response
Example request
GET /api /organizations /:organization_id /batch_exportsExample response
Status 200
RESPONSE
Create org organizations batch exports
Required API key scopes
batch_export:writeRequest parameters
- namestring
- model
- destination
- interval
- pausedboolean
- hogql_querystring
- filters
- timezonestringnull
- offset_dayintegernull
- offset_hourintegernull
Response
Example request
POST /api /organizations /:organization_id /batch_exportsExample response
Status 201
RESPONSE
Create org organizations batch exports
Required API key scopes
batch_export:writeRequest parameters
- namestring
- model
- destination
- interval
- pausedboolean
- hogql_querystring
- filters
- timezonestringnull
- offset_dayintegernull
- offset_hourintegernull
Response
Example request
POST /api /organizations /:organization_id /batch_exportsExample response
Status 201
RESPONSE
Retrieve org organizations batch exports
Required API key scopes
batch_export:readPath parameters
- idstring
Response
Example request
GET /api /organizations /:organization_id /batch_exports /:idExample response
Status 200
RESPONSE
Retrieve org organizations batch exports
Required API key scopes
batch_export:readPath parameters
- idstring
Response
Example request
GET /api /organizations /:organization_id /batch_exports /:idExample response
Status 200
RESPONSE
Update org organizations batch exports
Required API key scopes
batch_export:writePath parameters
- idstring
Request parameters
- namestring
- model
- destination
- interval
- pausedboolean
- hogql_querystring
- filters
- timezonestringnull
- offset_dayintegernull
- offset_hourintegernull
Response
Example request
PATCH /api /organizations /:organization_id /batch_exports /:idExample response
Status 200
RESPONSE
Update org organizations batch exports
Required API key scopes
batch_export:writePath parameters
- idstring
Request parameters
- namestring
- model
- destination
- interval
- pausedboolean
- hogql_querystring
- filters
- timezonestringnull
- offset_dayintegernull
- offset_hourintegernull
Response
Example request
PATCH /api /organizations /:organization_id /batch_exports /:idExample response
Status 200
RESPONSE
Delete org organizations batch exports
Required API key scopes
batch_export:writePath parameters
- idstring
Example request
DELETE /api /organizations /:organization_id /batch_exports /:idExample response
Status 204 No response body
Delete org organizations batch exports
Required API key scopes
batch_export:writePath parameters
- idstring
Example request
DELETE /api /organizations /:organization_id /batch_exports /:idExample response
Status 204 No response body
Retrieve org organizations batch exports logs
Path parameters
- idstring
Query parameters
- afterstring
- beforestring
- instance_idstring
- levelstring
- limitintegerDefault:
50 - searchstring
Example request
GET /api /organizations /:organization_id /batch_exports /:id /logsExample response
Status 200 No response body
Retrieve org organizations batch exports logs
Path parameters
- idstring
Query parameters
- afterstring
- beforestring
- instance_idstring
- levelstring
- limitintegerDefault:
50 - searchstring
Example request
GET /api /organizations /:organization_id /batch_exports /:id /logsExample response
Status 200 No response body
Create org organizations batch exports pause
Pause a BatchExport.
Required API key scopes
batch_export:writePath parameters
- idstring
Request parameters
- namestring
- model
- destination
- interval
- pausedboolean
- last_paused_atstringnull
- start_atstringnull
- end_atstringnull
- hogql_querystring
- filters
- timezone
- offset_dayintegernull
- offset_hourintegernull
Example request
POST /api /organizations /:organization_id /batch_exports /:id /pauseExample response
Status 200 No response body
Create org organizations batch exports pause
Pause a BatchExport.
Required API key scopes
batch_export:writePath parameters
- idstring
Request parameters
- namestring
- model
- destination
- interval
- pausedboolean
- last_paused_atstringnull
- start_atstringnull
- end_atstringnull
- hogql_querystring
- filters
- timezone
- offset_dayintegernull
- offset_hourintegernull
Example request
POST /api /organizations /:organization_id /batch_exports /:id /pauseExample response
Status 200 No response body
Create org organizations batch exports run test step
Required API key scopes
batch_export:writePath parameters
- idstring
Request parameters
- namestring
- model
- destination
- interval
- pausedboolean
- last_paused_atstringnull
- start_atstringnull
- end_atstringnull
- hogql_querystring
- filters
- timezone
- offset_dayintegernull
- offset_hourintegernull
Example request
POST /api /organizations /:organization_id /batch_exports /:id /run_test_stepExample response
Status 200 No response body
Create org organizations batch exports run test step
Required API key scopes
batch_export:writePath parameters
- idstring
Request parameters
- namestring
- model
- destination
- interval
- pausedboolean
- last_paused_atstringnull
- start_atstringnull
- end_atstringnull
- hogql_querystring
- filters
- timezone
- offset_dayintegernull
- offset_hourintegernull
Example request
POST /api /organizations /:organization_id /batch_exports /:id /run_test_stepExample response
Status 200 No response body
Create org organizations batch exports unpause
Unpause a BatchExport.
Required API key scopes
batch_export:writePath parameters
- idstring
Request parameters
- namestring
- model
- destination
- interval
- pausedboolean
- last_paused_atstringnull
- start_atstringnull
- end_atstringnull
- hogql_querystring
- filters
- timezone
- offset_dayintegernull
- offset_hourintegernull
Example request
POST /api /organizations /:organization_id /batch_exports /:id /unpauseExample response
Status 200 No response body
Create org organizations batch exports unpause
Unpause a BatchExport.
Required API key scopes
batch_export:writePath parameters
- idstring
Request parameters
- namestring
- model
- destination
- interval
- pausedboolean
- last_paused_atstringnull
- start_atstringnull
- end_atstringnull
- hogql_querystring
- filters
- timezone
- offset_dayintegernull
- offset_hourintegernull
Example request
POST /api /organizations /:organization_id /batch_exports /:id /unpause