ResolveOnCallConflicts
Analyze conflicts and return prioritized resolution suggestions
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Request Inputs
Body Fields
conflictsListRequiredList of conflicts to resolve
Example: (nested array)
typeStringCategory of the detected conflict
Example: overlap
userIdStringUser ID involved in the conflict
Example: user-abc123
userNameStringDisplay name of the user involved in the conflict
Example: Alice Smith
detailsStringAdditional context about the conflict
Example: Overlapping shifts on 2024-06-01
allSchedulesListRequiredAll schedules relevant to the conflict resolution analysis
Example: (nested array)
uuidStringUnique identifier of the schedule
Example: sched-00112233
nameStringHuman-readable name of the schedule
Example: Platform On-Call
descriptionStringBrief description of the schedule purpose
Example: 24x7 platform on-call rotation
timezoneStringIANA timezone name for the schedule
Example: Asia/Shanghai
rotationTypeStringRotation type: daily, weekly, or custom
Example: weekly
shiftDurationStringDuration of each shift as a Go duration string
Example: 168h
membersListOrdered list of members participating in the rotation
Example: (nested array)
userIdStringUser identifier of the on-call member
Example: user-abc123
userNameStringDisplay name of the on-call member
Example: Alice Smith
orderIntegerRotation order position of the member within the schedule
Example: 1
startDateStringTimestamp when the schedule rotation begins
Example: 2026-01-15T08:00:00Z
createDateStringTimestamp when the schedule was created
Example: 2026-01-15T08:00:00Z
lastOpDateStringTimestamp of the last modification to the schedule
Example: 2026-01-15T08:00:00Z
strategyStringRequiredResolution strategy to apply (e.g. auto, manual)
Example: auto
Responses
Endpoint
POST/api/v1/oncall/conflicts/resolve
/api/v1/oncall/conflicts/resolve
Request Example
curl -X POST '{host}/api/v1/oncall/conflicts/resolve' -H 'Authorization: Bearer {token}' -H 'Content-Type: application/json' -d '{"conflicts":"(nested array)","allSchedules":"(nested array)","strategy":"auto"}'
Response Example
200{
"totalConflicts": 3,
"suggestions": [
{}
],
"strategy": "auto",
"generatedAt": "example"
}Change History
This API has no change history records yet.
