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

# Get all scripts

> Retrieves a paginated list of scripts for the current organization



## OpenAPI

````yaml /api-reference/openapi.json get /v1/scripts
openapi: 3.1.0
info:
  title: Skyvern API
  description: API for Skyvern
  version: 1.0.0
servers:
  - url: https://api.skyvern.com
    x-fern-server-name: Cloud
  - url: https://api-staging.skyvern.com
    x-fern-server-name: Staging
  - url: http://localhost:8000
    x-fern-server-name: Local
security: []
paths:
  /v1/scripts:
    get:
      tags:
        - Scripts
      summary: Get all scripts
      description: Retrieves a paginated list of scripts for the current organization
      operationId: get_scripts_v1_scripts_get
      parameters:
        - name: page
          in: query
          required: false
          schema:
            type: integer
            minimum: 1
            description: Page number for pagination
            examples:
              - 1
            default: 1
            title: Page
          description: Page number for pagination
        - name: page_size
          in: query
          required: false
          schema:
            type: integer
            minimum: 1
            description: Number of items per page
            examples:
              - 10
            default: 10
            title: Page Size
          description: Number of items per page
        - name: x-api-key
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: >-
              Skyvern API key for authentication. API key can be found at
              https://app.skyvern.com/settings.
            title: X-Api-Key
          description: >-
            Skyvern API key for authentication. API key can be found at
            https://app.skyvern.com/settings.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Script'
                title: Response Get Scripts V1 Scripts Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    Script:
      properties:
        script_revision_id:
          type: string
          title: Script Revision Id
          description: Unique identifier for this specific script revision
        script_id:
          type: string
          title: Script Id
          description: User-facing script identifier, consistent across versions
        organization_id:
          type: string
          title: Organization Id
          description: ID of the organization that owns this script
        run_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Run Id
          description: ID of the workflow run or task run that generated this script
        version:
          type: integer
          title: Version
          description: Version number of the script
        created_at:
          type: string
          format: date-time
          title: Created At
          description: Timestamp when the script was created
        modified_at:
          type: string
          format: date-time
          title: Modified At
          description: Timestamp when the script was last modified
        deleted_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Deleted At
          description: Timestamp when the script was soft deleted
      type: object
      required:
        - script_revision_id
        - script_id
        - organization_id
        - version
        - created_at
        - modified_at
      title: Script
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````