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

# List automations

> Every automation this workspace has, in the order the catalogue shows them.



## OpenAPI

````yaml /openapi.json get /api/automations
openapi: 3.1.0
info:
  title: Workspace API
  version: 1.0.0
  description: >-
    Every workspace answers these endpoints. Nothing is registered and nothing
    is switched on: an automation that appears in your Automations tab is
    already readable here.


    The base URL is your workspace's own. Ask the agent for it, or find it under
    Settings → API on the workspace. It is stable and never changes.


    Every call carries your workspace's API key, as `Authorization: Bearer
    <key>` or in the `x-desert-api-key` header. The key is on the same settings
    page as the URL, and generating a new one there revokes the old one
    immediately.
servers:
  - url: https://www.rundesert.com/p/{workspaceId}
    description: Your workspace's public API
    variables:
      workspaceId:
        default: px_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
        description: >-
          The id in your workspace's public URL. It is the address, not the
          credential — the API key is what authorises the call.
security:
  - bearerAuth: []
  - apiKeyHeader: []
tags:
  - name: Automations
    description: What this workspace can do.
  - name: Runs
    description: What it has done, and what came out.
  - name: Files
    description: Downloading what an automation produced.
  - name: Custom endpoints
    description: Anything else your agent wrote.
paths:
  /api/automations:
    get:
      tags:
        - Automations
      summary: List automations
      description: >-
        Every automation this workspace has, in the order the catalogue shows
        them.
      operationId: listAutomations
      responses:
        '200':
          description: The catalogue.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Automation'
              example:
                - id: invoice-extract
                  name: Invoice Extractor
                  summary: >-
                    Reads an invoice and pulls out the supplier, the amount and
                    the due date.
                  triggers:
                    - type: manual
                      label: Upload an invoice
        '401':
          $ref: '#/components/responses/Unauthorized'
        '429':
          $ref: '#/components/responses/RateLimited'
components:
  schemas:
    Automation:
      type: object
      properties:
        id:
          type: string
          description: Use this in every other path.
        name:
          type: string
          description: What it is called in the app.
        summary:
          type: string
          description: One line on what it does.
        triggers:
          type: array
          description: >-
            What sets it off. `manual` means only a person or this API starts
            it.
          items:
            type: object
            properties:
              type:
                type: string
                enum:
                  - manual
                  - schedule
                  - webhook
                  - email
              label:
                type: string
      required:
        - id
        - name
    Error:
      type: object
      properties:
        error:
          type: string
        detail:
          type: string
  responses:
    Unauthorized:
      description: >-
        The API key was missing or wrong. Check Settings → API for the current
        one — generating a new key there stops the old one working immediately.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: unauthorized
    RateLimited:
      description: >-
        600 requests a minute across the whole workspace, shared with anyone
        loading its pages. Wait and try again.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: rate limited
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Your workspace's API key, from Settings → API. Sent as `Authorization:
        Bearer dk_...`.
    apiKeyHeader:
      type: apiKey
      in: header
      name: x-desert-api-key
      description: >-
        The same key, for callers whose `Authorization` header is already spoken
        for by their own auth. Send one form or the other, not both.

````