List Requests
/requestsAuthorization
bearerAuth Your Maton API key, sent as Authorization: Bearer <MATON_API_KEY>. Create one at https://maton.ai/settings.
In: header
Query Parameters
Start of the time range, inclusive. Epoch milliseconds or an ISO 8601 timestamp such as 2026-11-18T00:00:00Z; a timestamp without an offset is UTC. Defaults to 24 hours before to. Must be within the last 30 days.
End of the time range, exclusive. Same formats as from. Defaults to now. At most 30 days after from and 24 hours in the future.
Search filter, such as app:slack response_status_code:>=400 or request_method:(POST OR PUT) -source:function.
-start_time for newest first, start_time for oldest first.
"-start_time""-start_time" | "start_time"Maximum number of items to return, from 1 to 1000.
1001 <= value <= 1000Opaque pagination cursor from the previous response. Send the same query and sort as the request that returned it; from and to can be omitted, since the token keeps the original range.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -G "https://api.maton.ai/requests" \ -H "Authorization: Bearer $MATON_API_KEY" \ --data-urlencode "query=app:slack response_status_code:>=400" \ --data-urlencode "limit=20"{
"requests": [
{
"request_id": "01a1efc0-6243-73a1-81b2-c3d4e5f60718",
"account_id": "3f6c2a1e-8b4d-4e7f-9a2c-5d1e0f3b7a64",
"source": "gateway",
"connection_id": "21fd90f9-5935-43cd-b6c8-bde9d915ca80",
"app": "slack",
"client_ip": "203.0.113.7",
"user_agent": "curl/8.7.1",
"duration_ms": 389,
"start_time": "2026-11-18T17:42:05.123Z",
"end_time": "2026-11-18T17:42:05.512Z",
"request_method": "GET",
"request_host": "api.maton.ai",
"request_path": "/slack/api/conversations.list",
"response_status_code": 200
}
],
"next_token": null
}{
"message": "Invalid app name.",
"type": "Bad Request",
"code": 400
}{
"message": "Invalid API key.",
"type": "Unauthorized",
"code": 401
}{
"message": "Too many requests.",
"type": "Too Many Requests",
"code": 429
}{
"message": "Internal server error.",
"type": "Internal Server Error",
"code": 500
}