Environments
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
GET | |
GET | |
GET | |
GET | |
GET | |
POST | |
GET | |
POST | |
GET | |
POST |
Retrieve environments app metrics
Required API key scopes
plugin:readPath parameters
- idinteger
- project_idstring
Example request
GET /api /environments /:project_id /app_metrics /:idExample response
Status 200 No response body
Retrieve environments app metrics
Required API key scopes
plugin:readPath parameters
- idinteger
- project_idstring
Example request
GET /api /environments /:project_id /app_metrics /:idExample response
Status 200 No response body
Retrieve environments app metrics error details
Path parameters
- idinteger
- project_idstring
Example request
GET /api /environments /:project_id /app_metrics /:id /error_detailsExample response
Status 200 No response body
Retrieve environments app metrics error details
Path parameters
- idinteger
- project_idstring
Example request
GET /api /environments /:project_id /app_metrics /:id /error_detailsExample response
Status 200 No response body
Retrieve environments app metrics historical exports
Required API key scopes
plugin:readPath parameters
- plugin_config_idstring
- project_idstring
Example request
GET /api /environments /:project_id /app_metrics /:plugin_config_id /historical_exportsExample response
Status 200 No response body
Retrieve environments app metrics historical exports
Required API key scopes
plugin:readPath parameters
- plugin_config_idstring
- project_idstring
Example request
GET /api /environments /:project_id /app_metrics /:plugin_config_id /historical_exportsExample response
Status 200 No response body
Retrieve environments app metrics historical exports retrieve
Required API key scopes
plugin:readPath parameters
- idstring
- plugin_config_idstring
- project_idstring
Example request
GET /api /environments /:project_id /app_metrics /:plugin_config_id /historical_exports /:idExample response
Status 200 No response body
Retrieve environments app metrics historical exports retrieve
Required API key scopes
plugin:readPath parameters
- idstring
- plugin_config_idstring
- project_idstring
Example request
GET /api /environments /:project_id /app_metrics /:plugin_config_id /historical_exports /:idExample response
Status 200 No response body
List all environments batch exports
Required API key scopes
batch_export:readPath parameters
- project_idstring
Query parameters
- limitinteger
- offsetinteger
Response
Example request
GET /api /environments /:project_id /batch_exportsExample response
Status 200
RESPONSE
List all environments batch exports
Required API key scopes
batch_export:readPath parameters
- project_idstring
Query parameters
- limitinteger
- offsetinteger
Response
Example request
GET /api /environments /:project_id /batch_exportsExample response
Status 200
RESPONSE
Create environments batch exports
Required API key scopes
batch_export:writePath parameters
- project_idstring
Request parameters
- namestring
- model
- destination
- interval
- pausedboolean
- last_paused_atstring
- start_atstring
- end_atstring
- hogql_querystring
- filters
Response
Example request
POST /api /environments /:project_id /batch_exportsExample response
Status 201
RESPONSE
Create environments batch exports
Required API key scopes
batch_export:writePath parameters
- project_idstring
Request parameters
- namestring
- model
- destination
- interval
- pausedboolean
- last_paused_atstring
- start_atstring
- end_atstring
- hogql_querystring
- filters
Response
Example request
POST /api /environments /:project_id /batch_exportsExample response
Status 201
RESPONSE
List all environments batch exports backfills
ViewSet for BatchExportBackfill models.
Allows creating and reading backfills, but not updating or deleting them.
Required API key scopes
batch_export:readPath parameters
- batch_export_idstring
- project_idstring
Query parameters
- cursorstring
- orderingstring
Response
Example request
GET /api /environments /:project_id /batch_exports /:batch_export_id /backfillsExample response
Status 200
RESPONSE
List all environments batch exports backfills
ViewSet for BatchExportBackfill models.
Allows creating and reading backfills, but not updating or deleting them.
Required API key scopes
batch_export:readPath parameters
- batch_export_idstring
- project_idstring
Query parameters
- cursorstring
- orderingstring
Response
Example request
GET /api /environments /:project_id /batch_exports /:batch_export_id /backfillsExample response
Status 200
RESPONSE
Create environments batch exports backfills
Create a new backfill for a BatchExport.
Required API key scopes
batch_export:writePath parameters
- batch_export_idstring
- project_idstring
Request parameters
- start_atstring
- end_atstring
- status
- finished_atstring
- teaminteger
- batch_exportstring
Response
Example request
POST /api /environments /:project_id /batch_exports /:batch_export_id /backfillsExample response
Status 201
RESPONSE
Create environments batch exports backfills
Create a new backfill for a BatchExport.
Required API key scopes
batch_export:writePath parameters
- batch_export_idstring
- project_idstring
Request parameters
- start_atstring
- end_atstring
- status
- finished_atstring
- teaminteger
- batch_exportstring
Response
Example request
POST /api /environments /:project_id /batch_exports /:batch_export_id /backfillsExample response
Status 201
RESPONSE
Retrieve environments batch exports backfills
ViewSet for BatchExportBackfill models.
Allows creating and reading backfills, but not updating or deleting them.
Required API key scopes
batch_export:readPath parameters
- batch_export_idstring
- idstring
- project_idstring
Response
Example request
GET /api /environments /:project_id /batch_exports /:batch_export_id /backfills /:idExample response
Status 200
RESPONSE
Retrieve environments batch exports backfills
ViewSet for BatchExportBackfill models.
Allows creating and reading backfills, but not updating or deleting them.
Required API key scopes
batch_export:readPath parameters
- batch_export_idstring
- idstring
- project_idstring
Response
Example request
GET /api /environments /:project_id /batch_exports /:batch_export_id /backfills /:idExample response
Status 200
RESPONSE
Create environments batch exports backfills cancel
Cancel a batch export backfill.
Required API key scopes
batch_export:writePath parameters
- batch_export_idstring
- idstring
- project_idstring
Request parameters
- start_atstring
- end_atstring
- status
- finished_atstring
- teaminteger
- batch_exportstring
Example request
POST /api /environments /:project_id /batch_exports /:batch_export_id /backfills /:id /cancelExample response
Status 200 No response body
Create environments batch exports backfills cancel
Cancel a batch export backfill.
Required API key scopes
batch_export:writePath parameters
- batch_export_idstring
- idstring
- project_idstring
Request parameters
- start_atstring
- end_atstring
- status
- finished_atstring
- teaminteger
- batch_exportstring
Example request
POST /api /environments /:project_id /batch_exports /:batch_export_id /backfills /:id /cancel