> ## 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.

# List websites

> List every website the caller can see. A site-bound key sees only its own website.

Returns the websites on the account, with each one's switches (`enabled`, `shadow`, `card_enabled`), the held-back share (`holdout_pct`) and its install state (`deployed`, `connected`). A key bound to one website returns a list of one.


## OpenAPI

````yaml openapi.json GET /sdk
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:
    get:
      summary: List websites
      responses:
        '200':
          description: Sites
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Site'
        '401':
          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

````