a4sx Producers API

The Producers API from a4sx — 11 operation(s) for producers.

GitHub OpenAPI

Operations 12

POST /producers/register Register Producer #
POST /producers/{producer_id}/approve Approve Producer #
POST /producers/{producer_id}/reject Reject Producer #
GET /producers/{producer_id}/token Collect Emitter Token #
GET /producers List Producers #
GET /producers/{producer_id} Get Producer #
POST /producers/{producer_id}/revoke Revoke Producer #
POST /producers/{producer_id}/tokens Mint Emitter Token #
GET /producers/{producer_id}/tokens List Emitter Tokens #
POST /producers/{producer_id}/tokens/{token_id}/revoke Revoke Emitter Token #
POST /producers/{producer_id}/roles Assign Producer Role #
DELETE /producers/{producer_id}/roles/{role} Remove Producer Role #

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/session-exchange-com:session-exchange-com-producers-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

session-exchange-com-producers-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Session Exchange Com Producers API
  version: 0.1.0
  description: 'Operations tagged Producers across 2 of this provider''s published API definitions: openapi.json, session-exchange-com-openapi.json. Each path carries the servers of the definition it was published in.'
tags:
- name: Producers
paths:
  /producers/register:
    post:
      summary: Register Producer
      operationId: register_producer_producers_register_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProducerRegisterRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Producers
  /producers/{producer_id}/approve:
    post:
      summary: Approve Producer
      operationId: approve_producer_producers__producer_id__approve_post
      parameters:
      - name: producer_id
        in: path
        required: true
        schema:
          type: string
          title: Producer Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProducerApproveRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Producers
  /producers/{producer_id}/reject:
    post:
      summary: Reject Producer
      operationId: reject_producer_producers__producer_id__reject_post
      parameters:
      - name: producer_id
        in: path
        required: true
        schema:
          type: string
          title: Producer Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProducerRejectRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Producers
  /producers/{producer_id}/token:
    get:
      summary: Collect Emitter Token
      operationId: collect_emitter_token_producers__producer_id__token_get
      parameters:
      - name: producer_id
        in: path
        required: true
        schema:
          type: string
          title: Producer Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Producers
  /producers:
    get:
      summary: List Producers
      operationId: list_producers_producers_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      tags:
      - Producers
  /producers/{producer_id}:
    get:
      summary: Get Producer
      operationId: get_producer_producers__producer_id__get
      parameters:
      - name: producer_id
        in: path
        required: true
        schema:
          type: string
          title: Producer Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Producers
  /producers/{producer_id}/revoke:
    post:
      summary: Revoke Producer
      operationId: revoke_producer_producers__producer_id__revoke_post
      parameters:
      - name: producer_id
        in: path
        required: true
        schema:
          type: string
          title: Producer Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Producers
  /producers/{producer_id}/tokens:
    post:
      summary: Mint Emitter Token
      description: 'Mint an additional emitter token for an already-approved producer.


        Multiple emitter tokens per producer is the supported pattern for

        multi-instance agents (e.g. several runners of the same skill). All

        tokens for the producer attribute events to the same producer name;

        they differ by `producer.run_id` / `producer.host` set on each emit.'
      operationId: mint_emitter_token_producers__producer_id__tokens_post
      parameters:
      - name: producer_id
        in: path
        required: true
        schema:
          type: string
          title: Producer Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Producers
    get:
      summary: List Emitter Tokens
      operationId: list_emitter_tokens_producers__producer_id__tokens_get
      parameters:
      - name: producer_id
        in: path
        required: true
        schema:
          type: string
          title: Producer Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Producers
  /producers/{producer_id}/tokens/{token_id}/revoke:
    post:
      summary: Revoke Emitter Token
      operationId: revoke_emitter_token_producers__producer_id__tokens__token_id__revoke_post
      parameters:
      - name: producer_id
        in: path
        required: true
        schema:
          type: string
          title: Producer Id
      - name: token_id
        in: path
        required: true
        schema:
          type: string
          title: Token Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Producers
  /producers/{producer_id}/roles:
    post:
      summary: Assign Producer Role
      operationId: assign_producer_role_producers__producer_id__roles_post
      parameters:
      - name: producer_id
        in: path
        required: true
        schema:
          type: string
          title: Producer Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProducerRoleAssignRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Producers
  /producers/{producer_id}/roles/{role}:
    delete:
      summary: Remove Producer Role
      operationId: remove_producer_role_producers__producer_id__roles__role__delete
      parameters:
      - name: producer_id
        in: path
        required: true
        schema:
          type: string
          title: Producer Id
      - name: role
        in: path
        required: true
        schema:
          type: string
          title: Role
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Producers
components:
  schemas:
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    ProducerApproveRequest:
      properties:
        approved_stations:
          items:
            type: string
          type: array
          minItems: 1
          title: Approved Stations
        expires_at:
          anyOf:
          - type: string
          - type: 'null'
          title: Expires At
        allowed_event_types:
          anyOf:
          - items:
              type: string
            type: array
            maxItems: 16
            minItems: 1
          - type: 'null'
          title: Allowed Event Types
      type: object
      required:
      - approved_stations
      title: ProducerApproveRequest
    ProducerRoleAssignRequest:
      properties:
        role:
          type: string
          maxLength: 100
          minLength: 1
          title: Role
      type: object
      required:
      - role
      title: ProducerRoleAssignRequest
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ProducerRegisterRequest:
      properties:
        name:
          type: string
          maxLength: 200
          minLength: 1
          title: Name
        kind:
          type: string
          enum:
          - claude-skill
          - gh-action
          - webhook
          - dependabot
          - human
          - cron
          - impact-runner
          - ci-runner
          - collector
          title: Kind
        requested_stations:
          items:
            type: string
          type: array
          title: Requested Stations
        contact:
          type: string
          maxLength: 500
          minLength: 1
          title: Contact
        note:
          anyOf:
          - type: string
          - type: 'null'
          title: Note
      type: object
      required:
      - name
      - kind
      - contact
      title: ProducerRegisterRequest
    ProducerRejectRequest:
      properties:
        reason:
          type: string
          title: Reason
      type: object
      required:
      - reason
      title: ProducerRejectRequest
x-refined-from:
- openapi.json
- session-exchange-com-openapi.json