Projects
Get Project
GET
idOrSlug*stringSuccess
application/json- response
id*stringname*stringallowedHostnames*array<string>|nullerrorTrackingEnabled*booleanwebVitalsEnabled*booleansessionReplaysEnabled*booleanreplayRetentionDays*number||nullcookielessMode*boolean|nulltoken*string|nullslug*stringprivate*booleantemplateId*string|nullpreferredChartColors*array<string>|nullcodeContextConfig*|nullicon*|nullcreatedAt*stringfirstEventAt*string|nullownerId*stringowner?|null|nullcurl -X GET 'https://api.faststats.dev/v0/projects/string'Example Response
{ "id": "string", "name": "string", "allowedHostnames": [ "string" ], "errorTrackingEnabled": true, "webVitalsEnabled": true, "sessionReplaysEnabled": true, "replayRetentionDays": 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" } } ] }, "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" }}curl -X GET 'https://api.faststats.dev/v0/projects/string'{
"id": "string",
"name": "string",
"allowedHostnames": [
"string"
],
"errorTrackingEnabled": true,
"webVitalsEnabled": true,
"sessionReplaysEnabled": true,
"replayRetentionDays": 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"
}
}
]
},
"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"
}
}