Get an entity by ID
client.entities.retrieve(stringid, RequestOptionsoptions?): Entity { id, created_at, display_name, 4 more }
/entities/{id}
Retrieve detailed information about a specific entity
Parameters
id: string
Returns
Get an entity by ID
import Luminary from 'withluminary';
const client = new Luminary();
const entity = await client.entities.retrieve('id');
console.log(entity.id);
{
"id": "entity_01ARZ3NDEKTSV4RRFFQ69G5FAV",
"created_at": "2024-01-15T09:30:00Z",
"display_name": "My Revocable Trust",
"household_id": "household_01ARZ3NDEKTSV4RRFFQ69G5FAV",
"kind": "REVOCABLE_TRUST",
"stage": "PRE_CREATED",
"updated_at": "2024-01-20T14:45:00Z"
}
Returns Examples
{
"id": "entity_01ARZ3NDEKTSV4RRFFQ69G5FAV",
"created_at": "2024-01-15T09:30:00Z",
"display_name": "My Revocable Trust",
"household_id": "household_01ARZ3NDEKTSV4RRFFQ69G5FAV",
"kind": "REVOCABLE_TRUST",
"stage": "PRE_CREATED",
"updated_at": "2024-01-20T14:45:00Z"
}