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

# Get Active Workflow Detail

> Get the latest published workflow detail, including steps and connectors. Use step IDs or workflow_step_group_id values as input keys.



## OpenAPI

````yaml get /external/workflows/{group_id}/active
openapi: 3.1.0
info:
  title: Shieldbase External API
  description: Public API for Shieldbase AI integration
  version: 1.0.0
servers:
  - url: https://api.shieldbase.ai
    description: Production
  - url: http://localhost:8000
    description: Development
security:
  - ClientID: []
    APIKey: []
    Secret: []
paths:
  /external/workflows/{group_id}/active:
    get:
      tags:
        - Workflows
      summary: Get Active Workflow Detail
      description: >-
        Get the latest published workflow detail, including steps and
        connectors. Use step IDs or workflow_step_group_id values as input keys.
      parameters:
        - $ref: '#/components/parameters/TenantID'
        - name: group_id
          in: path
          required: true
          description: Stable group_id from GET /external/workflows
          schema:
            type: string
      responses:
        '200':
          description: Latest published workflow detail
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: string
                      workflow_id:
                        type: string
                      group_id:
                        type: string
                      title:
                        type: string
                      description:
                        type: string
                      version:
                        type: integer
                      first_step_id:
                        type: string
                      steps:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                            workflow_step_group_id:
                              type: string
                            type:
                              type: string
                            user_input:
                              type:
                                - string
                                - 'null'
                            data:
                              type: object
                              additionalProperties: true
                      connectors:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                            source_id:
                              type: string
                            target_id:
                              type: string
                            source_step_group_id:
                              type: string
                            target_step_group_id:
                              type: string
        '403':
          description: Invalid credentials or workflow access denied
        '404':
          description: No active published workflow found
components:
  parameters:
    TenantID:
      name: X-Tenant-ID
      in: header
      required: false
      description: >-
        Optional tenant selector for multitenant accounts. The API key owner
        must have access to the selected tenant.
      schema:
        type: string
  securitySchemes:
    ClientID:
      type: apiKey
      in: header
      name: X-Client-ID
    APIKey:
      type: apiKey
      in: header
      name: X-API-Key
    Secret:
      type: apiKey
      in: header
      name: X-Secret

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.