> Agent-readable docs index: /llms.txt. Download /docs.zip to grep all markdown files locally.

---
title: "List projects"
description: "For a signed-in session, lists every project across all orgs the caller belongs to. For a project-scoped API key, lists only the key's own project."
api: "GET /api/v0/projects"
gridGap: 30
---

<Aside full>
  <RequestExample>
    ```bash title="cURL" lines=false
    curl -X GET "https://api.example.com/api/v0/projects"
    ```
  </RequestExample>
</Aside>

<OpenAPIEndpoint {...{"method":"get","path":"/api/v0/projects","summary":"List projects","description":"For a signed-in session, lists every project across all orgs the caller belongs to. For a project-scoped API key, lists only the key's own project.","parameters":[],"responses":[{"status":"200","description":"","schema":{"type":"object","required":["projects"],"properties":{"projects":{"type":"array","items":{"type":"object","required":["projectId","orgId","name","subdomain","currentDeploymentId","defaultBranch","githubOwner","githubRepo","createdAt","updatedAt","orgName"],"properties":{"projectId":{"type":"string"},"orgId":{"type":"string"},"name":{"type":"string"},"subdomain":{"anyOf":[{"type":"string"},{"type":"null"}]},"currentDeploymentId":{"anyOf":[{"type":"string"},{"type":"null"}]},"defaultBranch":{"anyOf":[{"type":"string"},{"type":"null"}]},"githubOwner":{"anyOf":[{"type":"string"},{"type":"null"}]},"githubRepo":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdAt":{"type":"number","description":"Unix epoch milliseconds."},"updatedAt":{"type":"number","description":"Unix epoch milliseconds."},"orgName":{"type":"string"}}}}}},"examples":[]},{"status":"default","description":"","examples":[]}],"security":[],"servers":[]}} />
