> For the complete documentation index, see [llms.txt](https://docs.podigee.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.podigee.com/api-reference/rest-api/account.md). Agents can also search and read this documentation through its [MCP server](https://docs.podigee.com/~gitbook/mcp).

# REST API account

The me endpoint of the REST API v1, read the account, its plan, and change report and locale settings.

Use this reference when your integration needs to know which account a credential belongs to, or which plan the account has. Use it also when the integration changes the report subscription or the locale of the account. Paths are relative to `https://app.podigee.com/api/v1`.

## Endpoints

| Method | Path  | Purpose                                | Notable parameters                | Response notes                          |
| ------ | ----- | -------------------------------------- | --------------------------------- | --------------------------------------- |
| `GET`  | `/me` | Read the account behind the credential | none                              | Returns the fields below, among others. |
| `PUT`  | `/me` | Change account settings                | `subscribed_to_reports`, `locale` |                                         |

## Response fields

| Field                   | Meaning                                                 |
| ----------------------- | ------------------------------------------------------- |
| `id`                    | Account id                                              |
| `email`                 | Account email address                                   |
| `subscribed_to_reports` | Whether the account receives analytics reports by email |
| `locale`                | Language of the account                                 |
| `country`               | Country of the account                                  |
| `plan`                  | The plan with its `kind` and `name`                     |
| `packages`              | Package identifiers of the plan                         |
| `trial_expired`         | Whether the trial of the account has expired            |

The `plan` object contains only `kind` and `name`. Prices and allowances are not part of the response.

## Related pages

* The agent path for the same check: [Check the connected account and granted access](https://docs.podigee.com/documentation/start-here/ai-agents/connect-and-authorize/choose-the-account-and-permissions)
* [REST API authentication and errors](https://docs.podigee.com/api-reference/rest-api/authentication-and-errors.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.podigee.com/api-reference/rest-api/account.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
