{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/negativeev-com/json-schema/negativeev-com-agent-key-created-schema.json",
  "title": "Agent key, just minted",
  "description": "What POST /keys answers: the listed fields plus the plaintext key, which no later call can return.",
  "x-generated": "2026-11-19",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/negativeev-com-openapi.json#/components/schemas/AgentKeyCreated",
  "type": "object",
  "required": [
    "id",
    "name",
    "prefix",
    "key",
    "created_at"
  ],
  "properties": {
    "id": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "prefix": {
      "type": "string"
    },
    "key": {
      "type": "string",
      "description": "The plaintext key. Shown once; store it, it cannot be read back."
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    }
  }
}