{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/mailkite-dev/json-schema/mailkite-dev-get-api-keys-scoped-response-schema.json",
  "title": "GetApiKeysScopedResponse",
  "x-generated": "2026-10-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/mailkite-dev-openapi-generated.yml#/components/schemas/GetApiKeysScopedResponse",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Key id (key_…)."
    },
    "user_id": {
      "type": "string",
      "description": "Owning account (usr_…)."
    },
    "domain_id": {
      "type": "string",
      "description": "The one domain this key is scoped to (dom_…). A scoped key can send and manage only this domain — ideal for a single site or CI job."
    },
    "domain": {
      "type": "string",
      "description": "Denormalized domain name, for display and fast scope checks."
    },
    "name": {
      "type": "string",
      "description": "User-supplied label (e.g. the site or service using it)."
    },
    "key": {
      "type": "string",
      "description": "The key material (mk_live_…). Returned in full on list/create — treat like a password."
    },
    "created_at": {
      "type": "number",
      "description": "Creation time, ms epoch."
    },
    "last_used_at": {
      "type": "number",
      "description": "Last authenticated use, ms epoch — null if never used."
    }
  }
}