Skip to main content
GET
Get location

Authorizations

X-Api-Key
string
header
required

Path Parameters

locationId
string
required

Location id to get

Query Parameters

organization_id
string
required

Filter the events by organization id.

Response

OK

data
object

The wire contract for a location, AT THE LATEST VERSION.

This is the single source of truth: toLocationResponse is annotated to return it (so the code cannot drift from it without a compile error), and the OpenAPI spec + docs + breaking-change gate are all generated from it.

Identifiers are plain strings — the real wire form res.json produces from the underlying ObjectId values.

Nested relations are unknown for now; in the full rollout each gets its own versioned response contract (recursively), at which point they become typed $refs here.

success
boolean