> ## 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 organization config

> Retrieves the organization configuration settings. Returns default values if no config has been saved yet.



## OpenAPI

````yaml https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/org-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/org-config:
    get:
      tags:
        - Organization Config
      summary: Get organization config
      description: >-
        Retrieves the organization configuration settings. Returns default
        values if no config has been saved yet.
      operationId: getOrgConfig
      responses:
        '200':
          description: >-
            Successfully retrieved org config (defaults provided if not
            configured)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrgConfigResponse'
              examples:
                success:
                  summary: Organization config
                  value:
                    data:
                      inferenceProvider: AZURE
                      disableWebhooks: false
                      webhookRpm: null
        '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:
    OrgConfigResponse:
      type: object
      properties:
        data:
          $ref: '#/components/schemas/OrgConfigOutput'
      required:
        - data
      additionalProperties: false
      title: OrgConfigResponse
      description: >-
        Successful response containing org config data (defaults provided if not
        configured)
    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.
    OrgConfigOutput:
      type: object
      properties:
        inferenceProvider:
          $ref: '#/components/schemas/InferenceProvider'
          example: AZURE
        disableWebhooks:
          type: boolean
          description: >-
            When true, prevents simulate-task from sending webhooks (kill
            switch)
          example: false
        webhookRpm:
          anyOf:
            - type: integer
              exclusiveMinimum: 0
              maximum: 10000
            - type: 'null'
          description: >-
            Maximum webhook requests per minute for this organization (max
            10,000). Null uses the default global rate.
          example: 30
      required:
        - inferenceProvider
        - disableWebhooks
        - webhookRpm
      additionalProperties: false
      title: OrgConfig
      description: Organization-level configuration settings
    InferenceProvider:
      type: string
      enum:
        - OPENAI
        - AZURE
      title: InferenceProvider
      description: The inference provider for LLM operations
  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

````