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

# Get one scan

> One of your scans with its status. Another account's scan is not found.



## OpenAPI

````yaml /api-reference/openapi.yaml get /scans/{scan_id}
openapi: 3.0.3
info:
  title: validate.al API
  description: >-
    Email validation, security scanning and account management, all at
    https://api.validate.al.
  version: '1.0'
servers:
  - url: https://api.validate.al/v1
security:
  - ApiKeyAuth: []
tags:
  - name: Email validation
  - name: Scanning
  - name: Account
  - name: Health
paths:
  /scans/{scan_id}:
    get:
      tags:
        - Scanning
      summary: Get one scan
      description: One of your scans with its status. Another account's scan is not found.
      operationId: getScan
      parameters:
        - name: scan_id
          in: path
          required: true
          schema:
            type: integer
      responses:
        '200':
          description: The scan.
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/ScanSummary'
                  - type: object
                    properties:
                      updated_at:
                        type: string
                        format: date-time
                        nullable: true
        '404':
          description: Scan not found or not yours.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    ScanSummary:
      type: object
      properties:
        id:
          type: integer
          example: 42
        target:
          type: string
          example: example.com
        scan_type:
          type: string
          enum:
            - webapp
            - dns-auth
            - ip
        status:
          type: string
          enum:
            - pending
            - in_progress
            - completed
            - failed
            - cancelled
        has_report:
          type: boolean
        summary:
          type: string
          nullable: true
          description: Human-readable findings summary
        created_at:
          type: string
          format: date-time
          nullable: true
    Error:
      description: Errors from scanning and account endpoints.
      type: object
      properties:
        detail:
          type: string
          description: Error message
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: Your validate.al API key, from the portal (Settings → API Key).

````

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