# Team Members API

The Team Members API allows you to programmatically retrieve the members and permissions associated with your Hosted Graphite team.

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

Returns a list of users associated with your team, and their respective permissions.

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

{% tab title="500" %}
Internal Server Error
{% endtab %}
{% endtabs %}

**Example JSON response:**

```json
{
  "total_users": 2,
  "users": [
    {
      "user": "admin@example.com",
      "permission": "Team Manager"
    },
    {
      "user": "user@example.com",
      "permission": "Read and Write"
    }
  ]
}
```

**Curl example:**

```bash
curl -X GET "https://<API-KEY>@api.hostedgraphite.com/team/members/"
```

Additional routes for this (create, update, delete) are currently on our development roadmap!


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.hostedgraphite.com/api-guides/team-members-api.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
