getMocks
Retrieve active mock servers from Postman to test API responses. Specify workspace or team ID to filter results for focused development and debugging.
Instructions
Gets all active mock servers. By default, returns only mock servers you created across all workspaces.
Always pass either the `workspace` or `teamId` query to scope results. Prefer `workspace` when known.
If you need team-scoped results, set `teamId` from the current user: call GET `/me` and use `me.teamId`.
If both `teamId` and `workspace` are passed, only `workspace` is used.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| teamId | No | Return only results that belong to the given team ID. - For team-scoped requests, set this from GET `/me` (`me.teamId`). | |
| workspace | No | Return only results found in the given workspace ID. - Prefer this parameter when the user mentions a specific workspace. |