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

# Read a website

> Read one website with its switches and state.

Returns the site. `shadow: true` means messages are off (watch mode). `state.connected` is true once a visit has arrived from the storefront.


## OpenAPI

````yaml openapi.json GET /sdk/{id}
openapi: 3.1.0
info:
  title: NextIntent API
  version: 1.0.0
  description: >-
    Websites, switches, the facts sheet and API keys, per account. Authenticate
    with an API key (ni_live_...) or a console session as a Bearer token. A key
    is account-wide or bound to one website; a bound key sees only that website
    and cannot create or delete websites.
servers:
  - url: https://api.nextintent.ai/v1
security:
  - bearer: []
paths:
  /sdk/{id}:
    get:
      summary: Read a website
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
          description: The website id
      responses:
        '200':
          description: Site
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Site'
        '404':
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Site:
      type: object
      properties:
        _id:
          type: string
        name:
          type: string
        host:
          type: string
        enabled:
          type: boolean
        shadow:
          type: boolean
          description: true = messages off
        card_enabled:
          type: boolean
        holdout_pct:
          type: number
          description: share of stuck shoppers held back to compare, 0.05 to 0.5
        vertical:
          type: string
          nullable: true
        state:
          type: object
          properties:
            deployed:
              type: boolean
            connected:
              type: boolean
    Error:
      type: object
      properties:
        error:
          type: string
  securitySchemes:
    bearer:
      type: http
      scheme: bearer

````