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

# Config introspection

> Non-secret runtime config — which surfaces are live, the config version, and the PII detection tier serving your requests. Use it to debug 'which policy bundle am I actually hitting?' and 'is PII detection degraded?'. Requires a bearer token.



## OpenAPI

````yaml /api-reference/openapi.json get /v1/config
openapi: 3.1.0
info:
  title: Judge API
  description: >-
    Compliance verdicts for agent tool calls. Agent messages and tool calls in →
    verdict, severity, and evidence out. The canonical decide endpoint is `POST
    /decide`. PII is detected on every request and redacted out of any text sent
    to a downstream LLM; detected values are not returned.
  version: 0.2.0
  contact:
    name: Tenet Labs
    url: https://tenetlabs.com
servers:
  - url: https://judge.tenetlabs.com
    description: Production
security:
  - bearerAuth: []
paths:
  /v1/config:
    get:
      tags:
        - Health
      summary: Config introspection
      description: >-
        Non-secret runtime config — which surfaces are live, the config version,
        and the PII detection tier serving your requests. Use it to debug 'which
        policy bundle am I actually hitting?' and 'is PII detection degraded?'.
        Requires a bearer token.
      operationId: getConfig
      responses:
        '200':
          description: Live config.
          content:
            application/json:
              schema:
                type: object
                properties:
                  config_version:
                    type:
                      - string
                      - 'null'
                  service:
                    type: string
                    example: eeo
                  surfaces:
                    type: array
                    items:
                      type: string
                    example:
                      - resume_triage
                      - job_ad_drafting
                      - candidate_ranking
                      - interview_question_gen
                      - candidate_outreach
                  pii_tier:
                    type: object
                    description: >-
                      The PII detection tier this process is serving. `tier` is
                      a string reporting the tier; `regex_only` means detection
                      is degraded. Other keys are diagnostic and may change.
                    properties:
                      tier:
                        type: string
        '401':
          $ref: '#/components/responses/Unauthorized'
components:
  responses:
    Unauthorized:
      description: >-
        Missing or invalid bearer token. `code` is `UNAUTHENTICATED`. Some `401`
        responses carry no error envelope, so branch on the status code.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  schemas:
    Error:
      type: object
      description: Error envelope. Branch on `code`; `message` is for humans.
      properties:
        code:
          type: string
          description: >-
            Stable, programmatic error code — `BAD_REQUEST`, `UNAUTHENTICATED`,
            `VALIDATION_ERROR`, `RATE_LIMITED`, `QUOTA_EXCEEDED`,
            `SERVICE_UNAVAILABLE`, `batch_api_retired`, …
          example: VALIDATION_ERROR
        message:
          type: string
          description: >-
            Human-readable description. For a validation error it names the
            offending field.
        docs_url:
          type: string
          description: >-
            Link to this code's entry in the
            [Errors](/api-reference/introduction#errors) table.
        request_id:
          type: string
          description: >-
            Echoes the `X-Tenet-Request-Id` response header. Include it when
            reporting a problem.
          example: req_0123456789abcdef0123456789abcdef
        retry_after:
          type: integer
          description: Seconds to wait before retrying. Present only when applicable.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        A self-serve API key (sk_tenet_…, from platform.tenetlabs.com; accepted
        on /decide and /decide/stream) or an M2M token (audience
        https://sdk.tenetlabs.com; accepted everywhere). See /authentication.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.