{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/sendgrid/main/json-schema/sendgrid-api-key-scopes-response-schema.json",
  "title": "API Key Name, ID, and Scopes",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/sendgrid-api-keys-api-openapi.yml#/components/schemas/ApiKeyScopesResponse",
  "type": "object",
  "properties": {
    "scopes": {
      "type": "array",
      "description": "The permissions this API Key has access to.",
      "items": {
        "type": "string"
      }
    },
    "api_key_id": {
      "type": "string",
      "description": "The ID of your API Key. "
    },
    "name": {
      "type": "string",
      "description": "The name of your API Key."
    }
  }
}