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

# Get Team

> Returns the team this key belongs to

```
GET /openapi/memorylake/admin/v1/team
```

Returns the team this key belongs to. The team is fixed by the key — there is no way to address a different one. Any member may read it.

<Note>
  **Permission required:** none — any member's key can call this
</Note>

<RequestExample>
  ```bash cURL theme={null}
  curl -X GET 'https://app.memorylake.ai/openapi/memorylake/admin/v1/team' \
    -H 'Authorization: Bearer sk_xxxxxx'
  ```
</RequestExample>

### Response

<ResponseField name="data" type="object">
  <Expandable title="Team object">
    <ResponseField name="created_at" type="integer">Creation time, Unix seconds</ResponseField>
    <ResponseField name="id" type="string">Stable identifier of this team</ResponseField>
    <ResponseField name="name" type="string">Display name</ResponseField>
    <ResponseField name="owner_principal_id" type="string">principal\_id of the team owner (see the members list)</ResponseField>
    <ResponseField name="type" type="string">personal = single-user space, org = team with members</ResponseField>
    <ResponseField name="caller_role" type="string">The calling key's role in this team: tenant\_owner | tenant\_admin | tenant\_member | \<custom role></ResponseField>
  </Expandable>
</ResponseField>

<ResponseExample>
  ```json Success (200) theme={null}
  {
    "success": true,
    "message": "Operation completed successfully",
    "data": {
      "created_at": 1760000000,
      "id": "7d9e7032509bd2d43c2eeec93bae86a2",
      "name": "Example name",
      "owner_principal_id": "284c4662589661476271ee7c94015dec",
      "type": "personal",
      "caller_role": "tenant_member"
    }
  }
  ```
</ResponseExample>

### Errors

Errors answer with `success: false`, a `message` and an `error_code`. See [Error Codes](/features/memorylake/api-reference/errors) for every code.

| Status | Meaning |
| - | - |
| `401` | The API key is missing, invalid, disabled or expired |
| `403` | The key is not allowed to do this |
| `429` | Too many requests. Wait for the time in `Retry-After` |
| `500` | Server-side error |


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