prompts

Get Global Template

Changed on

Get a global prompt template given a template ID.

Parameters

template_id : UUID4 Prompt template id. principal : Principal Principal object.

Returns

BasePromptTemplateResponse Details about the prompt template.

get/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

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