Logs
Get all consumer request logs
This endpoint includes all consumer request logs.
get/vault/logs
Query parameters
Filter results
{
"connector_id": "crm+salesforce",
"path": "/crm/contacts",
"http_method": "GET",
"http_methods": [
"GET",
"POST"
],
"start_date": "2024-01-01T00:00:00.000Z",
"end_date": "2024-01-31T23:59:59.999Z",
"status_code": 201,
"status_codes": [
200,
201,
204
],
"exclude_unified_apis": "vault,proxy"
}cursorstring nullable
Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response.
limitinteger
Number of results to return. Minimum 1, Maximum 200, Default 20
Headers
x-apideck-app-idstring required
The ID of your Unify application
x-apideck-consumer-idstring required
ID of the consumer which you want to get or push data from
Response
Logs
Example response
{
"status_code": 200,
"status": "OK",
"data": [
{
"api_style": "REST",
"base_url": "unify.apideck.com",
"consumer_id": "test-consumer",
"duration": 2220.379304,
"error_message": "Refresh token is invalid",
"execution": 2248,
"http_method": "GET",
"id": "0b5f7480-5550-4f5c-a5fc-3c01ac43dd0f",
"latency": 27.620695999999953,
"operation": {
"id": "connectionsAll",
"name": "Get All Connections"
},
"parent_id": "0b5f7480-5550-4f5c-a5fc-3c01ac43dd0f",
"path": "/vault/connections",
"service": {
"id": "apideck-vault",
"name": "Apideck Vault"
},
"source_ip": "94.227.131.238",
"status_code": 200,
"success": true,
"timestamp": "2021-07-12T14:26:17.420Z",
"unified_api": "vault"
}
],
"meta": {
"items_on_page": 50,
"cursors": {
"previous": "em9oby1jcm06OnBhZ2U6OjE=",
"current": "em9oby1jcm06OnBhZ2U6OjI=",
"next": "em9oby1jcm06OnBhZ2U6OjM="
},
"total_count": 1,
"warnings": [
{
"type": "downstream_request_failed",
"status_code": 429,
"operation": "getManager"
}
]
},
"links": {
"previous": "https://unify.apideck.com/crm/companies?cursor=em9oby1jcm06OnBhZ2U6OjE%3D",
"current": "https://unify.apideck.com/crm/companies",
"next": "https://unify.apideck.com/crm/companies?cursor=em9oby1jcm06OnBhZ2U6OjM"
}
}