cURL
curl --request POST \ --url http://localhost:3000/v1/orgs/{org_id}/prompts \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "title": "<string>", "prompt_content": "<string>", "description": "<string>", "prompt_type": "scoring_criterion", "order_index": 1, "is_active": true } '
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
1 - 200
1 - 20000
2000
scoring_criterion
evaluation_focus
disqualifier
other
x >= 0
Default Response