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

# List workflows

> List your saved workflows, agents, bots and campaigns.


## OpenAPI

```yaml openapi.json get /v1/workflows
openapi: 3.1.0
info:
  title: Ocean One API
  version: 2.3.1
servers:
  - url: https://api.plungeai.com
paths:
  /v1/workflows:
    get:
      operationId: get-v1-workflows
      tags:
        - Workflows
      summary: List your saved workflows, agents, bots and campaigns
      security:
        - ozkBearer: []
      parameters:
        - name: kind
          in: query
          schema:
            type: string
            enum:
              - workflow
              - agent
              - bot
              - campaign
        - name: search
          in: query
          schema:
            type: string
            maxLength: 200
          description: "Case-insensitive name substring (plain text: % and _ are literal)"
        - name: folder
          in: query
          schema:
            type: string
            maxLength: 120
          description: Exact folder name, case-insensitive
        - name: limit
          in: query
          schema:
            type: integer
            minimum: 1
            maximum: 200
            default: 50
        - name: offset
          in: query
          schema:
            type: integer
            minimum: 0
            default: 0
      responses:
        "200":
          description: Your workflows, newest update first Response format negotiates via the `format` field, an Accept header (application/json, text/yaml, text/markdown, text/plain), or the request Content-Type mirror; default JSON.
          content:
            application/json:
              schema:
                type: object
                properties:
                  workflows:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        name:
                          type: string
                        kind:
                          type: string
                          enum:
                            - workflow
                            - agent
                            - bot
                            - campaign
                        description:
                          type:
                            - string
                            - "null"
                        folder:
                          type:
                            - string
                            - "null"
                          description: The folder name, or null when unfiled
                        updated_at:
                          type: integer
                          description: Unix seconds
                        version:
                          type:
                            - integer
                            - "null"
                          description: Number of the current saved version; null until a version is saved
                  total:
                    type: integer
                  limit:
                    type: integer
                  offset:
                    type: integer
                  has_more:
                    type: boolean
            text/yaml:
              schema:
                type: string
            text/markdown:
              schema:
                type: string
            text/plain:
              schema:
                type: string
        "400":
          description: invalid_format — format must be one of json, yaml, markdown, text
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: unauthorized — missing, invalid or revoked ozk_ key
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: "not_found — no route for this method on this path: every other method answers it"
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "422":
          description: invalid_params — kind, limit or offset is malformed
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "502":
          description: storage_error — the database or storage layer failed; no detail is returned, retry
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
components:
  schemas:
    Error:
      type: object
      description: Standard error envelope. Every error response also carries an `X-Error-Code` response header equal to error.code, so a client branches on the header regardless of the negotiated body format (json | yaml | markdown | text). When the request created an execution, the `X-Execution-Id` response header is also set. Errors follow the negotiated format like success bodies.
      properties:
        error:
          type: object
          properties:
            code:
              type: string
            message:
              type: string
            connect:
              type: object
              description: "On a 424 connection_required / credential_required: where the missing connection is made."
              properties:
                provider:
                  type: string
                method:
                  type: string
                  enum:
                    - oauth
                    - api_key
                    - wallet
                link:
                  type: string
                  example: POST /v1/connections/stripe/link
          required:
            - code
            - message
          additionalProperties: true
      required:
        - error
  securitySchemes:
    ozkBearer:
      type: http
      scheme: bearer
      description: "ozk_ platform API key (Authorization: Bearer ozk_…)"
```
