Get an object's fields
heliyos_objects_getRetrieves an object's field keys, labels, types, and required status, with optional select options and relationship targets, to configure records and fields correctly.
Instructions
Returns one object's fields: each field key (what heliyos_records_create, _update and _list filters take), its label and type, and which are required. "detailed" adds the allowed values of select fields, hidden and AI-filled flags, and the target object of relationship fields. Pick the object with object_type (company, person, deal, or custom with schema_id from heliyos_objects_list). Each field's field_id feeds heliyos_fields_update and heliyos_fields_delete; heliyos_fields_create adds one. Returns structuredContent {object:{schema_id, name, fields:[{key, field_id, type, ...}]}}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schema_id | No | Object schema id. Required when object_type is "custom"; the error lists the available ones. | |
| object_type | Yes | Which object: "company", "person", "deal", or "custom" (custom objects also need schema_id). | |
| response_format | No | "concise" (default) returns each field's key, label and type; "detailed" returns select options and field flags too. | concise |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| object | Yes |