Skip to main content
GET
Get what a device may send

Authorizations

Authorization
string
header
required

A project key (Developers → API keys). Keep it on your server, not in an app.

Headers

traceparent
string

W3C Trace Context; joins your trace to ours

Response

Get what a device may send

What a device may send: the event names allowed and the caps, with the revision to quote when changing it.

revision
integer
required

0 until the first save: the defaults, no row.

Required range: x >= 0
daily_cap_per_person
integer
required

Most device events one person may send a day, across all names, 1 to 10,000. Default 200. Past it a device is answered rate_limited with the time to wait. The day is the project's.

Required range: 1 <= x <= 10000
daily_cap_project
integer | null
required

Most device events a day across all people, 1 to 1,000,000. Null: off, the default. Past it every device is answered rate_limited until the next day. It bounds the harm of many identities, each under its own per-person cap, but it is shared: one actor can use it up for every device.

Required range: 1 <= x <= 1000000
new_people_per_hour
integer | null
required

Most new people a device's first sign-in may create in each UTC clock hour, 1 to 1,000. Null, the default: a first sign-in is refused, so only people already known can sign in. Past the limit a new identity is refused with rate_limited and nothing is created. It applies whether or not any event is allowed. Each new person starts with the project's starting units, so keep it low.

Required range: 1 <= x <= 1000
events
object[]
required

Empty by default: a name not here is refused as forbidden.

Maximum array length: 50
updated_at
string<date-time> | null
required

A moment in time: UTC, ISO 8601

updated_by
object | null
required

A member of the team: their ID and display name.