Skip to Content
Projects

Request Data Export

POST
/v0/projects/{idOrSlug}/data-exports

Authorization

apiKeyAuth
headerx-api-key<token>

FastStats API key. Pass it in the x-api-key header or as a Bearer token in the Authorization header.

Path Parameters

idOrSlug*string

Request Body

application/json
  1. body
password*string
datasets*array<>
Items1 <= items <= 6
fromMonth?string|null
toMonth?string|null

Response Body

Success

application/json
  1. response
id*string|null
Example Request
curl -X POST 'https://api.faststats.dev/v0/projects/string/data-exports' \
  -H 'Content-Type: application/json' \
  -d '{
  "password": "string",
  "datasets": [
    "web_events"
  ]
}'
Example Response
{
  "id": "string"
}