---
title: "Get definitions for a custom object type"
method: GET
path: "/v1/objects/{entitySlug}/definitions"
---

# Get definitions for a custom object type

`GET /v1/objects/{entitySlug}/definitions`

Returns field and relationship definitions for the specified custom object type.

## Path parameters

- `entitySlug` string, required — The slug of the custom object type.

## Headers

- `Lightfield-Version` '2026-03-01', required

## Response `200`

OK

- ObjectDefinitionsResponse
  - `objectType` string, required — The object type these definitions belong to (e.g. `account`).
  - `fieldDefinitions` object, required — Map of field keys to their definitions, including both system and custom fields.
  - `relationshipDefinitions` object, required — Map of relationship keys to their definitions.

## Other responses

- `400` — 400
- `401` — 401
- `403` — 403
- `404` — 404
- `409` — 409
- `415` — 415
- `422` — 422
- `429` — 429
- `500` — 500
- `501` — 501
- `503` — 503
- `504` — 504

---

[API](https://skmtc.net/lightfld/apis/api-reference.md) · [All operations](https://skmtc.net/lightfld/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lightfld/api-reference/versions/93b6c5de5463/schema)
