---
title: "Get all consumer request logs"
method: GET
path: "/vault/logs"
tags: ["Logs"]
---

# Get all consumer request logs

`GET /vault/logs`

This endpoint includes all consumer request logs.

## Query parameters

- `filter` LogsFilter
  - `connector_id` string, nullable — Filter by connector ID. Known limitation: this field is not currently applied at the log query resolver — connector filtering is performed via the service identifier internally (see GH-10099).
  - `path` string, nullable — Filter by request path. Match behavior is controlled by path_match_mode (defaults to CONTAINS).
  - `path_match_mode` 'CONTAINS' | 'STARTS_WITH' | 'ENDS_WITH' | 'EXACT', nullable — How the path filter is matched. CONTAINS matches the path anywhere; STARTS_WITH / ENDS_WITH anchor the match; EXACT requires the whole path to match. Only applied when path is set.
  - `http_method` string, nullable — Filter by a single HTTP method.
  - `http_methods` string[], nullable — Filter by multiple HTTP methods.
  - `start_date` string, date-time, nullable — Filter logs at or after this ISO 8601 date-time (inclusive).
  - `end_date` string, date-time, nullable — Filter logs at or before this ISO 8601 date-time (inclusive). Must be on or after start_date.
  - `status_code` number, nullable — Filter by a single HTTP status code. For backward compatibility - use status_codes for multiple values.
  - `status_codes` number[], nullable — Filter by multiple HTTP status codes. Values must be between 100-599. Maximum 50 status codes allowed.
  - `exclude_unified_apis` string, nullable
- `cursor` string, nullable
- `limit` integer

## Headers

- `x-apideck-app-id` string, required
- `x-apideck-consumer-id` string, required

## Response `200`

Logs

- GetLogsResponse
  - `status_code` integer, required — HTTP Response Status Code
  - `status` string, required — HTTP Response Status
  - `data` Log[], required
    - `api_style` string, required — Indicates if the request was made via REST or Graphql endpoint.
    - `base_url` string, required — The Apideck base URL the request was made to.
    - `child_request` boolean, required — Indicates whether or not this is a child or parent request.
    - `consumer_id` string, required — The consumer Id associated with the request.
    - `duration` number, required — The entire execution time in milliseconds it took to call the Apideck service provider.
    - `error_message` string, nullable — If error occurred, this is brief explanation
    - `execution` integer, required — The entire execution time in milliseconds it took to make the request.
    - `has_children` boolean, required — When request is a parent request, this indicates if there are child requests associated.
    - `http_method` string, required — HTTP Method of request.
    - `id` string, required — UUID acting as Request Identifier.
    - `latency` number, required — Latency added by making this request via Unified Api.
    - `operation` object, required — The request as defined in OpenApi Spec.
      - `id` string, required — The OpenApi Operation Id associated with the request
      - `name` string, required — The OpenApi Operation name associated with the request
    - `parent_id` string, nullable, required — When request is a child request, this UUID indicates it's parent request.
    - `path` string, required — The path component of the URI the request was made to.
    - `sandbox` boolean, required — Indicates whether the request was made using Apidecks sandbox credentials or not.
    - `service` object, required — Apideck service provider associated with request.
      - `id` string, required — Apideck service provider id.
      - `name` string, required — Apideck service provider name.
    - `source_ip` string, nullable — The IP address of the source of the request.
    - `status_code` integer, required — HTTP Status code that was returned.
    - `success` boolean, required — Whether or not the request was successful.
    - `timestamp` string, required — ISO Date and time when the request was made.
    - `unified_api` 'crm' | 'lead' | 'proxy' | 'vault' | 'accounting' | 'hris' | 'ats' | 'ecommerce' | 'issue-tracking' | 'pos' | 'file-storage' | 'sms', required — Which Unified Api request was made to.
  - `meta` Meta — Response metadata
    - `items_on_page` integer — Number of items returned in the data property of the response
    - `cursors` object — Cursors to navigate to previous or next pages through the API
      - `previous` string, nullable — Cursor to navigate to the previous page of results through the API
      - `current` string, nullable — Cursor to navigate to the current page of results through the API
      - `next` string, nullable — Cursor to navigate to the next page of results through the API
    - `total_count` integer — Number of records available in total for this resource
    - `warnings` object[], nullable — Non-fatal warnings emitted when optional workflow steps failed. Present only when at least one step degraded; the response status remains 200.
      - `type` string — Discriminator for the warning kind.
      - `status_code` integer, nullable — HTTP status code returned by the failed downstream request, when available.
      - `error` string, nullable — Short error description from the downstream provider, when available.
      - `operation` string, nullable — Identifier of the workflow step that failed.
      - `message` string, nullable — Detailed message from the downstream provider, when available.
  - `links` Links — Links to navigate to previous or next pages through the API
    - `previous` string, nullable — Link to navigate to the previous page through the API
    - `current` string — Link to navigate to the current page through the API
    - `next` string, nullable — Link to navigate to the previous page through the API
  - `_raw` Raw, nullable — Raw response from the integration when raw=true query param is provided

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `402` — Payment Required
- `404` — The specified resource was not found
- `422` — Unprocessable
- `default` — Unexpected error

---

[API](https://skmtc.net/apideck-libraries/apis/vault-api.md) · [All operations](https://skmtc.net/apideck-libraries/apis/vault-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/apideck-libraries/vault-api/versions/1b8e8b6feb36/schema)
