cURL
curl --request POST \ --url https://api.promptmetrics.dev/prompt-logs/share \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "log_id": "<string>" } '
{ "responseData": { "share_url": "<string>", "expires_at": "2023-11-07T05:31:56Z" } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Share link created
Show child attributes