> ## Documentation Index
> Fetch the complete documentation index at: https://docs.markifact.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List Cards

> Lists cards in an X (Twitter) Ads account with their card_uri values, optionally filtered by card type

Lists cards in an X (Twitter) Ads account with their card\_uri values, optionally filtered by card type.

| | |
| - | - |
| **App** | X Ads |
| **Operation ID** | `x_ads_list_cards` |
| **Type** | Action |
| **Connection** | `x_ads` (required) |
| **Credits per run** | 1 |
| **Agent / MCP tool** | Yes |

## Inputs

| Field | Type | Required | Default | Description |
| - | - | - | - | - |
| `account` | DynamicAccount | Yes | - | Select the X Ads account whose cards should be listed. |
| `card_types` | array of string or SelectableOption | No | - | Scope to specific card types: IMAGE\_WEBSITE, VIDEO\_WEBSITE, IMAGE\_APP, VIDEO\_APP, the CAROUSEL variants, and the MIXED\_MEDIA variants. |
| `card_ids` | string or array of string | No | - | Scope to specific card IDs (list or comma-separated string, up to 200). |
| `card_uris` | string or array of string | No | - | Scope to specific card URIs (list or comma-separated string, up to 200). |
| `q` | string | No | - | Scope cards by name (case-insensitive prefix match, up to 80 characters). |
| `sort_by` | string | No | - | Sort by a supported attribute, e.g. 'created\_at-desc' or 'updated\_at-asc'. |
| `include_legacy_cards` | boolean | No | `False` | Include legacy website and app cards created via the old per-type endpoints. |
| `with_deleted` | boolean | No | `False` | Include deleted cards. |
| `filters` | array of FilterItem | No | - | Additional filters applied to the returned cards. The available fields to filter by are: - id: Filter by card ID - name: Filter by card name - card\_type: Filter by card type Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. |
| `limit` | integer | No | `100` | Maximum number of cards to return. Default: 100. |

### FilterItem

| Field | Type | Required | Default | Description |
| - | - | - | - | - |
| `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. |
| `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' |
| `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. |

### SelectableOption

| Field | Type | Required | Default | Description |
| - | - | - | - | - |
| `value` | string | Yes | - | |
| `label` | string | Yes | - | |

## Output

**Type**: `List[Dict]`

Returns the list of cards with full details.

**Fields**: dynamic (depend on the inputs)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.