get
/api/v2/zones/segments/{id}
Python SDK method:
client.road_segments.create(id=job_id).results()

Get road segments results

Returns paginated GeoJSON features for the road segments identified by a completed road segments job. Each feature's properties contain segment metadata (road name, road type, speed limit) and the matched zone IDs.

Altitude Help Center — getRoadSegments

Input Parameters

NameLocationTypeValuesDescriptionValue Required
idpathstring-Unique resource identifier.Y
pageTokenquerystring-Pagination token returned in the Link header of a previous response. Omit to fetch the first page.N

Success Responses

200 response: object

Paginated result data. When more pages are available, a Link: rel="next" header and Altitude-* pagination headers are included in the response.

NameTypeDescription
bboxarray<number (double)>Bounding box [west, south, east, north].
geometryobjectGeoJSON geometry object representing the zone boundary.
propertiesobjectZone metadata object containing the zone's identity, type, display name, and type-specific details.
typestringAlways "Feature".

Response Errors

HTTP Status CodeReason
400The request body or parameters are invalid.
401Authentication is required or the provided credentials are invalid.
403The authenticated user lacks permission to perform this operation.
404The requested resource does not exist.
409Result not yet ready. Poll the status monitor.
429The request rate limit has been exceeded.
500An unexpected server error occurred.