---
agentTools:
  projectIndex: https://zerodev-api.readme.io/llms.txt
---

# List all team projects

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "servers": [
    {
      "url": "https://public-api.zerodev.app"
    }
  ],
  "info": {
    "title": "ZeroDev API",
    "version": "1.0.1"
  },
  "paths": {
    "/teams/{teamId}/projects": {
      "parameters": [],
      "get": {
        "tags": [
          "Projects"
        ],
        "security": [
          {
            "apiKey": []
          },
          {
            "jwtToken": []
          }
        ],
        "parameters": [
          {
            "in": "path",
            "name": "teamId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "name",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "sort",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "summary": "List all team projects",
        "description": "",
        "operationId": "listTeamProjects",
        "responses": {
          "200": {
            "description": "Successful listing",
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/ProjectV1"
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/SomethingWentWrong"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Error": {
        "type": "object",
        "properties": {
          "message": {
            "description": "Detailed error message",
            "type": "string"
          },
          "code": {
            "description": "Error Code",
            "type": "integer"
          }
        },
        "required": [
          "message",
          "code"
        ]
      },
      "ProjectV1": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "title": "Unique Identifier",
            "description": "A UUID generated by the server"
          },
          "name": {
            "type": "string",
            "description": "Unique name",
            "example": "My ZeroDev Project"
          },
          "chainId": {
            "type": "string",
            "description": "EVM Chain ID",
            "example": "80001"
          },
          "teamId": {
            "type": "string",
            "description": "Team ID",
            "example": "123e4567-e89b-12d3-a456-426614174000"
          }
        },
        "required": [
          "id",
          "name",
          "chainId"
        ],
        "title": "V1Project",
        "description": "A legacy project object with a single chainId."
      }
    },
    "responses": {
      "SomethingWentWrong": {
        "description": "Something went wrong.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            },
            "example": {
              "message": "Something went wrong",
              "code": 0
            }
          }
        }
      }
    },
    "securitySchemes": {
      "apiKey": {
        "type": "apiKey",
        "in": "header",
        "name": "X-API-KEY"
      },
      "jwtToken": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      }
    }
  },
  "tags": [
    {
      "name": "Projects"
    }
  ],
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "_id": {
    "buffer": {
      "0": 104,
      "1": 53,
      "2": 119,
      "3": 252,
      "4": 43,
      "5": 199,
      "6": 233,
      "7": 171,
      "8": 128,
      "9": 20,
      "10": 63,
      "11": 194
    }
  }
}
```