Cayra · Schema

LicenseDetails

Detailed license information

Artificial IntelligenceEnterpriseDecision IntelligenceERPDatabase

Properties

Name Type Description
id string
license_key string
license_type string
customer_id string
customer_name string
customer_email string
customer_company object
company_id object
company object
product_version string
issued_at string
activated_at object
original_expires_at string
current_expires_at string
last_expiry_update object
expiry_update_reason object
expiry_history object
max_activations integer
current_activations integer
features object
limits object
is_active boolean
is_revoked boolean
is_expired boolean
days_until_expiry object
activations array
provider_secrets object
View JSON Schema on GitHub

JSON Schema

cayra-io-license-details-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cayra-io/json-schema/cayra-io-license-details-schema.json",
  "title": "LicenseDetails",
  "description": "Detailed license information",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cayra-io-openapi.json#/components/schemas/LicenseDetails",
  "properties": {
    "id": {
      "type": "string",
      "title": "Id"
    },
    "license_key": {
      "type": "string",
      "title": "License Key"
    },
    "license_type": {
      "type": "string",
      "title": "License Type"
    },
    "customer_id": {
      "type": "string",
      "title": "Customer Id"
    },
    "customer_name": {
      "type": "string",
      "title": "Customer Name"
    },
    "customer_email": {
      "type": "string",
      "title": "Customer Email"
    },
    "customer_company": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Customer Company"
    },
    "company_id": {
      "anyOf": [
        {
          "type": "string",
          "format": "uuid"
        },
        {
          "type": "null"
        }
      ],
      "title": "Company Id"
    },
    "company": {
      "anyOf": [
        {
          "$ref": "#/$defs/CompanySummary"
        },
        {
          "type": "null"
        }
      ]
    },
    "product_version": {
      "type": "string",
      "title": "Product Version"
    },
    "issued_at": {
      "type": "string",
      "format": "date-time",
      "title": "Issued At"
    },
    "activated_at": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Activated At"
    },
    "original_expires_at": {
      "type": "string",
      "format": "date-time",
      "title": "Original Expires At"
    },
    "current_expires_at": {
      "type": "string",
      "format": "date-time",
      "title": "Current Expires At"
    },
    "last_expiry_update": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Last Expiry Update"
    },
    "expiry_update_reason": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Expiry Update Reason"
    },
    "expiry_history": {
      "additionalProperties": {
        "items": {},
        "type": "array"
      },
      "type": "object",
      "title": "Expiry History"
    },
    "max_activations": {
      "type": "integer",
      "title": "Max Activations"
    },
    "current_activations": {
      "type": "integer",
      "title": "Current Activations"
    },
    "features": {
      "type": "object",
      "title": "Features"
    },
    "limits": {
      "type": "object",
      "title": "Limits"
    },
    "is_active": {
      "type": "boolean",
      "title": "Is Active"
    },
    "is_revoked": {
      "type": "boolean",
      "title": "Is Revoked"
    },
    "is_expired": {
      "type": "boolean",
      "title": "Is Expired"
    },
    "days_until_expiry": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Days Until Expiry"
    },
    "activations": {
      "items": {
        "$ref": "#/$defs/ActivationSummary"
      },
      "type": "array",
      "title": "Activations"
    },
    "provider_secrets": {
      "$ref": "#/$defs/LicenseSecretsResponse"
    }
  },
  "type": "object",
  "required": [
    "id",
    "license_key",
    "license_type",
    "customer_id",
    "customer_name",
    "customer_email",
    "customer_company",
    "company_id",
    "company",
    "product_version",
    "issued_at",
    "activated_at",
    "original_expires_at",
    "current_expires_at",
    "last_expiry_update",
    "expiry_update_reason",
    "expiry_history",
    "max_activations",
    "current_activations",
    "features",
    "limits",
    "is_active",
    "is_revoked",
    "is_expired",
    "days_until_expiry",
    "activations",
    "provider_secrets"
  ],
  "$defs": {
    "ActivationSummary": {
      "properties": {
        "machine_id": {
          "type": "string",
          "title": "Machine Id"
        },
        "machine_hostname": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Machine Hostname"
        },
        "activated_at": {
          "type": "string",
          "format": "date-time",
          "title": "Activated At"
        },
        "last_heartbeat": {
          "type": "string",
          "format": "date-time",
          "title": "Last Heartbeat"
        },
        "is_active": {
          "type": "boolean",
          "title": "Is Active"
        },
        "is_heartbeat_healthy": {
          "type": "boolean",
          "title": "Is Heartbeat Healthy"
        }
      },
      "type": "object",
      "required": [
        "machine_id",
        "machine_hostname",
        "activated_at",
        "last_heartbeat",
        "is_active",
        "is_heartbeat_healthy"
      ],
      "title": "ActivationSummary",
      "description": "Summary information for an activation"
    },
    "CompanySummary": {
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid",
          "title": "Id"
        },
        "customer_id": {
          "type": "string",
          "format": "uuid",
          "title": "Customer Id"
        },
        "name": {
          "type": "string",
          "title": "Name"
        },
        "email": {
          "type": "string",
          "format": "email",
          "title": "Email"
        },
        "is_onprem": {
          "type": "boolean",
          "title": "Is Onprem"
        }
      },
      "type": "object",
      "required": [
        "id",
        "customer_id",
        "name",
        "email",
        "is_onprem"
      ],
      "title": "CompanySummary",
      "description": "Lightweight company summary for nested references"
    },
    "LicenseSecretStatus": {
      "properties": {
        "is_configured": {
          "type": "boolean",
          "title": "Is Configured"
        },
        "masked_value": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Masked Value"
        }
      },
      "type": "object",
      "required": [
        "is_configured",
        "masked_value"
      ],
      "title": "LicenseSecretStatus",
      "description": "Status of a provider secret (masked)"
    },
    "LicenseSecretsResponse": {
      "properties": {
        "claude": {
          "$ref": "#/$defs/LicenseSecretStatus"
        },
        "openai": {
          "$ref": "#/$defs/LicenseSecretStatus"
        }
      },
      "type": "object",
      "required": [
        "claude",
        "openai"
      ],
      "title": "LicenseSecretsResponse",
      "description": "Wrapper for provider secret statuses"
    }
  }
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/cayra-io-license-details"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.