Magidoc

getGoal
Query

Fetches a single goal by ID with its full details. Returns null when the goal does not exist or the caller is not a member of its workspace. When workspaceId is supplied, goals outside that workspace also return null.

Access: workspace members (external users excluded).

Arguments

#

goalId

ID !
Non-null

workspaceId

Response

#

Returns Goal .

Example

#