Enrich course waypoints
enrich_course_waypointsAdd structured aid stations, checkpoints, cutoffs, and canonical resources to a CRSProf artifact that lacks them. Before enriching, inspect whether the imported source already contains GPX/CRSProf waypoints; if it already contains GPX/CRSProf waypoints, avoid duplicate Start/Finish/aid stations and prefer merging/updating resources, cutoffs, notes, or links on existing waypoint metadata. Prefer waypoints.mode=structured; put non-canonical/free-text aid details in notes/source text because unsupported resource strings are ignored with warnings. Route-only plans should be labeled incomplete unless the CRSProf already includes official waypoints/resources/cutoffs or the user explicitly accepts missing aid/resource details.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| waypoints | Yes | ||
| crsprof_artifact_id | Yes | CRSProf artifact ID returned by import_course or get_artifact. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| errors | No | ||
| job_id | Yes | CourseProfiler job ID to poll with get_job. | |
| status | Yes | Job status, e.g. queued, running, succeeded, or failed. | |
| progress | No | ||
| warnings | No | ||
| created_at | No | ISO-8601 creation timestamp. | |
| expires_at | No | ISO-8601 expiration timestamp. | |
| started_at | No | ISO-8601 start timestamp, when available. | |
| status_url | No | Relative API URL for polling this job. | |
| completed_at | No | ISO-8601 completion timestamp, when available. | |
| result_artifacts | No | Artifacts produced by the job, including role metadata. |