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

# List scan runs

> List scan runs for the org



## OpenAPI

````yaml /api-reference/openapi.json get /api/v1/orgs/{orgSlug}/scans
openapi: 3.0.3
info:
  title: Tolmo API
  version: 1.0.0
  description: >-
    The Tolmo REST API. Every endpoint is scoped to one organization and
    authenticated with an API token.
servers:
  - url: https://api.tolmo.com
    description: Production
security:
  - bearerAuth: []
paths:
  /api/v1/orgs/{orgSlug}/scans:
    get:
      tags:
        - scans
      summary: List scan runs
      description: List scan runs for the org
      operationId: apiListOrgScans
      parameters:
        - schema:
            type: string
          in: query
          name: status
          required: false
        - schema:
            type: string
          in: query
          name: provider
          required: false
        - schema:
            default: 50
            type: integer
            minimum: 0
            exclusiveMinimum: true
            maximum: 50
          in: query
          name: limit
          required: false
        - schema:
            default: 0
            type: integer
            minimum: 0
            maximum: 9007199254740991
          in: query
          name: offset
          required: false
        - schema:
            type: string
          in: path
          name: orgSlug
          required: true
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  scans:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        cloudAccountId:
                          nullable: true
                          type: string
                        accountAlias:
                          nullable: true
                          type: string
                        provider:
                          nullable: true
                          type: string
                        status:
                          type: string
                        startedAt:
                          type: string
                        completedAt:
                          nullable: true
                          type: string
                        nodeCount:
                          nullable: true
                          type: number
                        edgeCount:
                          nullable: true
                          type: number
                        nodeCountDelta:
                          nullable: true
                          type: number
                        edgeCountDelta:
                          nullable: true
                          type: number
                        errorMessage:
                          nullable: true
                          type: string
                        errorKind:
                          nullable: true
                          type: string
                        workflowId:
                          nullable: true
                          type: string
                        warnings:
                          type: array
                          items:
                            type: object
                            properties:
                              scanner:
                                type: string
                              message:
                                type: string
                              code:
                                type: string
                              resourceFamily:
                                type: string
                              workItemId:
                                type: string
                              requiredScope:
                                type: string
                            required:
                              - scanner
                              - message
                            additionalProperties: false
                      required:
                        - id
                        - cloudAccountId
                        - accountAlias
                        - provider
                        - status
                        - startedAt
                        - completedAt
                        - nodeCount
                        - edgeCount
                        - nodeCountDelta
                        - edgeCountDelta
                        - errorMessage
                        - errorKind
                        - workflowId
                        - warnings
                      additionalProperties: false
                  total:
                    type: number
                required:
                  - scans
                  - total
                additionalProperties: false
        '412':
          description: Default Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HttpError'
components:
  schemas:
    HttpError:
      type: object
      properties:
        statusCode:
          type: number
        code:
          type: string
        error:
          type: string
        message:
          type: string
      title: HttpError
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        A Tolmo API token, sent as `Authorization: Bearer <token>`. Either a
        user token (`usr_tok.*`, minted by `tolmo auth login`, scoped to your
        own permissions) or an org API token created in the Tolmo app, for CI
        and automation.

````