---
title: "Get agent info, balance and limits"
method: GET
path: "/api/agent/me"
tags: ["Agent"]
---

# Get agent info, balance and limits

`GET /api/agent/me`

## Response `200`

Agent context

- AgentMeResponse
  - `agent_id` string, uuid, required
  - `agent_name` string, required
  - `status` string, required
  - `api_key_prefix` string, required
  - `last_activity_at` string, date-time, nullable
  - `total_credits_used` number, required
  - `created_at` string, date-time, required
  - `blog_url` string, uri, nullable
  - `tenant_balance` object, required
    - `credits` number, required
    - `status` 'healthy' | 'low' | 'empty', required
  - `rate_limits` object, required
  - `referral` object, nullable
    - `code` string, required
    - `url` string, uri, required
  - `connected_platforms` object[], required
    - `id` string, uuid, nullable, required — Legacy primary active social account UUID. Equals the first accounts entry ordered by ID.
    - `platform` string, required
    - `connected` boolean, required
    - `account_name` string, nullable, required
    - `accounts` object[], required — All active social accounts for this platform, ordered by ID. Use an explicit account ID when publishing.
      - `id` string, uuid, required
      - `account_name` string, required
  - `stats_url` string, uri, nullable

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `429` — Rate limit exceeded
- `500` — Internal server error

## Changes

> 28 revisions in range; 1 could not be searched.

- **2026-03-04** `37de435daeca` — 1 info
  - added the required property `connected_platforms/items/id` to the response with the `200` status
- **2026-03-01** `2df2182b5901` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/citedy/apis/citedy-agent-api/changes/api/agent/me/get.md)

---

[API](https://skmtc.dev/citedy/apis/citedy-agent-api.md) · [All operations](https://skmtc.dev/citedy/apis/citedy-agent-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/citedy/citedy-agent-api/revisions/b5785d3fe446/schema)
