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

# Get a domain summary

> Returns the domain's accessibility score and band, open issue counts by severity and WCAG level, page counts, and its last scan.



## OpenAPI

````yaml /api-reference/openapi.json get /v1/domains/{slug}/summary
openapi: 3.1.0
info:
  title: ility API
  version: 1.0.0
  description: Read accessibility results and start scans in your ility workspace.
servers:
  - url: https://app.ilitylabs.com
security:
  - apiKey: []
tags:
  - name: Workspaces
  - name: Surfaces
  - name: Domains
  - name: Scans
  - name: Issues
paths:
  /v1/domains/{slug}/summary:
    get:
      tags:
        - Domains
      summary: Get a domain summary
      description: >-
        Returns the domain's accessibility score and band, open issue counts by
        severity and WCAG level, page counts, and its last scan.
      parameters:
        - schema:
            type: string
            minLength: 1
          required: true
          name: slug
          in: path
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DomainSummary'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    DomainSummary:
      type: object
      properties:
        domain_id:
          type: string
          format: uuid
        slug:
          type: string
        pages_discovered:
          type: integer
        pages_scanned:
          type: integer
        pages_unscanned:
          type: integer
        scan_count:
          type: integer
        open_count:
          type: integer
        resolved_count:
          type: integer
        total_count:
          type: integer
        wcag_open_count:
          type: integer
        best_practice_open_count:
          type: integer
        severity_breakdown:
          $ref: '#/components/schemas/SeverityBreakdown'
        status_breakdown:
          $ref: '#/components/schemas/StatusBreakdown'
        accessibility_breakdown:
          $ref: '#/components/schemas/AccessibilityBreakdown'
        last_scan:
          anyOf:
            - $ref: '#/components/schemas/DomainSummaryLastScan'
            - type: 'null'
        score:
          type:
            - integer
            - 'null'
        band:
          anyOf:
            - $ref: '#/components/schemas/ScoreBand'
            - type: 'null'
        has_blocking:
          type: boolean
        coverage:
          $ref: '#/components/schemas/DomainCoverageSummary'
      required:
        - domain_id
        - slug
        - pages_discovered
        - pages_scanned
        - pages_unscanned
        - scan_count
        - open_count
        - resolved_count
        - total_count
        - wcag_open_count
        - best_practice_open_count
        - severity_breakdown
        - status_breakdown
        - accessibility_breakdown
        - last_scan
        - score
        - band
        - has_blocking
        - coverage
    ErrorResponse:
      type: object
      properties:
        detail:
          type: string
        reason:
          type: string
      required:
        - detail
    SeverityBreakdown:
      type: object
      properties:
        critical:
          type: integer
        serious:
          type: integer
        moderate:
          type: integer
        minor:
          type: integer
      required:
        - critical
        - serious
        - moderate
        - minor
    StatusBreakdown:
      type: object
      properties:
        open:
          type: integer
        resolved:
          type: integer
        wont_fix:
          type: integer
        false_positive:
          type: integer
      required:
        - open
        - resolved
        - wont_fix
        - false_positive
    AccessibilityBreakdown:
      type: object
      properties:
        A:
          $ref: '#/components/schemas/SeverityBreakdown'
        AA:
          $ref: '#/components/schemas/SeverityBreakdown'
        AAA:
          $ref: '#/components/schemas/SeverityBreakdown'
      required:
        - A
        - AA
        - AAA
    DomainSummaryLastScan:
      type: object
      properties:
        id:
          type: string
          format: uuid
        status:
          type: string
        started_at:
          type:
            - string
            - 'null'
          format: date-time
        completed_at:
          type:
            - string
            - 'null'
          format: date-time
      required:
        - id
        - status
        - started_at
        - completed_at
    ScoreBand:
      type: string
      enum:
        - green
        - amber
        - red
    DomainCoverageSummary:
      type: object
      properties:
        covered_criteria:
          type: integer
        target_criteria:
          type: integer
        coverage_pct:
          type:
            - number
            - 'null'
        evaluated:
          type: integer
        passed:
          type: integer
        failed:
          type: integer
        needs_review:
          type: integer
        inapplicable:
          type: integer
      required:
        - covered_criteria
        - target_criteria
        - coverage_pct
        - evaluated
        - passed
        - failed
        - needs_review
        - inapplicable
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      description: >-
        An ility API key, such as `ilk_1a2b3c4d_…`. Workspace owners create keys
        under Settings → API keys.

````

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