cURL
curl --request POST \ --url https://api.veryfront.com/projects/{project_reference}/prompts \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "id": "<string>", "content": "<string>", "description": "<string>" } '
{ "id": "<string>", "name": "<string>", "description": "<string>", "content": "<string>", "source_path": "<string>", "source": "<string>", "edit_mode": "structured", "source_only_reasons": [ "<string>" ] }
Creates a structured prompt source file.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
1
Created prompt document
structured
source_only