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

# List the sitemaps submitted in Search Console

> Each sitemap with when Google last read it, how many URLs it lists and its warning and error counts.

Reads only the project country unless `country` is `all`. 409 when Search Console is not connected or access was lost; 503 when Google does not answer. Answers are cached a day (an hour with `fresh` and for inspections).



## OpenAPI

````yaml https://api.seomator.com/openapi.json get /v1/projects/{id}/gsc/sitemaps
openapi: 3.1.0
info:
  title: SEOmator API
  version: 0.1.0
servers:
  - url: https://api.seomator.com
security: []
paths:
  /v1/projects/{id}/gsc/sitemaps:
    get:
      tags:
        - search console
      summary: List the sitemaps submitted in Search Console
      description: >-
        Each sitemap with when Google last read it, how many URLs it lists and
        its warning and error counts.


        Reads only the project country unless `country` is `all`. 409 when
        Search Console is not connected or access was lost; 503 when Google does
        not answer. Answers are cached a day (an hour with `fresh` and for
        inspections).
      parameters:
        - schema:
            type: string
            description: Project id (proj_…) or slug (the domain with dots as dashes).
          required: true
          description: Project id (proj_…) or slug (the domain with dots as dashes).
          name: id
          in: path
      responses:
        '200':
          description: Sitemaps
          content:
            application/json:
              schema:
                type: object
                properties:
                  property:
                    type: string
                  sitemaps:
                    type: array
                    items:
                      type: object
                      properties:
                        path:
                          type: string
                        lastSubmitted:
                          type:
                            - string
                            - 'null'
                        lastDownloaded:
                          type:
                            - string
                            - 'null'
                        pending:
                          type: boolean
                        index:
                          type: boolean
                        warnings:
                          type: number
                        errors:
                          type: number
                        submitted:
                          type: number
                      required:
                        - path
                        - lastSubmitted
                        - lastDownloaded
                        - pending
                        - index
                        - warnings
                        - errors
                        - submitted
                      additionalProperties: {}
                required:
                  - property
                  - sitemaps
                additionalProperties: {}
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: Conflict
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: Try again later
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - apiKey: []
components:
  schemas:
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              enum:
                - bad_request
                - unauthorized
                - insufficient_credits
                - plan_limit
                - forbidden
                - not_found
                - conflict
                - rate_limit_exceeded
                - internal_server_error
                - service_unavailable
            message:
              type: string
            requestId:
              type: string
          required:
            - code
            - message
      required:
        - error
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: x-api-key

````

## Related topics

- [List the Search Console properties of the project domain and its subdomains that the connection can read](https://docs.seomator.com/api-reference/ai-visibility/list-the-search-console-properties-of-the-project-domain-and-its-subdomains-that-the-connection-can-read.md)
- [MCP server: connect Claude, ChatGPT and more](https://docs.seomator.com/mcp/setup.md)
- [Read the Search Console connection](https://docs.seomator.com/api-reference/ai-visibility/read-the-search-console-connection.md)


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