Skip to main content

Edit Trajectory

Update an existing trajectory. You can change its name, replace the survey points, or update the survey programs for actual trajectories.

All fields are optional — only include what you want to change.

PATCH/api/v1/designs/{designid}/trajectories/{trajectoryid}

Modify an existing trajectory's name, points, or survey programs

Path Parameters

NameTypeRequiredDescription
designidstring (UUID)The UUID of the design
trajectoryidstring (UUID)The UUID of the trajectory to update

Headers

NameValueDescription
apikeyYOUR_API_KEYYour API authentication key
Content-Typeapplication/jsonMust be application/json

Request Body

Fields to update on the trajectory

Request body fields

All fields are optional — include only what you want to change.

FieldTypeDescription
namestringNew display name
trajectoryPointsobjectReplacement survey points (planned trajectories only)
surveyProgramsarrayUpdated survey program references (actual trajectories only)

Important constraints

RuleDetails
Cannot mix points and programsA single request must use either trajectoryPoints or surveyPrograms, never both
Actual trajectoriesCannot update trajectoryPoints directly — use surveyPrograms to change which survey runs are included
Planned trajectoriesCannot use surveyPrograms — use trajectoryPoints to update the well path

Notes

  • When you update trajectoryPoints, the entire point set is replaced (not merged)
  • When you update surveyPrograms, the trajectory is recalculated from the referenced survey runs
  • Renaming a trajectory (changing name only) does not affect the survey data