Skip to content

incomplete schema from /settings #65

@kheiner

Description

@kheiner

https://directus.pizza/settings

response:
{
  "data": {
    "id": 1,
    "project_name": "Directus Sandbox",
    "project_url": "https://directus.io",
    "project_color": "#6644FF",
    "project_logo": null,
    "public_foreground": "1c7466b8-0d97-4b81-9cc4-addbef30e579",
    "public_background": null,
    "public_note": "**Login Info** <br />admin@example.com<br />d1r3ctu5",
    "auth_login_attempts": 25,
    "auth_password_policy": "/^.{8,}$/",
    "storage_asset_transform": "all",
    "storage_asset_presets": [
      {
        "key": "800w",
        "fit": "inside",
        "width": 800,
        "quality": 90,
        "withoutEnlargement": true,
        "format": "webp",
        "transforms": [],
        "height": null
      },
      {
        "key": "1200w",
        "fit": "inside",
        "width": 1200,
        "quality": 90,
        "withoutEnlargement": true,
        "format": "webp",
        "transforms": []
      }
    ],
    "custom_css": ".v-divider.inlineTitle.large.add-margin-top {\n    margin-top: 0 !important;\n}\n\nbody {\n    font-size: 16px !important;\n}\n\n.drawer-item-content {\n   --theme--form--row-gap: 16px;\n   --theme--form--column-gap: 32px;\n}\n\n#overlay-outlet {\n   --theme--form--row-gap: 16px;\n   --theme--form--column-gap: 32px;\n}\n\n.ai-message[data-role=user] {\n    --ai-message-background: var(--theme--primary-background) !important;\n}\n\n.ai-header {\n   --theme--background-normal: var(--theme--background);\n}\n    ",
    "storage_default_folder": "ece7bab9-5433-4a63-b9f7-bde8b517d6d9",
    "basemaps": null,
    "mapbox_key": null,
    "module_bar": [
      {
        "type": "module",
        "id": "getting-started",
        "enabled": true
      },
      {
        "type": "module",
        "id": "content",
        "enabled": true
      },
      {
        "type": "module",
        "id": "visual",
        "enabled": true
      },
      {
        "type": "module",
        "id": "users",
        "enabled": true
      },
      {
        "type": "module",
        "id": "files",
        "enabled": true
      },
      {
        "type": "module",
        "id": "insights",
        "enabled": true
      },
      {
        "type": "link",
        "id": "docs",
        "name": "Directus Docs",
        "url": "https://docs.directus.io",
        "icon": "help_outline",
        "enabled": true
      },
      {
        "type": "module",
        "id": "settings",
        "enabled": true,
        "locked": true
      },
      {
        "type": "module",
        "id": "global-search",
        "enabled": true
      },
      {
        "type": "module",
        "id": "deployments",
        "enabled": true
      }
    ],
    "project_descriptor": "Demo instance of Directus CMS",
    "default_language": "en-US",
    "custom_aspect_ratios": null,
    "public_favicon": null,
    "default_appearance": "auto",
    "default_theme_light": "Directus Default",
    "theme_light_overrides": {
      "form": {
        "rowGap": "16px",
        "field": {
          "input": {
            "height": "48px",
            "background": "var(--theme--background)"
          }
        }
      },
      "borderWidth": "1px",
      "navigation": {
        "modules": {
          "background": "color-mix(in srgb, var(--theme--foreground), var(--theme--primary) 80%)",
          "button": {
            "foreground": "color-mix(in srgb, var(--theme--background), var(--theme--primary) 20%)",
            "foregroundActive": "var(--theme--primary)",
            "backgroundActive": "var(--theme--background)"
          }
        },
        "background": "var(--theme--background)",
        "project": {
          "background": "transparent"
        },
        "borderColor": "color-mix(in srgb, var(--theme--foreground), var(--theme--background) 95%)",
        "borderWidth": "1px",
        "list": {
          "divider": {
            "borderColor": "var(--theme--border-color-subdued)"
          },
          "backgroundHover": "color-mix(in srgb, var(--theme--background), var(--theme--primary) 10%)",
          "backgroundActive": "color-mix(in srgb, var(--theme--background), var(--theme--primary) 15%)"
        }
      },
      "fonts": {
        "display": {
          "fontFamily": "\"Poppins\", system-ui",
          "fontWeight": "600"
        },
        "sans": {
          "fontFamily": "\"DM Sans\", system-ui"
        }
      },
      "borderRadius": "6px",
      "sidebar": {
        "borderWidth": "1px",
        "borderColor": "var(--theme--border-color-subdued)",
        "section": {
          "toggle": {
            "borderColor": "var(--theme--border-color-subdued)",
            "borderWidth": "1px",
            "background": "var(--theme--background)",
            "foreground": "var(--theme--foreground)",
            "foregroundHover": "var(--theme--foreground)",
            "icon": {
              "foreground": "var(--theme--foreground)",
              "foregroundHover": "var(--theme--foreground)",
              "foregroundActive": "var(--theme--foreground-accent)"
            }
          }
        },
        "background": "var(--theme--background)"
      },
      "foregroundSubdued": "color-mix(in srgb, var(--theme--background), var(--theme--foreground) 60%)",
      "primary": "#6644FF"
    },
    "default_theme_dark": "Directus Default",
    "theme_dark_overrides": {
      "form": {
        "rowGap": "16px",
        "field": {
          "input": {
            "height": "48px",
            "background": "var(--theme--background)"
          }
        }
      },
      "borderWidth": "1px",
      "navigation": {
        "modules": {
          "background": "color-mix(in srgb, var(--theme--background), var(--theme--primary) 80%)",
          "button": {
            "foreground": "color-mix(in srgb, var(--theme--foreground), var(--theme--primary) 20%)",
            "foregroundActive": "#fff",
            "backgroundActive": "color-mix(in srgb, var(--theme--primary), var(--theme--background) 40%)"
          }
        },
        "background": "var(--theme--background)",
        "project": {
          "background": "transparent"
        },
        "borderColor": "color-mix(in srgb, var(--theme--foreground), var(--theme--background) 95%)",
        "borderWidth": "1px",
        "list": {
          "divider": {
            "borderColor": "var(--theme--border-color-subdued)"
          },
          "backgroundHover": "color-mix(in srgb, var(--theme--background), var(--theme--primary) 10%)",
          "backgroundActive": "color-mix(in srgb, var(--theme--background), var(--theme--primary) 15%)"
        }
      },
      "fonts": {
        "display": {
          "fontFamily": "\"Poppins\", system-ui"
        },
        "sans": {
          "fontFamily": "\"DM Sans\", system-ui"
        }
      },
      "borderRadius": "6px",
      "sidebar": {
        "background": "var(--theme--background)",
        "borderWidth": "1px",
        "borderColor": "var(--theme--border-color-subdued)",
        "section": {
          "toggle": {
            "borderColor": "var(--theme--border-color-subdued)",
            "borderWidth": "1px",
            "foreground": "var(--theme--foreground)",
            "foregroundHover": "var(--theme--foreground)",
            "icon": {
              "foreground": "var(--theme--foreground)",
              "foregroundHover": "var(--theme--foreground)",
              "foregroundActive": "var(--theme--foreground-accent)"
            },
            "background": "var(--theme--background)"
          }
        }
      },
      "foregroundSubdued": "color-mix(in srgb, var(--theme--background), var(--theme--foreground) 60%)"
    },
    "report_error_url": null,
    "report_bug_url": null,
    "report_feature_url": null,
    "public_registration": false,
    "public_registration_verify_email": true,
    "public_registration_role": null,
    "public_registration_email_filter": null,
    "visual_editor_urls": [
      {
        "url": "https://directus-pizza.vercel.app?visual-editing=true&;token=2_v3i2MvgyJwbTxvBHu3xFRC3U23kIzx"
      },
      {
        "url": "https://directus-pizza.vercel.app?visual-editing=true&;token=2_v3i2MvgyJwbTxvBHu3xFRC3U23kIzx"
      }
    ],
    "project_id": "0198c8be-4511-75fa-a49f-af65792f8c6a",
    "command_palette_settings": {
      "searchMode": "as_you_type",
      "collections": [
        {
          "collection": "pages",
          "displayTemplate": "{{title}}",
          "descriptionField": "permalink",
          "fields": [
            "title",
            "permalink"
          ],
          "limit": 10,
          "availableGlobally": false
        },
        {
          "collection": "posts",
          "displayTemplate": "{{title}}",
          "descriptionField": "description",
          "fields": [
            "title",
            "description"
          ],
          "limit": 10,
          "availableGlobally": true
        },
        {
          "collection": "forms",
          "displayTemplate": "{{title}}",
          "descriptionField": null,
          "fields": [
            "values.field_name",
            "title"
          ],
          "limit": 10,
          "availableGlobally": false
        }
      ],
      "triggerRate": 250,
      "commandPaletteEnabled": true
    },
    "mcp_enabled": true,
    "mcp_allow_deletes": false,
    "mcp_prompts_collection": "ai_prompts",
    "mcp_system_prompt_enabled": true,
    "mcp_system_prompt": null,
    "project_owner": "sales@directus.io",
    "project_usage": null,
    "org_name": null,
    "product_updates": false,
    "project_status": null,
    "ai_openai_api_key": null,
    "ai_anthropic_api_key": null,
    "ai_system_prompt": null,
    "ai_google_api_key": null,
    "ai_openai_compatible_api_key": null,
    "ai_openai_compatible_base_url": null,
    "ai_openai_compatible_name": null,
    "ai_openai_compatible_models": null,
    "ai_openai_compatible_headers": null,
    "ai_openai_allowed_models": [
      "gpt-5-nano",
      "gpt-5-mini",
      "gpt-5"
    ],
    "ai_anthropic_allowed_models": [
      "claude-haiku-4-5",
      "claude-sonnet-4-5"
    ],
    "ai_google_allowed_models": [
      "gemini-3-pro-preview",
      "gemini-3-flash-preview",
      "gemini-2.5-pro",
      "gemini-2.5-flash"
    ],
    "collaborative_editing_enabled": true
  }
}

needs ai_ and mcp_ prefixed types added (possibly others, but at glance it's those 2 groups)

x-collection: directus_settings

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions