Skip to main content
GET
Retrieve a record

Authorizations

Authorization
string
header
required

Project API key, for server-to-server access to one project.

Headers

X-Hasp-AppId
string

The id of the published app making the request. Required when calling without credentials: anonymous reads are allowed only for an app whose access mode is public, and only for its own project.

Path Parameters

project
string
required

The project's slug or id (ULID).

entity
string
required

The entity slug

id
string
required

Response

data
EntityRecord · object
required

One record. Besides the system fields, it carries the entity's declared fields by key, typed per the entity schema. A reference field holds the id of a record of the referenced entity, in the same environment; the reference is checked when written, and is not cleared if the referenced record is later deleted — resolve it with a read and treat a 404 as "no longer exists".