Skip to Content
Data Sources

List Data Sources

GET
/v0/projects/{idOrSlug}/data-sources

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

Response Body

Success

application/json
  1. response
[index: integer]?
Example Request
curl -X GET 'https://api.faststats.dev/v0/projects/string/data-sources'
Example Response
[
  {
    "id": "string",
    "projectId": "string",
    "name": "string",
    "description": "string",
    "referenceId": "string",
    "dataType": "number",
    "regex": "string",
    "allowNegative": true,
    "allowFloat": true,
    "minValue": 0,
    "maxValue": 0,
    "metricShape": "scalar",
    "createdAt": "string",
    "updatedAt": "string"
  }
]