Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
curl --location --request POST 'https://api.rapidagent.ai/api/v1/prompts' \ --header 'Content-Type: application/json' \ --header 'Autorization: Bearer <token>' \ --data-raw '{ "name": "My prompt", "input_variables": ["question", "history"], "template": "My prompt template with {histroy} and {question}" }'
{ "success": true, "data": { "id": "cli28c2vd00016itbrlhekwql", "name": "My prompt", "template": "...", "input_variables": [ "question", "history" ], } }
Create new prompt.
array
prompt