---
title: "List mocked tool invocations"
method: GET
path: "/v1/simulation/job/{jobId}/tool-mock"
tags: ["Simulation Job"]
---

# List mocked tool invocations

`GET /v1/simulation/job/{jobId}/tool-mock`

## Request

- Base URL: `https://api.roark.ai`
- URL: `https://api.roark.ai/v1/simulation/job/{jobId}/tool-mock`
- Auth: HTTP bearer

Every guarded tool invocation Roark answered during this simulation: what the agent tried to call, with what arguments, and the simulated response it received. Use this to assert tool behavior in CI after a test call, with zero real side effects. Empty when the agent's tools are not guarded (see the tool guard docs).

## Path parameters

- `jobId` string, uuid, required

## Response `200`

The mocked invocations, oldest first.

- object
  - `data` SimulationToolMockRecord[], required
    - `id` string, uuid, required
    - `toolName` string, required
    - `arguments` unknown
    - `result` unknown
    - `source` 'GENERATED' | 'FIXTURE', required: GENERATED = the scenario-aware model answered; FIXTURE = a pinned deterministic response.
    - `sessionId` string, nullable, required
    - `createdAt` string, required: ISO 8601.

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Simulation job not found
- `429`: Too Many Requests
- `500`: Internal Server Error

## Changes

> 188 revisions in range; 1 not diffed.

- **2026-09-23** `1ecd4d7c5fe7`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/roarkhq/apis/roark-analytics-api/changes/v1/simulation/job/:jobId/tool-mock/get.md)

---

[API](https://skmtc.dev/roarkhq/apis/roark-analytics-api.md) - [All operations](https://skmtc.dev/roarkhq/apis/roark-analytics-api/llms.txt) - [OpenAPI document](https://skmtc.dev/roarkhq/apis/roark-analytics-api/revisions/efc3377249d1?raw)
