Back to AsanaGet Goals
Returns compact goal records.
Input
type: object
properties:
parameters:
type: object
properties:
portfolio:
type: string
description: Globally unique identifier for supporting portfolio.
project:
type: string
description: Globally unique identifier for supporting project.
is_workspace_level:
type: boolean
description: >-
Filter to goals with is_workspace_level set to query value. Must be
used with the workspace parameter.
team:
type: string
description: Globally unique identifier for the team.
workspace:
type: string
description: Globally unique identifier for the workspace.
time_periods:
type: array
items:
type: string
description: Globally unique identifiers for the time periods.
title: Parameters
Output
type: object
properties:
data:
type: array
items:
type: object
properties:
gid:
description: Globally unique identifier of the resource, as a string.
type: string
readOnly: true
example: '12345'
x-insert-after: false
resource_type:
description: The base type of this resource.
type: string
readOnly: true
example: task
x-insert-after: gid
name:
type: string
description: The name of the goal.
example: Grow web traffic by 30%
owner:
type: object
properties:
gid:
description: Globally unique identifier of the resource, as a string.
type: string
readOnly: true
example: '12345'
x-insert-after: false
resource_type:
description: The base type of this resource.
type: string
readOnly: true
example: task
x-insert-after: gid
name:
type: string
description: '*Read-only except when same user as requester*. The user’s name.'
example: Greg Sanchez