itglue_list_flexible_asset_fields
List custom field definitions (traits) for a flexible asset type. Use this to know required fields and their types before creating or updating a flexible asset.
Instructions
List the schema (custom field definitions) for a specific flexible asset type. Returns the trait keys, their kinds (Text, Number, Date, Select, etc.), and which are required. Call AFTER itglue_list_flexible_asset_types and BEFORE itglue_create_flexible_asset / itglue_update_flexible_asset so you know what traits to populate. Synonyms: list FA fields, list flexible asset schema, show flexible asset type fields, get trait definitions, describe flexible asset type.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flexibleAssetTypeId | Yes | Flexible asset type id (required). | |
| pageSize | No | page[size] — items per page (default IT Glue: 50, max 1000 for most endpoints). | |
| pageNumber | No | page[number] — 1-based page index. | |
| formatOptions | No | Reduce response size for token-sensitive callers. compact mode keeps id+type plus a small set of identifying attributes; fields[] picks specific attribute keys; omitEmpty strips null/empty values. |