Mock Tool Data

List Mock Tool Data

Changed on

Returns a paginated list of mock tool data records, optionally filtered by agentId and toolId. Sorted by most recently created first.

get/v1/mock-tool-data

Request

  • Base URL
    https://api.sigmamind.ai
  • Auth
    API key in header X-API-Key

Query parameters

agentIdstring

Optional agent identifier. When supplied, only mocks for this agent are returned.

toolIdstring

Tool for which mock tool data records are to be displayed.

pageinteger

Zero-based page number. Defaults to 0.

sizeinteger

Page size. Defaults to 10.

Response

OK

pageinteger

Current page number (0-based index). Indicates which page of results is being returned.

sizeinteger

Number of items requested per page. Determines the maximum size of the 'data' list.

totalCountinteger

Total number of records available across all pages. Useful for calculating pagination on the client side.

totalPagesinteger

Total number of pages available based on totalCounts and size. Helps clients understand how many pages exist in total.

hasNextboolean

Indicates whether there is a next page available after the current one. Useful for implementing 'Load More' or next navigation.

hasPreviousboolean

Indicates whether there is a previous page before the current one. Useful for enabling backward navigation.

Example response

{
  "data": [
    {
      "mockToolDataId": "mock_dpKjqjKnY3z6gABF",
      "name": "Success - Order Confirmed",
      "agentId": "agent_D5D0p7TUs66TTAEAx",
      "toolId": "tool_X9pLm2Wq8Rt3",
      "toolAlias": "get_order",
      "toolName": "Get Order",
      "request": {
        "order_id": "1073460023"
      },
      "response": {
        "order": {
          "id": 1073460023,
          "confirmation_number": "A50GQT45C",
          "confirmed": true,
          "created_at": "2026-07-01T12:34:26-04:00",
          "currency": "EUR",
          "current_subtotal_price": "224.97",
          "current_subtotal_price_set": {
            "shop_money": {
              "amount": "224.97",
              "currency_code": "EUR"
            },
            "presentment_money": {
              "amount": "224.97",
              "currency_code": "EUR"
            }
          }
        }
      },
      "statusCode": 200,
      "delay": 500
    }
  ],
  "size": 20,
  "totalCount": 125,
  "totalPages": 7,
  "hasNext": true
}

Changes