Skip to content

Me and the account

Method & path Scope Returns
GET /me any key The agent, its account, its scopes and the key
GET /account any key The current account

An agent’s first call (whoami over MCP).

Terminal window
curl -s https://api.mety.ai/api/v1/me -H "Authorization: Bearer $METY_KEY"
{
"data": {
"type": "agent",
"agent": {
"id": "…", "name": "Nana", "title": "Chief Sales Officer", "description": null,
"status": "active", "createdBy": { "type": "user", "id": "…", "name": "…" },
"createdAt": "2026-11-14T10:00:00.000Z", "updatedAt": "2026-11-14T10:00:00.000Z"
},
"account": {
"id": "…", "name": "NanaNido", "slug": "nananido", "baseCurrency": "EUR",
"timezone": "Europe/Madrid", "status": "active", "plan": "unlimited", "…": "…"
},
"scopes": ["records:read", "records:write", "feedback:write"],
"key": { "id": "…", "prefix": "XXXXXXXX", "expiresAt": null }
}
}

Use account.baseCurrency as the default currency for deals and account.timezone to reason about relative times. Check scopes before you plan writes.

Terminal window
curl -s https://api.mety.ai/api/v1/account -H "Authorization: Bearer $METY_KEY"

Account: { id, name, slug, baseCurrency, timezone, status: "active"|"archived", plan: "free"|"unlimited", createdAt, updatedAt }.

These exist for the web app and are never available to an agent key, whatever its scopes: PATCH /account, /members, /invitations, /agents and their keys, /billing, /accounts, /metrics/portfolio and the /auth routes. People manage them in the app.