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

# Get Scan Details

> Retrieves full results and status of a specific scan by its request ID.



## OpenAPI

````yaml get /api/v1/scans/{reqid}
openapi: 3.0.3
info:
  title: OneFirewall Offensive Security API
  description: >-
    API endpoints for the Vulnix Scanner, user management, and configuration.


    ## Authentication


    Authentication is handled via API keys. You must include your key in the
    `api-key` header with every request.


    - **Header**: `api-key: {your-api-key}`

    - **Key Format**: A single secret string provided upon creation.


    ## Organization Context


    For endpoints requiring an organization context (like scanning), you can
    specify your organization ID:


    - **Header**: `X-Org-Id: {your-org-id}`

    - **Query Parameter**: `?org_id={your-org-id}`


    If not provided, the request will use your default organization.
  version: 1.0.0
servers:
  - url: https://vulnix0.com
    description: Production server
security:
  - apiKeyAuth: []
paths:
  /api/v1/scans/{reqid}:
    get:
      tags:
        - Scan Management
      summary: Get Scan Details
      description: Retrieves full results and status of a specific scan by its request ID.
      parameters:
        - name: reqid
          in: path
          required: true
          description: Unique scan request ID (UUID)
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: Detailed scan results
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    enum:
                      - pending
                      - running
                      - completed
                      - failed
                  data:
                    type: object
                    description: Full scan output
              examples:
                completedScan:
                  summary: A completed scan with findings
                  value:
                    reqid: f7a358e2-e8df-442b-9769-2f7455d983c6
                    status: completed
                    target: grok.com
                    data:
                      summary:
                        total_vulnerabilities: 2
                        high: 1
                        medium: 1
        '404':
          description: Scan not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    ErrorResponse:
      type: object
      properties:
        status:
          type: string
          example: error
        error:
          type: string
          example: Error message description
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: api-key
      description: A unique API Key.

````