Get List Fields
affinity_get_list_fieldsRetrieve field definitions for an Affinity list, including list-specific, global, and enriched fields, with details like type, value type, and allowed values.
Instructions
Get field definitions for an Affinity list.
Returns all fields available on a list, including:
List-specific fields (Status, Amount, Owners, etc.)
Global fields (account-wide custom fields)
Enriched fields (auto-populated data for company/person lists)
Parameters:
listId: List ID (required)
cursor: Pagination cursor (optional)
limit: Items per page (default 100, max 100)
Returns (JSON): { "fields": [ { "id": "field-1022243", "name": "Status", "type": "list", // "list", "global", or "enriched" "valueType": "ranked-dropdown", "allowedValues": [ // Only for dropdown fields { "text": "Lead", "rank": 0, "color": "none" }, { "text": "Portfolio", "rank": 7, "color": "purple" } ] } ], "count": number, "hasMore": boolean }
Field Types:
list: List-specific fields (deal data)
global: Account-wide custom fields
enriched: Auto-populated enrichment data
Value Types:
ranked-dropdown: Pipeline stages (Status)
dropdown: Single-select
dropdown-multi: Multi-select
person-multi: Person references
number: Numeric values
text: Plain text
datetime: Date/time
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| listId | Yes | List ID (numeric). Get from affinity_list_lists. | |
| cursor | No | Pagination cursor from previous response | |
| limit | No | Items per page (default 100, max 100) | |
| responseFormat | No | Output format: "json" or "markdown". Default: "json" |