Get entity schema

<Info>This API is in beta. Endpoints, fields, and behavior may still change, so avoid depending on it in production.</Info>

Returns one entity's JSON Schema.

Pass User as the entity_name to read the custom fields added to the built-in user entity.

get/api/apps/{app_id}/entity-schemas/{entity_name}

Path parameters

entity_namestring required

Name of the entity, as returned by List entity schemas. Pass User for the built-in user entity.

Name of the entity, as returned by List entity schemas. Pass User for the built-in user entity.

app_idstring required

ID of the app whose entity schemas you want to work with.

ID of the app whose entity schemas you want to work with.

Response

Successful Response

object required

The entity's stored JSON Schema, including its properties, required fields, and any row-level security rules under rls. For the app's own entities it also carries a name key holding the entity name. For User it holds only the custom fields added on top of the built-in ones, and has no name key.

Changes

No recorded changes to this endpoint across all 1 revision of this API.