Rightis Usage API

The Usage API from Rightis — 1 operation(s) for usage.

GitHub OpenAPI

Operations 1

POST /api/v1/usage Report generations, exposures and blocks (usage ledger) #

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/rightis-org:rightis-org-usage-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

rightis-org-usage-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Rightis Partner Usage API
  version: '2026-09-07'
  description: Rightis is the AI identity rights registry. Registered people (and agencies on their behalf) approve who may use their face, voice and persona; partners check rights, read licence policies and approved assets, and report every generation back. All money values are decimal strings. Times are ISO-8601 UTC.
  contact:
    email: support@rightis.org
servers:
- url: https://rightis.org
security:
- bearerAuth: []
tags:
- name: Usage
paths:
  /api/v1/usage:
    post:
      operationId: logUsage
      summary: Report generations, exposures and blocks (usage ledger)
      description: 'Batch of 1-500 events. Idempotent per (app, event_id): replays come back as `duplicate`. Report allowed AND blocked generations.'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - events
              properties:
                events:
                  type: array
                  minItems: 1
                  maxItems: 500
                  items:
                    $ref: '#/components/schemas/UsageEvent'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  received:
                    type: integer
                  recorded:
                    type: integer
                  duplicates:
                    type: integer
                  rejected:
                    type: integer
                  results:
                    type: array
                    items:
                      type: object
                      properties:
                        event_id:
                          type: string
                        outcome:
                          type: string
                          enum:
                          - recorded
                          - duplicate
                          - rejected
                        reason:
                          type: string
        '400':
          description: Validation error
        '401':
          description: Missing or invalid API key
        '403':
          description: Key lacks the required scope
        '404':
          description: Not found, or not visible to this organisation
        '429':
          description: Rate limited
      tags:
      - Usage
components:
  schemas:
    UsageEvent:
      type: object
      required:
      - event_id
      - license_public_code
      - occurred_at
      - use_type
      - decision
      properties:
        event_id:
          type: string
          maxLength: 128
          description: Partner-side idempotency key
        license_public_code:
          type: string
          description: L-… (asset licence) or PL-… (persona licence)
        occurred_at:
          type: string
          format: date-time
        use_type:
          type: string
          enum:
          - generation
          - exposure
          - inference
          - voice_synthesis
          - training
          - other
        decision:
          type: string
          enum:
          - allow
          - block
          - fallback
        channel:
          type: string
          maxLength: 64
        rights_categories:
          type: array
          items:
            $ref: '#/components/schemas/RightsCategory'
        reason_code:
          type: string
          maxLength: 120
        policy_version:
          type: integer
          minimum: 1
        content_hash:
          type: string
          maxLength: 128
        generation_tool:
          type: string
          maxLength: 80
          description: Tool that produced the output (docs/47). Recorded as declared; never verified against the vendor.
        generation_tool_version:
          type: string
          maxLength: 40
        output_license_ref:
          type: string
          maxLength: 200
          description: 'Your reference for the tool''s own commercial-use right: a download receipt, order id or agreement number.'
        metadata:
          type: object
          additionalProperties: true
          description: ≤ 4 KB, never end-user PII
    RightsCategory:
      type: string
      enum:
      - face
      - voice
      - image
      - style
      - persona
      - ip
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: API key issued at contract time (brk_live_… / brk_test_…). Scopes are attached to the key.
    oauth2:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: https://rightis.org/oauth/authorize
          tokenUrl: https://rightis.org/api/oauth/token
          scopes:
            console:manage: 'Developer console: organisation, apps and keys (OAuth only, never on an API key)'
            rights:check: Check rights