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

# List Workflow Connections

> List the project's workflow piece connections (credentials).

Lets a caller verify whether a connection exists and its live status
instead of inferring it from a step's `valid` flag.



## OpenAPI

````yaml /api-reference/openapi.json get /v1/workflow/connections
openapi: 3.1.0
info:
  title: Diga API
  version: 0.1.0
servers:
  - url: https://api.diga.io
    description: Production
security: []
paths:
  /v1/workflow/connections:
    get:
      tags:
        - Workflows
      summary: List Workflow Connections
      description: |-
        List the project's workflow piece connections (credentials).

        Lets a caller verify whether a connection exists and its live status
        instead of inferring it from a step's `valid` flag.
      operationId: list_workflow_connections_v1_workflow_connections_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/WorkflowConnectionResponse'
                type: array
                title: Response List Workflow Connections V1 Workflow Connections Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - CustomHTTPBearer: []
components:
  schemas:
    WorkflowConnectionResponse:
      properties:
        id:
          type: string
          title: Id
          description: Referenced inside a step as {{connections['<id>']}}
        display_name:
          type: string
          title: Display Name
        piece_name:
          type: string
          title: Piece Name
        status:
          type: string
          title: Status
          description: ACTIVE | ERROR. A missing connection is absent from the response.
      type: object
      required:
        - id
        - display_name
        - piece_name
        - status
      title: WorkflowConnectionResponse
      description: A workflow piece connection (credential).
    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
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    CustomHTTPBearer:
      type: http
      scheme: bearer

````