{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/korely-ai/json-schema/korely-ai-init-result-schema.json",
  "title": "InitResult",
  "x-generated": "2026-11-14",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/korely-ai-openapi.json#/components/schemas/InitResult",
  "properties": {
    "api_key": {
      "type": "string",
      "title": "Api Key"
    },
    "tier": {
      "type": "string",
      "title": "Tier"
    },
    "region": {
      "type": "string",
      "title": "Region",
      "description": "Where the data is stored."
    },
    "processing_region": {
      "type": "string",
      "title": "Processing Region",
      "description": "Where the models that write the Default project's memories run: global, or eu (a provider in the European Union)."
    },
    "scopes": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Scopes"
    },
    "expires_at": {
      "type": "string",
      "format": "date-time",
      "title": "Expires At",
      "description": "When the key stops working: 7 days after it is made (ISO 8601, with its time zone). From then on every door refuses it, the adoption included. Sign in to the dashboard with it before then: that adopts the account and lifts this end date (the key then has none, and keeps writing and reading its project, but no key of the account manages it any more), and the account's keys are made there."
    },
    "note": {
      "type": "string",
      "title": "Note",
      "description": "The same, in words: how long the key lasts, the trial's limits until the account is adopted (no other keys among them), and how to adopt it."
    },
    "quotas": {
      "additionalProperties": true,
      "type": "object",
      "title": "Quotas",
      "description": "The free plan's numbers, which apply once the account is adopted; until then the trial's, in `note`."
    },
    "terms_url": {
      "type": "string",
      "title": "Terms Url",
      "description": "The Terms of Service. Creating the account accepts them, for whoever operates the agent and holds the key."
    },
    "privacy_url": {
      "type": "string",
      "title": "Privacy Url",
      "description": "The Privacy Policy."
    }
  },
  "type": "object",
  "required": [
    "api_key",
    "tier",
    "region",
    "processing_region",
    "scopes",
    "expires_at",
    "note",
    "quotas",
    "terms_url",
    "privacy_url"
  ]
}