cURL
curl --request POST \ --url https://api.example.com/api/v1/orgs/{org_id}/prompts/ \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "content": "<string>", "description": "<string>", "tags": [ "<string>" ], "variables": [ {} ], "prompt_type": "<string>" } '
{}
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Data transfer object for creating a prompt.
Successful Response
The response is of type Response Create Prompt Api V1 Orgs Org Id Prompts Post · object.
Response Create Prompt Api V1 Orgs Org Id Prompts Post · object