Get the configuration of the Kitsu instance

GET /config

The configuration includes self-hosted status, Crisp token, indexer configuration, SAML status, and dark theme status.

Responses

  • 200 application/json

    Configuration object

    Hide response attributes Show response attributes object
    • is_self_hosted boolean
    • crisp_token string
    • dark_theme_by_default boolean
    • indexer_configured boolean
    • saml_enabled boolean
    • saml_idp_name string
    • default_locale string
    • default_timezone string
    • sentry object
      Hide sentry attributes Show sentry attributes object
      • dsn string
      • sampleRate number
GET /config
curl -X GET "http://api.example.com/config" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"
import requests

url = "http://api.example.com/config"
headers = {
    "Authorization": "Bearer YOUR_API_TOKEN",
    "Accept": "application/json"
}
params = {}
payload = None

response = requests.get(
    url,
    headers=headers,
    params=params,
    json=payload
)

response.raise_for_status()

if response.content:
    print(response.json())
curl \
 --request GET 'http://api.example.com/config' \
 --header "Authorization: $API_KEY"
Response examples (200)
{
  "is_self_hosted": true,
  "crisp_token": "abc123def456",
  "dark_theme_by_default": false,
  "indexer_configured": true,
  "saml_enabled": false,
  "saml_idp_name": "My Company SSO",
  "default_locale": "en_US",
  "default_timezone": "UTC",
  "sentry": {
    "dsn": "https://example@sentry.io/123456",
    "sampleRate": 0.1
  }
}