v50

latestOpenAPI 3.0.0raw.githubusercontent.com2024-08-26226284.9 KB

Get Model Parameters

Fetches the configured model parameters and messages rendered with the provided variables mapped to the set LLM provider. This endpoint abstracts the need to handle mapping between different providers, while still allowing direct calls to the providers.

post/sdk/v1/prompts/{id}

Path parameters

idstring required
Example:1212121

Request body

variablesPromptVariables

The template variables added to the prompt when executing the prompt.

userstring

A unique identifier representing your end-user, which can help monitor and detect abuse.

Response

Successfully retrieved the prompt configuration

OR