Data Imports
List Data Imports
GET
apiKeyAuthheader
x-api-key<token>FastStats API key. Pass it in the x-api-key header or as a Bearer token in the Authorization header.
idOrSlug*stringSuccess
application/json- response
[index: integer]?curl -X GET 'https://api.faststats.dev/v0/projects/string/data-imports'Example Response
[ { "id": "string", "source": "posthog", "region": "us", "externalProjectId": "string", "externalProjectName": "string", "status": "running", "datasets": [ "replays" ], "currentDataset": "replays", "counts": { "replays": { "imported": 0, "skipped": 0, "failed": 0 }, "errors": { "imported": 0, "skipped": 0, "failed": 0 }, "collections": { "imported": 0, "skipped": 0, "failed": 0 }, "events": { "imported": 0, "skipped": 0, "failed": 0 }, "segments": { "imported": 0, "skipped": 0, "failed": 0 }, "insights": { "imported": 0, "skipped": 0, "failed": 0 } }, "notes": [ "string" ], "error": "string", "rangeFrom": "string", "rangeTo": "string", "createdAt": "string", "finishedAt": "string" }]GET
curl -X GET 'https://api.faststats.dev/v0/projects/string/data-imports'[
{
"id": "string",
"source": "posthog",
"region": "us",
"externalProjectId": "string",
"externalProjectName": "string",
"status": "running",
"datasets": [
"replays"
],
"currentDataset": "replays",
"counts": {
"replays": {
"imported": 0,
"skipped": 0,
"failed": 0
},
"errors": {
"imported": 0,
"skipped": 0,
"failed": 0
},
"collections": {
"imported": 0,
"skipped": 0,
"failed": 0
},
"events": {
"imported": 0,
"skipped": 0,
"failed": 0
},
"segments": {
"imported": 0,
"skipped": 0,
"failed": 0
},
"insights": {
"imported": 0,
"skipped": 0,
"failed": 0
}
},
"notes": [
"string"
],
"error": "string",
"rangeFrom": "string",
"rangeTo": "string",
"createdAt": "string",
"finishedAt": "string"
}
]