Sign Up

Config

Get config

GET
/config

Response Body

Daytona configuration

application/json
  1. response
version*string

Daytona version

buildSha?string

Commit sha of the source the app was built from

posthog?

PostHog configuration

oidc*

OIDC configuration

ssoOidc?

OIDC configuration for org-SSO logins (Daytona Auth issuer). Present only when the secondary (org-SSO) issuer is configured; the dashboard uses it as its authority when entered via an organization SSO link.

forcedFeatureFlags?array<string>

Feature flags forced on for this deployment regardless of PostHog targeting. Lets environments without PostHog (previews, local dev) enable flag-gated dashboard features.

linkedAccountsEnabled*boolean

Whether linked accounts are enabled

announcements*

System announcements

pylonAppId?string

Pylon application ID

proxyTemplateUrl*string

Proxy template URL

proxyToolboxUrl*string

Toolbox template URL

defaultSnapshot*string

Default snapshot for sandboxes

dashboardUrl*string

Dashboard URL

maxAutoArchiveInterval*number

Maximum auto-archive interval in minutes

maintananceMode*boolean

Whether maintenance mode is enabled

environment*string

Current environment

billingApiUrl?string

Billing API URL

analyticsApiUrl?string

Analytics API URL

v2DashboardUrl?string

Base URL of the new Daytona dashboard. The dashboard links to it, with the selected organization id appended, from its "Switch to the new Daytona" entry point when that is enabled for the organization. Absent when the deployment does not advertise one.

stripePublishableKey?string

Stripe publishable key for client-side Stripe.js

sshGatewayCommand?string

SSH Gateway command

sshGatewayPublicKey?string

Base64 encoded SSH Gateway public key

sshGatewayHost?string

Hostname of the SSH Gateway that sandbox SSH connections terminate at

sshGatewayPort?number

TCP port of the SSH Gateway

sshGatewayHostKeys?array<string>

SSH host public keys presented by the SSH Gateway, as OpenSSH public key lines (<type> <base64>). To build a known_hosts entry, prefix each with sshGatewayHost when sshGatewayPort is 22, or with [sshGatewayHost]:sshGatewayPort otherwise.

sshGatewayHostKeyFingerprints?array<string>

SHA256 fingerprints of sshGatewayHostKeys, in the same order, in ssh-keygen -lf format. Compare against the fingerprint published at https://github.com/daytona/.github/blob/main/SECURITY.md#ssh-host-key-verification

rateLimit?

Rate limit configuration

curl -X GET 'http://localhost:3000/config'
{  "sshGatewayPublicKey": "ssh-gateway-public-key",  "proxyToolboxUrl": "https://proxy.example.com/toolbox",  "posthog": "",  "maxAutoArchiveInterval": 43200,  "pylonAppId": "pylon-app-123",  "maintananceMode": false,  "forcedFeatureFlags": [    "forcedFeatureFlags",    "forcedFeatureFlags"  ],  "sshGatewayPort": 22,  "v2DashboardUrl": "https://app.daytona.com",  "sshGatewayHostKeys": [    "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIBh7nbXJuVs1AkREaeJsOxlKD219FLKyrf37BmRKq8A"  ],  "dashboardUrl": "https://dashboard.example.com",  "ssoOidc": "",  "rateLimit": "",  "analyticsApiUrl": "https://analytics.example.com",  "buildSha": "1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b",  "billingApiUrl": "https://billing.example.com",  "linkedAccountsEnabled": true,  "stripePublishableKey": "pk_live_...",  "version": "0.0.1",  "oidc": "",  "sshGatewayHostKeyFingerprints": [    "SHA256:+0Mw+mXcYJg98TZSC4utJjM8amxj8SSRaEAGo9nkbWk"  ],  "proxyTemplateUrl": "https://{{PORT}}-{{sandboxId}}.proxy.example.com",  "environment": "production",  "defaultSnapshot": "ubuntu:22.04",  "sshGatewayCommand": "ssh -p 2222 {{TOKEN}}@localhost",  "announcements": {    "feature-update": {      "text": "New feature available!",      "learnMoreUrl": "https://example.com"    }  },  "sshGatewayHost": "ssh.app.daytona.io"}