prompts

Update Global Template

Changed on

Update a global prompt template.

Parameters

update_template_request : UpdatePromptTemplateRequest Request containing the fields to update. template : PromptTemplate Prompt template to update. principal : Principal Principal object.

Returns

BasePromptTemplateResponse Updated prompt template.

patch/templates/{template_id}

Request

  • Base URL
    https://api.galileo.ai
  • URL
    https://api.galileo.ai/templates/{template_id}
  • Auth
    • API key in header Splunk-AO-API-Key
    • or API key in header Galileo-API-Key
    • or OAuth 2
      Password
      Token URL: https://api.galileo.ai/login
    • or HTTP basic

Path parameters

template_idstring uuid4 required

Request body

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

    • warning

      added the new read_all_logs enum value to the /// response property for the response status

    • warning

      added the new read_filtered_logs enum value to the /// response property for the response status

    • warning

      added the new configure_rate_limit enum value to the /// response property for the response status