prompts

Set Selected Template Version

put/projects/{project_id}/templates/{template_id}/versions/{version}

Path parameters

project_idstring uuid4 required
template_idstring uuid4 required
versioninteger required

Response

Successful Response

idstring uuid4 required
templatestring required
selected_version_idstring uuid4 required
all_available_versionsinteger[] required
total_versionsinteger required
max_versioninteger required
created_atstring date-time required
updated_atstring date-time required

Changes

Changed in 4 of the 15 revisions of this API.61

    • added the new change_role_to_capability_based enum value to the /// response property for the response status

      response-property-enum-value-added

    • added the new create_global enum value to the /// response property for the response status

      response-property-enum-value-added

    • added the new create_shared enum value to the /// response property for the response status

      response-property-enum-value-added

    This revision also has 4 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • added the new read_unredacted_data enum value to the /// response property for the response status

      response-property-enum-value-added

    • added the new read_ai_usage_organization enum value to the /// response property for the response status

      response-property-enum-value-added

    This revision also has 15 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • 05003e7835a211See the full diff
    • added the new read_ai_usage enum value to the /// response property for the response status

      response-property-enum-value-added

    • the endpoint scheme security ClassicAPIKeyHeader was added to the API

      api-security-added

    This revision also has 15 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog