🚧 The Rhombus Developer Documentation is currently in beta. For the official documentation, please visit docs.rhombus.com.
curl --request POST \
--url https://api2.rhombussystems.com/api/scenequery/triggerPrompt \
--header 'Content-Type: application/json' \
--header 'x-auth-apikey: <api-key>' \
--header 'x-auth-scheme: <x-auth-scheme>' \
--data '
{
"deviceFacetUuid": "AAAAAAAAAAAAAAAAAAAAAA.v0",
"prompt": "Count people in the scene",
"promptType": "COUNT",
"region": {
"coordinates": [
{
"x": 123,
"y": 123
}
]
},
"timestampMs": 1640995200000
}
'{
"error": true,
"errorMsg": "<string>",
"event": {
"checkCondition": true,
"image": "<string>",
"imageOffsets": [
123
],
"prompt": "<string>",
"timestampMs": 123,
"value": "<string>"
},
"warningMsg": "<string>"
}Trigger scene query with a custom prompt
curl --request POST \
--url https://api2.rhombussystems.com/api/scenequery/triggerPrompt \
--header 'Content-Type: application/json' \
--header 'x-auth-apikey: <api-key>' \
--header 'x-auth-scheme: <x-auth-scheme>' \
--data '
{
"deviceFacetUuid": "AAAAAAAAAAAAAAAAAAAAAA.v0",
"prompt": "Count people in the scene",
"promptType": "COUNT",
"region": {
"coordinates": [
{
"x": 123,
"y": 123
}
]
},
"timestampMs": 1640995200000
}
'{
"error": true,
"errorMsg": "<string>",
"event": {
"checkCondition": true,
"image": "<string>",
"imageOffsets": [
123
],
"prompt": "<string>",
"timestampMs": 123,
"value": "<string>"
},
"warningMsg": "<string>"
}Your API key for Rhombus.
Authentication scheme indicator ("api-token").
9Request object for triggering a prompt.
RUUID with optional appended facet information
"AAAAAAAAAAAAAAAAAAAAAA.v0"
Prompt text to trigger
"Count people in the scene"
COUNT, PERCENT, BOOLEAN, TEXT Show child attributes
Timestamp in milliseconds for the trigger
1640995200000
Was this page helpful?