optimization_templates

List Optimization Templates

List all optimization templates accessible from the given project.

Returns the project's own templates combined with system-level templates.

Parameters

project_id : str The owner project whose templates should be retrieved. q : str | None, optional Free-text search on template name plus prefix full-text match, matching the global search. Pushed into each source query (project + system) as a SQL filter before the in-memory merge, rather than a Python substring. created_at_gt, created_at_lt, updated_at_gt, updated_at_lt : str | None, optional ISO datetime strings for date-range (between) filtering on the created_at / updated_at columns.

Returns

list[OptimizationTemplate] Owned templates followed by system templates.

get/optimization_templates

Query parameters

project_idstring required
qstring nullable

Free-text search on template name plus prefix full-text match, matching the global search.

Free-text search on template name plus prefix full-text match, matching the global search.

created_at_gtstring nullable
created_at_ltstring nullable
updated_at_gtstring nullable
updated_at_ltstring nullable

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.