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

# List schema

> Retrieve all tasks in a GBG GO journey instance along with their schemas in a single call. Deprecated.



## OpenAPI

````yaml docs/go-v2/openapi-v2.json POST /journey/task/list/schema
openapi: 3.0.4
info:
  title: GBG GO API Reference V2
  description: >-
    The GBG GO V2 API enables authentication, customer journey execution, task
    management, and tracking verification progress.
  version: 2.0.0
  license:
    name: MIT
servers:
  - url: https://eu.platform.go.gbgplc.com/v2/captain/
  - url: https://us.platform.go.gbgplc.com/v2/captain/
  - url: https://au.platform.go.gbgplc.com/v2/captain/
  - url: https://api.auth.gbgplc.com/as/token.oauth2
security:
  - bearerAuth: []
paths:
  /journey/task/list/schema:
    post:
      summary: List schema
      description: >-
        Fetch all currently active tasks along with their corresponding JSON
        schema. This allows you to see the expected input fields for each task
        in a single API call.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                instanceId:
                  type: string
                  description: Unique identifier for the journey instance.
                  example: PiIuACmx8Q8R7qPnAkLAqBAT
              required:
                - instanceId
      responses:
        '201':
          description: Successfully retrieved tasks and schemas.
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    enum:
                      - Completed
                      - InProgress
                      - Failed
                      - Paused
                    default: InProgress
                    description: Current status of the journey instance.
                  instanceId:
                    type: string
                    description: Unique identifier for the active journey instance.
                  tasks:
                    type: array
                    items:
                      type: object
                      properties:
                        taskId:
                          type: string
                          description: Unique identifier for the task.
                        variantId:
                          type: string
                          description: Identifier for the task variant.
                        schema:
                          type: object
                          properties:
                            $ref: 72146a98-5835-4706-a03c-ad5d1ec4e155
                          required:
                            - $ref
                      required:
                        - taskId
                        - schema
                  schemas:
                    type: object
                    description: List of schemas for tasks.
                    properties:
                      dynamicObject:
                        type: object
                    required:
                      - dynamicObject
                required:
                  - instanceId
                  - status
                  - tasks
                  - schemas
      deprecated: true
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````