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

# Preview Selected-Page Audit

> Count which selected pages an SEO audit would run and which it would skip, without queueing it.

Read-only. Send `teamId` and a `selection` (`{ mode: "ids", ids }` or `{ mode: "all", filters, excludedIds }`), the same selection `POST /v3/seo-audit` accepts to audit selected pages. Returns `eligibility` (`{ selected, eligible, skipped, byReason }`) and `units` (pages that would use a page audit). Nothing is queued and no page audits are used. Pages are skipped when they are already being audited or fall outside the site's audit scope.


## OpenAPI

````yaml POST /v3/seo-audit/selection-preview
openapi: 3.0.0
info:
  title: SnowSEO API
  description: API documentation for SnowSEO
  version: 1.0.0
servers:
  - url: https://api.snowseo.com
    description: Production server
security:
  - bearerAuth: []
  - apiKey: []
externalDocs:
  url: https://snowseo.com/docs
  description: Find more info here
paths:
  /v3/seo-audit/selection-preview:
    post:
      tags:
        - SEO Audit
      summary: Preview an audit of selected pages
      description: >-
        Counts which of the selected pages an SEO audit would run and which it
        would skip (already running, out of scope), without queueing anything or
        using page audits. Read-only.
      operationId: previewSeoAuditSelection
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - teamId
                - selection
              properties:
                teamId:
                  type: string
                  description: SnowSEO team ID, as returned by list_teams.
                selection:
                  oneOf:
                    - type: object
                      required:
                        - mode
                        - ids
                      additionalProperties: false
                      properties:
                        mode:
                          type: string
                          enum:
                            - ids
                        ids:
                          type: array
                          items:
                            type: string
                    - type: object
                      required:
                        - mode
                        - filters
                        - excludedIds
                      additionalProperties: false
                      properties:
                        mode:
                          type: string
                          enum:
                            - all
                        filters:
                          type: object
                          properties:
                            search:
                              type: string
                            excluded:
                              type: string
                              enum:
                                - all
                                - included
                                - excluded
                            omitUrls:
                              type: array
                              items:
                                type: string
                            issueIds:
                              type: array
                              items:
                                type: string
                            geoAudited:
                              type: boolean
                        excludedIds:
                          type: array
                          items:
                            type: string
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                properties:
                  eligibility:
                    type: object
                    required:
                      - selected
                      - eligible
                      - skipped
                      - byReason
                    properties:
                      selected:
                        type: number
                      eligible:
                        type: number
                      skipped:
                        type: number
                      byReason:
                        type: object
                        additionalProperties:
                          type: number
                  units:
                    type: number
        '400':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                properties:
                  success:
                    type: boolean
                  error:
                    type: string
                  code:
                    type: string
                  message:
                    type: string
                  reference:
                    type: string
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Your SnowSEO API key (sk_...).
    apiKey:
      type: apiKey
      name: x-api-key
      in: header

````

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