prompts

Get Project Templates

Get all prompt templates for a project.

Parameters

project_id : UUID4 Project ID.

Returns

List[BasePromptTemplateResponse] List of prompt template responses.

get/projects/{project_id}/templates

Path parameters

project_idstring uuid4 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 3 of the 14 revisions of this API.31

    • added the new read_unredacted_data enum value to the items/permissions/items/action/anyOf[subschema #12: OrganizationAction]/ response property for the response status 200

      response-property-enum-value-added

    • added the new read_ai_usage_organization enum value to the items/permissions/items/action/anyOf[subschema #12: OrganizationAction]/ response property for the response status 200

      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 items/permissions/items/action/anyOf[subschema #12: OrganizationAction]/ response property for the response status 200

      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