Returns goals that can be used as alignment targets. When a goalId query parameter is provided, the currently aligned goal is included in the results even if it would otherwise be excluded. When goalId is omitted, returns alignment options for the API user. This endpoint is permission-sensitive: the caller may be able to view a goal through list-goals or get-goal-aggregate but still receive 403 here if they lack permission to view alignment options for the selected goal. Treat 403 as "alignment options are permission-restricted," not as proof that the goal ID is invalid.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
400The provided goalId does not belong to the specified employee.
403The employeeId resolves to 0 (invalid path segment), or the API user lacks permission to view the specified goal.
404The provided goalId is zero or non-positive after integer cast (e.g. goalId=0, goalId=-1, or a non-numeric value such as goalId=abc).
