Sign Up

Config

GET/config

Response Body

application/json

curl -X GET "https://example.com/config"
{  "version": "0.0.1",  "buildSha": "1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b",  "posthog": {    "apiKey": "phc_abc123",    "host": "https://app.posthog.com"  },  "oidc": {    "issuer": "https://auth.example.com",    "clientId": "daytona-client",    "audience": "daytona-api"  },  "ssoOidc": {    "issuer": "https://api.example.com/api/oidc",    "clientId": "daytona-dashboard"  },  "forcedFeatureFlags": [    "string"  ],  "linkedAccountsEnabled": true,  "announcements": {    "feature-update": {      "text": "New feature available!",      "learnMoreUrl": "https://example.com"    }  },  "pylonAppId": "pylon-app-123",  "proxyTemplateUrl": "https://{{PORT}}-{{sandboxId}}.proxy.example.com",  "proxyToolboxUrl": "https://proxy.example.com/toolbox",  "defaultSnapshot": "ubuntu:22.04",  "dashboardUrl": "https://dashboard.example.com",  "maxAutoArchiveInterval": 43200,  "maintananceMode": false,  "environment": "production",  "billingApiUrl": "https://billing.example.com",  "analyticsApiUrl": "https://analytics.example.com",  "stripePublishableKey": "pk_live_...",  "sshGatewayCommand": "ssh -p 2222 {{TOKEN}}@localhost",  "sshGatewayPublicKey": "ssh-gateway-public-key",  "rateLimit": {    "failedAuth": {      "ttl": 60,      "limit": 100    },    "authenticated": {      "ttl": 60,      "limit": 100    },    "sandboxCreate": {      "ttl": 60,      "limit": 100    },    "sandboxLifecycle": {      "ttl": 60,      "limit": 100    },    "sandboxList": {      "ttl": 60,      "limit": 100    }  }}