> ## 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.

# List User Scans

> Retrieves a list of all scans initiated by the authenticated user.



## OpenAPI

````yaml get /api/v1/scans
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:
    get:
      tags:
        - Scan Management
      summary: List User Scans
      description: Retrieves a list of all scans initiated by the authenticated user.
      responses:
        '200':
          description: List of user scans
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/LightScan'
              examples:
                listOfScans:
                  summary: Example list of user scans
                  value:
                    - reqid: 95e201b5-93bf-4218-8b96-6fb23b8874d3
                      status: running
                      target: grok.com
                      created_at: '2025-10-13T03:29:31.349Z'
                      updated_at: '2025-10-13T03:29:31.368Z'
                    - reqid: f7a358e2-e8df-442b-9769-2f7455d983c6
                      status: completed
                      target: grok.com
                      created_at: '2025-10-13T03:18:48.945Z'
                      updated_at: '2025-10-13T03:28:22.777Z'
components:
  schemas:
    LightScan:
      type: object
      properties:
        reqid:
          type: string
          format: uuid
        status:
          type: string
          enum:
            - pending
            - running
            - completed
            - failed
        target:
          type: string
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: api-key
      description: A unique API Key.

````