Describe entity schema
civicrm_describe_entityRetrieves fields and actions for any APIv4 entity to verify field names and actions before making API calls.
Instructions
Introspect an APIv4 entity — returns available fields (incl. custom fields) and actions. Call this before civicrm_api4 when unsure of field names or action support.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity | Yes | APIv4 entity name, e.g. Contact, Contribution, Activity. | |
| loadOptions | No | Include option lists for pseudoconstant fields. Verbose — turn on only when you need option values. | |
| includeCustom | No | Include custom fields (Name.custom_field notation). |