API Reference
Replace job configuration values
/api/jobs/{id}/config
Replaces the persisted job_config object for a job. This is the manual Job Details editor endpoint for jobs without schema-backed configuration. If the job snapshot declares schema-backed keys, values for those keys are validated and transformed before storing. Requires admin or superadmin role.
Operation IDreplaceJobConfig
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
requestobject1 property
configobjectrequiredComplete persisted job_config object keyed by config key.
Additional properties are allowed.
Success response body
200Config object saved
Config object saved
Content typeapplication/json
responseobject2 properties
okbooleanrequiredconfigobjectrequiredStored job_config object after validation/transforms for schema-backed keys.
Additional properties are allowed.
Error responses
400Validation error
Validation error
Content typeapplication/json
responseobject2 properties
errorstringmessagestringExample response
{
"error": "VALIDATION_ERROR",
"message": "Invalid input"
}403Insufficient permissions
Insufficient permissions
No response content schema is documented.
404Resource not found
Resource not found
Content typeapplication/json
responseobject2 properties
errorstringmessagestringExample response
{
"error": "NOT_FOUND",
"message": "Resource not found"
}