---
title: "Create Markers"
method: POST
path: "/trajectories/{name}/markers"
tags: ["Trajectory"]
---

# Create Markers

`POST /trajectories/{name}/markers`

Adds visual markers along a trajectory.

## Path parameters

- `name` string, required — Name of the trajectory to add markers to

## Request body

- TrajectoryMarker
  - `prim` union, required
    - GizmoPrim
      - `type` 'gizmo', required — Use gizmo marker
    - CustomPrim
      - `type` 'custom', required — Use a custom USD prim as marker
      - `custom_prim_path` string, required — Path to the custom USD prim
  - `poses` array[] — List of cartesian poses to places markers at (example: triangle corners)
    - number[]

## Response `204`

Successful Response

## Other responses

- `404` — Trajectory not found
- `422` — Validation Error
- `500` — Unable to create trajectory markers

---

[API](https://skmtc.net/wandelbotsgmbh/apis/wandelbots-nova-isaac-sim-extension-api.md) · [All operations](https://skmtc.net/wandelbotsgmbh/apis/wandelbots-nova-isaac-sim-extension-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/wandelbotsgmbh/wandelbots-nova-isaac-sim-extension-api/revisions/a0efd7dad77c/schema)
