---
title: "Retrieve a goal"
method: GET
path: "/performance/{connection_id}/goal/{id}"
tags: ["performance", "goal"]
---

# Retrieve a goal

`GET /performance/{connection_id}/goal/{id}`

## Request

- Base URL: `http://api.unified.to`
- URL: `http://api.unified.to/performance/{connection_id}/goal/{id}`
- Auth: API key in header `authorization`

## Path parameters

- `connection_id` string, required
- `id` string, required

## Query parameters

- `fields` string[]
- `raw` string

## Response `200`

Successful

- PerformanceGoal
  - `id` string
  - `created_at` string, date-time: (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `updated_at` string, date-time: (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `name` string
  - `description` string
  - `user_ids` string[]: HR Employees that own or share this goal; the first element is the primary owner
  - `company_id` string
  - `parent_id` string: id of the parent goal, for goal alignment / OKR trees
  - `cycle_id` string: pointer to the Performance Cycle object (goal cycle or timeframe)
  - `type` 'INDIVIDUAL' | 'TEAM' | 'DEPARTMENT' | 'COMPANY' | 'OTHER'
  - `status` 'NOT_STARTED' | 'IN_PROGRESS' | 'COMPLETED' | 'CLOSED' | 'OTHER'
  - `progress` number: progress percentage from 0 to 100
  - `weight` number: the weight of this goal when the provider weighs goals in reviews
  - `start_at` string, date-time: (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `due_at` string, date-time: (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `completed_at` string, date-time: (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `milestones` PerformanceGoalMilestone[]: milestones or key results for this goal
    - `id` string
    - `name` string, required
    - `description` string
    - `target_value` number
    - `current_value` number
    - `unit` string: unit of the target/current values (e.g. %, USD, count)
    - `weight` number
    - `is_completed` boolean
    - `due_at` string, date-time: (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `metadata` PerformanceMetadata[]
    - `id` string
    - `slug` string
    - `value` unknown
    - `namespace` string
    - `format` 'TEXT' | 'NUMBER' | 'DATE' | 'BOOLEAN' | 'FILE' | 'TEXTAREA' | 'SINGLE_SELECT' | 'MULTIPLE_SELECT' | 'MEASUREMENT' | 'PRICE' | 'YES_NO' | 'CURRENCY' | 'URL'
    - `extra_data` unknown
  - `raw` unknown

---

[API](https://skmtc.dev/unified/apis/unified-to-api-2.md) · [All operations](https://skmtc.dev/unified/apis/unified-to-api-2/llms.txt) · [OpenAPI document](https://skmtc.dev/unified/apis/unified-to-api-2/revisions/7a38bdd7f089?raw)
