Scalar pubsub API

The pubsub API from Scalar — 7 operation(s) for pubsub.

Operations 7

POST /pubsub/sdk-build-complete #
POST /pubsub/sdk-build-failed #
POST /pubsub/api-version-created/create-sdk-version #
POST /pubsub/sdk-version-created #
POST /pubsub/sdk-repository-linked #
POST /pubsub/sdk-git-complete #
POST /pubsub/sdk-git-failed #

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/scalar-pubsub-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

scalar-pubsub-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Core access-groups Pubsub API
  description: Core services for Scalar
  version: 1.0.1
  contact:
    name: Marc from Scalar
    url: https://scalar.com
    email: support@scalar.com
security:
- BearerAuth: []
tags:
- name: pubsub
paths:
  /pubsub/sdk-build-complete:
    post:
      tags:
      - pubsub
      description: Side effect processing after SDK generation completes
      operationId: postpubsubSdkBuildComplete
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: 'null'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/400'
        '401':
          description: No auth
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/401'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/403'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/404'
        '422':
          description: Invalid payload
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/422'
        '500':
          description: Uncaught error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/500'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                buildUid:
                  $ref: '#/components/schemas/nanoid'
                teamUid:
                  $ref: '#/components/schemas/nanoid'
                buildMessage:
                  type: string
                apiJsonSha:
                  type: string
                apiYamlSha:
                  type: string
              required:
              - buildUid
              - teamUid
              additionalProperties: false
        required: true
  /pubsub/sdk-build-failed:
    post:
      tags:
      - pubsub
      description: Side effect processing after SDK generation fails
      operationId: postpubsubSdkBuildFailed
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: 'null'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/400'
        '401':
          description: No auth
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/401'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/403'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/404'
        '422':
          description: Invalid payload
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/422'
        '500':
          description: Uncaught error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/500'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                buildUid:
                  $ref: '#/components/schemas/nanoid'
                teamUid:
                  $ref: '#/components/schemas/nanoid'
                generationLog:
                  type: string
                buildMessage:
                  type: string
              required:
              - buildUid
              - teamUid
              additionalProperties: false
        required: true
  /pubsub/api-version-created/create-sdk-version:
    post:
      tags:
      - pubsub
      description: API version created SDK processing
      operationId: postpubsubApiVersionCreatedCreateSdkVersion
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: 'null'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/400'
        '401':
          description: No auth
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/401'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/403'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/404'
        '422':
          description: Invalid payload
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/422'
        '500':
          description: Uncaught error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/500'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                title:
                  type: string
                description:
                  type: string
                teamUid:
                  $ref: '#/components/schemas/nanoid'
                version:
                  $ref: '#/components/schemas/version'
                versionUid:
                  $ref: '#/components/schemas/nanoid'
                apiUid:
                  $ref: '#/components/schemas/nanoid'
                namespace:
                  $ref: '#/components/schemas/namespace'
                slug:
                  $ref: '#/components/schemas/slug'
                isLatest:
                  type: boolean
                isPrivate:
                  type: boolean
                docsProjectUid:
                  $ref: '#/components/schemas/nanoid'
              required:
              - title
              - description
              - teamUid
              - version
              - versionUid
              - apiUid
              - namespace
              - slug
              - isLatest
              - isPrivate
              additionalProperties: false
        required: true
  /pubsub/sdk-version-created:
    post:
      tags:
      - pubsub
      description: PubSub SDK version created
      operationId: postpubsubSdkVersionCreated
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: 'null'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/400'
        '401':
          description: No auth
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/401'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/403'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/404'
        '422':
          description: Invalid payload
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/422'
        '500':
          description: Uncaught error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/500'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                sdk:
                  type: object
                  properties:
                    uid:
                      $ref: '#/components/schemas/nanoid'
                    namespace:
                      $ref: '#/components/schemas/namespace'
                    slug:
                      $ref: '#/components/schemas/slug'
                    version:
                      $ref: '#/components/schemas/version'
                  required:
                  - uid
                  - namespace
                  - slug
                  - version
                  additionalProperties: false
                api:
                  type: object
                  properties:
                    uid:
                      $ref: '#/components/schemas/nanoid'
                    namespace:
                      $ref: '#/components/schemas/namespace'
                    slug:
                      $ref: '#/components/schemas/slug'
                    version:
                      $ref: '#/components/schemas/version'
                    upgraded:
                      default: false
                      type: boolean
                  required:
                  - uid
                  - namespace
                  - slug
                  - version
                  - upgraded
                  additionalProperties: false
                config:
                  type: string
                repository:
                  type: string
                language:
                  type: string
                  enum:
                  - typescript
                  - python
                  - csharp
                  - java
                  - ruby
                  - php
                  - go
                autoBump:
                  type: boolean
                teamUid:
                  $ref: '#/components/schemas/nanoid'
              required:
              - sdk
              - api
              - config
              - language
              - teamUid
              additionalProperties: false
        required: true
  /pubsub/sdk-repository-linked:
    post:
      tags:
      - pubsub
      description: Handle side effects for SDK repository linking
      operationId: postpubsubSdkRepositoryLinked
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: 'null'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/400'
        '401':
          description: No auth
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/401'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/403'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/404'
        '422':
          description: Invalid payload
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/422'
        '500':
          description: Uncaught error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/500'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                sdkUid:
                  $ref: '#/components/schemas/nanoid'
                teamUid:
                  $ref: '#/components/schemas/nanoid'
              required:
              - sdkUid
              - teamUid
              additionalProperties: false
        required: true
  /pubsub/sdk-git-complete:
    post:
      tags:
      - pubsub
      description: Side effect processing after SDK git sync succeeds
      operationId: postpubsubSdkGitComplete
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: 'null'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/400'
        '401':
          description: No auth
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/401'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/403'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/404'
        '422':
          description: Invalid payload
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/422'
        '500':
          description: Uncaught error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/500'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                buildUid:
                  $ref: '#/components/schemas/nanoid'
                teamUid:
                  $ref: '#/components/schemas/nanoid'
                repository:
                  type: string
                pullRequest:
                  type: number
                commitHash:
                  type: string
                gitMessage:
                  type: string
              required:
              - buildUid
              - teamUid
              - repository
              - pullRequest
              - commitHash
              additionalProperties: false
        required: true
  /pubsub/sdk-git-failed:
    post:
      tags:
      - pubsub
      description: Side effect processing after SDK git sync fails
      operationId: postpubsubSdkGitFailed
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: 'null'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/400'
        '401':
          description: No auth
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/401'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/403'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/404'
        '422':
          description: Invalid payload
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/422'
        '500':
          description: Uncaught error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/500'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                buildUid:
                  $ref: '#/components/schemas/nanoid'
                teamUid:
                  $ref: '#/components/schemas/nanoid'
                gitMessage:
                  type: string
              required:
              - buildUid
              - teamUid
              - gitMessage
              additionalProperties: false
        required: true
components:
  schemas:
    version:
      type: string
      minLength: 1
    '401':
      type: object
      properties:
        message:
          type: string
        code:
          type: string
      required:
      - message
      - code
    '500':
      type: object
      properties:
        message:
          type: string
        code:
          type: string
      required:
      - message
      - code
    '400':
      type: object
      properties:
        message:
          type: string
        code:
          type: string
      required:
      - message
      - code
    slug:
      type: string
      minLength: 3
      maxLength: 60
      pattern: ^[a-z](?:[a-z0-9-]*[a-z0-9])?$
    nanoid:
      type: string
      minLength: 5
    '403':
      type: object
      properties:
        message:
          type: string
        code:
          type: string
      required:
      - message
      - code
    '404':
      type: object
      properties:
        message:
          type: string
        code:
          type: string
      required:
      - message
      - code
    '422':
      type: object
      properties:
        message:
          type: string
        code:
          type: string
      required:
      - message
      - code
    namespace:
      type: string
      minLength: 3
      maxLength: 50
      pattern: ^[a-zA-Z0-9-_]+$
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT