model-hub

Get the prompt code in the requested format. If no format is specified, returns all formats. Supported languages: python, typescript, curl, langchain, nodejs, go

get/model-hub/prompt-templates/{id}/get-sdk-code/{language}/

Request

  • Base URL: http://localhost:8000
  • URL: http://localhost:8000/model-hub/prompt-templates/{id}/get-sdk-code/{language}/
  • Auth: one of:
    • API key in header X-Api-Key
    • API key in header X-Secret-Key

Response

OK

idstring uuid
namestring required
descriptionstring nullable
variable_namesobject nullable
organizationstring uuid nullable
prompt_folderstring uuid nullable
placeholdersobject nullable
created_bystring uuid nullable

Changes

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