Skip to main content
POST
/
api
/
report
/
getCustomEventsNumericCounts
Get custom events aggregation numeric counts
curl --request POST \
  --url https://api2.rhombussystems.com/api/report/getCustomEventsNumericCounts \
  --header 'Content-Type: application/json' \
  --header 'x-auth-apikey: <api-key>' \
  --header 'x-auth-scheme: <x-auth-scheme>' \
  --data '
{
  "endTimeMs": 1640998800000,
  "interval": "MINUTELY",
  "promptUuid": "AAAAAAAAAAAAAAAAAAAAAA",
  "startTimeMs": 1640995200000
}
'
{
  "error": true,
  "errorMsg": "<string>",
  "reports": {},
  "warningMsg": "<string>"
}

Authorizations

x-auth-apikey
string
header
required

Your API key for Rhombus.

Headers

x-auth-scheme
string
default:api-token
required

Authentication scheme indicator ("api-token").

Required string length: 9

Body

application/json

Request object for custom LLM reports.

endTimeMs
integer<int64> | null

The end timestamp (in Unix epoch milliseconds) of the selected interval

Example:

1640998800000

interval
enum<string> | null

The interval defines the granularity at which the results will be reported

Available options:
MINUTELY,
QUARTERHOURLY,
HOURLY,
DAILY,
WEEKLY,
MONTHLY
promptUuid
string<RUUID> | null

base 64 (url-safe) uuid string

Example:

"AAAAAAAAAAAAAAAAAAAAAA"

startTimeMs
integer<int64> | null

The start timestamp (in Unix epoch milliseconds) of the selected interval

Example:

1640995200000

Response

200 - application/json

OK

Response object for custom LLM numeric reports.

error
boolean | null
errorMsg
string | null
reports
object

Map of numeric count reports

warningMsg
string | null