Skip to main content
POST
🎉 Exciting News! We’ve enhanced Prompt Engine with powerful new capabilities. Meet Interfaze - our advanced LLM that takes your AI workflows to the next level, built for debvelopers, with improved performance better organization, and enhanced features.
string
required
Your JigsawStack API key
Run Prompt Direct is ideal for one-time prompt usage.
For prompts that will be used multiple times, it is recommended to first Create a Prompt and then Run the Prompt for better reliability.

Header

string
required
Your JigsawStack API key

Body

string
required
The prompt. Maximum character limit is 500000. Prompt supports dynamic inputs. See example below.
array<object>
The prompt inputs. See example below.
string | array | object
How the prompt result should be returned or formatted. See examples below
array<string>
Include this to guard against unsafe inputs from users. Supported values:
  • defamation
  • privacy
  • hate
  • sexual_content
  • elections
  • code_interpreter_abuse
  • indiscrimate_weapons
  • specialized_advice
object
Key-value pair for dynamic prompt variables. Each input value has a 500000 character limit
boolean
If set, partial message chunk will be sent.
boolean
Include this to allow prompt engine to use the internet.

Sample Prompt Payload

  • String return_prompt
  • Array<object> return_prompt
  • Object return_prompt

Response

boolean
Indicates whether the call was successful.
object
Usage information for the API call.
string
A unique identifier for the request