API Reference
Completion
Initiates a completion request to the configured LLM provider using specified parameters and provided variables. This endpoint abstracts the integration with different model providers, enabling seamless switching between models while maintaining a consistent data model for your application.
POST
Path Parameters
Body
application/json
The template variables added to the prompt when executing the prompt.
Replaces the configured prompt messages when running the prompt.
Appended the the end of the configured prompt messages before running the prompt.
A unique identifier representing your end-user, which can help monitor and detect abuse.
Was this page helpful?