API Call Logs
View complete records of all API calls to MaiAgent services, including request content, response results, and performance data
Overview
API Call Logs provide a complete record of all requests made through the MaiAgent API, including HTTP method, endpoint path, status code, response time, request and response content, and more. This is ideal for developers to debug, monitor performance, and track usage during API integration.
View Logs
In the left menu, click Developer → API Call Logs to view the list of all API request records.
Record Field Descriptions
ID
Unique identifier for the request; click to copy
Method
HTTP method (GET, POST, PUT, DELETE, PATCH), color-coded
Endpoint
API endpoint path
Status Code
HTTP response status code, color-coded by type: 2xx (green), 4xx (orange), 5xx (red)
Latency
Request duration, color-coded by speed: under 100ms (green), 100–500ms (orange), over 500ms (red); shown in seconds when over 1 second
Request Body
Request content preview
Response Body
Response content preview
IP
Source IP of the request
Time
Request time
Filter and Search
Use the filter bar at the top to quickly find the records you need:
Date Range: Select start and end dates to view records for a specific time period
Method: Filter by HTTP method (GET, POST, PUT, DELETE, PATCH); the default is All Methods
Status Category: Filter by response status (2xx Success, 4xx Client Error, 5xx Server Error); the default is All Status Codes
Search: Enter an endpoint, key name, or IP to search
View Request Details
In the record list, click the view icon on the right side of any record to open the View Details window, which helps developers debug:
Basic Information: Request ID, time, method, status code, latency, IP address, endpoint, and User-Agent
Request Headers, Request Body: The complete request content
Response Headers, Response Body: The complete response content
Error: Appears only when the request produced an error, and shows the error message
Last updated
Was this helpful?