Create a prompt in the API
You can also create a prompt in the API. Here are the 2 endpoints you need to use to create a prompt:https://api.keywordsai.co/api/prompts/- Create a new prompt.https://api.keywordsai.co/api/prompts/<prompt_id>/versions/- Create a new version of a prompt.
1. Create a new prompt
You can use thePOST /prompts/ endpoint to create a new prompt. You need to provide the name, and description of the prompt.
2. Find the prompt ID
Once you have created a prompt, you can find the prompt ID in the response, or you can go to the Prompts page and find the prompt ID in the prompt details.3. Create a new version of the prompt
You can use thePOST /api/prompts/<prompt_id>/versions/ endpoint to create a new version of a prompt. You need to provide the content of the prompt.