GET
/
api
/
request-logs
/
{unique_id}
curl --request GET \
  --url https://api.keywordsai.co/api/request-logs/{unique_id} \
  --header 'Authorization: Bearer <token>'

The Get Log endpoint allows you to get a specific log by its unique ID.

You should first get the log list, and based on the unique id in the list, retrieve the specific log. Learn more about the log list endpoint.

Path params

unique_id
string
required

The unique ID of the log to get.

import requests

url = "https://api.keywordsai.co/api/request-logs/{{unique_id}}/"

payload = ""
headers = {
  'Authorization': 'Bearer {{your_api_key}}'
}

response = requests.request("GET", url, headers=headers, data=payload)

print(response.text)