Device Logs and Telemetry

Logs

Returns paginated device logs.

Required scope: device:read

Get Device Logs

get

Returns paginated device logs. Rate-limited to 5 requests per minute per IP and 50 per minute globally.

Authorizations
AuthorizationstringRequired

Roboflow API key passed as a Bearer token.

Path parameters
workspacestringRequired

Workspace ID (URL slug).

deviceIdstringRequired

Device ID.

Query parameters
limitinteger · min: 1 · max: 1000Optional

Number of log entries to return. Clamped to 1-1000.

Default: 100
start_timestring · date-timeOptional

ISO 8601 timestamp lower bound. Returns 400 if not parseable.

end_timestring · date-timeOptional

ISO 8601 timestamp upper bound. Returns 400 if not parseable.

servicestringOptional

Comma-separated list of service names to filter by.

severitystringOptional

Comma-separated list of severity levels to filter by (for example "INFO,WARN,ERROR").

cursorstring · date-timeOptional

Pass back next_cursor from the previous response to fetch the next page (older logs). Returns 400 if not parseable.

Responses
200

A page of logs.

application/json
get
/{workspace}/devices/v2/{deviceId}/logs

Example Request

Rate limit: 120 requests per minute per workspace. Log reads and log ingest use separate rate-limit buckets, so polling for logs will not count against your ingest quota (and vice versa).

Example Response

Rate limits

This endpoint is rate-limited to 5 requests per minute per IP address and 50 requests per minute globally. Excess requests return 429.

Telemetry

Returns aggregated hardware metrics (CPU, memory, disk, GPU) for a device, bucketed over a fixed time window.

Required scope: device:read

Get Device Telemetry

get

Returns aggregated hardware telemetry (CPU, memory, disk, GPU) bucketed across the requested time window. Rate-limited to 60 requests per minute per device with a 10-request burst over 10 seconds.

Authorizations
AuthorizationstringRequired

Roboflow API key passed as a Bearer token.

Path parameters
workspacestringRequired

Workspace ID (URL slug).

deviceIdstringRequired

Device ID.

Query parameters
time_periodstring · enumOptional

Time window to aggregate over.

Default: 24hPossible values:
Responses
200

Aggregated telemetry buckets.

application/json
time_periodstring · enumOptionalPossible values:
bucket_intervalstringOptional

Human-readable bucket size (for example "30 MINUTE", "4 HOUR").

fill_interval_secondsintegerOptional
get
/{workspace}/devices/v2/{deviceId}/telemetry

Example Request

The bucket size is fixed per time period:

time_period

bucket_interval

fill_interval_seconds

1h

2 MINUTE

120

24h

30 MINUTE

1800

7d

4 HOUR

14400

14d

8 HOUR

28800

Example Response

Buckets in the requested window that received no telemetry are still returned, with each metric field set to null.

Rate limits

This endpoint is rate-limited per device to 60 requests per minute with an additional 10 requests per 10 seconds burst limiter. Excess requests return 429. The same per-device telemetry quota is shared with the device's telemetry ingest path, so abusive reads can affect ingest for the same device.

Last updated

Was this helpful?