List API request logs
Changed onRetrieve a paginated list of API request logs for debugging and monitoring. Results are ordered by timestamp, newest first.
Use cases:
- Debug integration issues by reviewing recent requests
- Monitor error rates and response times
- Audit API usage patterns
Filters:
- status - Filter by success or error category
- statusCode - Filter by exact HTTP status code
- endpoint - Filter by endpoint name (e.g., emails.send)
- credentialId - Filter by API key
- startDate/endDate - Filter by date range
Note: Request and response bodies are only included when retrieving a single log entry with GET /logs/{requestId}.
Related endpoints:
- GET /logs/{requestId} - Get full log details with request/response bodies
Request
- Base URLhttps://api.arkhq.io/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Page number
Results per page (max 100)
Filter by request ID (partial match)
Filter by status category:
- success - Status codes < 400
- error - Status codes >= 400
Filter by exact HTTP status code (100-599)
Filter by endpoint name
Filter by API credential ID
Filter logs after this date (ISO 8601 format)
Filter logs before this date (ISO 8601 format)
Response
List of API request logs
Example response
{
"data": [
{
"requestId": "req_V8GGcdWYzgeWIHiI",
"timestamp": "2024-01-15T10:30:00Z",
"method": "POST",
"path": "/v1/emails",
"endpoint": "emails.send",
"statusCode": 200,
"durationMs": 145,
"error": {
"code": "validation_error",
"message": "The 'to' field must contain valid email addresses"
},
"context": {
"ipAddress": "192.168.1.1",
"userAgent": "ark-python/1.0.0",
"idempotencyKey": "unique-key-123"
},
"sdk": {
"name": "ark-python",
"version": "1.0.0"
},
"credential": {
"id": "cred_abc123",
"keyPrefix": "ak_live_"
},
"email": {
"id": "aBc123XyZ",
"recipientCount": 1
},
"rateLimit": {
"limit": 5,
"remaining": 4,
"reset": 1705312260
}
}
],
"page": 1,
"perPage": 50,
"total": 150,
"totalPages": 3,
"meta": {
"requestId": "req_V1StGXR8_Z5jdHi6"
}
}Changes
- warning
added the new
infrastructure_errorenum value to the/response property for the response status - warning
added the new
infrastructure_errorenum value to the/response property for the response status - warning
added the new
infrastructure_errorenum value to the/response property for the response status - warning
added the new
infrastructure_errorenum value to the/response property for the response status - info
removed the
postal_errorenum value from the/response property for the response status - info
removed the
postal_errorenum value from the/response property for the response status - info
removed the
postal_errorenum value from the/response property for the response status - info
removed the
postal_errorenum value from the/response property for the response status
- warning
- warning
added the new
already_existsenum value to the/response property for the response status - warning
added the new
already_existsenum value to the/response property for the response status - warning
added the new
already_existsenum value to the/response property for the response status - warning
added the new
already_existsenum value to the/response property for the response status - warning
added the new
attachment_too_largeenum value to the/response property for the response status - warning
added the new
attachment_too_largeenum value to the/response property for the response status - warning
added the new
attachment_too_largeenum value to the/response property for the response status - warning
added the new
attachment_too_largeenum value to the/response property for the response status - warning
added the new
authentication_requiredenum value to the/response property for the response status - warning
added the new
authentication_requiredenum value to the/response property for the response status - warning
added the new
authentication_requiredenum value to the/response property for the response status - warning
added the new
authentication_requiredenum value to the/response property for the response status - warning
added the new
billing_errorenum value to the/response property for the response status - warning
added the new
billing_errorenum value to the/response property for the response status - warning
added the new
billing_errorenum value to the/response property for the response status - warning
added the new
billing_errorenum value to the/response property for the response status - warning
added the new
billing_not_configuredenum value to the/response property for the response status - warning
added the new
billing_not_configuredenum value to the/response property for the response status - warning
added the new
billing_not_configuredenum value to the/response property for the response status - warning
added the new
billing_not_configuredenum value to the/response property for the response status - warning
added the new
credential_not_foundenum value to the/response property for the response status - warning
added the new
credential_not_foundenum value to the/response property for the response status - warning
added the new
credential_not_foundenum value to the/response property for the response status - warning
added the new
credential_not_foundenum value to the/response property for the response status - warning
added the new
credential_on_holdenum value to the/response property for the response status - warning
added the new
credential_on_holdenum value to the/response property for the response status - warning
added the new
credential_on_holdenum value to the/response property for the response status - warning
added the new
credential_on_holdenum value to the/response property for the response status - warning
added the new
credential_revokedenum value to the/response property for the response status - warning
added the new
credential_revokedenum value to the/response property for the response status - warning
added the new
credential_revokedenum value to the/response property for the response status - warning
added the new
credential_revokedenum value to the/response property for the response status - warning
added the new
delivery_not_foundenum value to the/response property for the response status - warning
added the new
delivery_not_foundenum value to the/response property for the response status - warning
added the new
delivery_not_foundenum value to the/response property for the response status - warning
added the new
delivery_not_foundenum value to the/response property for the response status - warning
added the new
domain_already_existsenum value to the/response property for the response status - warning
added the new
domain_already_existsenum value to the/response property for the response status - warning
added the new
domain_already_existsenum value to the/response property for the response status - warning
added the new
domain_already_existsenum value to the/response property for the response status - warning
added the new
domain_not_foundenum value to the/response property for the response status - warning
added the new
domain_not_foundenum value to the/response property for the response status - warning
added the new
domain_not_foundenum value to the/response property for the response status - warning
added the new
domain_not_foundenum value to the/response property for the response status - warning
added the new
domain_not_verifiedenum value to the/response property for the response status - warning
added the new
domain_not_verifiedenum value to the/response property for the response status - warning
added the new
domain_not_verifiedenum value to the/response property for the response status - warning
added the new
domain_not_verifiedenum value to the/response property for the response status - warning
added the new
email_not_foundenum value to the/response property for the response status - warning
added the new
email_not_foundenum value to the/response property for the response status - warning
added the new
email_not_foundenum value to the/response property for the response status - warning
added the new
email_not_foundenum value to the/response property for the response status - warning
added the new
external_id_already_existsenum value to the/response property for the response status - warning
added the new
external_id_already_existsenum value to the/response property for the response status - warning
added the new
external_id_already_existsenum value to the/response property for the response status - warning
added the new
external_id_already_existsenum value to the/response property for the response status - warning
added the new
forbiddenenum value to the/response property for the response status - warning
added the new
forbiddenenum value to the/response property for the response status - warning
added the new
forbiddenenum value to the/response property for the response status - warning
added the new
forbiddenenum value to the/response property for the response status - warning
added the new
idempotency_conflictenum value to the/response property for the response status - warning
added the new
idempotency_conflictenum value to the/response property for the response status - warning
added the new
idempotency_conflictenum value to the/response property for the response status - warning
added the new
idempotency_conflictenum value to the/response property for the response status - warning
added the new
insufficient_balanceenum value to the/response property for the response status - warning
added the new
insufficient_balanceenum value to the/response property for the response status - warning
added the new
insufficient_balanceenum value to the/response property for the response status - warning
added the new
insufficient_balanceenum value to the/response property for the response status - warning
added the new
internal_errorenum value to the/response property for the response status - warning
added the new
internal_errorenum value to the/response property for the response status - warning
added the new
internal_errorenum value to the/response property for the response status - warning
added the new
internal_errorenum value to the/response property for the response status - warning
added the new
invalid_api_keyenum value to the/response property for the response status - warning
added the new
invalid_api_keyenum value to the/response property for the response status - warning
added the new
invalid_api_keyenum value to the/response property for the response status - warning
added the new
invalid_api_keyenum value to the/response property for the response status - warning
added the new
invalid_email_addressenum value to the/response property for the response status - warning
added the new
invalid_email_addressenum value to the/response property for the response status - warning
added the new
invalid_email_addressenum value to the/response property for the response status - warning
added the new
invalid_email_addressenum value to the/response property for the response status - warning
added the new
invalid_raw_messageenum value to the/response property for the response status - warning
added the new
invalid_raw_messageenum value to the/response property for the response status - warning
added the new
invalid_raw_messageenum value to the/response property for the response status - warning
added the new
invalid_raw_messageenum value to the/response property for the response status - warning
added the new
invalid_requestenum value to the/response property for the response status - warning
added the new
invalid_requestenum value to the/response property for the response status - warning
added the new
invalid_requestenum value to the/response property for the response status - warning
added the new
invalid_requestenum value to the/response property for the response status - warning
added the new
ip_not_allowedenum value to the/response property for the response status - warning
added the new
ip_not_allowedenum value to the/response property for the response status - warning
added the new
ip_not_allowedenum value to the/response property for the response status - warning
added the new
ip_not_allowedenum value to the/response property for the response status - warning
added the new
message_too_largeenum value to the/response property for the response status - warning
added the new
message_too_largeenum value to the/response property for the response status - warning
added the new
message_too_largeenum value to the/response property for the response status - warning
added the new
message_too_largeenum value to the/response property for the response status - warning
added the new
metadata_key_invalidenum value to the/response property for the response status - warning
added the new
metadata_key_invalidenum value to the/response property for the response status - warning
added the new
metadata_key_invalidenum value to the/response property for the response status - warning
added the new
metadata_key_invalidenum value to the/response property for the response status - warning
added the new
metadata_too_largeenum value to the/response property for the response status - warning
added the new
metadata_too_largeenum value to the/response property for the response status - warning
added the new
metadata_too_largeenum value to the/response property for the response status - warning
added the new
metadata_too_largeenum value to the/response property for the response status - warning
added the new
metadata_value_invalidenum value to the/response property for the response status - warning
added the new
metadata_value_invalidenum value to the/response property for the response status - warning
added the new
metadata_value_invalidenum value to the/response property for the response status - warning
added the new
metadata_value_invalidenum value to the/response property for the response status - warning
added the new
missing_fieldenum value to the/response property for the response status - warning
added the new
missing_fieldenum value to the/response property for the response status - warning
added the new
missing_fieldenum value to the/response property for the response status - warning
added the new
missing_fieldenum value to the/response property for the response status - warning
added the new
missing_scopeenum value to the/response property for the response status - warning
added the new
missing_scopeenum value to the/response property for the response status - warning
added the new
missing_scopeenum value to the/response property for the response status - warning
added the new
missing_scopeenum value to the/response property for the response status - warning
added the new
not_foundenum value to the/response property for the response status - warning
added the new
not_foundenum value to the/response property for the response status - warning
added the new
not_foundenum value to the/response property for the response status - warning
added the new
not_foundenum value to the/response property for the response status - warning
added the new
payload_too_largeenum value to the/response property for the response status - warning
added the new
payload_too_largeenum value to the/response property for the response status - warning
added the new
payload_too_largeenum value to the/response property for the response status - warning
added the new
payload_too_largeenum value to the/response property for the response status - warning
added the new
payment_requiredenum value to the/response property for the response status - warning
added the new
payment_requiredenum value to the/response property for the response status - warning
added the new
payment_requiredenum value to the/response property for the response status - warning
added the new
payment_requiredenum value to the/response property for the response status - warning
added the new
postal_errorenum value to the/response property for the response status - warning
added the new
postal_errorenum value to the/response property for the response status - warning
added the new
postal_errorenum value to the/response property for the response status - warning
added the new
postal_errorenum value to the/response property for the response status - warning
added the new
rate_limit_exceededenum value to the/response property for the response status - warning
added the new
rate_limit_exceededenum value to the/response property for the response status - warning
added the new
rate_limit_exceededenum value to the/response property for the response status - warning
added the new
rate_limit_exceededenum value to the/response property for the response status - warning
added the new
send_limit_exceededenum value to the/response property for the response status - warning
added the new
send_limit_exceededenum value to the/response property for the response status - warning
added the new
send_limit_exceededenum value to the/response property for the response status - warning
added the new
send_limit_exceededenum value to the/response property for the response status - warning
added the new
server_suspendedenum value to the/response property for the response status - warning
added the new
server_suspendedenum value to the/response property for the response status - warning
added the new
server_suspendedenum value to the/response property for the response status - warning
added the new
server_suspendedenum value to the/response property for the response status - warning
added the new
service_unavailableenum value to the/response property for the response status - warning
added the new
service_unavailableenum value to the/response property for the response status - warning
added the new
service_unavailableenum value to the/response property for the response status - warning
added the new
service_unavailableenum value to the/response property for the response status - warning
added the new
suppressed_recipientenum value to the/response property for the response status - warning
added the new
suppressed_recipientenum value to the/response property for the response status - warning
added the new
suppressed_recipientenum value to the/response property for the response status - warning
added the new
suppressed_recipientenum value to the/response property for the response status - warning
added the new
suppression_not_foundenum value to the/response property for the response status - warning
added the new
suppression_not_foundenum value to the/response property for the response status - warning
added the new
suppression_not_foundenum value to the/response property for the response status - warning
added the new
suppression_not_foundenum value to the/response property for the response status - warning
added the new
tenant_not_foundenum value to the/response property for the response status - warning
added the new
tenant_not_foundenum value to the/response property for the response status - warning
added the new
tenant_not_foundenum value to the/response property for the response status - warning
added the new
tenant_not_foundenum value to the/response property for the response status - warning
added the new
too_many_attachmentsenum value to the/response property for the response status - warning
added the new
too_many_attachmentsenum value to the/response property for the response status - warning
added the new
too_many_attachmentsenum value to the/response property for the response status - warning
added the new
too_many_attachmentsenum value to the/response property for the response status - warning
added the new
too_many_recipientsenum value to the/response property for the response status - warning
added the new
too_many_recipientsenum value to the/response property for the response status - warning
added the new
too_many_recipientsenum value to the/response property for the response status - warning
added the new
too_many_recipientsenum value to the/response property for the response status - warning
added the new
unauthenticated_from_addressenum value to the/response property for the response status - warning
added the new
unauthenticated_from_addressenum value to the/response property for the response status - warning
added the new
unauthenticated_from_addressenum value to the/response property for the response status - warning
added the new
unauthenticated_from_addressenum value to the/response property for the response status - warning
added the new
unprocessable_entityenum value to the/response property for the response status - warning
added the new
unprocessable_entityenum value to the/response property for the response status - warning
added the new
unprocessable_entityenum value to the/response property for the response status - warning
added the new
unprocessable_entityenum value to the/response property for the response status - warning
added the new
validation_errorenum value to the/response property for the response status - warning
added the new
validation_errorenum value to the/response property for the response status - warning
added the new
validation_errorenum value to the/response property for the response status - warning
added the new
validation_errorenum value to the/response property for the response status - warning
added the new
webhook_not_foundenum value to the/response property for the response status - warning
added the new
webhook_not_foundenum value to the/response property for the response status - warning
added the new
webhook_not_foundenum value to the/response property for the response status - warning
added the new
webhook_not_foundenum value to the/response property for the response status
- warning