Test prompt
POST /v2/document/test-prompt
POST
/v2/document/test-prompt
Send a single prompt, model and provider for test the results of a single prompt
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Header Parameters
Section titled “Header Parameters ” X-API-Key
string
API Key
X-API-Secret
string
API Secret
Request Body required
Section titled “Request Body required ”object
promptId
A Prompt Id
string
prompt
required
A prompt
string
llmProvider
The provider of the prompt
string
OPENAI
llmModel
The model of the prompt
string
GPT_4
content
Content to test prompt against
string
Responses
Section titled “ Responses ”The resource has been successfully created.
object
queryId
required
The process ID. Since this is a synchronous request, it returns only the ID. You must wait for the webhook notification to receive the actual result.
string
f52b1f9e-b9a6-4248-afc5-d3ae358e723a