---
title: "Get API Logs"
method: GET
path: "/api-logs"
tags: ["Auth"]
---

# Get API Logs

`GET /api-logs`

## Request

- Base URL: `https://production.trackstarhq.com`
- URL: `https://production.trackstarhq.com/api-logs`
- Auth: none required

Returns the API requests your organization made to Trackstar, most recent first. Filter by connection, integration, date range, request path, method, or status.

## Query parameters

- `start_date` string, date-time, required
- `end_date` string, date-time
- `connection_id` string
- `integration_name` 'active-ants' | 'adp' | 'amazon' | 'amazon-shipping' | 'amphora' | 'amplifier' | 'ams' | 'amware' | 'atomix' | 'bdi' | 'bergen' | 'best-inc' | 'bigblue' | 'bigcommerce' | 'bleckmann' | 'bluebox' | 'boxzooka' | 'byrd' | 'camelot' | 'canary7' | 'capacity' | 'carton-cloud' | 'cin7-omni' | 'cirro' | 'clarus' | 'controlport' | 'crafty' | 'cwr' | 'cybership' | 'dart' | 'darwynn-fulfillment' | 'davinci' | 'dcl' | 'dear-systems' | 'delmarcargo' | 'deposco' | 'dhl-ecom' | 'dhl-express' | 'distribution-alternatives' | 'distribution-management' | 'dotcom-distribution' | 'douyin' | 'dpd' | 'ebay' | 'elite-ops' | 'emerson' | 'eshipping' | 'etsy' | 'everstox' | 'evolve' | 'excelsior' | 'extensiv-3pl-central' | 'fabfitfun' | 'faire' | 'fba' | 'fedex' | 'fedex-fulfillment' | 'ffe' | 'finale' | 'flat-fee-shipping' | 'flexport' | 'florisoft' | 'flowspace' | 'forceget' | 'fulfil' | 'fulfillment' | 'fulfillment-lab' | 'fulfillor' | 'fulfilmentcrowd' | 'fullgood-fulfillment' | 'g-global' | 'geodis' | 'gobolt' | 'greenmark' | 'groupon' | 'helm-wms' | 'hive' | 'i-fulfilment' | 'icreate' | 'ilg' | 'infoplus' | 'itshere' | 'jas' | 'jaygroup' | 'jazz-central' | 'joor' | 'landmark' | 'leanafy' | 'leanware' | 'lineage' | 'linnall' | 'linnworks' | 'logicpod' | 'logiwa' | 'logiwa-io' | 'longtail' | 'luminous' | 'luxroutage' | 'mabang' | 'magento' | 'mai' | 'mainfreight' | 'masonhub' | 'mayple' | 'mintsoft' | 'mirakl' | 'mochila-fulfillment' | 'moda-express' | 'monta' | 'netsuite' | 'next3pl' | 'nextsmartship' | 'nfi' | 'nimble' | 'nlrp' | 'npfulfilment' | 'nri' | 'nuorder' | 'oia-global' | 'omnitrans' | 'ongoing' | 'orderdesk' | 'orderflow' | 'orderwise' | 'osa-commerce' | 'overstock' | 'packem' | 'packiyo' | 'pattern' | 'peoplevox' | 'picqer' | 'pimento' | 'podfoods' | 'portless' | 'postnord' | 'pulpo' | 'qls' | 'quiet' | 'return-helper' | 'rithum-home-depot' | 'rjw' | 'royal-mail' | 'rs-logistics' | 'rush-order' | 'salesupply' | 'sandbox' | 'sellercloud' | 'sg-spedition' | 'shipbob' | 'shipedge' | 'shipfusion' | 'shiphero' | 'shipmonk' | 'shipnetwork' | 'shipoffers' | 'shipout' | 'shipping-and-handling' | 'shipping-tree' | 'shippingbo' | 'shipsidekick' | 'shipstation' | 'shipstream' | 'shipwire' | 'shopify' | 'skladon' | 'skulabs' | 'skusavvy' | 'skuvault' | 'smart-warehousing' | 'smartpack' | 'snapfulfil' | 'sojo' | 'souko' | 'squarespace' | 'star' | 'states-logistics' | 'stock-and-trace' | 'stockhub' | 'stord' | 'stylux' | 'teamship' | 'teapplix' | 'techship' | 'thg-ingenuity-fulfil' | 'tiktok' | 'tlogistics' | 'tps' | 'tradepeg' | 'unis' | 'unleashed' | 'ups' | 'usps' | 'veeqo' | 'veracore' | 'vertical-cold' | 'vox' | 'walmart' | 'warehance' | 'warehouseos' | 'wayfair' | 'whiplash' | 'wineshipping' | 'wix' | 'woocommerce' | 'xorosoft' | 'zenfulfillment' | 'zenventory' | 'zoho'
- `integration_type` 'wms' | 'freight' | 'cart' | 'carrier' | 'erp'
- `request_method` 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS'
- `request_path` string
- `status_code` integer
- `limit` integer
- `page_token` string

## Headers

- `x-trackstar-api-key` string, required

## Response `200`

Successful response

- APILogsResponseSchema
  - `data` APILog[], required: The requests that matched the search, most recent first.
    - `request_id` string, nullable, required: The id of the request, also returned on every response in the `X-Request-Id` header.
    - `idempotency_key` string, nullable, required: The `Idempotency-Key` header the request was made with, if any.
    - `connection_id` string, nullable, required: The connection the request was made against.
    - `integration_name` string, nullable, required: The integration the connection belongs to.
    - `integration_type` string, nullable, required: The type of integration the connection belongs to.
    - `request_time` string, date-time, required: When Trackstar received the request.
    - `request_method` string, required: The HTTP method of the request.
    - `request_path` string, required: The endpoint that was called, with path parameters replaced by `<path_param>`.
    - `path_param` string, nullable, required: The path parameter the request was made with.
    - `query_params` object, nullable, required: The query parameters the request was made with.
    - `request_body` object, nullable, required: The body the request was made with.
    - `integration_request_bodies` APILogIntegrationRequest[], nullable, required: The calls Trackstar made to the integration while handling this request. Credentials are redacted.
      - `url` string, nullable, required: The integration endpoint Trackstar called.
      - `method` string, required: The HTTP method Trackstar used.
      - `body` object, nullable, required: The body Trackstar sent to the integration.
    - `status_code` integer, required: The HTTP status code the request returned.
    - `error` string, nullable, required: The error the request returned, if it failed.
    - `error_origin` string, nullable, required: Whether the error came from Trackstar or the integration.
    - `duration_ms` integer, nullable, required: How long the request took, in milliseconds.
  - `total_count` integer, required: The number of items returned.
  - `next_token` string, nullable, required: See [pagination](/how-to-guides/about-the-api#pagination) for more details.

## Other responses

- `422`: Validation error

## Changes

- **2026-11-03** `f9f948f2a7b3`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/trackstarhq/apis/trackstar-api/changes/api-logs/get.md)

---

[API](https://skmtc.dev/trackstarhq/apis/trackstar-api.md) - [All operations](https://skmtc.dev/trackstarhq/apis/trackstar-api/llms.txt) - [OpenAPI document](https://skmtc.dev/trackstarhq/apis/trackstar-api/revisions/08647f790594?raw)
