Cayra Admin API

The admin API from Cayra — 13 operation(s) for admin.

Operations 17

GET /api/v1/admin/customers List Customers #
POST /api/v1/admin/customers Create Customer #
PATCH /api/v1/admin/customers/{customer_id} Update Customer #
GET /api/v1/admin/companies List Companies #
POST /api/v1/admin/companies Create Company #
PATCH /api/v1/admin/companies/{company_id} Update Company #
POST /api/v1/admin/licenses Generate License #
GET /api/v1/admin/licenses List Licenses #
GET /api/v1/admin/licenses/{license_key} Get License Details #
PATCH /api/v1/admin/licenses/{license_key}/expiry Update License Expiry #
PATCH /api/v1/admin/licenses/{license_key}/provider-secrets Update License Provider Secrets #
POST /api/v1/admin/licenses/{license_key}/revoke Revoke License #
GET /api/v1/admin/licenses/expiring-soon Get Licenses Expiring Soon #
POST /api/v1/admin/provisioning/jobs Create Provisioning Job #
GET /api/v1/admin/provisioning/jobs List Provisioning Jobs #
GET /api/v1/admin/provisioning/jobs/{job_id} Get Provisioning Job #
GET /api/v1/admin/provisioning/jobs/{job_id}/events List Provisioning Job Events #

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/cayra-io:cayra-io-admin-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

cayra-io-admin-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Cayra License Server Admin API
  description: '# Cayra Chat Agent - License Management Server


    Centralized license management for on-premise deployments.


    ## Features


    - 🔑 License key generation (installation, update, trial)

    - ⏰ Dynamic expiry management (extend/shorten licenses)

    - 🔄 Activation tracking and monitoring

    - 💓 Heartbeat mechanism (1-hour intervals)

    - 📊 Audit logging for compliance

    - 🔐 JWT tokens with RSA-4096 encryption


    ## API Categories


    ### Admin Endpoints (Requires API Key)

    Manage licenses, view activations, update expiry dates.


    ### Client Endpoints (Public)

    Activate licenses, send heartbeats, check status.


    ## Authentication


    Admin endpoints require API key in header:

    ```

    X-Admin-API-Key: your-admin-key-here

    ```


    ## Security


    - 🔒 RSA-4096 asymmetric encryption

    - 🔐 JWT tokens for offline validation

    - 📝 Complete audit trail

    - 🛡️ Rate limiting (Phase 6)'
  contact:
    name: Cayra AI Team
    email: support@cayra.ai
  license:
    name: Proprietary
  version: 1.0.0
tags:


# --- truncated at 32 KB (67 KB total) ---
# Full source: https://artifacts.apis.io/cayra-io/openapi/cayra-io-admin-api-openapi.yml