cURL
curl --request POST \ --url https://api.helicone.ai/v1/prompt/create \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data '{ "metadata": {}, "prompt": "<any>", "userDefinedId": "<string>" }'
{ "data": { "id": "<string>", "prompt_version_id": "<string>" } }
Create a new prompt in the system
Bearer token authentication. Format: 'Bearer YOUR_API_KEY'
Construct a type with a set of properties K of type T
Show child attributes
Ok
Was this page helpful?