{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/uptimemonitoring-com/json-schema/uptimemonitoring-com-apikey-created-schema.json",
  "title": "APIKeyCreated",
  "description": "API key with the one-time plaintext included.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/uptimemonitoring-com-keys-api-openapi.yml#/components/schemas/APIKeyCreated",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "format": "int64"
    },
    "account_id": {
      "type": "integer",
      "format": "int64"
    },
    "key_prefix": {
      "type": "string"
    },
    "label": {
      "type": [
        "string",
        "null"
      ]
    },
    "revoked_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    },
    "key": {
      "type": "string",
      "description": "Full plaintext API key. **Shown once** — store it securely.\n"
    }
  }
}