Bluesky icon

Bluesky

Interact with the Bluesky social platform

Actions94

Repo → Put Record

AI-generated

Summary

Writes or replaces a record in a Bluesky repository using the supplied repo identifier, collection, record key, and JSON record. An optional swap commit enables optimistic concurrency control.

Inputs

  • Repo (DID or Handle) (required) — DID or handle of the repository to write to.
  • Collection NSID (required) — Record collection NSID, such as app.bsky.feed.post.
  • Record Key (rkey) (required) — Key identifying the record to put in the collection.
  • Record JSON (required) — JSON object to write as the record; defaults to {"$type":"app.bsky.feed.post"}.
  • Swap Commit — Optional commit CID used for optimistic concurrency control.

Output shape

A single record-write response from the Bluesky agent.

The operation calls the repository put-record method with the supplied fields. The source pack shows the operation signature but not its function body, so the precise response fields are unspecified.

Links

Discussion