POST
/v1/private/agent-configs/blueprintsCreate optimizer config with initial blueprintCreates a new optimizer config with initial blueprint. Fails if the project already has a config.
Request body
application/json
objectAgentConfigCreate_Write
blueprintobjectrequiredShow child attributes
descriptionstringidstring · uuidtypestringrequiredvaluesarray of objectrequiredShow child attributes
Show array items
descriptionstringkeystringrequiredtypestringrequiredvaluestringidstring · uuidAgent config ID. Generated automatically if not provided
project_idstring · uuidProject ID. Either project_id or project_name must be provided
project_namestringProject name. Either project_id or project_name must be provided
{
"blueprint": {
"description": "string",
"id": "00000000-0000-0000-0000-000000000000",
"type": "blueprint",
"values": [
{
"description": "string",
"key": "string",
"type": "boolean",
"value": "string"
}
]
},
"id": "00000000-0000-0000-0000-000000000000",
"project_id": "00000000-0000-0000-0000-000000000000",
"project_name": "string"
}Responses
Headers
LocationobjectErrorMessage_Write
errorsarray of stringShow child attributes
{
"errors": [
"string"
]
}objectErrorMessage_Write
errorsarray of stringShow child attributes
{
"errors": [
"string"
]
}objectErrorMessage_Write
errorsarray of stringShow child attributes
{
"errors": [
"string"
]
}