---
title: "List goals"
method: GET
path: "/api/sites/{id}/goals"
tags: ["Goals"]
---

# List goals

`GET /api/sites/{id}/goals`

## Request

- Base URL: `https://demo.hitkeep.com`
- URL: `https://demo.hitkeep.com/api/sites/{id}/goals`
- Auth: one of:
  - API key in cookie `hk_token`
  - HTTP bearer
  - API key in header `X-API-Key`

Lists goals for a site.

## Path parameters

- `id` string, uuid, required

## Response `200`

Goals

- Goal[]
  - `created_at` string, date-time
  - `id` string, uuid
  - `name` string
  - `site_id` string, uuid
  - `type` 'event' | 'path'
  - `value` string

---

[API](https://skmtc.dev/hitkeep/apis/hitkeep-rest-api.md) · [All operations](https://skmtc.dev/hitkeep/apis/hitkeep-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/hitkeep/apis/hitkeep-rest-api/revisions/bb2df36ab2a4?raw)
