Record a gauge sample
Record a continuous reading from 0 to 1, such as sound level or interaction intensity.
Record a continuous reading from 0 to 1, such as sound level or interaction intensity.
Send samples while the signal is active. TalkLabs maintains a synchronized aggregate that every viewer of the context can read.
Parameters
Values in the path and query string.
appid path The TalkLabs application ID assigned to your account.
Example:your-app-id contextid path A customer defined ID for the live context being measured.
key path A customer defined name for this telemetry signal.
JSON body
Send as application/json.
userId The user contributing the reading. Used to count distinct active participants.
value The normalized reading, 0.0 to 1.0 e.g. mic loudness mapped from dBFS on the client . Values outside the range are clamped.
{
"userId": "u-8842",
"value": 1
} Status codes
Every JSON response uses the API result envelope.
200 OK ApiResult 400 Bad Request ApiResult 403 Forbidden ApiResult 500 Internal Server Error ApiResult