Exports
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
GET | |
POST | |
GET | |
GET |
List all exports
Required API key scopes
export:readPath parameters
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Query parameters
- limitinteger
Number of results to return per page.
- offsetinteger
The initial index from which to return the results.
Response
Example request
GET /api /projects /:project_id /exportsExample response
Status 200
Create exports
Required API key scopes
export:writePath parameters
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Request parameters
- dashboardinteger
- insightinteger
- export_format
- export_context
- expires_afterstring
Response
Example request
POST /api /projects /:project_id /exportsExample response
Status 201
Retrieve exports
Required API key scopes
export:readPath parameters
- idinteger
A unique integer value identifying this exported asset.
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Response
Example request
GET /api /projects /:project_id /exports /:idExample response
Status 200
Retrieve exports content
Required API key scopes
export:readPath parameters
- idinteger
A unique integer value identifying this exported asset.
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Example request
GET /api /projects /:project_id /exports /:id /content