cURL
curl --request POST \ --url https://api.promptmetrics.dev/prompt-logs \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "workspace_id": "<string>", "status": "SUCCESS" } '
{ "responseData": { "prompt_log": {}, "log_id": "<string>" } }
Create a new prompt execution log entry.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
SUCCESS
ERROR
WEBSITE
SDK
Prompt log created
Show child attributes