{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/parallel-ai/json-schema/parallel-ai-create-api-key-request-model-schema.json",
  "title": "CreateApiKeyRequestModel",
  "description": "Model for create API key request V2.",
  "x-generated": "2026-11-17",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/parallel-ai-account-api-openapi.yml#/components/schemas/CreateApiKeyRequestModel",
  "properties": {
    "api_key_name": {
      "type": "string",
      "title": "Api Key Name",
      "description": "API Key Name"
    },
    "is_service_scoped": {
      "type": "boolean",
      "title": "Is Service Scoped",
      "description": "Create a service key, owned by the org and survives its creator leaving. Admins only",
      "default": false
    }
  },
  "type": "object",
  "required": [
    "api_key_name"
  ]
}