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

# Preview a journey plan

> Compile a journey into a runnable plan and persist it without executing, so you can review the stages and preflight before starting a run.



## OpenAPI

````yaml /openapi/public-api.json post /testing/journeys/preview
openapi: 3.1.0
info:
  title: EV Roaming Tester public API
  version: 1.0.0
  description: >-
    Automate EV Roaming Tester with an evrt_ API key: register partner
    connections, run conformance suites and charging journeys, and read the
    graded reports.
servers:
  - url: https://evsim.synergyboat.com/api/v1
security:
  - apiKey: []
tags:
  - name: Connections
  - name: Testing
  - name: Reports
  - name: Usage
  - name: Journeys
paths:
  /testing/journeys/preview:
    post:
      tags:
        - Journeys
      summary: Compile and persist a journey plan without executing it
      description: >-
        Compile a journey into a runnable plan and persist it without executing,
        so you can review the stages and preflight before starting a run.
      operationId: journeys_post_journeys_preview
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/JourneyPreview'
        '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'
      security:
        - apiKey: []
components:
  schemas:
    JourneyPreview:
      type: object
      required:
        - success
        - data
      properties:
        success:
          type: boolean
        data:
          type: object
          required:
            - planId
            - planHash
            - runAllowed
            - plan
          properties:
            planId:
              type: string
            planHash:
              type: string
            expiresInSeconds:
              type: integer
            runAllowed:
              type: boolean
            plan:
              type: object
              description: Compiled plan summary with stages and preflight.
    Error:
      type: object
      required:
        - success
        - message
      properties:
        success:
          type: boolean
          enum:
            - false
        message:
          type: string
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      description: An evrt_... API key created in the app under Settings.

````