Get shifts
xmatters_get_shiftsRetrieve shift schedules for a group using the xMatters API. Specify the group ID to get its shifts, with options to filter by shift type or creation date.
Instructions
Get shifts. GET /api/xm/1/groups/{groupID}/shifts. Body fields: none. Reference: https://help.xmatters.com/xmapi/#get-shifts
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "xmatters_get_shifts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| query | No | API query parameters; arrays are comma-joined. Documented names: embed, include, members.exists, shiftType, createdBefore, createdAfter. Pagination is explicit using offset and limit; results are not automatically combined. |