List goals

GET /api/v3/goals

Request conventions

API key or OAuth2 access token. See Authentication.

Use your account domain and token in copied requests. Request values and conditional fields must satisfy your account’s validation rules.

URL settings

The part before .aha.io. Leave blank to use the example domain.

Number of records per page (default 25, max 200)

Opaque cursor from a previous response to fetch the next page

Fields

Choose fields to return, filter, or sort. Expand a field for examples and associated fields. Collections can only be returned on the top-level resource, not inside an associated resource.

Default response fields are returned until you select specific fields.

Add and edit filters and sorting in field details. Examples illustrate the response shape, not matching records.

FieldTypeReturned by defaultSortableSupported filters

Unique record ID.

integerYesYes
eqnot_eqgtgteltlteinnot_inbetweenemptynot_empty

URL to view the record in Aha!

stringYesNoNone

API URL for the record.

stringYesNoNone

Name of the record.

stringYesYes
eqnot_eqcontainsstarts_withinnot_inemptynot_empty

Reference number of the record.

stringYesYes
eqnot_eqcontainsstarts_withinnot_inemptynot_empty

Date and time when the record was created.

date-timeNoYes
eqgtgteltltebetweenemptynot_empty

Date and time when the record was last updated.

date-timeNoYes
eqgtgteltltebetweenemptynot_empty

Position of the record relative to its siblings.

integerNoYes
eqnot_eqgtgteltlteinnot_inbetweenemptynot_empty

Color assigned to the record as a hex value.

stringNoYesNone

Estimated effort, from 0 to 100.

integerNoYes
eqnot_eqgtgteltlteinnot_inbetweenemptynot_empty

Estimated value, from 0 to 100.

integerNoYes
eqnot_eqgtgteltlteinnot_inbetweenemptynot_empty

Progress completed for the record.

numberNoYes
eqnot_eqgtgteltlteinnot_inbetweenemptynot_empty

Method used to calculate goal progress.

stringNoNo
eqnot_eqinnot_inemptynot_empty

Name of the goal's success metric.

stringNoNoNone

HTML description of the goal's success metric.

stringNoNoNone

Status assigned to the record.

StatusNoNo
emptynot_empty

HTML description of the record.

NoteNoNo
emptynot_empty

Time frame assigned to the record.

TimeFrameNoNo
emptynot_empty

Workspace that contains the record.

ProjectNoNo
emptynot_empty

Features associated with the goal. Omitted by default. Request the field for inline records with default sub-fields, or choose sub-fields (e.g., ?fields=features[default]). Capped at 25 records. Only available on the top-level resource.

CollectionNoNo
emptynot_empty

Epics associated with the goal. Omitted by default. Request the field for inline records with default sub-fields, or choose sub-fields (e.g., ?fields=epics[default]). Capped at 25 records. Only available on the top-level resource.

CollectionNoNo
emptynot_empty

Initiatives associated with the goal. Omitted by default. Request the field for inline records with default sub-fields, or choose sub-fields (e.g., ?fields=initiatives[default]). Capped at 25 records. Only available on the top-level resource.

CollectionNoNo
emptynot_empty

Parent goals that this goal rolls up to. Omitted by default. Request the field for inline records with default sub-fields, or choose sub-fields (e.g., ?fields=rollup_goals[default]). Capped at 25 records. Only available on the top-level resource.

CollectionNoNo
emptynot_empty

Child goals that roll up to this goal. Omitted by default. Request the field for inline records with default sub-fields, or choose sub-fields (e.g., ?fields=children[default]). Capped at 25 records. Only available on the top-level resource.

CollectionNoNo
emptynot_empty

Key results belonging to the goal. Only available when key results are enabled for the account. Omitted by default. Request the field for inline records with default sub-fields, or choose sub-fields (e.g., ?fields=key_results[default]). Capped at 25 records. Only available on the top-level resource.

Availability depends on account settings.
CollectionNoNo
emptynot_empty

Custom field values. Property names are custom field definition keys, and each value is one of the supported formats below, depending on the field type. Omitted unless requested with the fields parameter or submitted in the request. Fields with no stored value are omitted.

objectNoNoBy custom field type

Search matches the start of a field path and includes matching associations’ subfields. Use a dotted path to search within a specific association.

Query syntax

Return selected fields with a comma-separated fields parameter, or add a field to the defaults with fields=default,{field}. Expand an association above for its supported subfields and selection examples.

Filter with filter.{operator}[{field}]=value. Multiple filters combine with AND. Use comma-separated values for in and not_in, two inclusive bounds for between, and true for empty and not_empty.

Sort with sort.asc={field} or sort.desc={field}. Explicit sorting limits results to 1,000 records. Omit sorting to retrieve all results in descending ID order.

Set the page size with per_page. Follow pagination.next_url while pagination.has_more is true.

Filter operators

eq equals; not_eq does not equal; contains contains text; starts_with starts with text (both case-insensitive).

gt greater than; gte greater than or equal; lt less than; lte less than or equal.

in matches any listed value; not_in excludes listed values; between matches an inclusive range; empty and not_empty check for an absent or present value.

See field selection, filtering, and pagination and sorting limits for details.

Response statuses

Error shape for 400, 401, 403

Type: object

error

Type: object

Required properties: status, code, message, request_id.

status

Type: integer

code

Type: string

message

Type: string

request_id

Type: string

Response envelope and pagination

records: array of records. Fields are documented above.

pagination

Type: object

Required properties: has_more.

has_more

Type: boolean

next_cursor

Type: string or null

next_url

Type: string or null (uri)

truncated

Type: boolean

truncated_message

Type: string

Download the complete OpenAPI specification