{"openapi":"3.1.0","info":{"title":"Mapillary (BYOK) API","version":"0.1.0","description":"Mapillary (BYOK) lets an AI assistant read your own Mapillary data through the Mapillary API with a key you supply (Mapillary client access token). Read-only: 9 tools (find_images_near_point, search_images_in_area, list_images_by_creator, get_image, search_map_features, get_map_feature, list_sequence_images, get_image_detections, get_organization). The BYOK key travels with each request, is used...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-mapillary.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-mapillary/docs"},"termsOfService":"https://connectorbay.com/byok-mapillary/terms"},"servers":[{"url":"https://byok-mapillary.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-mapillary/docs"},"security":[{"upstreamKey":[]}],"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","description":"Optional. A Pro API key raises rate limits; no credentials are required."},"upstreamKey":{"type":"apiKey","in":"header","name":"X-Upstream-Key","description":"Your own key for the service this connector wraps (bring your own key). Used for that one call only; never stored, logged or cached."}},"schemas":{"Error":{"type":"object","properties":{"ok":{"const":false},"error":{"type":"object"}}}}},"paths":{"/v1/tools/find_images_near_point":{"post":{"operationId":"find_images_near_point","summary":"Find the best street-level images within 50 metres of a coordinate: the choice balances distance, recency and 360-degree","description":"Find the best street-level images within 50 metres of a coordinate: the choice balances distance, recency and 360-degree images. Returns id, capture time, compass angle, location and a thumbnail URL. Use for \"Is there a Mapillary photo near latitude 52.52, longitude 13.405\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"lat":{"description":"Latitude of the centre point.","maximum":90,"minimum":-90,"title":"Lat","type":"number"},"lng":{"description":"Longitude of the centre point.","maximum":180,"minimum":-180,"title":"Lng","type":"number"},"radius":{"anyOf":[{"maximum":50,"minimum":1,"type":"number"},{"type":"null"}],"default":50,"description":"Search radius in metres, at most 50 (default 50).","title":"Radius"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"How many images to return (1 to 100, default 1).","title":"Limit"},"fields":{"anyOf":[{"maxLength":300,"type":"string"},{"type":"null"}],"default":"id,captured_at,compass_angle,geometry,is_pano,sequence,thumb_1024_url,creator","description":"Comma-separated image fields to return. See the Mapillary API documentation for the field names.","title":"Fields"}},"required":["lat","lng"],"title":"find_images_near_pointArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/search_images_in_area":{"post":{"operationId":"search_images_in_area","summary":"List street-level images inside a small bounding box, optionally for a capture period, panoramas only, or one camera mak","description":"List street-level images inside a small bounding box, optionally for a capture period, panoramas only, or one camera make. The box must be smaller than 0.01 degrees square. Use for \"Which Mapillary images were captured in this part of Malmo in 2025\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"bbox":{"description":"Bounding box as 'min_lon,min_lat,max_lon,max_lat'; its area must be smaller than 0.01 degrees square.","maxLength":100,"title":"Bbox","type":"string"},"start_captured_at":{"anyOf":[{"maxLength":30,"type":"string"},{"type":"null"}],"default":null,"description":"Only images captured after this ISO 8601 time, for example '2025-01-01T00:00:00Z'.","title":"Start Captured At"},"end_captured_at":{"anyOf":[{"maxLength":30,"type":"string"},{"type":"null"}],"default":null,"description":"Only images captured before this ISO 8601 time.","title":"End Captured At"},"is_pano":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"True for 360-degree panoramas only, false to exclude them.","title":"Is Pano"},"make":{"anyOf":[{"maxLength":60,"type":"string"},{"type":"null"}],"default":null,"description":"Camera manufacturer, for example 'GoPro'.","title":"Make"},"limit":{"anyOf":[{"maximum":200,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"Maximum number of results (this connector allows 1 to 200).","title":"Limit"},"fields":{"anyOf":[{"maxLength":300,"type":"string"},{"type":"null"}],"default":"id,captured_at,compass_angle,geometry,is_pano,sequence,thumb_1024_url,creator","description":"Comma-separated image fields to return. See the Mapillary API documentation for the field names.","title":"Fields"}},"required":["bbox"],"title":"search_images_in_areaArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_images_by_creator":{"post":{"operationId":"list_images_by_creator","summary":"List images uploaded by one Mapillary user, newest first, with cursor paging (pass the after cursor of the previous answ","description":"List images uploaded by one Mapillary user, newest first, with cursor paging (pass the after cursor of the previous answer). Use for \"Show images uploaded by Mapillary user larrymappengauer\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"creator_username":{"description":"Mapillary username of the uploader.","maxLength":80,"title":"Creator Username","type":"string"},"after":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Cursor from paging.cursors.after of the previous answer.","title":"After"},"limit":{"anyOf":[{"maximum":200,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"Maximum number of results (this connector allows 1 to 200).","title":"Limit"},"fields":{"anyOf":[{"maxLength":300,"type":"string"},{"type":"null"}],"default":"id,captured_at,creator,is_pano,sequence","description":"Comma-separated image fields to return. See the Mapillary API documentation for the field names.","title":"Fields"}},"required":["creator_username"],"title":"list_images_by_creatorArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_image":{"post":{"operationId":"get_image","summary":"Get the metadata of one image by its ID: capture time, compass angle, location, camera, size, sequence, uploader and thu","description":"Get the metadata of one image by its ID: capture time, compass angle, location, camera, size, sequence, uploader and thumbnail URL. Use for \"Give me the details of Mapillary image 1458307941562975\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"image_id":{"description":"Mapillary image ID, a number such as 1458307941562975.","maxLength":30,"title":"Image Id","type":"string"},"fields":{"anyOf":[{"maxLength":300,"type":"string"},{"type":"null"}],"default":"id,captured_at,compass_angle,geometry,is_pano,sequence,thumb_1024_url,creator,computed_geometry,make,model,height,width,camera_type,quality_score","description":"Comma-separated image fields to return. See the Mapillary API documentation for the field names.","title":"Fields"}},"required":["image_id"],"title":"get_imageArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/search_map_features":{"post":{"operationId":"search_map_features","summary":"Find map features (traffic signs, utility poles, street lights and other objects derived from many images) inside a smal","description":"Find map features (traffic signs, utility poles, street lights and other objects derived from many images) inside a small bounding box, optionally by object value such as 'object--support--utility-pole'. Use for \"What traffic signs has Mapillary detected in this part of Malmo\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"bbox":{"description":"Bounding box as 'min_lon,min_lat,max_lon,max_lat'; its area must be smaller than 0.01 degrees square.","maxLength":100,"title":"Bbox","type":"string"},"object_values":{"anyOf":[{"maxLength":300,"type":"string"},{"type":"null"}],"default":null,"description":"Object values to match, comma separated; wildcards are allowed, for example 'regulatory--stop*'.","title":"Object Values"},"start_last_seen_at":{"anyOf":[{"maxLength":30,"type":"string"},{"type":"null"}],"default":null,"description":"Only features last seen in images captured after this ISO 8601 time.","title":"Start Last Seen At"},"limit":{"anyOf":[{"maximum":200,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"Maximum number of results (this connector allows 1 to 200).","title":"Limit"},"fields":{"anyOf":[{"maxLength":300,"type":"string"},{"type":"null"}],"default":"id,object_value,object_type,geometry,first_seen_at,last_seen_at","description":"Comma-separated map feature fields to return. See the Mapillary API documentation for the field names.","title":"Fields"}},"required":["bbox"],"title":"search_map_featuresArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_map_feature":{"post":{"operationId":"get_map_feature","summary":"Get one map feature by ID: what kind of object it is, where it is, and when it was first and last seen. Use for \"What is","description":"Get one map feature by ID: what kind of object it is, where it is, and when it was first and last seen. Use for \"What is Mapillary map feature 1234 and where is it\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"map_feature_id":{"description":"Mapillary map feature ID.","maxLength":30,"title":"Map Feature Id","type":"string"},"fields":{"anyOf":[{"maxLength":300,"type":"string"},{"type":"null"}],"default":"id,object_value,object_type,geometry,first_seen_at,last_seen_at,aligned_direction","description":"Comma-separated map feature fields to return. See the Mapillary API documentation for the field names.","title":"Fields"}},"required":["map_feature_id"],"title":"get_map_featureArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_sequence_images":{"post":{"operationId":"list_sequence_images","summary":"List the image IDs of a sequence (a group of images captured one after another) in capture order. Use for \"Which images ","description":"List the image IDs of a sequence (a group of images captured one after another) in capture order. Use for \"Which images belong to Mapillary sequence abc123\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"sequence_id":{"description":"Mapillary sequence ID.","maxLength":60,"title":"Sequence Id","type":"string"}},"required":["sequence_id"],"title":"list_sequence_imagesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_image_detections":{"post":{"operationId":"get_image_detections","summary":"List the objects detected in one image (traffic signs, markings, objects) with their value labels. Use for \"What objects","description":"List the objects detected in one image (traffic signs, markings, objects) with their value labels. Use for \"What objects were detected in Mapillary image 1458307941562975\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"image_id":{"description":"Mapillary image ID.","maxLength":30,"title":"Image Id","type":"string"},"fields":{"anyOf":[{"maxLength":300,"type":"string"},{"type":"null"}],"default":"id,value,created_at","description":"Comma-separated detection fields to return. See the Mapillary API documentation for the field names.","title":"Fields"}},"required":["image_id"],"title":"get_image_detectionsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_organization":{"post":{"operationId":"get_organization","summary":"Get the public details of a Mapillary organization by ID: name, slug and description. Use for \"What is Mapillary organiz","description":"Get the public details of a Mapillary organization by ID: name, slug and description. Use for \"What is Mapillary organization 123\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"organization_id":{"description":"Mapillary organization ID.","maxLength":30,"title":"Organization Id","type":"string"},"fields":{"anyOf":[{"maxLength":300,"type":"string"},{"type":"null"}],"default":"id,name,slug,description","description":"Comma-separated organization fields to return. See the Mapillary API documentation for the field names.","title":"Fields"}},"required":["organization_id"],"title":"get_organizationArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}}}}