Bluesky Ozone Sets API

Ozone set management operations.

GitHub OpenAPI

Operations 6

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /xrpc/tools.ozone.set.addValues Add values to an Ozone set · Bluesky Add values to a specific set #
Ask an LLM
“How do I add a list of values to an Ozone moderation set?”
“Can I add items to a set that doesn't exist yet?”
Tell an agent
Add {values} to Ozone set {name}.
Populate moderation set {name} with {values}.
POST /xrpc/tools.ozone.set.deleteSet Delete an Ozone set · Bluesky Delete an entire set #
Ask an LLM
“How do I remove an entire Ozone set?”
“What happens if I delete a set that doesn't exist?”
Tell an agent destructive · confirm first
Delete Ozone set {name}.
Remove the entire moderation set {name}.
POST /xrpc/tools.ozone.set.deleteValues Remove values from an Ozone set · Bluesky Delete values from a specific set #
Ask an LLM
“How do I take items out of an Ozone set?”
“Will trying to remove values not in a set cause an error?”
Tell an agent
Remove {values} from Ozone set {name}.
Take {values} out of moderation set {name}.
GET /xrpc/tools.ozone.set.getValues Get the values of an Ozone set · Bluesky Get a specific set and its values #
Ask an LLM
“What values are in a particular Ozone set?”
“Can I page through the items of a moderation set?”
Tell an agent
Get the values of Ozone set {name}.
Show the first {limit} items in moderation set {name}.
GET /xrpc/tools.ozone.set.querySets List Ozone moderation sets · Bluesky Query available sets #
Ask an LLM
“Which Ozone sets exist for moderation?”
“Can I find sets whose name starts with a prefix?”
Tell an agent
List all Ozone sets.
Find Ozone sets starting with {namePrefix}.
POST /xrpc/tools.ozone.set.upsertSet Create or update an Ozone set's metadata · Bluesky Create or update set metadata #
Ask an LLM
“How do I create a new Ozone set with a description?”
“Can I update the description of an existing moderation set?”
Tell an agent
Create Ozone set {name}.
Create or update Ozone set {name} with description {description}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/bluesky:bluesky-ozone-sets-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

bluesky-ozone-sets-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Bluesky Social Ozone Sets API
  description: The Bluesky Social API provides programmatic access to the Bluesky social network built on the AT Protocol.
  version: 1.0.0
  contact:
    name: Bluesky Support
    url: https://bsky.app
  license:
    name: MIT
    url: https://opensource.org/licenses/MIT
servers:
- url: https://bsky.social/xrpc
  description: Bluesky Social PDS
- url: https://public.api.bsky.app/xrpc
  description: Public Bluesky AppView API (unauthenticated endpoints)
tags:
- name: Ozone Sets
  description: Ozone set management operations.
paths:
  /xrpc/tools.ozone.set.addValues:
    post:
      operationId: ozoneSetAddValues
      summary: Bluesky Add values to a specific set
      description: '*This endpoint is part of the Ozone moderation service APIs. Requests usually require authentication, are directed to the user''s PDS intance, and proxied to the Ozone instance indicated by the DID in the service proxying header. Admin authenentication may also be possible, with request sent directly to the Ozone instance.*


        *To learn more about calling atproto API endpoints like this one, see the API Hosts and Auth guide.*


        Add values to a specific set. Attempting to add values to a set that does not exist will result in an error.'
      tags:
      - Ozone Sets
      x-microcks-operation:
        delay: 100
        dispatcher: FALLBACK
        dispatcherRules: ''
      security:
      - Bearer: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - name
              - values
              properties:
                name:
                  type: string
                  description: Name of the set to add values to
                values:
                  type: array
                  items:
                    type: string
                  maxItems: 1000
            examples:
              OzoneSetAddValuesRequestExample:
                $ref: '#/components/examples/OzoneSetAddValuesRequestExample'
      responses:
        '200':
          description: OK
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                type: object
                required:
                - error
                - message
                properties:
                  error:
                    type: string
                    enum:
                    - InvalidRequest
                    - ExpiredToken
                    - InvalidToken
                  message:
                    type: string
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
                required:
                - error
                - message
                properties:
                  error:
                    const: AuthMissing
                  message:
                    type: string
  /xrpc/tools.ozone.set.deleteSet:
    post:
      operationId: ozoneSetDeleteSet
      summary: Bluesky Delete an entire set
      description: '*This endpoint is part of the Ozone moderation service APIs. Requests usually require authentication, are directed to the user''s PDS intance, and proxied to the Ozone instance indicated by the DID in the service proxying header. Admin authenentication may also be possible, with request sent directly to the Ozone instance.*


        *To learn more about calling atproto API endpoints like this one, see the API Hosts and Auth guide.*


        Delete an entire set. Attempting to delete a set that does not exist will result in an error.'
      tags:
      - Ozone Sets
      x-microcks-operation:
        delay: 100
        dispatcher: FALLBACK
        dispatcherRules: ''
      security:
      - Bearer: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - name
              properties:
                name:
                  type: string
                  description: Name of the set to delete
            examples:
              OzoneSetDeleteSetRequestExample:
                $ref: '#/components/examples/OzoneSetDeleteSetRequestExample'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  _unknown_:
                    type: object
                    properties: {}
              examples:
                OzoneSetDeleteSetResponse200Example:
                  $ref: '#/components/examples/OzoneSetDeleteSetResponse200Example'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                type: object
                required:
                - error
                - message
                properties:
                  error:
                    type: string
                    enum:
                    - InvalidRequest
                    - ExpiredToken
                    - InvalidToken
                    - SetNotFound
                  message:
                    type: string
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
                required:
                - error
                - message
                properties:
                  error:
                    const: AuthMissing
                  message:
                    type: string
  /xrpc/tools.ozone.set.deleteValues:
    post:
      operationId: ozoneSetDeleteValues
      summary: Bluesky Delete values from a specific set
      description: '*This endpoint is part of the Ozone moderation service APIs. Requests usually require authentication, are directed to the user''s PDS intance, and proxied to the Ozone instance indicated by the DID in the service proxying header. Admin authenentication may also be possible, with request sent directly to the Ozone instance.*


        *To learn more about calling atproto API endpoints like this one, see the API Hosts and Auth guide.*


        Delete values from a specific set. Attempting to delete values that are not in the set will not result in an error'
      tags:
      - Ozone Sets
      x-microcks-operation:
        delay: 100
        dispatcher: FALLBACK
        dispatcherRules: ''
      security:
      - Bearer: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - name
              - values
              properties:
                name:
                  type: string
                  description: Name of the set to delete values from
                values:
                  type: array
                  items:
                    type: string
            examples:
              OzoneSetDeleteValuesRequestExample:
                $ref: '#/components/examples/OzoneSetDeleteValuesRequestExample'
      responses:
        '200':
          description: OK
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                type: object
                required:
                - error
                - message
                properties:
                  error:
                    type: string
                    enum:
                    - InvalidRequest
                    - ExpiredToken
                    - InvalidToken
                    - SetNotFound
                  message:
                    type: string
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
                required:
                - error
                - message
                properties:
                  error:
                    const: AuthMissing
                  message:
                    type: string
  /xrpc/tools.ozone.set.getValues:
    get:
      operationId: ozoneSetGetValues
      summary: Bluesky Get a specific set and its values
      description: '*This endpoint is part of the Ozone moderation service APIs. Requests usually require authentication, are directed to the user''s PDS intance, and proxied to the Ozone instance indicated by the DID in the service proxying header. Admin authenentication may also be possible, with request sent directly to the Ozone instance.*


        *To learn more about calling atproto API endpoints like this one, see the API Hosts and Auth guide.*


        Get a specific set and its values'
      tags:
      - Ozone Sets
      x-microcks-operation:
        delay: 100
        dispatcher: FALLBACK
        dispatcherRules: ''
      security:
      - Bearer: []
      parameters:
      - name: name
        in: query
        required: true
        schema:
          type: string
        example: Example Name
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          minimum: 1
          maximum: 1000
          default: 100
        example: 100
      - name: cursor
        in: query
        required: false
        schema:
          type: string
        example: eyJsYXN0SWQiOiIxMjM0NTYifQ
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                required:
                - set
                - values
                properties:
                  set:
                    $ref: '#/components/schemas/ToolsOzoneSetDefsSetView'
                  values:
                    type: array
                    items:
                      type: string
                  cursor:
                    type: string
              examples:
                OzoneSetGetValuesResponse200Example:
                  $ref: '#/components/examples/OzoneSetGetValuesResponse200Example'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                type: object
                required:
                - error
                - message
                properties:
                  error:
                    type: string
                    enum:
                    - InvalidRequest
                    - ExpiredToken
                    - InvalidToken
                    - SetNotFound
                  message:
                    type: string
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
                required:
                - error
                - message
                properties:
                  error:
                    const: AuthMissing
                  message:
                    type: string
  /xrpc/tools.ozone.set.querySets:
    get:
      operationId: ozoneSetQuerySets
      summary: Bluesky Query available sets
      description: '*This endpoint is part of the Ozone moderation service APIs. Requests usually require authentication, are directed to the user''s PDS intance, and proxied to the Ozone instance indicated by the DID in the service proxying header. Admin authenentication may also be possible, with request sent directly to the Ozone instance.*


        *To learn more about calling atproto API endpoints like this one, see the API Hosts and Auth guide.*


        Query available sets'
      tags:
      - Ozone Sets
      x-microcks-operation:
        delay: 100
        dispatcher: FALLBACK
        dispatcherRules: ''
      security:
      - Bearer: []
      parameters:
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          minimum: 1
          maximum: 100
          default: 50
        example: 50
      - name: cursor
        in: query
        required: false
        schema:
          type: string
        example: eyJsYXN0SWQiOiIxMjM0NTYifQ
      - name: namePrefix
        in: query
        required: false
        schema:
          type: string
        example: Example Name
      - name: sortBy
        in: query
        required: false
        schema:
          type: string
          default: name
        example: example-sortBy
      - name: sortDirection
        in: query
        description: Defaults to ascending order of name field.
        required: false
        schema:
          type: string
          description: Defaults to ascending order of name field.
          default: asc
        example: example-sortDirection
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                required:
                - sets
                properties:
                  sets:
                    type: array
                    items:
                      $ref: '#/components/schemas/ToolsOzoneSetDefsSetView'
                  cursor:
                    type: string
              examples:
                OzoneSetQuerySetsResponse200Example:
                  $ref: '#/components/examples/OzoneSetQuerySetsResponse200Example'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                type: object
                required:
                - error
                - message
                properties:
                  error:
                    type: string
                    enum:
                    - InvalidRequest
                    - ExpiredToken
                    - InvalidToken
                  message:
                    type: string
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
                required:
                - error
                - message
                properties:
                  error:
                    const: AuthMissing
                  message:
                    type: string
  /xrpc/tools.ozone.set.upsertSet:
    post:
      operationId: ozoneSetUpsertSet
      summary: Bluesky Create or update set metadata
      description: '*This endpoint is part of the Ozone moderation service APIs. Requests usually require authentication, are directed to the user''s PDS intance, and proxied to the Ozone instance indicated by the DID in the service proxying header. Admin authenentication may also be possible, with request sent directly to the Ozone instance.*


        *To learn more about calling atproto API endpoints like this one, see the API Hosts and Auth guide.*


        Create or update set metadata'
      tags:
      - Ozone Sets
      x-microcks-operation:
        delay: 100
        dispatcher: FALLBACK
        dispatcherRules: ''
      security:
      - Bearer: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ToolsOzoneSetDefsSet'
            examples:
              OzoneSetUpsertSetRequestExample:
                $ref: '#/components/examples/OzoneSetUpsertSetRequestExample'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ToolsOzoneSetDefsSetView'
              examples:
                OzoneSetUpsertSetResponse200Example:
                  $ref: '#/components/examples/OzoneSetUpsertSetResponse200Example'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                type: object
                required:
                - error
                - message
                properties:
                  error:
                    type: string
                    enum:
                    - InvalidRequest
                    - ExpiredToken
                    - InvalidToken
                  message:
                    type: string
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
                required:
                - error
                - message
                properties:
                  error:
                    const: AuthMissing
                  message:
                    type: string
components:
  schemas:
    ToolsOzoneSetDefsSet:
      type: object
      required:
      - name
      properties:
        name:
          type: string
          minLength: 3
          maxLength: 128
        description:
          type: string
          maxLength: 10240
    ToolsOzoneSetDefsSetView:
      type: object
      required:
      - name
      - setSize
      - createdAt
      - updatedAt
      properties:
        name:
          type: string
          minLength: 3
          maxLength: 128
        description:
          type: string
          maxLength: 10240
        setSize:
          type: integer
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
  examples:
    OzoneSetUpsertSetRequestExample:
      summary: Example request for ozoneSetUpsertSet
      value:
        name: Example Name
        description: This is an example description.
    OzoneSetDeleteSetResponse200Example:
      summary: Successful response for ozoneSetDeleteSet
      value:
        _unknown_: {}
    OzoneSetDeleteSetRequestExample:
      summary: Example request for ozoneSetDeleteSet
      value:
        name: Example Name
    OzoneSetUpsertSetResponse200Example:
      summary: Successful response for ozoneSetUpsertSet
      value:
        name: Example Name
        setSize: 50
        createdAt: '2024-01-15T12:00:00.000Z'
        updatedAt: '2024-01-15T12:00:00.000Z'
        description: This is an example description.
    OzoneSetGetValuesResponse200Example:
      summary: Successful response for ozoneSetGetValues
      value:
        set:
          name: Example Name
          setSize: 50
          createdAt: '2024-01-15T12:00:00.000Z'
          updatedAt: '2024-01-15T12:00:00.000Z'
          description: This is an example description.
        values:
        - example-values
        cursor: eyJsYXN0SWQiOiIxMjM0NTYifQ
    OzoneSetDeleteValuesRequestExample:
      summary: Example request for ozoneSetDeleteValues
      value:
        name: Example Name
        values:
        - example-values
    OzoneSetQuerySetsResponse200Example:
      summary: Successful response for ozoneSetQuerySets
      value:
        sets:
        - name: Example Name
          setSize: 50
          createdAt: '2024-01-15T12:00:00.000Z'
          updatedAt: '2024-01-15T12:00:00.000Z'
          description: This is an example description.
        cursor: eyJsYXN0SWQiOiIxMjM0NTYifQ
    OzoneSetAddValuesRequestExample:
      summary: Example request for ozoneSetAddValues
      value:
        name: Example Name
        values:
        - example-values
  securitySchemes:
    Bearer:
      type: http
      scheme: bearer