---
title: "Get all Periods for an Activity"
method: GET
path: "/activities/{id}/periods"
tags: ["Activities"]
---

# Get all Periods for an Activity

`GET /activities/{id}/periods`

## Request

- Base URL: `https://connect-au.catapultsports.com/api/v6`
- URL: `https://connect-au.catapultsports.com/api/v6/activities/{id}/periods`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/catapultsports/apis/openfield-connect-v6-api/docs/activities/:id/periods/get.ts> (a function with typed inputs; its response is checked against the schema)

This API returns the list of periods for the provided activity id.

## Path parameters

- `id` string, required

## Response `200`

List of all Periods under an Activity

- object[]
  - `id` string
  - `activity_id` string
  - `period_depth_id` string
  - `name` string
  - `start_time` number: Epoch Timestamp, seconds since 1970-01-01T00:00:00Z
  - `start_centiseconds` number: Centiseconds part of epoch timestamp (hundredths of a second, a number between 0 and 99)
  - `end_time` number: Epoch Timestamp, seconds since 1970-01-01T00:00:00Z
  - `end_centiseconds` number: Centiseconds part of epoch timestamp (hundredths of a second, a number between 0 and 99)
  - `lft` integer
  - `rgt` integer
  - `is_synced` integer
  - `is_deleted` integer
  - `is_injected` integer
  - `created_at` string
  - `modified_at` string
  - `user_id` string, nullable
  - `tag_list` string[]
  - `tags` object[]
    - `id` string
    - `tag_type_id` string
    - `name` string
    - `tag_type_name` string
    - `tag_name` string

## Other responses

- `401`: Unauthenticated
- `404`: Not Found

---

[API](https://skmtc.dev/catapultsports/apis/openfield-connect-v6-api.md) - [All operations](https://skmtc.dev/catapultsports/apis/openfield-connect-v6-api/llms.txt) - [OpenAPI document](https://skmtc.dev/catapultsports/apis/openfield-connect-v6-api/revisions/4f0d7082f399?raw)
