Integrations
list_activity_logs
readList activity logs
Find failed requests across the Store, for example why orders or products stopped reaching a selling platform, before reading one integration with list_integration_activity_logs.
Overview
Lists the requests Sign Customiser sent and received for the connected Store, newest first, as the merchant admin Activity page shows them: each request direction, the line the admin shows, its HTTP status and duration, what caused it (an integration, a webhook or an API key, named by kind, name and the last four characters of a key) and the storefront page the shopper was on. Filters narrow it by customiser, by status (failed or success) and by causer kind. No credential, request body or header is returned. It requires the integrations:read scope and has no side effects.
Permission
Requires theintegrations:readpermission. A connection without it answersinsufficient_scopenaming the permission to approve.
Annotations
Prerequisites
- A merchant has connected this store and approved the integrations:read scope.
Arguments
How many requests to return per page, between 1 and 100. Defaults to 20.
The opaque next_cursor value from the previous page, sent back with identical filters.
Optional filters. An unknown filter is rejected, never ignored.
Only requests of this customiser.
failed for requests that failed, success for the rest (closed).
One of: failed, success
Only requests caused by this kind of causer (expected to grow).
One of: api_key, integration, webhook
Result
Up to `limit` logged requests, newest first, plus the cursor for the next page.
The page of logged requests, newest first.
The request direction: request:outgoing or request:incoming, or the older outgoing-request and incoming-request names on old rows. Expected to grow.
The line the merchant admin shows for the request.
The HTTP status of the request, or null.
How long the request took, or null.
What sent or caused the request, or null.
One of: api_key, integration, webhook
The last four characters of an API key; null for every other kind.
The storefront page the shopper was on when the request started, or null.
One of: window, parent, referrer, unavailable
One of: available, unavailable
Error cases
The connection was approved without integrations:read.
The cursor was altered or reused for a different collection, Store or filters; restart with no cursor.
A filter value is not allowed: customiser_id is not an integer from 1 to 2147483647, status is not failed or success, or causer is not api_key, integration or webhook. limit is not an integer from 1 to 100.
Remove the filter named in parameter. This tool forwards unknown filter names so the API can refuse them explicitly.
Failed requests of one customiser
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "list_activity_logs",
"arguments": {
"limit": 1,
"filter": {
"customiser_id": 42,
"status": "failed"
}
}
}
}{
"jsonrpc": "2.0",
"id": 1,
"result": {
"structuredContent": {
"request_id": "req_01jz9x2k7c8f3m5n6p7q8r9s0t",
"store": {
"id": 12,
"name": "Demo Signs"
},
"activity_logs": [
{
"id": 88123,
"event": "request:outgoing",
"description": "Create product on Shopify",
"status_code": 502,
"duration_ms": 1840,
"causer": {
"kind": "integration",
"name": "Main store",
"last_four": null
},
"storefront_page": null,
"created_at": "2026-11-14T09:30:00Z"
}
],
"pagination": {
"has_more": true,
"next_cursor": "eyJ2IjoxfQ"
}
}
}
}A filter the Store-wide list does not take (error)
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "list_activity_logs",
"arguments": {
"filter": {
"integration_id": 31
}
}
}
}{
"jsonrpc": "2.0",
"id": 1,
"result": {
"isError": true,
"structuredContent": {
"error": {
"code": "unknown_filter",
"title": "Unknown filter",
"detail": "The request includes filters this endpoint does not support: integration_id. Supported filters: customiser_id, status, causer.",
"parameter": "filter[integration_id]",
"recovery": "Remove the filter named in parameter. The list tool description names the filters the operation accepts."
}
}
}
}