Project
List Agent logs
Changed onList Agent access logs from your log provider integration or access file upload, oldest first.
get/agent-analytics/logs
Request
- Base URLhttps://api.peec.ai/customer/v1
- URLhttps://api.peec.ai/customer/v1/agent-analytics/logs
- Auth
- API key in header X-API-Key
- or API key in query parameter api_key
- or HTTP bearer
Query parameters
project_idstring
Required if using a company api key
Example:or_f45b94ba-5e35-4982-93ed-285e72ee14eb
limitinteger
offsetinteger
start_datestring date
full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21
Example:2025-09-22
end_datestring date
full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21
Example:2025-09-22
bot_idsstring[]
List of bot IDs to filter by. you will get it from /agent-analytics/bots
[ "AppleBot", "GoogleBot" ]
Response
Response for status 200
Example response
{
"data": [
{
"bot_id": "AppleBot",
"timestamp": "2025-01-01T00:01:02.000Z",
"request_method": "GET",
"request_host": "example.com",
"request_path": "/path",
"response_status": 200,
"user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1.1 Safari/605.1.15 (Applebot/0.1; +http://www.apple.com/go/applebot)",
"client_ip": "127.0.0.1",
"referer": "notexample.com"
}
],
"total_count": 100,
"totalCount": 100
}Changes
- breaking
for the
queryrequest parameterlimit, the type changed fromnumbertointeger - breaking
for the
queryrequest parameteroffset, the type changed fromnumbertointeger - warning
for the
queryrequest parameteroffset, the max was set to9007199254740991.00 - info
added the enum value
Brightbotto the propertyitems/of thequeryrequest parameterbot_ids
- breaking