Returns the API requests your organization made to Trackstar, most recent first. Filter by connection, integration, date range, request path, method, or status.
GET
/
api-logs
Get API Logs
curl --request GET \
--url https://production.trackstarhq.com/api-logs \
--header 'x-trackstar-api-key: <x-trackstar-api-key>'
Only return requests made against connections to this integration. The same name can exist across types, so pair it with integration_type to disambiguate.
Only return requests made to this endpoint. Path parameters are replaced with <path_param>, so a request to /wms/orders/123 is stored as /wms/orders/<path_param>.
The maximum number of requests to return per page. The default is 100. Minimum 1 and maximum 5000. Fewer may be returned if the page would be too large, in which case a next_token is included.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Trackstar","colors":{"primary":"#7691DA","light":"#D3D665","dark":"#2E3B72"},"logo":{"light":"https://mintcdn.com/trackstar/e_R8AMY4ayyVfYRU/logo/light.svg?fit=max\u0026auto=format\u0026n=e_R8AMY4ayyVfYRU\u0026q=85\u0026s=eb832f4ffc768291fd95c4939b2ac6c2","dark":"https://mintcdn.com/trackstar/e_R8AMY4ayyVfYRU/logo/dark.svg?fit=max\u0026auto=format\u0026n=e_R8AMY4ayyVfYRU\u0026q=85\u0026s=1a2845225060cfe1d75c91a7240341a0"},"favicon":"https://mintcdn.com/trackstar/ronaGfFeKtERpohJ/favicon.png?fit=max\u0026auto=format\u0026n=ronaGfFeKtERpohJ\u0026q=85\u0026s=b3a24a0d7d7c7acc8e7394c0640eb8c6","api":{"openapi":"https://production.trackstarhq.com/openapi.json","mdx":{"server":"https://production.trackstarhq.com"}},"navbar":{"primary":{"type":"button","label":"Get an API Key","href":"https://www.trackstarhq.com/#"}},"footer":{"socials":{"linkedin":"https://www.linkedin.com/company/trackstarhq","website":"https://www.trackstarhq.com/"}},"integrations":{"clearbit":{"publicApiKey":"pk_1c5d72a7b03149b504c277cee5b4032a"}},"contextual":{"options":["copy","view","claude","chatgpt","cursor","vscode","mcp","add-mcp","download-spec"],"display":"header"},"markdown":{"instructions":["Trackstar is a unified REST API for WMS, cart, and carrier systems. Base URL: https://production.trackstarhq.com. There is no SDK; call the API with plain HTTP.","Send x-trackstar-api-key on every request. Endpoints scoped to one connection also need x-trackstar-access-token. Read both from environment variables and never print them.","Reads return data Trackstar has already synced from the connected system. Writes (POST, PUT, PATCH, DELETE) are forwarded to the connected system immediately.","A new connection has no data until its initial sync finishes. Wait for the connection.historical-sync-completed webhook, or poll GET /connections/{connection_id} and check historical_sync_completed.","List endpoints page with page_token and next_token (limit is capped at 1000). Repeat every filter on every page. Filters use field[operator]=value, for example created_date[gte]=2026-01-01T00:00:00Z.","Write bodies must not contain null or empty strings; omit the field instead. Call GET /integrations/{integration_type}/{integration_name}/write-info first to learn the exact fields an integration accepts.","To test without real credentials, POST /sandbox/generate-sandbox/{wms|cart|carrier} with the API key returns a sandbox access token. Start at https://docs.trackstarhq.com/how-to-guides/build-with-ai.md and install the skills with: npx skills add https://docs.trackstarhq.com"]},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Request an API Key","icon":"key","href":"https://trackstarhq.com/get-started"},{"anchor":"Login to Dashboard","icon":"browser","href":"https://dashboard.trackstarhq.com"},{"anchor":"WMS Integrations","icon":"warehouse","href":"https://trackstarhq.com/integrations/wms"},{"anchor":"Cart Integrations","icon":"cart-shopping","href":"https://trackstarhq.com/integrations/cart"},{"anchor":"Carrier Integrations","icon":"truck","href":"https://trackstarhq.com/integrations/carrier"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"trackstar","hasAudioNarration":false,"actualSubdomain":"trackstar","customDomains":["docs.trackstarhq.com"],"gitSource":{"type":"github","owner":"trackstarhq","repo":"documentation","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae4f3ab7acf49fac9da16ec","collectionId":"8357bb4d-ef58-4cad-9f49-3af74e319ee4","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae4f3ab7acf49fac9da16ec"},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ae4f3ab7acf49fac9da16ec","clientVersion":"0.0.4044","searchFilterCounts":[{"language":"default","tag":"Guides","count":67},{"language":"default","tag":"How-To Guides","count":58},{"language":"default","tag":"WMS API","count":55},{"language":"default","tag":"WMS API Reference","count":55},{"language":"default","tag":"Webhooks","count":48},{"language":"default","tag":"WMS","count":29},{"language":"default","tag":"Admin API","count":21},{"language":"default","tag":"Admin API Reference","count":20},{"language":"default","tag":"Orders","count":17},{"language":"default","tag":"Cart API","count":16}]},"assistantConfig":{"enableStarterQuestions":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/mgmt/search-api-logs","slug":"/api-reference/mgmt/search-api-logs","pageMetadata":{"openapi":"get /api-logs","title":"Get API Logs","description":"Returns the API requests your organization made to Trackstar, most recent first. Filter by connection, integration, date range, request path, method, or status.","href":"/api-reference/mgmt/search-api-logs"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Returns the API requests your organization made to Trackstar, most recent first. Filter by connection, integration, date range, request path, method, or status.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"openapi":"get /api-logs","title":"Get API Logs","description":"Returns the API requests your organization made to Trackstar, most recent first. Filter by connection, integration, date range, request path, method, or status.","href":"/api-reference/mgmt/search-api-logs"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/trackstar/30b448b1cb413b03/required.js","/_mintlify/custom/trackstar/a23a6fd668fcabff/tab-dropdown.js","/_mintlify/custom/trackstar/bf284930523528a1/write-fields.js"],"openApiReferenceData":{"operation":{"parameters":["394c5845-ca64-45a7-a808-2c4277d8b6cf","c83f53ce-1811-4450-b0b3-d2ccc76d4a93","8ad79daa-c302-4393-a19c-914ee8ee1a98","f8e3b1fb-03d7-4f82-8e3d-26cbd8bc67e7","dcb1f2e3-453c-4720-affa-76e97d133303","894e6f28-0f2b-4d74-98f4-c8c6d941d014","5c02fc7a-5b05-4ac1-b254-007649ebbf02","dcea87bd-2981-4353-8d7c-989d33bd8fe2","9726f553-415c-4abc-8dea-8ec34fdd9bac","77cf8c64-8b41-4293-8f47-801f79104b52","19cc5370-4942-49bd-b90e-8877bb997d90"],"responses":{"200":"d13bd7a5-1ce0-4bba-81b4-3b3087e07c78","422":"86c65251-12ed-4f00-ba9d-06fa62f36d9b"},"tags":["Auth"],"summary":"Get API Logs","description":"Returns the API requests your organization made to Trackstar, most recent first. Filter by connection, integration, date range, request path, method, or status.","operationId":"get_search_api_logs","method":"get","type":"path","servers":["eb5659b4-6eec-462c-991a-7da8383bb677"],"security":[],"path":"/api-logs","baseUrlOptions":["https://production.trackstarhq.com"],"title":"Get API Logs","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"394c5845-ca64-45a7-a808-2c4277d8b6cf":{"in":"query","name":"start_date","description":"Only return requests received at or after this time. Cannot be more than 180 days ago, which is how long we retain logs.","schema":{"type":"string","format":"date-time","example":"2024-01-15T00:00:00Z","isRequired":true,"description":"Only return requests received at or after this time. Cannot be more than 180 days ago, which is how long we retain logs.","uniqueKey":"","typeLabel":"string\u003cdate-time>"},"required":true},"c83f53ce-1811-4450-b0b3-d2ccc76d4a93":{"in":"query","name":"end_date","description":"Only return requests received at or before this time. Defaults to now.","schema":{"type":"string","format":"date-time","example":"2024-01-16T00:00:00Z","isRequired":false,"description":"Only return requests received at or before this time. Defaults to now.","uniqueKey":"","typeLabel":"string\u003cdate-time>"},"required":false},"8ad79daa-c302-4393-a19c-914ee8ee1a98":{"in":"query","name":"connection_id","description":"Only return requests made against this connection.","schema":{"type":"string","example":"abc123def456abc123def456abc123de","isRequired":false,"description":"Only return requests made against this connection.","uniqueKey":"","typeLabel":"string"},"required":false},"f8e3b1fb-03d7-4f82-8e3d-26cbd8bc67e7":{"in":"query","name":"integration_name","description":"Only return requests made against connections to this integration. The same name can exist across types, so pair it with `integration_type` to disambiguate.","schema":{"type":"string","enum":["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"],"example":"shipbob","isRequired":false,"description":"Only return requests made against connections to this integration. The same name can exist across types, so pair it with `integration_type` to disambiguate.","uniqueKey":"","typeLabel":"enum\u003cstring>"},"required":false},"dcb1f2e3-453c-4720-affa-76e97d133303":{"in":"query","name":"integration_type","description":"Only return requests made against connections of this integration type.","schema":{"type":"string","enum":["wms","freight","cart","carrier","erp"],"example":"wms","isRequired":false,"description":"Only return requests made against connections of this integration type.","uniqueKey":"","typeLabel":"enum\u003cstring>"},"required":false},"894e6f28-0f2b-4d74-98f4-c8c6d941d014":{"in":"query","name":"request_method","description":"Only return requests made with this HTTP method.","schema":{"type":"string","enum":["GET","POST","PUT","DELETE","PATCH","HEAD","OPTIONS"],"example":"GET","isRequired":false,"description":"Only return requests made with this HTTP method.","uniqueKey":"","typeLabel":"enum\u003cstring>"},"required":false},"5c02fc7a-5b05-4ac1-b254-007649ebbf02":{"in":"query","name":"request_path","description":"Only return requests made to this endpoint. Path parameters are replaced with `\u003cpath_param>`, so a request to `/wms/orders/123` is stored as `/wms/orders/\u003cpath_param>`.","schema":{"type":"string","example":"/wms/orders","isRequired":false,"description":"Only return requests made to this endpoint. Path parameters are replaced with `\u003cpath_param>`, so a request to `/wms/orders/123` is stored as `/wms/orders/\u003cpath_param>`.","uniqueKey":"","typeLabel":"string"},"required":false},"dcea87bd-2981-4353-8d7c-989d33bd8fe2":{"in":"query","name":"status_code","description":"Only return requests that returned this HTTP status code.","schema":{"type":"integer","example":200,"isRequired":false,"description":"Only return requests that returned this HTTP status code.","uniqueKey":"","typeLabel":"integer"},"required":false},"9726f553-415c-4abc-8dea-8ec34fdd9bac":{"in":"query","name":"limit","description":"The maximum number of requests to return per page. The default is 100. Minimum 1 and maximum 5000. Fewer may be returned if the page would be too large, in which case a `next_token` is included.","schema":{"type":"integer","default":100,"minimum":1,"maximum":5000,"example":100,"isRequired":false,"description":"The maximum number of requests to return per page. The default is 100. Minimum 1 and maximum 5000. Fewer may be returned if the page would be too large, in which case a `next_token` is included.","uniqueKey":"","typeLabel":"integer"},"required":false},"77cf8c64-8b41-4293-8f47-801f79104b52":{"in":"query","name":"page_token","description":"The page token to use to retrieve the next page of results. If this field is omitted, there are no subsequent pages.","schema":{"type":"string","example":"page_token","isRequired":false,"description":"The page token to use to retrieve the next page of results. If this field is omitted, there are no subsequent pages.","uniqueKey":"","typeLabel":"string"},"required":false},"19cc5370-4942-49bd-b90e-8877bb997d90":{"in":"header","name":"x-trackstar-api-key","description":"Your organization-level Trackstar API key.","schema":{"type":"string","example":"\u003cx-trackstar-api-key>","isRequired":true,"description":"Your organization-level Trackstar API key.","uniqueKey":"","typeLabel":"string"},"required":true}},"responses":{"d13bd7a5-1ce0-4bba-81b4-3b3087e07c78":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","description":"The requests that matched the search, most recent first.","items":{"type":"object","properties":{"request_id":{"oneOf":[{"type":"string","description":"The id of the request, also returned on every response in the `X-Request-Id` header.","example":"Root=1-abc12345-abc123def456abc123def456","isRequired":true,"uniqueKey":"data.items.[INDEX].request_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The id of the request, also returned on every response in the `X-Request-Id` header.","example":"Root=1-abc12345-abc123def456abc123def456","isRequired":true,"uniqueKey":"data.items.[INDEX].request_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.items.[INDEX].request_id","typeLabel":"string | null"},"idempotency_key":{"oneOf":[{"type":"string","description":"The `Idempotency-Key` header the request was made with, if any.","example":"9f1c2b1e-6d4a-4c1c-9a8e-2b7e3c5d1f00","isRequired":true,"uniqueKey":"data.items.[INDEX].idempotency_key.oneOf.0","typeLabel":"string"},{"type":"null","description":"The `Idempotency-Key` header the request was made with, if any.","example":"9f1c2b1e-6d4a-4c1c-9a8e-2b7e3c5d1f00","isRequired":true,"uniqueKey":"data.items.[INDEX].idempotency_key.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.items.[INDEX].idempotency_key","typeLabel":"string | null"},"connection_id":{"oneOf":[{"type":"string","description":"The connection the request was made against.","example":"abc123def456abc123def456abc123de","isRequired":true,"uniqueKey":"data.items.[INDEX].connection_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The connection the request was made against.","example":"abc123def456abc123def456abc123de","isRequired":true,"uniqueKey":"data.items.[INDEX].connection_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.items.[INDEX].connection_id","typeLabel":"string | null"},"integration_name":{"oneOf":[{"type":"string","description":"The integration the connection belongs to.","example":"example_wms","isRequired":true,"uniqueKey":"data.items.[INDEX].integration_name.oneOf.0","typeLabel":"string"},{"type":"null","description":"The integration the connection belongs to.","example":"example_wms","isRequired":true,"uniqueKey":"data.items.[INDEX].integration_name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.items.[INDEX].integration_name","typeLabel":"string | null"},"integration_type":{"oneOf":[{"type":"string","description":"The type of integration the connection belongs to.","example":"wms","isRequired":true,"uniqueKey":"data.items.[INDEX].integration_type.oneOf.0","typeLabel":"string"},{"type":"null","description":"The type of integration the connection belongs to.","example":"wms","isRequired":true,"uniqueKey":"data.items.[INDEX].integration_type.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.items.[INDEX].integration_type","typeLabel":"string | null"},"request_time":{"type":"string","format":"date-time","description":"When Trackstar received the request.","example":"2024-01-15T13:45:30Z","isRequired":true,"uniqueKey":"data.items.[INDEX].request_time","typeLabel":"string\u003cdate-time>"},"request_method":{"type":"string","description":"The HTTP method of the request.","example":"GET","isRequired":true,"uniqueKey":"data.items.[INDEX].request_method","typeLabel":"string"},"request_path":{"type":"string","description":"The endpoint that was called, with path parameters replaced by `\u003cpath_param>`.","example":"/wms/orders/\u003cpath_param>","isRequired":true,"uniqueKey":"data.items.[INDEX].request_path","typeLabel":"string"},"path_param":{"oneOf":[{"type":"string","description":"The path parameter the request was made with.","example":"123","isRequired":true,"uniqueKey":"data.items.[INDEX].path_param.oneOf.0","typeLabel":"string"},{"type":"null","description":"The path parameter the request was made with.","example":"123","isRequired":true,"uniqueKey":"data.items.[INDEX].path_param.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.items.[INDEX].path_param","typeLabel":"string | null"},"query_params":{"oneOf":[{"description":"The query parameters the request was made with.","type":"object","example":{"limit":100},"isRequired":true,"uniqueKey":"data.items.[INDEX].query_params.oneOf.0","typeLabel":"object"},{"description":"The query parameters the request was made with.","type":"null","example":{"limit":100},"isRequired":true,"uniqueKey":"data.items.[INDEX].query_params.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.items.[INDEX].query_params","typeLabel":"object | null"},"request_body":{"oneOf":[{"description":"The body the request was made with.","type":"object","example":{"reference_id":"order-1001"},"isRequired":true,"uniqueKey":"data.items.[INDEX].request_body.oneOf.0","typeLabel":"object"},{"description":"The body the request was made with.","type":"null","example":{"reference_id":"order-1001"},"isRequired":true,"uniqueKey":"data.items.[INDEX].request_body.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.items.[INDEX].request_body","typeLabel":"object | null"},"integration_request_bodies":{"oneOf":[{"type":"array","description":"The calls Trackstar made to the integration while handling this request. Credentials are redacted.","items":{"type":"object","properties":{"url":{"oneOf":[{"type":"string","description":"The integration endpoint Trackstar called.","example":"https://api.example-wms.com/orders","isRequired":true,"uniqueKey":"data.items.[INDEX].integration_request_bodies.oneOf.0.items.[INDEX].url.oneOf.0","typeLabel":"string"},{"type":"null","description":"The integration endpoint Trackstar called.","example":"https://api.example-wms.com/orders","isRequired":true,"uniqueKey":"data.items.[INDEX].integration_request_bodies.oneOf.0.items.[INDEX].url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.items.[INDEX].integration_request_bodies.oneOf.0.items.[INDEX].url","typeLabel":"string | null"},"method":{"type":"string","description":"The HTTP method Trackstar used.","example":"POST","isRequired":true,"uniqueKey":"data.items.[INDEX].integration_request_bodies.oneOf.0.items.[INDEX].method","typeLabel":"string"},"body":{"oneOf":[{"description":"The body Trackstar sent to the integration.","type":"object","example":{"order_number":"1001"},"isRequired":true,"uniqueKey":"data.items.[INDEX].integration_request_bodies.oneOf.0.items.[INDEX].body.oneOf.0","typeLabel":"object"},{"description":"The body Trackstar sent to the integration.","type":"null","example":{"order_number":"1001"},"isRequired":true,"uniqueKey":"data.items.[INDEX].integration_request_bodies.oneOf.0.items.[INDEX].body.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.items.[INDEX].integration_request_bodies.oneOf.0.items.[INDEX].body","typeLabel":"object | null"}},"required":["body","method","url"],"additionalProperties":false,"title":"APILogIntegrationRequest","uniqueKey":"data.items.[INDEX].integration_request_bodies.oneOf.0.items.[INDEX]","typeLabel":"APILogIntegrationRequest · object"},"isRequired":true,"uniqueKey":"data.items.[INDEX].integration_request_bodies.oneOf.0","typeLabel":"APILogIntegrationRequest · object[]"},{"type":"null","description":"The calls Trackstar made to the integration while handling this request. Credentials are redacted.","items":{"type":"object","properties":{"url":{"oneOf":[{"type":"string","description":"The integration endpoint Trackstar called.","example":"https://api.example-wms.com/orders"},{"type":"null","description":"The integration endpoint Trackstar called.","example":"https://api.example-wms.com/orders"}]},"method":{"type":"string","description":"The HTTP method Trackstar used.","example":"POST"},"body":{"oneOf":[{"description":"The body Trackstar sent to the integration.","type":"object","example":{"order_number":"1001"}},{"description":"The body Trackstar sent to the integration.","type":"null","example":{"order_number":"1001"}}]}},"required":["body","method","url"],"additionalProperties":false,"title":"APILogIntegrationRequest"},"isRequired":true,"uniqueKey":"data.items.[INDEX].integration_request_bodies.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.items.[INDEX].integration_request_bodies","typeLabel":"APILogIntegrationRequest · object[] | null"},"status_code":{"type":"integer","description":"The HTTP status code the request returned.","example":200,"isRequired":true,"uniqueKey":"data.items.[INDEX].status_code","typeLabel":"integer"},"error":{"oneOf":[{"type":"string","description":"The error the request returned, if it failed.","example":"Order not found","isRequired":true,"uniqueKey":"data.items.[INDEX].error.oneOf.0","typeLabel":"string"},{"type":"null","description":"The error the request returned, if it failed.","example":"Order not found","isRequired":true,"uniqueKey":"data.items.[INDEX].error.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.items.[INDEX].error","typeLabel":"string | null"},"error_origin":{"oneOf":[{"type":"string","description":"Whether the error came from Trackstar or the integration.","example":"integration","isRequired":true,"uniqueKey":"data.items.[INDEX].error_origin.oneOf.0","typeLabel":"string"},{"type":"null","description":"Whether the error came from Trackstar or the integration.","example":"integration","isRequired":true,"uniqueKey":"data.items.[INDEX].error_origin.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.items.[INDEX].error_origin","typeLabel":"string | null"},"duration_ms":{"oneOf":[{"type":"integer","description":"How long the request took, in milliseconds.","example":142,"isRequired":true,"uniqueKey":"data.items.[INDEX].duration_ms.oneOf.0","typeLabel":"integer"},{"type":"null","description":"How long the request took, in milliseconds.","example":142,"isRequired":true,"uniqueKey":"data.items.[INDEX].duration_ms.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.items.[INDEX].duration_ms","typeLabel":"integer | null"}},"required":["connection_id","duration_ms","error","error_origin","idempotency_key","integration_name","integration_request_bodies","integration_type","path_param","query_params","request_body","request_id","request_method","request_path","request_time","status_code"],"additionalProperties":false,"title":"APILog","uniqueKey":"data.items.[INDEX]","typeLabel":"APILog · object"},"isRequired":true,"uniqueKey":"data","typeLabel":"APILog · object[]"},"total_count":{"type":"integer","description":"The number of items returned.","example":1,"isRequired":true,"uniqueKey":"total_count","typeLabel":"integer"},"next_token":{"oneOf":[{"type":"string","description":"See [pagination](/how-to-guides/about-the-api#pagination) for more details.","example":"next_token","isRequired":true,"uniqueKey":"next_token.oneOf.0","typeLabel":"string"},{"type":"null","description":"See [pagination](/how-to-guides/about-the-api#pagination) for more details.","example":"next_token","isRequired":true,"uniqueKey":"next_token.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"next_token","typeLabel":"string | null"}},"required":["data","next_token","total_count"],"additionalProperties":false,"title":"APILogsResponseSchema","uniqueKey":"","typeLabel":"APILogsResponseSchema · object"},"examples":{"Example":{"title":"Example","value":{"data":[{"request_id":"Root=1-abc12345-abc123def456abc123def456","idempotency_key":"9f1c2b1e-6d4a-4c1c-9a8e-2b7e3c5d1f00","connection_id":"abc123def456abc123def456abc123de","integration_name":"example_wms","integration_type":"wms","request_time":"2024-01-15T13:45:30Z","request_method":"GET","request_path":"/wms/orders/\u003cpath_param>","path_param":"123","query_params":{"limit":100},"request_body":{"reference_id":"order-1001"},"integration_request_bodies":[{"url":"https://api.example-wms.com/orders","method":"POST","body":{"order_number":"1001"}}],"status_code":200,"error":"Order not found","error_origin":"integration","duration_ms":142}],"total_count":1,"next_token":"next_token"}}},"exampleType":"generated"}},"description":"Successful response","exampleType":"generated"},"86c65251-12ed-4f00-ba9d-06fa62f36d9b":{"content":{"application/json":{"schema":{"properties":{"error":{"type":"string","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"detail":{"type":"object","properties":{"\u003clocation>":{"type":"object","properties":{"\u003cfield_name>":{"type":"array","items":{"type":"string","uniqueKey":"detail.\u003clocation>.\u003cfield_name>.items.[INDEX]","typeLabel":"string"},"uniqueKey":"detail.\u003clocation>.\u003cfield_name>","typeLabel":"string[]"}},"uniqueKey":"detail.\u003clocation>","typeLabel":"object"}},"uniqueKey":"detail","typeLabel":"object"}},"required":["error"],"type":"object","title":"ValidationError","uniqueKey":"","typeLabel":"ValidationError · object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","detail":{"\u003clocation>":{"\u003cfield_name>":["\u003cstring>"]}}}}},"exampleType":"generated"}},"description":"Validation error","exampleType":"generated"}},"security":{},"servers":{"eb5659b4-6eec-462c-991a-7da8383bb677":{"description":"Trackstar API","url":"https://production.trackstarhq.com"}}},"originalFileLocation":"https://production.trackstarhq.com/openapi.json"},"subdomain":"trackstar","siteName":"Trackstar","title":"Get API Logs - Trackstar","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-07-29T18:00:16.084Z","originalFileLocation":"api-reference/mgmt/search-api-logs.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Returns the API requests your organization made to Trackstar, most recent first. Filter by connection, integration, date range, request path, method, or status.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Trackstar\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/trackstar/pv8TH9ZNYgztdvmO/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/trackstar/pv8TH9ZNYgztdvmO/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/trackstar/pv8TH9ZNYgztdvmO/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/trackstar/pv8TH9ZNYgztdvmO/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/trackstar/pv8TH9ZNYgztdvmO/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/trackstar/pv8TH9ZNYgztdvmO/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/trackstar/pv8TH9ZNYgztdvmO/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/trackstar/pv8TH9ZNYgztdvmO/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/trackstar/pv8TH9ZNYgztdvmO/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get API Logs - Trackstar\">\u003cmeta data-mint-head property=\"og:description\" content=\"Returns the API requests your organization made to Trackstar, most recent first. Filter by connection, integration, date range, request path, method, or status.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Trackstar\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.trackstarhq.com/api-reference/mgmt/search-api-logs\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://trackstar.mintlify.app/_mintlify/api/og/v2?division=Admin+API+Reference\u0026amp;title=Get+API+Logs\u0026amp;description=Returns+the+API+requests+your+organization+made+to+Trackstar%2C+most+recent+first.+Filter+by+connection%2C+integration%2C+date+range%2C+request+path%2C+method%2C+or+status.\u0026amp;theme=a7581761d745b5f6f24e3162\u0026amp;signature=e0d3ec9dd2531abae60beea92165428e01d497bc8101f37b62360f3db0ead8cc\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Get API Logs - Trackstar\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Returns the API requests your organization made to Trackstar, most recent first. Filter by connection, integration, date range, request path, method, or status.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://trackstar.mintlify.app/_mintlify/api/og/v2?division=Admin+API+Reference\u0026amp;title=Get+API+Logs\u0026amp;description=Returns+the+API+requests+your+organization+made+to+Trackstar%2C+most+recent+first.+Filter+by+connection%2C+integration%2C+date+range%2C+request+path%2C+method%2C+or+status.\u0026amp;theme=a7581761d745b5f6f24e3162\u0026amp;signature=e0d3ec9dd2531abae60beea92165428e01d497bc8101f37b62360f3db0ead8cc\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/trackstar/pv8TH9ZNYgztdvmO/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Trackstar\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#7691DA\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.trackstarhq.com/api-reference/mgmt/search-api-logs\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/mgmt/search-api-logs.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.trackstarhq.com/#organization\",\"name\":\"Trackstar\",\"url\":\"https://docs.trackstarhq.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/trackstar/e_R8AMY4ayyVfYRU/logo/light.svg?fit=max\u0026auto=format\u0026n=e_R8AMY4ayyVfYRU\u0026q=85\u0026s=eb832f4ffc768291fd95c4939b2ac6c2\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.trackstarhq.com#website\",\"name\":\"Trackstar\",\"url\":\"https://docs.trackstarhq.com\",\"publisher\":{\"@id\":\"https://docs.trackstarhq.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.trackstarhq.com/api-reference/mgmt/search-api-logs#webpage\",\"url\":\"https://docs.trackstarhq.com/api-reference/mgmt/search-api-logs\",\"name\":\"Get API Logs\",\"description\":\"Returns the API requests your organization made to Trackstar, most recent first. Filter by connection, integration, date range, request path, method, or status.\",\"dateModified\":\"2026-07-29T18:00:16.084Z\",\"isPartOf\":{\"@id\":\"https://docs.trackstarhq.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.trackstarhq.com/api-reference/mgmt/search-api-logs#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.trackstarhq.com/api-reference/mgmt/search-api-logs#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Admin API Reference\",\"item\":\"https://docs.trackstarhq.com/api-reference/mgmt/create-link-token\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Get API Logs\",\"item\":\"https://docs.trackstarhq.com/api-reference/mgmt/search-api-logs\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.trackstarhq.com/api-reference/mgmt/search-api-logs#apireference\",\"headline\":\"Get API Logs\",\"name\":\"Get API Logs\",\"description\":\"Returns the API requests your organization made to Trackstar, most recent first. Filter by connection, integration, date range, request path, method, or status.\",\"url\":\"https://docs.trackstarhq.com/api-reference/mgmt/search-api-logs\",\"mainEntityOfPage\":{\"@id\":\"https://docs.trackstarhq.com/api-reference/mgmt/search-api-logs#webpage\"},\"dateModified\":\"2026-07-29T18:00:16.084Z\",\"publisher\":{\"@id\":\"https://docs.trackstarhq.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.trackstarhq.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Trackstar\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Trackstar","nav":{"global":{"anchors":[{"anchor":"Request an API Key","icon":"key","href":"https://trackstarhq.com/get-started"},{"anchor":"Login to Dashboard","icon":"browser","href":"https://dashboard.trackstarhq.com"},{"anchor":"WMS Integrations","icon":"warehouse","href":"https://trackstarhq.com/integrations/wms"},{"anchor":"Cart Integrations","icon":"cart-shopping","href":"https://trackstarhq.com/integrations/cart"},{"anchor":"Carrier Integrations","icon":"truck","href":"https://trackstarhq.com/integrations/carrier"}]},"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":"/introduction"}]},{"tab":"Admin API","groups":[{"group":"Admin API Reference","pages":[{"openapi":"post /link/token","title":"Create Link Token","href":"/api-reference/mgmt/create-link-token"},{"openapi":"post /link/exchange","title":"Exchange Auth Code","href":"/api-reference/mgmt/exchange-auth-code"},{"openapi":"get /connections","title":"Get Connections","href":"/api-reference/mgmt/get-connections"},{"openapi":"get /connections/{connection_id}","title":"Get Connection","href":"/api-reference/mgmt/get-connection"},{"openapi":"patch /connections","title":"Update Connection","href":"/api-reference/mgmt/update-connection"},{"openapi":"post /connections/sync","title":"Sync Connection","href":"/api-reference/mgmt/sync-connection"},{"openapi":"delete /connections","title":"Delete Connection","href":"/api-reference/mgmt/delete-connection"},{"openapi":"patch /schedules/{function_name}/toggle","title":"Toggle Schedule","href":"/api-reference/mgmt/toggle-connection-schedule"},{"openapi":"patch /schedules/toggle-all","title":"Toggle All Schedules","href":"/api-reference/mgmt/toggle-all-schedules"},{"openapi":"get /integrations/{integration_type}","title":"Integration Info","href":"/api-reference/mgmt/integrations"},{"openapi":"get /integrations/{integration_type}/{integration_name}","title":"Integration Info for Single Integration","href":"/api-reference/mgmt/get-integration"},{"openapi":"get /integrations/{integration_type}/{integration_name}/write-info","title":"Integration Write Info","href":"/api-reference/mgmt/integration-write-info"},{"openapi":"post /integration-requests","title":"Request an Integration","href":"/api-reference/mgmt/create-integration-request"},{"openapi":"get /integration-requests/flows","title":"Integration Request Flows","href":"/api-reference/mgmt/integration-request-flows"},{"openapi":"get /magic-links","title":"Get Magic Links","href":"/api-reference/mgmt/get-magic-links"},{"openapi":"get /magic-links/{magic_link_id}","title":"Get Magic Link","href":"/api-reference/mgmt/get-magic-link"},{"openapi":"post /magic-links","title":"Create Magic Link","href":"/api-reference/mgmt/create-magic-link"},{"openapi":"delete /magic-links/{magic_link_id}","title":"Delete Magic Link","description":"Delete a Magic Link by its ID.","href":"/api-reference/mgmt/delete-magic-link"},{"openapi":"get /api-logs","title":"Get API Logs","href":"/api-reference/mgmt/search-api-logs"},{"openapi":"get /api-logs/facets","title":"Get API Log Facets","description":"Returns the distinct values your organization's API logs contain for each filter, so you can discover what to pass to the search endpoint. Scoped to the same connection, integration, and date range.","href":"/api-reference/mgmt/api-log-facets"}]},{"group":"Sandbox","pages":[{"openapi":"post /sandbox/generate-sandbox/{integration_type}","title":"Generate Sandbox","href":"/api-reference/sandbox/generate-sandbox"}]}]},{"tab":"WMS API","pages":[{"title":"WMS API","href":"/api-reference/wms-api/inventory/info"}]},{"tab":"Cart API","pages":[{"title":"Cart API","href":"/api-reference/cart-api/products/info"}]},{"tab":"Carrier API","pages":[{"title":"Carrier API","href":"/api-reference/carrier-api/invoice-line-items/info"}]}]},"basePath":"","title":"Get API Logs - Trackstar","buildId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","deploymentId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CS552b7R.js","utils-DDTCYAF2.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-De8ttokP.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DrwRDvAh.js","snippetPresets-DtAN0nWx.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-D5rWArI6.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-O2i12wsz.js","shallow-DV8xABTt.js","getApiPlaygroundDisplay-DBZ0B5Jx.js","CodeSnippet-BVi0tPUX.js","CodeSnippets-CqASbIwY.js","Page-m07pfKpT.js","getPastedJson-DG9vsMS8.js","icon-CXzRSCr8.js","MethodPill-BdKVtEuX.js","DuplicateIcon-CZlmBrJI.js","createIcon-biFEUKPL.js","DynamicMarkdown-B54_zNBF.js","SectionHeading-DwwHK3Pt.js","axios-vUo_bRtp.js","Markdown-DfhCTwyA.js","clsx-xpJZXxdP.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BTZUMDnx.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-DqdKa2R4.js"]}