model-hub

Retrieve a prompt template by name. If no version is specified, returns the default version (is_default=True). If a version is specified, returns that specific version.

get/model-hub/prompt-templates/get-template-by-name/

Request

  • Base URL: http://localhost:8000
  • URL: http://localhost:8000/model-hub/prompt-templates/get-template-by-name/
  • Auth: one of:
    • API key in header X-Api-Key
    • API key in header X-Secret-Key

Query parameters

namestring
versionstring
created_atstring
searchstring

A search term.

orderingstring

Which field to use when ordering the results.

pageinteger

A page number within the paginated result set.

limitinteger

Number of results to return per page.

Response

OK

countinteger required
nextstring uri nullable
previousstring uri nullable

Changes

No recorded changes to this operation across all 1 revision of this API.