Skip to Content
Projects

Get Project

GET
/v0/projects/{idOrSlug}

Path Parameters

idOrSlug*string

Response Body

Success

application/json
  1. response
id*string
name*string
allowedHostnames*array<string>|null
ingestFilters*|null
errorTrackingEnabled*boolean
webVitalsEnabled*boolean
sessionReplaysEnabled*boolean
replayRetentionDays*number||null
sourceMapRetentionDays*number||null
cookielessMode*boolean|null
token*string|null
slug*string
private*boolean
templateId*string|null
preferredChartColors*array<string>|null
codeContextConfig*|null
pageGrouping*|null
icon*|null
createdAt*string
firstEventAt*string|null
ownerId*string
owner?|null|null
Example Request
curl -X GET 'https://api.faststats.dev/v0/projects/string'
Example Response
{
  "id": "string",
  "name": "string",
  "allowedHostnames": [
    "string"
  ],
  "ingestFilters": {
    "rules": [
      {
        "field": "project_name",
        "mode": "allow",
        "values": [
          "string"
        ]
      }
    ],
    "skipOlderSdks": true
  },
  "errorTrackingEnabled": true,
  "webVitalsEnabled": true,
  "sessionReplaysEnabled": true,
  "replayRetentionDays": 0,
  "sourceMapRetentionDays": 0,
  "cookielessMode": true,
  "token": "string",
  "slug": "string",
  "private": true,
  "templateId": "string",
  "preferredChartColors": [
    "string"
  ],
  "codeContextConfig": {
    "enabled": true,
    "codebergApiUrl": "string",
    "repository": "string",
    "ref": "string",
    "mappings": [
      {
        "id": "string",
        "provider": "github",
        "javaPrefix": "string",
        "repository": "string",
        "ref": "string",
        "pathPattern": "string",
        "automatic": true,
        "contextKey": "string",
        "fixedRef": "string",
        "versionRefs": {
          "property1": "string",
          "property2": "string"
        }
      }
    ]
  },
  "pageGrouping": {
    "autoGroupIds": true,
    "rules": [
      {
        "pattern": "string"
      }
    ]
  },
  "icon": {
    "type": "icon",
    "value": "string",
    "color": "string"
  },
  "createdAt": "string",
  "firstEventAt": "string",
  "ownerId": "string",
  "owner": {
    "id": "string",
    "name": "string",
    "slug": "string",
    "image": "string",
    "type": "user",
    "createdAt": "string"
  }
}