> ## Documentation Index
> Fetch the complete documentation index at: https://docs.avidoai.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get app config

> Returns public feature flags the dashboard needs to render correctly (e.g., whether the web scraper is enabled).



## OpenAPI

````yaml https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/app-config
openapi: 3.1.1
info:
  title: Avido API
  description: >-
    Avido's API for LLM usage events, tool calls, trace management, webhook
    validation, and more. See each endpoint's request/response schema for
    details.
  version: 0.1.0
  contact:
    name: Avido Support
    email: support@avidoai.com
    url: https://avidoai.com/support
servers:
  - url: https://api.avidoai.com
    description: Production API
security:
  - ApiKey: []
    ApplicationId: []
paths:
  /v0/app-config:
    get:
      tags:
        - App Config
      summary: Get app config
      description: >-
        Returns public feature flags the dashboard needs to render correctly
        (e.g., whether the web scraper is enabled).
      operationId: getAppConfig
      parameters:
        - in: query
          name: applicationSlug
          schema:
            description: >-
              Optional application slug used to evaluate app config feature
              flags with application group context when no application ID header
              is available.
            example: customer-support-bot
            type: string
            minLength: 1
            maxLength: 256
          description: >-
            Optional application slug used to evaluate app config feature flags
            with application group context when no application ID header is
            available.
      responses:
        '200':
          description: Successfully retrieved app config
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AppConfigResponse'
              examples:
                success:
                  summary: App config
                  value:
                    data:
                      firecrawlEnabled: true
                      ocrEnabled: true
                      askAdaEnabled: true
                      craEvidencePackEnabled: false
                      chatbotPlaygroundEnabled: false
                      sotaModelEnabled: true
                      posthog:
                        host: https://api.avidoai.com/posthog
                        key: phc_123
                        cloudIdentifier: avido-prod
        '400':
          description: bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '422':
          description: invalid input
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationErrorResponse'
        '500':
          description: internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    AppConfigResponse:
      type: object
      properties:
        data:
          $ref: '#/components/schemas/AppConfigOutput'
      required:
        - data
      additionalProperties: false
      title: AppConfigResponse
      description: Successful response containing the app config.
    ErrorResponse:
      type: object
      properties:
        message:
          type: string
          description: A human-readable error message explaining the error.
          example: Resource not found
      required:
        - message
      additionalProperties: false
      title: ErrorResponse
      description: Standard error format for failed API operations.
    ValidationErrorResponse:
      type: object
      properties:
        message:
          type: string
          description: A human-readable error message indicating what went wrong.
          example: Invalid request data
        issues:
          type: array
          items:
            type: object
            properties:
              code:
                type: string
              message:
                type: string
              path:
                type: array
                items:
                  type: string
            required:
              - code
              - message
              - path
            additionalProperties: false
          description: Array of detailed validation error objects.
          example:
            - code: invalid_string
              message: Invalid UUID
              path:
                - id
      required:
        - message
        - issues
      additionalProperties: false
      title: ValidationErrorResponse
      description: Details about validation errors in incoming requests.
    AppConfigOutput:
      type: object
      properties:
        firecrawlEnabled:
          type: boolean
          description: >-
            Whether the Firecrawl-backed web scraper is configured on apps/api
            (FIRECRAWL_API_KEY set).
          example: true
        ocrEnabled:
          type: boolean
          description: >-
            Whether PDF/OCR uploads are enabled on apps/api (AZURE_AI_MODEL_OCR
            set). When false, the dashboard should hide PDF upload affordances.
          example: true
        askAdaEnabled:
          type: boolean
          description: >-
            Whether the Ask Ada chatbot is enabled for the authenticated user +
            org. Evaluated server-side on apps/api via the `ask-ada-enabled`
            PostHog feature flag, because the server-side PostHog credentials
            live on apps/api only. `false` when the caller has no active org,
            when PostHog is not configured, or when the flag is not rolled out
            to the caller.
          example: true
        craEvidencePackEnabled:
          type: boolean
          description: >-
            Whether the alpha CRA Evidence Pack downloadable report (Insights >
            Reports > CRA Evidence Pack) is enabled for the authenticated user +
            org. Evaluated server-side on apps/api via the `cra-evidence-pack`
            PostHog feature flag. `false` when the caller has no active org,
            when PostHog is not configured, or when the flag is not rolled out
            to the caller.
          example: false
        chatbotPlaygroundEnabled:
          type: boolean
          description: >-
            Whether the chatbot playground is enabled for the authenticated
            user, org, and optional application context. Evaluated server-side
            on apps/api via the `chatbot-playground-enabled` PostHog feature
            flag. Existing org-scoped flag rules keep working;
            application-scoped rules can target the `application` group when an
            application context is present.
          example: false
        sotaModelEnabled:
          type: boolean
          description: >-
            Whether the SOTA model class is actually served for the caller's org
            on this deployment (always on the OpenAI provider; on Azure only
            when AZURE_AI_MODEL_SOTA is configured — BYOC gateways often lack a
            SOTA deployment). When false, the dashboard should disable SOTA
            model pickers; any SOTA-class inference request transparently falls
            back to the default model.
          example: true
        posthog:
          anyOf:
            - $ref: '#/components/schemas/PostHogConfigOutput'
            - type: 'null'
          description: >-
            Public PostHog credentials for client-side SDK bootstrap. Null when
            POSTHOG_API_KEY is not set on apps/api.
      required:
        - firecrawlEnabled
        - ocrEnabled
        - askAdaEnabled
        - craEvidencePackEnabled
        - chatbotPlaygroundEnabled
        - sotaModelEnabled
        - posthog
      additionalProperties: false
      title: AppConfig
      description: Public runtime configuration for the dashboard frontend.
    PostHogConfigOutput:
      type: object
      properties:
        host:
          type: string
          minLength: 1
          maxLength: 2048
          format: uri
          description: >-
            PostHog API host. Points at the apps/api PostHog proxy (API_BASE_URL
            + /posthog) so no PostHog hostname is reachable directly from the
            browser.
          example: https://api.avidoai.com/posthog
        key:
          type: string
          minLength: 1
          maxLength: 256
          description: PostHog project API key (POSTHOG_API_KEY).
          example: phc_123
        cloudIdentifier:
          anyOf:
            - type: string
              minLength: 1
              maxLength: 256
            - type: 'null'
          description: >-
            Deployment cloud identifier registered as a PostHog super property
            on every event (POSTHOG_CLOUD_IDENTIFIER). Allows traffic from
            different clouds (e.g. Avido-managed vs customer-hosted) to be
            separated in PostHog while still being viewable together. Null when
            not configured.
          example: avido-prod
      required:
        - host
        - key
        - cloudIdentifier
      additionalProperties: false
      title: PostHogConfig
      description: >-
        Public PostHog credentials for client-side SDK bootstrap. Null when
        POSTHOG_API_KEY is not set on apps/api.
  securitySchemes:
    ApiKey:
      type: apiKey
      in: header
      name: x-api-key
      description: Your unique Avido API key
    ApplicationId:
      type: apiKey
      in: header
      name: x-application-id
      description: Your unique Avido Application ID

````