Skip to content

Get custom object settings

GET/v1/objects/{entitySlug}/settings

Retrieves the public metadata of a custom object type in this workspace. Returns 404 for unknown slugs, system object types, and archived definitions unless includeArchived is true.

Required scope: config:read

Rate limit category: Read

Path ParametersExpand Collapse
entitySlug: string

The slug of the custom object type.

Query ParametersExpand Collapse
includeArchived: optional boolean

Include archived definitions. Defaults to false.

ReturnsExpand Collapse
ObjectRetrieveSettingsResponse object { id, archived, archivedAt, 7 more }
id: string

Stable public ID of the custom object definition.

archived: boolean

Whether this custom object type is archived.

archivedAt: string

ISO 8601 archive timestamp, or null when active.

createdAt: string

ISO 8601 creation timestamp.

description: string

Description of the custom object type, or null.

icon: string

Display icon, or null when no icon is configured.

labelPlural: string

Plural display label, or null.

labelSingular: string

Singular display label.

slug: string

Custom object slug used in API paths.

updatedAt: string

ISO 8601 last-update timestamp.

Get custom object settings

curl https://api.lightfield.app/v1/objects/$ENTITY_SLUG/settings \
    -H 'Lightfield-Version: 2026-03-01' \
    -H "Authorization: Bearer $API_KEY"
{
  "id": "id",
  "archived": true,
  "archivedAt": "archivedAt",
  "createdAt": "createdAt",
  "description": "description",
  "icon": "icon",
  "labelPlural": "labelPlural",
  "labelSingular": "labelSingular",
  "slug": "slug",
  "updatedAt": "updatedAt"
}
Returns Examples
{
  "id": "id",
  "archived": true,
  "archivedAt": "archivedAt",
  "createdAt": "createdAt",
  "description": "description",
  "icon": "icon",
  "labelPlural": "labelPlural",
  "labelSingular": "labelSingular",
  "slug": "slug",
  "updatedAt": "updatedAt"
}