cURL
curl --request POST \ --url https://app.mindlytics.ai/bc/v1/events/event/conversation-usage \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --header 'X-App-ID: <api-key>' \ --data '{ "session_id": "<string>", "timestamp": "<string>", "user_id": "<string>", "device_id": "<string>", "type": "track", "event": "Conversation Usage", "conversation_id": "<string>", "properties": { "model": "<string>", "prompt_tokens": 123, "completion_tokens": 123 } }'
[ { "type": "start_session" } ]
Usage of a conversation.
API Key for your organization
Project ID
Success
The events that were generated by the Mindlytics service as a result of this event.