Skip to main content
GET
cURL

Authorizations

Authorization
string
header
required

Your CamposCloud API token, sent as Authorization: Bearer <token>.

Path Parameters

databaseId
string
required

ID of the database.

Pattern: ^[a-f0-9]{24}$

Query Parameters

hours
integer
default:24

How many hours back, from 1 to 720 (30 days). The series is averaged into steps so that it never has more than 288 points.

Required range: 1 <= x <= 720

Response

The series.

stepMs
integer
required

Length of each step, in milliseconds.

points
object[]
required