Skip to main content
POST
/
api
/
scenequery
/
adHocPrompt
Execute a prompt, ad-hoc
curl --request POST \
  --url https://api2.rhombussystems.com/api/scenequery/adHocPrompt \
  --header 'Content-Type: application/json' \
  --header 'x-auth-apikey: <api-key>' \
  --header 'x-auth-scheme: <x-auth-scheme>' \
  --data '
{
  "deviceFacetUuid": "AAAAAAAAAAAAAAAAAAAAAA.v0",
  "promptUuid": "AAAAAAAAAAAAAAAAAAAAAA",
  "timestampMs": 1640995200000
}
'
{
  "error": true,
  "errorMsg": "<string>",
  "event": {
    "checkCondition": true,
    "image": "<string>",
    "imageOffsets": [
      123
    ],
    "prompt": "<string>",
    "timestampMs": 123,
    "value": "<string>"
  },
  "warningMsg": "<string>"
}

Authorizations

x-auth-apikey
string
header
required

Your Rhombus API key. Must be accompanied by the x-auth-scheme header set to api-token (or partner-api-token for partner endpoints).

Headers

x-auth-scheme
enum<string>
default:api-token
required

Authentication scheme identifier. Use api-token for standard API key authentication, partner-api-token for partner API key authentication. Must be paired with the x-auth-apikey header containing your API key.

Available options:
api-token,
api,
partner-api-token,
partner-api

Body

application/json

Request object for adhoc prompt.

deviceFacetUuid
string<DeviceFacetUuid> | null

RUUID with optional appended facet information

Example:

"AAAAAAAAAAAAAAAAAAAAAA.v0"

promptUuid
string<RUUID> | null

base 64 (url-safe) uuid string

Example:

"AAAAAAAAAAAAAAAAAAAAAA"

timestampMs
integer<int64> | null

Timestamp in milliseconds for the trigger

Example:

1640995200000

Response

200 - application/json

OK

Response object for triggering a prompt.

error
boolean | null
errorMsg
string | null
event
object

Scene query report event from the triggered prompt

warningMsg
string | null
Last modified on April 27, 2026