Create Prompt
Create a prompt for easy reuse.
POST
/
v1
/
ai
/
prompt_engine
Body
prompt
string
requiredThe prompt. Prompt supports dynamic inputs. See example below.
inputs
array<object>
The prompt inputs. See example below.
return_prompt
string | array | object
How the prompt result should be returned or formatted. See examples below
Sample Prompt Payload
- String
return_prompt
Array<object>
return_prompt
- Object
return_prompt
Header
x-api-key
string
requiredYour JigsawStack API key
Response
success
boolean
Indicates whether the call was successful.
Was this page helpful?