list_mocks
List all mock API endpoints in a project, organized by collections. Returns each mock's ID, name, method, path, response config, its rules, and slugId. Set slim: true for a token-efficient response containing only basic details.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Optional path filter (matches if mock path contains or equals this string) | |
| slim | No | Set to true to return only basic mock details (ID, name, method, path, slugId) for token efficiency. Default is false. | |
| label | No | Optional label/tag name to filter mocks (e.g. branch name, sprint name, or scenario category) | |
| method | No | Optional HTTP method filter (e.g. GET, POST) | |
| projectId | Yes | Target project database ID (obtained from list_projects) |