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

# Browse the journey catalogue

> List the charging journey templates, packs and custom journeys available for a target, with the OCPI versions each one supports.



## OpenAPI

````yaml /openapi/public-api.json get /testing/journeys
openapi: 3.1.0
info:
  title: ChargerDojo public API
  version: 1.0.0
  description: >-
    Automate ChargerDojo with a cdojo_ API key: register partner endpoints, run
    conformance suites and charging journeys, and read the graded reports.
servers:
  - url: https://chargerdojo.com/api/v1
security:
  - apiKey: []
tags:
  - name: Connections
  - name: Testing
  - name: Reports
  - name: Usage
  - name: Journeys
paths:
  /testing/journeys:
    get:
      tags:
        - Journeys
      summary: Browse the journey catalogue for a target
      description: >-
        List the charging journey templates, packs and custom journeys available
        for a target, with the OCPI versions each one supports.
      operationId: journeys_get_journeys
      parameters:
        - name: targetId
          in: query
          required: false
          description: >-
            An owned connection id. When present, return only journeys runnable
            for it.
          schema:
            type: string
            pattern: ^[a-fA-F0-9]{24}$
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/JourneyCatalogue'
        '400':
          description: Malformed input
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not found, or owned by another account
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - apiKey: []
components:
  schemas:
    JourneyCatalogue:
      type: object
      required:
        - success
        - data
      properties:
        success:
          type: boolean
        data:
          type: object
          required:
            - templates
          properties:
            packs:
              type: array
              items:
                type: object
            scenarios:
              type: array
              items:
                type: object
            templates:
              type: array
              items:
                type: object
                required:
                  - id
                  - name
                  - supportedVersions
                  - stages
                properties:
                  id:
                    type: string
                  name:
                    type: string
                  outcome:
                    type: string
                  supportedVersions:
                    type: array
                    items:
                      type: string
                  stages:
                    type: array
                    items:
                      type: object
        meta:
          type: object
          description: Paging, on the operations that return a list.
          properties:
            limit:
              type: integer
            skip:
              type: integer
            nextCursor:
              type: string
          additionalProperties: true
    Error:
      type: object
      required:
        - success
        - message
      properties:
        success:
          type: boolean
          enum:
            - false
        message:
          type: string
        status:
          type: string
          enum:
            - error
        code:
          type: string
        timestamp:
          type: string
          format: date-time
        capability:
          type: string
          enum:
            - external-endpoints
            - ci-handoff
            - saved-presets
            - load-testing
            - direct-payment
            - bookings
            - scheduled-runs
        limit:
          type: object
          required:
            - id
            - used
            - cap
          properties:
            id:
              type: string
              enum:
                - connections
                - run-concurrency
            used:
              type: integer
            cap:
              type: integer
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      description: A cdojo_... API key created in the app under Settings.

````