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

# List latest run trajectory

> Lists enriched agent trajectory records for the latest assessment-owned run.



## OpenAPI

````yaml /api-reference/risk-assessment-agents.json get /assessments/{assessmentId}/trajectory
openapi: 3.0.0
info:
  title: Minerva Agent Risk Assessments API
  version: 0.1.0-beta
  description: >-
    Beta customer API for creating, running, steering, reviewing, and concluding
    agent-driven risk assessments.
servers:
  - url: https://api.gominerva.com/risk-assessments/v2
    description: Central Minerva API route for beta agent risk assessment endpoints
security:
  - ApplicationApiKeyAuth: []
tags:
  - name: Configuration
    description: Workflow, status, and scorecard discovery.
  - name: Assessments
    description: Assessment lifecycle endpoints.
  - name: Review And Collaboration
    description: Comments, tasks, notes, questions, and confirmations.
  - name: Relationships Canvas
    description: Relationship canvas read and write endpoints.
  - name: Agent Runtime
    description: Run, trajectory, command, input, steering, and resume endpoints.
paths:
  /assessments/{assessmentId}/trajectory:
    get:
      tags:
        - Agent Runtime
      summary: List latest run trajectory
      description: >-
        Lists enriched agent trajectory records for the latest assessment-owned
        run.
      operationId: listLatestRiskAssessmentTrajectory
      parameters:
        - $ref: '#/components/parameters/AssessmentId'
        - $ref: '#/components/parameters/AfterSequence'
        - $ref: '#/components/parameters/Limit'
        - $ref: '#/components/parameters/Cursor'
        - $ref: '#/components/parameters/SortDirection'
      responses:
        '200':
          $ref: '#/components/responses/OkEnvelope'
        '401':
          $ref: '#/components/responses/ErrorEnvelope'
        '404':
          $ref: '#/components/responses/ErrorEnvelope'
        '500':
          $ref: '#/components/responses/ErrorEnvelope'
components:
  parameters:
    AssessmentId:
      name: assessmentId
      in: path
      required: true
      schema:
        type: string
      description: Risk assessment id.
    AfterSequence:
      name: after_sequence
      in: query
      schema:
        type: integer
        default: 0
      description: Only return trajectory records after this sequence.
    Limit:
      name: limit
      in: query
      schema:
        type: integer
        default: 50
      description: Maximum records to return.
    Cursor:
      name: cursor
      in: query
      schema:
        type: string
      description: Opaque pagination cursor from result.pagination.next_cursor.
    SortDirection:
      name: sort_direction
      in: query
      schema:
        type: string
        enum:
          - asc
          - desc
      description: Sort direction.
  responses:
    OkEnvelope:
      description: OK
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Envelope'
    ErrorEnvelope:
      description: Error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
  schemas:
    Envelope:
      type: object
      properties:
        status:
          type: integer
          example: 200
        msg:
          type: string
          example: OK
        result:
          $ref: '#/components/schemas/GenericObject'
      required:
        - status
        - msg
        - result
    ErrorEnvelope:
      type: object
      properties:
        status:
          type: integer
          example: 400
        msg:
          type: string
          example: Bad Request
        error:
          type: string
      required:
        - status
        - msg
    GenericObject:
      type: object
      additionalProperties: true
  securitySchemes:
    ApplicationApiKeyAuth:
      type: apiKey
      in: header
      name: Authorization
      description: Use the format `Api-Key YOUR_API_KEY`.

````