optimization_templates

Create Optimization Template

Create a new project-level optimization template.

Parameters

body : CreateOptimizationTemplate Template creation data including the owner project_id.

Returns

OptimizationTemplate Created optimization template.

Raises

ConflictError If a template with the same name already exists in the project.

post/optimization_templates

Request body

namestring required

The name of the optimization template.

descriptionstring nullable

An optional description for the template.

initial_form_dataobject nullable

Initial form data values.

project_idstring required

The ID of the project this template belongs to.

Response

Successful Response

namestring required

The name of the optimization template.

descriptionstring nullable

An optional description for the template.

initial_form_dataobject nullable

Initial form data values.

idstring required

The unique identifier for the template.

organization_idstring required

The ID of the organization this template belongs to.

project_idstring nullable

The ID of the owner project (None for system templates).

access_levelstring

Template scope: 'system' for built-in, 'project' for user-created.

created_atstring date-time required

Timestamp of when the template was created.

updated_atstring date-time required

Timestamp of when the template was last updated.

created_bystring nullable

User ID of the creator.

Changes

No recorded changes to this endpoint across all 1 revision of this API.