{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/inttegro-com/json-schema/inttegro-com-post-keys-update-response-schema.json",
  "title": "PostKeysUpdateResponse",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/inttegro-com-openapi-generated.yml#/components/schemas/PostKeysUpdateResponse",
  "type": "object",
  "properties": {
    "active": {
      "type": "boolean",
      "description": "Whether the key can currently authenticate requests."
    },
    "expiresAt": {
      "type": "string",
      "description": "When the key expires. Omitted for a key without a fixed expiry."
    },
    "id": {
      "type": "string",
      "description": "Stable key identifier."
    },
    "issuedAt": {
      "type": "string",
      "description": "When the key was created."
    },
    "label": {
      "type": "string",
      "description": "Human‑readable label. Omitted when the key is unlabeled."
    },
    "lastUsedAt": {
      "type": "string",
      "description": "Most recent recorded use. Omitted when no usage timestamp is available."
    },
    "revokedAt": {
      "type": "string",
      "description": "When the key was revoked. Omitted while the key has not been revoked."
    },
    "status": {
      "type": "string",
      "description": "Current lifecycle state: Active, Expired, or Revoked."
    },
    "tokenType": {
      "type": "string",
      "description": "Always Inttegro.SecretKeyTokenTypes.Bearer."
    },
    "updatedAt": {
      "type": "string",
      "description": "When the label last changed."
    },
    "usageCount": {
      "type": "number",
      "description": "Number of recorded uses for the key. Omitted when the count is zero."
    }
  }
}