{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/parallel-ai/json-schema/parallel-ai-create-key-response-schema.json",
  "title": "CreateKeyResponse",
  "description": "Flattened response for the service create-key endpoint.",
  "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/CreateKeyResponse",
  "properties": {
    "api_key_id": {
      "type": "string",
      "title": "Api Key Id",
      "description": "API Key ID"
    },
    "api_key_name": {
      "type": "string",
      "title": "Api Key Name",
      "description": "API Key Name"
    },
    "app_id": {
      "type": "string",
      "title": "App Id",
      "description": "App ID"
    },
    "app_name": {
      "type": "string",
      "title": "App Name",
      "description": "App Name"
    },
    "created_by_user_id": {
      "type": "string",
      "title": "Created By User Id",
      "description": "Created by User ID"
    },
    "created_by_user_email": {
      "type": "string",
      "title": "Created By User Email",
      "description": "Created by User Email"
    },
    "display_value": {
      "type": "string",
      "title": "Display Value",
      "description": "Display Value"
    },
    "raw_api_key": {
      "type": "string",
      "format": "password",
      "title": "Raw Api Key",
      "description": "Raw API Key",
      "writeOnly": true
    },
    "created_at": {
      "type": "integer",
      "title": "Created At",
      "description": "Created At"
    },
    "is_service_scoped": {
      "type": "boolean",
      "title": "Is Service Scoped",
      "description": "Service key, owned by the org and survives its creator leaving. False: a user key, revoked when its creator leaves the org"
    }
  },
  "type": "object",
  "required": [
    "api_key_id",
    "api_key_name",
    "app_id",
    "app_name",
    "created_by_user_id",
    "created_by_user_email",
    "display_value",
    "raw_api_key",
    "created_at",
    "is_service_scoped"
  ]
}