Your bots
Markdown versionGET/me/bots
Every bot of your account, listed in the directory or not, oldest first. Add a bot from the dashboard: it needs a sign-in on the bot account.
Responses
| Status | Description | Body |
|---|---|---|
| 200 | Your bots. | MyBotList |
| 401 | Missing, expired or revoked token (code `unauthorized`). Run `bsbot login` again. | Error |
| 403 | The token lacks the `handles` scope, or is bound to one bot (`insufficient_scope`). | Error |
| 404 | No such bot in your account, or a bot's handle subdomain (the API is only served on the main site). | Error |
| 429 | Rate limited: `publicApi` per IP, `creatorApi` per account, and `handleChange` per account for claims, switches, checks and releases (shared with the dashboard). | Error |
| 500 | Unexpected error. | Error |
Example
curl \
-H "Authorization: Bearer $BLUESKY_BOT_TOKEN" \
https://bluesky.bot/api/v1/me/botsSchemas
Error
| Field | Type | Description |
|---|---|---|
| error (required) | object | |
| error.code (required) | string: "bad_request", "invalid_handle", "not_found", "rate_limited", "internal_error", "unauthorized", "forbidden", "conflict", "invalid_grant", "upstream_error", "insufficient_scope", "invalid_listing", "consent_required" | |
| error.message (required) | string | |
| error.reason | string | With `invalid_handle`, `invalid_listing`, `conflict` and `forbidden`: e.g. `reserved`, `taken`, `too_long`, `no_handle`, `suspended`. |
| error.url | string, uri | With consent_required: open this dashboard page to grant profile editing. |
| error.field | string | With `invalid_listing`: the refused field. |
| error.scope | string | With `insufficient_scope`: the scope the token lacks. |
| error.parameter | string | The invalid query parameter. |
| error.retryAfterSeconds | integer (1–) | With `rate_limited`. |
MyBot
| Field | Type | Description |
|---|---|---|
| did (required) | string | |
| handle (required) | string | null | The claimed `*.bluesky.bot` handle; null when none. |
| previousHandle (required) | string | null | The bot's handle before it got one here. |
| displayName (required) | string | null | |
| avatar (required) | string | null | |
| verifiedAt (required) | string | null, date-time | When the claimed handle was confirmed live on Bluesky. |
| listed (required) | boolean | Shown in the public directory. |
| status (required) | string: "active", "suspended" | |
| selfLabeled (required) | boolean | null | Bluesky shows the Automation label on the bot's profile: the bot set its own `bot` self-label (in the Bluesky app: Settings → Account → Automation label). Read from its public profile, at least daily for a bot with a claimed handle; null while never read. |
MyBotList
| Field | Type | Description |
|---|---|---|
| bots (required) | MyBot[] |