cURL
curl --request GET \ --url https://api.trymaitai.ai/api/v1/requests/{request_id} \ --header 'X-Maitai-Api-Key: <api-key>'
{ "data": { "request": { "request_id": "req_abc123", "messages": [ { "role": "user", "content": "What is my order status?" } ] }, "response": { "choices": [ { "message": { "role": "assistant", "content": "Let me look that up for you." } } ] } } }
Retrieve a single request and its corresponding response.
Your Maitai API key from the Portal.
Get request.
Was this page helpful?