# list_projects

**List projects** · Read-only, idempotent

List one page of the account's project groups.

- A group holds one marketplace project per marketplace in `marketplaces[]`; other project tools need a `marketplaces[].project_id`.
- Ask the user when the project or marketplace they mean is ambiguous.
- Group `keywords_count` and `asins_count` add up attachments across marketplaces, so they differ from `get_usage` consumption.

**Cost and limits:** Consumes 5 credits.

## Input

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `limit` | `integer` | Optional | Items per page, 1 to 200. Default 50. Minimum 1. Maximum 200. |
| `cursor` | `string` | Optional | Opaque `page.next_cursor` from the previous page of this tool, unchanged. Omit for the first page. Maximum length 2048. |

## Output

Read this object from the result's `structuredContent`. The result's `content` carries a text version for the model, which is not always the same JSON.

Fields of `data`:

| Name | Type | Required |
| --- | --- | --- |
| `projects` | `ProjectGroupSummary[]` | Required |
| `page` | `Page` | Required |

### `data.projects[]`

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `project_name` | `string` | Required |  |
| `should_track_variations` | `boolean` | Required | Whether rank metrics also count tracked variations of each ASIN. Shared by every marketplace project in the group. |
| `keywords_count` | `integer` | Required | Keyword attachments summed across the group's marketplace projects. This differs from the distinct keyword consumption reported by usage. |
| `asins_count` | `integer` | Required | ASIN attachments summed across the group's marketplace projects. This differs from the distinct ASIN consumption reported by usage. |
| `labels` | `Label[]` | Required |  |
| `marketplaces` | `LinkedProjectSummary[]` | Required | One marketplace project per marketplace in the group. |

### `data.page`

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `limit` | `integer` | Required | Page size used for this call. |
| `next_cursor` | `string \| null` | Required | Opaque cursor for the next page, or null on the last page. Pass it unchanged with the same filters and limit. |
| `has_more` | `boolean` | Required | Whether another page exists. When true, this page is a partial result. |

<details>
<summary>Full input and output JSON Schema</summary>

```json
{
  "inputSchema": {
    "type": "object",
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "properties": {
      "limit": {
        "description": "Items per page, 1 to 200. Default 50.",
        "type": "integer",
        "minimum": 1,
        "maximum": 200
      },
      "cursor": {
        "description": "Opaque page.next_cursor from the previous page of this tool, unchanged. Omit for the first page.",
        "type": "string",
        "maxLength": 2048
      }
    },
    "additionalProperties": false
  },
  "outputSchema": {
    "type": "object",
    "required": [
      "data"
    ],
    "properties": {
      "data": {
        "type": "object",
        "required": [
          "projects",
          "page"
        ],
        "properties": {
          "projects": {
            "type": "array",
            "items": {
              "$ref": "#/$defs/ProjectGroupSummary"
            }
          },
          "page": {
            "$ref": "#/$defs/Page"
          }
        }
      }
    },
    "$defs": {
      "ProjectGroupSummary": {
        "type": "object",
        "required": [
          "project_name",
          "should_track_variations",
          "keywords_count",
          "asins_count",
          "labels",
          "marketplaces"
        ],
        "properties": {
          "project_name": {
            "type": "string"
          },
          "should_track_variations": {
            "type": "boolean",
            "description": "Whether rank metrics also count tracked variations of each ASIN. Shared by every marketplace project in the group."
          },
          "keywords_count": {
            "type": "integer",
            "description": "Keyword attachments summed across the group's marketplace projects. This differs from the distinct keyword consumption reported by usage."
          },
          "asins_count": {
            "type": "integer",
            "description": "ASIN attachments summed across the group's marketplace projects. This differs from the distinct ASIN consumption reported by usage."
          },
          "labels": {
            "type": "array",
            "items": {
              "$ref": "#/$defs/Label"
            }
          },
          "marketplaces": {
            "type": "array",
            "items": {
              "$ref": "#/$defs/LinkedProjectSummary"
            },
            "description": "One marketplace project per marketplace in the group."
          }
        },
        "description": "A project group: one set of products and keywords tracked in one or more marketplaces. Project reads take a `marketplaces[].project_id`, not the group."
      },
      "Label": {
        "type": "object",
        "required": [
          "label_id",
          "label_name",
          "color"
        ],
        "properties": {
          "label_name": {
            "type": "string"
          },
          "color": {
            "type": "string"
          },
          "label_id": {
            "type": "integer",
            "minimum": 1,
            "maximum": 2147483647
          }
        },
        "description": "A label assigned in this result. The default app color is returned as `gray`."
      },
      "LinkedProjectSummary": {
        "type": "object",
        "required": [
          "project_id",
          "marketplace",
          "created_at",
          "keywords_count",
          "asins_count"
        ],
        "properties": {
          "project_id": {
            "type": "integer",
            "description": "Marketplace project ID used by every project read."
          },
          "marketplace": {
            "type": [
              "string",
              "null"
            ]
          },
          "created_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "Creation date when stored."
          },
          "keywords_count": {
            "type": "integer",
            "description": "Keywords attached to this marketplace project."
          },
          "asins_count": {
            "type": "integer",
            "description": "ASINs attached to this marketplace project."
          }
        }
      },
      "Page": {
        "type": "object",
        "required": [
          "limit",
          "next_cursor",
          "has_more"
        ],
        "properties": {
          "limit": {
            "type": "integer",
            "description": "Page size used for this call."
          },
          "next_cursor": {
            "type": [
              "string",
              "null"
            ],
            "description": "Opaque cursor for the next page, or null on the last page. Pass it unchanged with the same filters and limit."
          },
          "has_more": {
            "type": "boolean",
            "description": "Whether another page exists. When true, this page is a partial result."
          }
        }
      }
    }
  }
}
```

</details>
