> ## 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 Sitemaps

> Lists the sitemaps submitted for a Search Console property with type, processing status, last downloaded date, warnings, errors, and per-type submitted/indexed counts

Lists the sitemaps submitted for a Search Console property with type, processing status, last downloaded date, warnings, errors, and per-type submitted/indexed counts. Provide a sitemap index URL to list the sitemaps inside that index instead.

|                      |                       |
| -------------------- | --------------------- |
| **App**              | Google Search Console |
| **Operation ID**     | `gsc_list_sitemaps`   |
| **Type**             | Action                |
| **Connection**       | `gsc` (required)      |
| **Credits per run**  | 1                     |
| **Agent / MCP tool** | Yes                   |

## Inputs

| Field               | Type                | Required | Default | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| ------------------- | ------------------- | -------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `site`              | DynamicAccount      | Yes      | -       | Select the Search Console property whose sitemaps should be listed.                                                                                                                                                                                                                                                                                                                                                                                                             |
| `sitemap_index_url` | string              | No       | -       | Leave empty to list all sitemaps submitted for the property. Provide a sitemap index URL to instead list the sitemaps included in that index file.                                                                                                                                                                                                                                                                                                                              |
| `filters`           | array of FilterItem | No       | -       | Additional filters to apply when retrieving sitemaps. The available fields to filter by are: - path: Filter by sitemap URL - type: Filter by sitemap type (for example sitemap, rssFeed, atomFeed) - isPending: Filter by whether the sitemap is still waiting to be processed - isSitemapsIndex: Filter by whether the entry is a sitemap index file 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       | `1000`  | Maximum number of sitemaps to return. Default: 1000.                                                                                                                                                                                                                                                                                                                                                                                                                            |

### 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. Can be a string, number, regex, or a list of strings.                                                                                 |

### SelectableOption

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

## Output

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

Returns the property's sitemaps exactly as Google reports them.

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

**Example**:

```json theme={"dark"}
[
  {
    "path": "https://example.com/sitemap.xml",
    "lastSubmitted": "2026-08-01T09:00:00.000Z",
    "isPending": false,
    "type": "sitemap",
    "warnings": "0",
    "errors": "0",
    "contents": [
      {
        "type": "web",
        "submitted": "320",
        "indexed": "0"
      }
    ]
  }
]
```
