API Reference
Create a dashboard template
POST
/api/job-templates/{id}/dashboard-templates
Create a dashboard template
Operation IDcreateDashboardTemplate
Authentication
- BearerAuth
http bearerAPI key token (envoy_<hex>). Create keys from Settings → API Keys — see Using the API.
Path parameters
idintegerrequiredResource ID
Request body
This request body is required.
Content typeapplication/json
requestobject3 properties
namestringrequireddescriptionstringyaml_contentstringrequiredSuccess response body
201Dashboard template created
Dashboard template created
Content typeapplication/json
responseobject9 properties
idintegerjob_template_idintegernamestringdescriptionstring | nullyaml_contentstringstatusstringcreated_atstring · date-timeupdated_atstring | null · date-timelinked_dashboard_countintegerPresent on GET detail — count of job dashboards referencing this template
Error responses
400Validation error
Validation error
Content typeapplication/json
responseobject2 properties
errorstringmessagestringExample response
{
"error": "VALIDATION_ERROR",
"message": "Invalid input"
}404Resource not found
Resource not found
Content typeapplication/json
responseobject2 properties
errorstringmessagestringExample response
{
"error": "NOT_FOUND",
"message": "Resource not found"
}