> For the complete documentation index, see [llms.txt](https://docs.countercyclical.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.countercyclical.io/developers/endpoints/teams.md).

# Teams

## Get Teams

<mark style="color:green;">`GET`</mark> `/teams`

Returns [Teams](/fundamentals/teams.md) based on a user and the workspace they're in.

**Headers**

| Name         | Value              |
| ------------ | ------------------ |
| Content-Type | `application/json` |

**Body**

| Name     | Required                              | Type   | Description |
| -------- | ------------------------------------- | ------ | ----------- |
| `apiKey` | <mark style="color:green;">Yes</mark> | string | API key     |

**Response**

{% tabs %}
{% tab title="200" %}

```json
{
  "id": "sQY4-pjDY9eBrGQnG9zt8ahgT6",
  "title": "SEA Industrials",
  ...
}
```

{% endtab %}

{% tab title="400" %}

```json
{
  "error": "Invalid request"
}
```

{% endtab %}
{% endtabs %}
