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

---
title: "Get me"
description: "For a signed-in session, returns the user, all orgs they belong to, and projects per org. For a project-scoped API key, returns only the key's org and its single project (no user identity)."
api: "GET /api/v0/me"
gridGap: 30
---

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

<OpenAPIEndpoint {...{"method":"get","path":"/api/v0/me","summary":"Get me","description":"For a signed-in session, returns the user, all orgs they belong to, and projects per org. For a project-scoped API key, returns only the key's org and its single project (no user identity).","parameters":[],"responses":[{"status":"200","description":"","schema":{"type":"object","required":["user","orgs"],"properties":{"user":{"description":"Null when authenticated with an API key.","anyOf":[{"type":"object","required":["name","email","image"],"properties":{"name":{"type":"string"},"email":{"type":"string"},"image":{"anyOf":[{"type":"string"},{"type":"null"}]}}},{"type":"null"}]},"orgs":{"type":"array","items":{"type":"object","required":["id","name","role","projects"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"role":{"type":"string"},"projects":{"type":"array","items":{"type":"object","required":["projectId","orgId","name","subdomain","currentDeploymentId","defaultBranch","githubOwner","githubRepo","createdAt","updatedAt"],"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."}}}}}}}}},"examples":[]},{"status":"default","description":"","examples":[]}],"security":[],"servers":[]}} />
