Skip to main content
GET
/
lemur
/
v3
/
{request_id}
Retrieve LeMUR response
curl --request GET \
  --url https://api.assemblyai.com/lemur/v3/{request_id} \
  --header 'Authorization: <api-key>'
{
  "request_id": "5e1b27c2-691f-4414-8bc5-f14678442f9e",
  "usage": {
    "input_tokens": 27,
    "output_tokens": 3
  },
  "response": "Based on the transcript, the following locations were mentioned as being affected by wildfire smoke from Canada:\n\n- Maine\n- Maryland\n- Minnesota\n- Mid Atlantic region\n- Northeast region\n- New York City\n- Baltimore\n"
}

Authorizations

Authorization
string
header
required

Path Parameters

request_id
string
required

The ID of the LeMUR request you previously made. This would be found in the response of the original request.

Response

LeMUR response

  • Option 1
  • Option 2
response
string
required

The response generated by LeMUR.

request_id
string<uuid>
required

The ID of the LeMUR request

usage
object
required

The usage numbers for the LeMUR request