cURL
curl --request POST \ --url 'https://api.example.com/api/v1/prompt?api_key=' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "description": "<string>", "prompt_template": "<string>", "owner_type": "user" } '
{ "message": "Data created successfully", "meta": {}, "data": { "owner_type": "user", "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "description": "<string>", "prompt_template": "<string>" } }
Create a new prompt
Your API key for authentication. You can generate it from the Settings page. Format: starts with in-.
in-
user
system
Successful Response
Show child attributes
Was this page helpful?