prompts

Create Global Prompt Template

Changed on

Create a global prompt template.

Parameters

create_request : CreatePromptTemplateWithVersionRequestBody Request body containing template name and content. principal : Principal Principal object.

Returns

BasePromptTemplateResponse Details about the created prompt template.

post/templates

Request

  • Base URL
    https://api.galileo.ai
  • URL
    https://api.galileo.ai/templates
  • 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

Query parameters

project_idstring uuid4 nullable

Request body

rawboolean
versioninteger nullable
output_typestring nullable
hiddenboolean

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

    • breaking

      removed the enum value vegas_gateway of the request property ///

    • 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

    • info

      added the new optional request property ///