Infrastructure/Agents
POSTAgentSince 1.0SynchronousAuth Required
CreateLabelTemplate
Create a reusable label template that can be applied to multiple agents
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Request Inputs
Body Fields
nameStringRequiredHuman-readable name for the new label template
Example: production-baseline
descriptionStringRequiredDescription of the template's intended usage
Example: Standard labels for production agents
labelsLinkedHashMapRequiredKey-value labels attached to this resource
Example: (nested object)
Responses
Endpoint
POST/api/v1/agent/label-templates
/api/v1/agent/label-templates
Request Example
curl -X POST '{host}/api/v1/agent/label-templates' -H 'Authorization: Bearer {token}' -H 'Content-Type: application/json' -d '{"name":"production-baseline","description":"Standard labels for production agents","labels":"(nested object)"}'
Response Example
200{
"id": "tmpl-001-abc",
"name": "production-baseline",
"description": "Standard labels for production agents",
"labels": null,
"createdAt": "example"
}Change History
This API has no change history records yet.
