Harness · Schema
AlertRequest
DevOpsGitOpsInternal Developer PortalLifecycleSoftware DeliveryCI/CDContinuous DeliveryContinuous Integration
Properties
| Name | Type | Description |
|---|---|---|
| id | string | Unique identifier of the alert. Required for update operations. |
| name | string | Name of the alert |
| enabled | boolean | Whether the alert is enabled |
| entity_type | string | Type of entity the alert is associated with |
| recipients | array | List of notification recipients. At least one recipient is required. |
| events | array | List of events that trigger the alert. At least one event is required. |
| associated_entities | array | List of entities associated with this alert. Use relation_type 'all' to apply to all AutoStopping rules, or 'specific' with entity_id to target specific rules. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/harness/main/json-schema/harness-alert-request-schema.json",
"title": "AlertRequest",
"x-generated": "2026-10-04",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/harness-autostopping-alerts-api-openapi.yml#/components/schemas/AlertRequest",
"type": "object",
"required": [
"name",
"entity_type",
"recipients",
"events",
"associated_entities"
],
"properties": {
"id": {
"type": "string",
"description": "Unique identifier of the alert. Required for update operations."
},
"name": {
"type": "string",
"description": "Name of the alert"
},
"enabled": {
"type": "boolean",
"description": "Whether the alert is enabled",
"default": true
},
"entity_type": {
"type": "string",
"description": "Type of entity the alert is associated with",
"enum": [
"autostopping_rule"
]
},
"recipients": {
"type": "array",
"description": "List of notification recipients. At least one recipient is required.",
"items": {
"$ref": "#/$defs/AlertRecipient"
}
},
"events": {
"type": "array",
"description": "List of events that trigger the alert. At least one event is required.",
"items": {
"$ref": "#/$defs/AlertEvent"
}
},
"associated_entities": {
"type": "array",
"description": "List of entities associated with this alert. Use relation_type 'all' to apply to all AutoStopping rules, or 'specific' with entity_id to target specific rules.",
"items": {
"$ref": "#/$defs/AlertEntity"
}
}
},
"$defs": {
"AlertEntity": {
"description": "Defines which entities (AutoStopping rules) the alert applies to. Use 'all' to apply to all rules, or 'specific' with entity_id to target specific rules.",
"oneOf": [
{
"$ref": "#/$defs/AlertEntityAll"
},
{
"$ref": "#/$defs/AlertEntitySpecific"
}
]
},
"AlertEntityAll": {
"type": "object",
"description": "Apply alert to all AutoStopping rules in the account",
"required": [
"relation_type"
],
"properties": {
"id": {
"type": "string",
"description": "Unique identifier of the alert entity (auto-generated, not required in requests)"
},
"alert_id": {
"type": "string",
"description": "ID of the parent alert (auto-generated, not required in requests)"
},
"relation_type": {
"type": "string",
"description": "Must be 'all' to apply alert to all AutoStopping rules",
"enum": [
"all"
]
}
}
},
"AlertEntitySpecific": {
"type": "object",
"description": "Apply alert to a specific AutoStopping rule by ID",
"required": [
"relation_type",
"entity_id"
],
"properties": {
"id": {
"type": "string",
"description": "Unique identifier of the alert entity (auto-generated, not required in requests)"
},
"alert_id": {
"type": "string",
"description": "ID of the parent alert (auto-generated, not required in requests)"
},
"relation_type": {
"type": "string",
"description": "Must be 'specific' to target individual rules",
"enum": [
"specific"
]
},
"entity_id": {
"type": "string",
"description": "ID of the specific AutoStopping rule. This is the rule ID (numeric string)."
}
}
},
"AlertEvent": {
"type": "object",
"required": [
"id",
"event"
],
"properties": {
"id": {
"type": "string",
"description": "Unique identifier for this event configuration. Can be any string to identify this event entry."
},
"event": {
"type": "string",
"description": "Type of event that triggers the alert",
"enum": [
"autostopping_warmup_failed",
"autostopping_cooldown_failed",
"autostopping_rule_created",
"autostopping_rule_updated",
"autostopping_rule_deleted"
]
}
}
},
"AlertRecipient": {
"type": "object",
"required": [
"type",
"ids"
],
"properties": {
"type": {
"type": "string",
"description": "Type of notification channel",
"enum": [
"email",
"slack"
]
},
"ids": {
"type": "array",
"description": "List of recipient identifiers. For email: email addresses. For slack: Slack channel IDs or webhook URLs.",
"items": {
"type": "string"
}
}
}
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/harness-alert-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.