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:00.8002519+00:00", "versionNumber": "2.0", "status": "AwaitingData", "creatorId": "4f2d47ac-e318-46dc-ae53-06d71c9ff79e", "capabilities": { "labels": ["Cracks"], "exports": ["Objects"] } }, { "creationDate": "2025-08-08T08:06:30.2466033+00:00", "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.
Error
Contains error information.
One of a server-defined set of error codes.
The target of the error.
A human-readable representation of the error.
{ "type": "object", "required": [ "code", "message" ], "properties": { "code": { "type": "string", "description": "One of a server-defined set of error codes." }, "target": { "type": "string", "nullable": true, "description": "The target of the error." }, "message": { "type": "string", "description": "A human-readable representation of the error." } }, "description": "Contains error information.", "additionalProperties": true }
Detector type
Available types for AI library detectors.
{ "enum": [ "PhotoObjectDetector", "PhotoSegmentationDetector", "OrthophotoSegmentationDetector", "PointCloudSegmentationDetector" ], "title": "Detector type", "description": "Available types for AI library detectors." }
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.
{ "type": "object", "title": "Error Response", "required": [ "error" ], "properties": { "error": { "$ref": "#/components/schemas/Error", "description": "Error information." } }, "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.", "additionalProperties": false }
Detector details
Details of detector.
Name of the detector.
Description of the detector.
Display name of the detector.
Url of the detector's documentation.
{ "type": "object", "title": "Detector details", "required": [ "name", "type", "versions" ], "properties": { "name": { "type": "string", "description": "Name of the detector." }, "type": { "$ref": "#/components/schemas/DetectorType" }, "versions": { "type": "array", "items": { "$ref": "#/components/schemas/DetectorVersionDetailed" }, "description": "All existing versions of the detector." }, "description": { "type": "string", "default": null, "nullable": true, "description": "Description of the detector." }, "displayName": { "type": "string", "default": null, "nullable": true, "description": "Display name of the detector." }, "documentationUrl": { "type": "string", "default": null, "nullable": true, "description": "Url of the detector's documentation." } }, "description": "Details of detector.", "additionalProperties": false }
Detector export type
Available types for AI library detector exports.
{ "enum": [ "Objects", "Lines", "Polygons", "Locations" ], "title": "Detector export type", "description": "Available types for AI library detector exports." }
Detector version status
Available types for AI library detector version status.
{ "enum": [ "AwaitingData", "Ready" ], "title": "Detector version status", "description": "Available types for AI library detector version status." }
Detector version
Details of detector version.
User Id of the version creator.
URL to download the detector version. It is present only if the version status is 'Ready'.
Creation date of the version.
Version number.
{ "type": "object", "title": "Detector version", "required": [ "creationDate", "versionNumber", "status", "capabilities" ], "properties": { "status": { "$ref": "#/components/schemas/DetectorVersionStatus" }, "creatorId": { "type": "string", "default": null, "nullable": true, "description": "User Id of the version creator." }, "downloadUrl": { "type": "string", "default": null, "nullable": true, "description": "URL to download the detector version. It is present only if the version status is 'Ready'." }, "capabilities": { "$ref": "#/components/schemas/DetectorVersionCapabilities" }, "creationDate": { "type": "string", "format": "date-time", "description": "Creation date of the version." }, "versionNumber": { "type": "string", "description": "Version number." } }, "description": "Details of detector version.", "additionalProperties": false }
Detector response
{ "type": "object", "title": "Detector response", "required": [ "detector" ], "properties": { "detector": { "$ref": "#/components/schemas/DetectorDetailed" } }, "additionalProperties": false }
Detector version capabilities
Capabilities of detector version.
Labels of the detector version.
{ "type": "object", "title": "Detector version capabilities", "required": [ "labels" ], "properties": { "labels": { "type": "array", "items": { "type": "string" }, "description": "Labels of the detector version." }, "exports": { "type": "array", "items": { "$ref": "#/components/schemas/DetectorExportType" }, "default": null, "nullable": true, "description": "Exports of the detector version." } }, "description": "Capabilities of detector version.", "additionalProperties": false }
Was this page helpful?