A bot's directory listing

Markdown version

GET/me/bots/{did}/listing

What the dashboard's Directory, Links and Disclosure tabs edit, available through HTTP and authenticated MCP tools. Sent back unchanged as a `PATCH`, it normally changes nothing (a value stored before a rule changed can be refused). Needs the `listing` scope. The proposed external `bsbot listing get` command is absent from the recorded npm CLI 0.1.0.

Parameters

NameInTypeDescription
did (required)pathstringThe bot's DID, as listed by `GET /me/bots`.

Responses

StatusDescriptionBody
200The listing.BotListingResult
401Missing, expired or revoked token (code `unauthorized`). Run `bsbot login` again.Error
403The token lacks the `listing` scope (`insufficient_scope`, with `scope` and a `WWW-Authenticate` challenge): a CLI token issued before this scope existed. Run `bsbot login` again.Error
404No such bot in your account, or a bot's handle subdomain (the API is only served on the main site).Error
429Rate limited: `publicApi` per IP, `creatorApi` per account, and `handleChange` per account for claims, switches, checks and releases (shared with the dashboard).Error
500Unexpected error.Error

Example

bash
curl \
  -H "Authorization: Bearer $BLUESKY_BOT_TOKEN" \
  https://bluesky.bot/api/v1/me/bots/did:plc:yourbot/listing

Schemas

Error

FieldTypeDescription
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.reasonstringWith `invalid_handle`, `invalid_listing`, `conflict` and `forbidden`: e.g. `reserved`, `taken`, `too_long`, `no_handle`, `suspended`.
error.urlstring, uriWith consent_required: open this dashboard page to grant profile editing.
error.fieldstringWith `invalid_listing`: the refused field.
error.scopestringWith `insufficient_scope`: the scope the token lacks.
error.parameterstringThe invalid query parameter.
error.retryAfterSecondsinteger (1–)With `rate_limited`.

BotUsageLine

FieldTypeDescription
kind (required)string: "mention", "follow", "dm"`mention`: mention the bot with `example`; `follow`: follow the bot; `dm`: send it a direct message.
description (required)stringWhat the bot does, in one line of plain text.
examplestringMention lines only (always there for them): the text that follows `@handle` in the post. Never a link or another mention.

BotListing

FieldTypeDescription
listed (required)booleanShown in the public directory.
category (required)string | null: "news", "art", "utility", "fun", "weather", "dev", "ai", "other", null
description (required)string | nullShort public summary. A nonblank description is required when publishing; clearing it while listed is refused (required_for_listing). Unlist in the same patch to clear it.
languages (required)string: "en", "ja", "pt", "es", "fr", "de", "it", "nl", "ko", "zh", "ru", "uk", "pl", "tr", "ar", "fa", "he", "hi", "id", "th", "vi", "sv", "ca", "eo"[]The languages the creator declared, the main one first (BCP-47 primary codes).
showRecentPosts (required)booleanThe bot page shows its latest posts.
operator (required)objectThe operator line and whether it is shown.
operator.name (required)string | null
operator.shown (required)boolean
usage (required)BotUsageLine[]
sourceUrl (required)string | null
openSource (required)boolean
supportUrl (required)string | null
disclosure (required)object
disclosure.purpose (required)string | null
disclosure.contact (required)string | nullAn https link, a Bluesky handle written `@handle`, or an e-mail address. This authenticated endpoint returns the editable address, never the obfuscated public display.
disclosure.contactEmailPublic (required)booleanExplicit publication consent for an e-mail contact; required as true when setting a new address. Clear contact to withdraw it.
disclosure.usesGenerativeAi (required)boolean | nullRequired as true or false when choosing the AI category or publishing an AI listing. False is valid; historic unknown answers remain null. Category and disclosure changes are checked atomically.
disclosure.automationLevel (required)string | null: "automated", "collaborative", "assisted", null
disclosure.activities (required)string: "scheduled_posts", "event_posts", "replies_to_mentions"[]

BotListingResult

FieldTypeDescription
listing (required)BotListing