Retrieve details of a detector.
Authentication
Requires Authorization header with valid Bearer token for scope itwin-platform.
For more documentation on authorization and how to get access token visit OAUTH2 Authorization page.
Request parameters
Request headers
OAuth access token with itwin-platform scope
Setting to application/vnd.bentley.itwin-platform.v2+json is recommended.
Response 200 OK
This response indicates that the request was successful.
{ "detector": { "name": "cracks-detector", "displayName": "Cracks detector", "description": "Detects all the cracks within a scene.", "type": "PhotoObjectDetector", "documentationUrl": "https://www.bentley.com", "versions": [{ "creationDate": "2025-08-08T08:13:00Z", "versionNumber": "2.0", "status": "AwaitingData", "creatorId": "4f2d47ac-e318-46dc-ae53-06d71c9ff79e", "capabilities": { "labels": ["Cracks"], "exports": ["Objects"] } }, { "creationDate": "2025-08-08T08:06:30Z", "versionNumber": "1.0", "status": "Ready", "creatorId": "4f2d47ac-e318-46dc-ae53-06d71c9ff79e", "capabilities": { "labels": ["Cracks"], "exports": ["Objects"] }, "downloadUrl": "https://cccsdetectorsdeveussa01.blob.core.windows.net/c29038eb-207e-430e-bba3-1a1ce48ca9ae/cracks-detector-1.0.zip?sv=2024-08-04&se=2025-08-08T09%3A21%3A37Z&sr=b&sp=r&sig=eyGf9V%2BARcUaWYcjaw6znIb2Hbe7suONrlqYwR8ZvRc%3D" }] } }
Response 401 Unauthorized
This response indicates that request lacks valid authentication credentials. Access token might not been provided, issued by the wrong issuer, does not have required scopes or request headers were malformed.
{ "error": { "code": "HeaderNotFound", "message": "Header Authorization was not found in the request. Access denied." } }
Response 404 Not Found
This response indicates that the specified detector was not found.
{ "error": { "code": "DetectorNotFound", "message": "Requested detector is not available." } }
Response 429 Too many requests
This response indicates that the client sent more requests than allowed by this API for the current tier of the client.
{ "error": { "code": "RateLimitExceeded", "message": "The client sent more requests than allowed by this API for the current tier of the client." } }
Response headers
Number of seconds to wait until client is allowed to make more requests.
Detector type
Available types for AI library detectors.
{ "title": "Detector type", "enum": [ "PhotoObjectDetector", "PhotoSegmentationDetector", "OrthophotoSegmentationDetector", "PointCloudSegmentationDetector" ], "description": "Available types for AI library detectors." }
Error
Contains error information.
One of a server-defined set of error codes.
A human-readable representation of the error.
The target of the error.
{ "required": [ "code", "message" ], "type": "object", "properties": { "code": { "type": "string", "description": "One of a server-defined set of error codes." }, "message": { "type": "string", "description": "A human-readable representation of the error." }, "target": { "type": "string", "description": "The target of the error.", "nullable": true } }, "description": "Contains error information." }
Error Response
Gives details for an error that occurred while handling the request. Note that clients MUST NOT assume that every failed request will produce an object of this schema, or that all of the properties in the response will be non-null, as the error may have prevented this response from being constructed.
{ "title": "Error Response", "required": [ "error" ], "type": "object", "properties": { "error": { "$ref": "#/components/schemas/Error" } }, "additionalProperties": false, "description": "Gives details for an error that occurred while handling the request. Note that clients MUST NOT assume that every failed request will produce an object of this schema, or that all of the properties in the response will be non-null, as the error may have prevented this response from being constructed." }
Detector version status
Available types for AI library detector version status.
{ "title": "Detector version status", "enum": [ "AwaitingData", "Ready" ], "description": "Available types for AI library detector version status." }
Detector export type
Available types for AI library detector exports.
{ "title": "Detector export type", "enum": [ "Objects", "Lines", "Polygons", "Locations" ], "description": "Available types for AI library detector exports." }
Detector version capabilities
Capabilities of detector version.
Labels of the detector version.
{ "title": "Detector version capabilities", "required": [ "labels" ], "type": "object", "properties": { "labels": { "type": "array", "items": { "type": "string" }, "description": "Labels of the detector version." }, "exports": { "type": "array", "items": { "$ref": "#/components/schemas/DetectorExportType" }, "description": "Exports of the detector version.", "default": null, "nullable": true } }, "additionalProperties": false, "description": "Capabilities of detector version." }
Detector version
Details of detector version.
Creation date of the version.
Version number.
URL to download the detector version. It is present only if the version status is 'Ready'.
User Id of the version creator.
{ "title": "Detector version", "required": [ "creationDate", "versionNumber", "status", "capabilities" ], "type": "object", "properties": { "creationDate": { "type": "string", "description": "Creation date of the version.", "format": "date-time" }, "versionNumber": { "type": "string", "description": "Version number." }, "status": { "$ref": "#/components/schemas/DetectorVersionStatus" }, "downloadUrl": { "type": "string", "description": "URL to download the detector version. It is present only if the version status is 'Ready'.", "default": null, "nullable": true }, "creatorId": { "type": "string", "description": "User Id of the version creator.", "default": null, "nullable": true }, "capabilities": { "$ref": "#/components/schemas/DetectorVersionCapabilities" } }, "additionalProperties": false, "description": "Details of detector version." }
Detector details
Details of detector.
Name of the detector.
Display name of the detector.
Description of the detector.
Url of the detector's documentation.
{ "title": "Detector details", "required": [ "name", "type", "versions" ], "type": "object", "properties": { "name": { "type": "string", "description": "Name of the detector." }, "displayName": { "type": "string", "description": "Display name of the detector.", "default": null, "nullable": true }, "description": { "type": "string", "description": "Description of the detector.", "default": null, "nullable": true }, "type": { "$ref": "#/components/schemas/DetectorType" }, "documentationUrl": { "type": "string", "description": "Url of the detector's documentation.", "default": null, "nullable": true }, "versions": { "type": "array", "items": { "$ref": "#/components/schemas/DetectorVersionDetailed" }, "description": "All existing versions of the detector." } }, "additionalProperties": false, "description": "Details of detector." }
Detector response
{ "title": "Detector response", "required": [ "detector" ], "type": "object", "properties": { "detector": { "$ref": "#/components/schemas/DetectorDetailed" } }, "additionalProperties": false }
Was this page helpful?