{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/bubblio-dev/json-schema/bubblio-dev-agent-key-info-schema.json",
  "title": "AgentKeyInfo",
  "description": "One managed key as the list reports it — never the key, a hash, or the ctx.",
  "x-generated": "2026-10-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/bubblio-dev-openapi.yaml#/components/schemas/AgentKeyInfo",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "label": {
      "type": [
        "string",
        "null"
      ]
    },
    "externalUserId": {
      "type": [
        "string",
        "null"
      ]
    },
    "userHint": {
      "type": [
        "string",
        "null"
      ]
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "lastUsedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "revokedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    }
  }
}