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

# List Sites

> Lists the Sites this key can access, newest first. Account-scoped keys can access every Site in the account. Client-scoped keys can access only Sites for that Client.



## OpenAPI

````yaml /openapi/public-api-v1.json get /v1/sites
openapi: 3.0.0
info:
  title: Onsomble API
  description: >-
    Connect Onsomble to your reporting and operational workflows. Read
    discoverability results or start a Scan from another system.
  version: 1.0.0
  contact: {}
servers:
  - url: https://api.onsomble.ai
    description: Production
security:
  - apiKeyAuth: []
tags:
  - name: Sites
    description: Sites connected to your account.
  - name: Clients
    description: Clients managed by agency accounts.
  - name: Scans
    description: Scan history, status, and controls.
  - name: Reports
    description: AI discoverability results.
paths:
  /v1/sites:
    get:
      tags:
        - Sites
      summary: List Sites
      description: >-
        Lists the Sites this key can access, newest first. Account-scoped keys
        can access every Site in the account. Client-scoped keys can access only
        Sites for that Client.
      operationId: listSites
      parameters:
        - name: cursor
          required: false
          in: query
          description: Opaque cursor from the previous page. Omit for the first page.
          schema:
            type: string
        - name: limit
          required: false
          in: query
          schema:
            minimum: 1
            maximum: 100
            default: 25
            type: number
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListSitesResponseDto'
components:
  schemas:
    ListSitesResponseDto:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/SiteDto'
        nextCursor:
          type: string
          nullable: true
          description: >-
            Opaque cursor: pass back as `cursor` for the next page. Iterate
            until it is null; pages may occasionally hold fewer than `limit`
            items, so an empty or short page with a non-null cursor is not the
            end of the list.
      required:
        - data
        - nextCursor
    SiteDto:
      type: object
      properties:
        id:
          type: string
          format: uuid
        name:
          type: string
          example: Acme Retail
        url:
          type: string
          example: https://acme.example
        clientId:
          type: string
          format: uuid
          nullable: true
          description: The client this site is managed for. null for business accounts.
        createdAt:
          type: string
          example: '2026-07-01T09:30:00.000Z'
        updatedAt:
          type: string
          example: '2026-07-10T17:12:00.000Z'
      required:
        - id
        - name
        - url
        - clientId
        - createdAt
        - updatedAt
  securitySchemes:
    apiKeyAuth:
      scheme: bearer
      bearerFormat: ons_…
      type: http
      description: An API key created in Settings → Account → API Keys.

````