> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pinkfish.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# strava

> Strava Fitness Tracking

**Server path:** `/strava` | **Type:** Application | **PCID required:** Yes

## Tools

| Tool                                                                                              | Description                |
| ------------------------------------------------------------------------------------------------- | -------------------------- |
| [`strava_create_activity`](#strava_create_activity)                                               | Create an Activity         |
| [`strava_create_upload`](#strava_create_upload)                                                   | Upload Activity            |
| [`strava_explore_segments`](#strava_explore_segments)                                             | Explore segments           |
| [`strava_get_activity_by_id`](#strava_get_activity_by_id)                                         | Get Activity               |
| [`strava_get_activity_streams`](#strava_get_activity_streams)                                     | Get Activity Streams       |
| [`strava_get_club_activities_by_id`](#strava_get_club_activities_by_id)                           | List Club Activities       |
| [`strava_get_club_admins_by_id`](#strava_get_club_admins_by_id)                                   | List Club Administrators   |
| [`strava_get_club_by_id`](#strava_get_club_by_id)                                                 | Get Club                   |
| [`strava_get_club_members_by_id`](#strava_get_club_members_by_id)                                 | List Club Members          |
| [`strava_get_comments_by_activity_id`](#strava_get_comments_by_activity_id)                       | List Activity Comments     |
| [`strava_get_efforts_by_segment_id`](#strava_get_efforts_by_segment_id)                           | List Segment Efforts       |
| [`strava_get_gear_by_id`](#strava_get_gear_by_id)                                                 | Get Equipment              |
| [`strava_get_kudoers_by_activity_id`](#strava_get_kudoers_by_activity_id)                         | List Activity Kudoers      |
| [`strava_get_laps_by_activity_id`](#strava_get_laps_by_activity_id)                               | List Activity Laps         |
| [`strava_get_logged_in_athlete`](#strava_get_logged_in_athlete)                                   | Get Authenticated Athlete  |
| [`strava_get_logged_in_athlete_activities`](#strava_get_logged_in_athlete_activities)             | List Athlete Activities    |
| [`strava_get_logged_in_athlete_clubs`](#strava_get_logged_in_athlete_clubs)                       | List Athlete Clubs         |
| [`strava_get_logged_in_athlete_starred_segments`](#strava_get_logged_in_athlete_starred_segments) | List Starred Segments      |
| [`strava_get_logged_in_athlete_zones`](#strava_get_logged_in_athlete_zones)                       | Get Zones                  |
| [`strava_get_route_as_gpx`](#strava_get_route_as_gpx)                                             | Export Route GPX           |
| [`strava_get_route_as_tcx`](#strava_get_route_as_tcx)                                             | Export Route TCX           |
| [`strava_get_route_by_id`](#strava_get_route_by_id)                                               | Get Route                  |
| [`strava_get_route_streams`](#strava_get_route_streams)                                           | Get Route Streams          |
| [`strava_get_routes_by_athlete_id`](#strava_get_routes_by_athlete_id)                             | List Athlete Routes        |
| [`strava_get_segment_by_id`](#strava_get_segment_by_id)                                           | Get Segment                |
| [`strava_get_segment_effort_by_id`](#strava_get_segment_effort_by_id)                             | Get Segment Effort         |
| [`strava_get_segment_effort_streams`](#strava_get_segment_effort_streams)                         | Get Segment Effort Streams |
| [`strava_get_segment_streams`](#strava_get_segment_streams)                                       | Get Segment Streams        |
| [`strava_get_stats`](#strava_get_stats)                                                           | Get Athlete Stats          |
| [`strava_get_upload_by_id`](#strava_get_upload_by_id)                                             | Get Upload                 |
| [`strava_get_zones_by_activity_id`](#strava_get_zones_by_activity_id)                             | Get Activity Zones         |
| [`strava_star_segment`](#strava_star_segment)                                                     | Star Segment               |
| [`strava_update_activity_by_id`](#strava_update_activity_by_id)                                   | Update Activity            |
| [`strava_update_logged_in_athlete`](#strava_update_logged_in_athlete)                             | Update Athlete             |

***

## strava\_create\_activity

Create an Activity

**Parameters:**

| Parameter          | Type    | Required | Default | Description                                                             |
| ------------------ | ------- | -------- | ------- | ----------------------------------------------------------------------- |
| `commute`          | integer | No       | —       | Set to 1 to mark as commute.                                            |
| `description`      | string  | No       | —       | Description of the activity.                                            |
| `distance`         | number  | No       | —       | In meters.                                                              |
| `elapsed_time`     | integer | Yes      | —       | In seconds.                                                             |
| `name`             | string  | Yes      | —       | The name of the activity.                                               |
| `sport_type`       | string  | Yes      | —       | Sport type of activity. For example - Run, MountainBikeRide, Ride, etc. |
| `start_date_local` | string  | Yes      | —       | ISO 8601 formatted date time.                                           |
| `trainer`          | integer | No       | —       | Set to 1 to mark as a trainer activity.                                 |
| `type`             | string  | No       | —       | Type of activity. For example - Run, Ride etc.                          |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "commute": {
        "type": "integer",
        "description": "Set to 1 to mark as commute."
      },
      "description": {
        "type": "string",
        "description": "Description of the activity."
      },
      "distance": {
        "type": "number",
        "description": "In meters."
      },
      "elapsed_time": {
        "type": "integer",
        "description": "In seconds."
      },
      "name": {
        "type": "string",
        "description": "The name of the activity."
      },
      "sport_type": {
        "type": "string",
        "description": "Sport type of activity. For example - Run, MountainBikeRide, Ride, etc."
      },
      "start_date_local": {
        "type": "string",
        "description": "ISO 8601 formatted date time."
      },
      "trainer": {
        "type": "integer",
        "description": "Set to 1 to mark as a trainer activity."
      },
      "type": {
        "type": "string",
        "description": "Type of activity. For example - Run, Ride etc."
      }
    },
    "required": [
      "PCID",
      "elapsed_time",
      "name",
      "sport_type",
      "start_date_local"
    ]
  }
  ```
</Expandable>

***

## strava\_create\_upload

Upload Activity

**Parameters:**

| Parameter     | Type   | Required | Default | Description                                                                            |
| ------------- | ------ | -------- | ------- | -------------------------------------------------------------------------------------- |
| `commute`     | string | No       | —       | Whether the resulting activity should be tagged as a commute.                          |
| `data_type`   | string | No       | —       | The format of the uploaded file.                                                       |
| `description` | string | No       | —       | The desired description of the resulting activity.                                     |
| `external_id` | string | No       | —       | The desired external identifier of the resulting activity.                             |
| `file`        | string | No       | —       | The uploaded file.                                                                     |
| `name`        | string | No       | —       | The desired name of the resulting activity.                                            |
| `trainer`     | string | No       | —       | Whether the resulting activity should be marked as having been performed on a trainer. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "commute": {
        "type": "string",
        "description": "Whether the resulting activity should be tagged as a commute."
      },
      "data_type": {
        "type": "string",
        "description": "The format of the uploaded file.",
        "enum": [
          "fit",
          "fit.gz",
          "tcx",
          "tcx.gz",
          "gpx",
          "gpx.gz"
        ]
      },
      "description": {
        "type": "string",
        "description": "The desired description of the resulting activity."
      },
      "external_id": {
        "type": "string",
        "description": "The desired external identifier of the resulting activity."
      },
      "file": {
        "type": "string",
        "description": "The uploaded file."
      },
      "name": {
        "type": "string",
        "description": "The desired name of the resulting activity."
      },
      "trainer": {
        "type": "string",
        "description": "Whether the resulting activity should be marked as having been performed on a trainer."
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## strava\_explore\_segments

Explore segments

**Parameters:**

| Parameter       | Type    | Required | Default | Description                                                                                                                                                                                                                                                               |
| --------------- | ------- | -------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `bounds`        | string  | Yes      | —       | The latitude and longitude for two points describing a rectangular boundary for the search: comma-separated values of \[southwest corner latitude, southwest corner longitude, northeast corner latitude, northeast corner longitude]. Example: "37.8,-122.5,37.9,-122.4" |
| `activity_type` | string  | No       | —       | Desired activity type.                                                                                                                                                                                                                                                    |
| `min_cat`       | integer | No       | —       | The minimum climbing category.                                                                                                                                                                                                                                            |
| `max_cat`       | integer | No       | —       | The maximum climbing category.                                                                                                                                                                                                                                            |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "bounds": {
        "type": "string",
        "description": "The latitude and longitude for two points describing a rectangular boundary for the search: comma-separated values of [southwest corner latitude, southwest corner longitude, northeast corner latitude, northeast corner longitude]. Example: \"37.8,-122.5,37.9,-122.4\""
      },
      "activity_type": {
        "type": "string",
        "description": "Desired activity type.",
        "enum": [
          "running",
          "riding"
        ]
      },
      "min_cat": {
        "type": "integer",
        "description": "The minimum climbing category."
      },
      "max_cat": {
        "type": "integer",
        "description": "The maximum climbing category."
      }
    },
    "required": [
      "PCID",
      "bounds"
    ]
  }
  ```
</Expandable>

***

## strava\_get\_activity\_by\_id

Get Activity

**Parameters:**

| Parameter             | Type    | Required | Default | Description                      |
| --------------------- | ------- | -------- | ------- | -------------------------------- |
| `id`                  | integer | Yes      | —       | The identifier of the activity.  |
| `include_all_efforts` | boolean | No       | —       | To include all segments efforts. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "id": {
        "type": "integer",
        "description": "The identifier of the activity."
      },
      "include_all_efforts": {
        "type": "boolean",
        "description": "To include all segments efforts."
      }
    },
    "required": [
      "PCID",
      "id"
    ]
  }
  ```
</Expandable>

***

## strava\_get\_activity\_streams

Get Activity Streams

**Parameters:**

| Parameter     | Type    | Required | Default | Description                                                                                                                                                              |
| ------------- | ------- | -------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `id`          | integer | Yes      | —       | The identifier of the activity.                                                                                                                                          |
| `keys`        | string  | Yes      | —       | Desired stream types as a comma-separated list. Valid values: time, distance, latlng, altitude, velocity\_smooth, heartrate, cadence, watts, temp, moving, grade\_smooth |
| `key_by_type` | boolean | Yes      | —       | Must be true.                                                                                                                                                            |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "id": {
        "type": "integer",
        "description": "The identifier of the activity."
      },
      "keys": {
        "type": "string",
        "description": "Desired stream types as a comma-separated list. Valid values: time, distance, latlng, altitude, velocity_smooth, heartrate, cadence, watts, temp, moving, grade_smooth"
      },
      "key_by_type": {
        "type": "boolean",
        "description": "Must be true."
      }
    },
    "required": [
      "PCID",
      "id",
      "keys",
      "key_by_type"
    ]
  }
  ```
</Expandable>

***

## strava\_get\_club\_activities\_by\_id

List Club Activities

**Parameters:**

| Parameter  | Type    | Required | Default | Description                               |
| ---------- | ------- | -------- | ------- | ----------------------------------------- |
| `id`       | integer | Yes      | —       | The identifier of the club.               |
| `page`     | integer | No       | —       | Page number. Defaults to 1.               |
| `per_page` | integer | No       | —       | Number of items per page. Defaults to 30. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "id": {
        "type": "integer",
        "description": "The identifier of the club."
      },
      "page": {
        "type": "integer",
        "description": "Page number. Defaults to 1."
      },
      "per_page": {
        "type": "integer",
        "description": "Number of items per page. Defaults to 30."
      }
    },
    "required": [
      "PCID",
      "id"
    ]
  }
  ```
</Expandable>

***

## strava\_get\_club\_admins\_by\_id

List Club Administrators

**Parameters:**

| Parameter  | Type    | Required | Default | Description                               |
| ---------- | ------- | -------- | ------- | ----------------------------------------- |
| `id`       | integer | Yes      | —       | The identifier of the club.               |
| `page`     | integer | No       | —       | Page number. Defaults to 1.               |
| `per_page` | integer | No       | —       | Number of items per page. Defaults to 30. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "id": {
        "type": "integer",
        "description": "The identifier of the club."
      },
      "page": {
        "type": "integer",
        "description": "Page number. Defaults to 1."
      },
      "per_page": {
        "type": "integer",
        "description": "Number of items per page. Defaults to 30."
      }
    },
    "required": [
      "PCID",
      "id"
    ]
  }
  ```
</Expandable>

***

## strava\_get\_club\_by\_id

Get Club

**Parameters:**

| Parameter | Type    | Required | Default | Description                 |
| --------- | ------- | -------- | ------- | --------------------------- |
| `id`      | integer | Yes      | —       | The identifier of the club. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "id": {
        "type": "integer",
        "description": "The identifier of the club."
      }
    },
    "required": [
      "PCID",
      "id"
    ]
  }
  ```
</Expandable>

***

## strava\_get\_club\_members\_by\_id

List Club Members

**Parameters:**

| Parameter  | Type    | Required | Default | Description                               |
| ---------- | ------- | -------- | ------- | ----------------------------------------- |
| `id`       | integer | Yes      | —       | The identifier of the club.               |
| `page`     | integer | No       | —       | Page number. Defaults to 1.               |
| `per_page` | integer | No       | —       | Number of items per page. Defaults to 30. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "id": {
        "type": "integer",
        "description": "The identifier of the club."
      },
      "page": {
        "type": "integer",
        "description": "Page number. Defaults to 1."
      },
      "per_page": {
        "type": "integer",
        "description": "Number of items per page. Defaults to 30."
      }
    },
    "required": [
      "PCID",
      "id"
    ]
  }
  ```
</Expandable>

***

## strava\_get\_comments\_by\_activity\_id

List Activity Comments

**Parameters:**

| Parameter      | Type    | Required | Default | Description                                                                                                                                                   |
| -------------- | ------- | -------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `id`           | integer | Yes      | —       | The identifier of the activity.                                                                                                                               |
| `page`         | integer | No       | —       | Deprecated. Prefer to use after\_cursor.                                                                                                                      |
| `per_page`     | integer | No       | —       | Deprecated. Prefer to use page\_size.                                                                                                                         |
| `page_size`    | integer | No       | —       | Number of items per page. Defaults to 30.                                                                                                                     |
| `after_cursor` | string  | No       | —       | Cursor of the last item in the previous page of results, used to request the subsequent page of results.  When omitted, the first page of results is fetched. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "id": {
        "type": "integer",
        "description": "The identifier of the activity."
      },
      "page": {
        "type": "integer",
        "description": "Deprecated. Prefer to use after_cursor."
      },
      "per_page": {
        "type": "integer",
        "description": "Deprecated. Prefer to use page_size."
      },
      "page_size": {
        "type": "integer",
        "description": "Number of items per page. Defaults to 30."
      },
      "after_cursor": {
        "type": "string",
        "description": "Cursor of the last item in the previous page of results, used to request the subsequent page of results.  When omitted, the first page of results is fetched."
      }
    },
    "required": [
      "PCID",
      "id"
    ]
  }
  ```
</Expandable>

***

## strava\_get\_efforts\_by\_segment\_id

List Segment Efforts

**Parameters:**

| Parameter          | Type    | Required | Default | Description                               |
| ------------------ | ------- | -------- | ------- | ----------------------------------------- |
| `segment_id`       | integer | Yes      | —       | The identifier of the segment.            |
| `start_date_local` | string  | No       | —       | ISO 8601 formatted date time.             |
| `end_date_local`   | string  | No       | —       | ISO 8601 formatted date time.             |
| `per_page`         | integer | No       | —       | Number of items per page. Defaults to 30. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "segment_id": {
        "type": "integer",
        "description": "The identifier of the segment."
      },
      "start_date_local": {
        "type": "string",
        "description": "ISO 8601 formatted date time."
      },
      "end_date_local": {
        "type": "string",
        "description": "ISO 8601 formatted date time."
      },
      "per_page": {
        "type": "integer",
        "description": "Number of items per page. Defaults to 30."
      }
    },
    "required": [
      "PCID",
      "segment_id"
    ]
  }
  ```
</Expandable>

***

## strava\_get\_gear\_by\_id

Get Equipment

**Parameters:**

| Parameter | Type   | Required | Default | Description                 |
| --------- | ------ | -------- | ------- | --------------------------- |
| `id`      | string | Yes      | —       | The identifier of the gear. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "id": {
        "type": "string",
        "description": "The identifier of the gear."
      }
    },
    "required": [
      "PCID",
      "id"
    ]
  }
  ```
</Expandable>

***

## strava\_get\_kudoers\_by\_activity\_id

List Activity Kudoers

**Parameters:**

| Parameter  | Type    | Required | Default | Description                               |
| ---------- | ------- | -------- | ------- | ----------------------------------------- |
| `id`       | integer | Yes      | —       | The identifier of the activity.           |
| `page`     | integer | No       | —       | Page number. Defaults to 1.               |
| `per_page` | integer | No       | —       | Number of items per page. Defaults to 30. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "id": {
        "type": "integer",
        "description": "The identifier of the activity."
      },
      "page": {
        "type": "integer",
        "description": "Page number. Defaults to 1."
      },
      "per_page": {
        "type": "integer",
        "description": "Number of items per page. Defaults to 30."
      }
    },
    "required": [
      "PCID",
      "id"
    ]
  }
  ```
</Expandable>

***

## strava\_get\_laps\_by\_activity\_id

List Activity Laps

**Parameters:**

| Parameter | Type    | Required | Default | Description                     |
| --------- | ------- | -------- | ------- | ------------------------------- |
| `id`      | integer | Yes      | —       | The identifier of the activity. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "id": {
        "type": "integer",
        "description": "The identifier of the activity."
      }
    },
    "required": [
      "PCID",
      "id"
    ]
  }
  ```
</Expandable>

***

## strava\_get\_logged\_in\_athlete

Get Authenticated Athlete

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## strava\_get\_logged\_in\_athlete\_activities

List Athlete Activities

**Parameters:**

| Parameter  | Type    | Required | Default | Description                                                                                     |
| ---------- | ------- | -------- | ------- | ----------------------------------------------------------------------------------------------- |
| `before`   | integer | No       | —       | An epoch timestamp to use for filtering activities that have taken place before a certain time. |
| `after`    | integer | No       | —       | An epoch timestamp to use for filtering activities that have taken place after a certain time.  |
| `page`     | integer | No       | —       | Page number. Defaults to 1.                                                                     |
| `per_page` | integer | No       | —       | Number of items per page. Defaults to 30.                                                       |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "before": {
        "type": "integer",
        "description": "An epoch timestamp to use for filtering activities that have taken place before a certain time."
      },
      "after": {
        "type": "integer",
        "description": "An epoch timestamp to use for filtering activities that have taken place after a certain time."
      },
      "page": {
        "type": "integer",
        "description": "Page number. Defaults to 1."
      },
      "per_page": {
        "type": "integer",
        "description": "Number of items per page. Defaults to 30."
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## strava\_get\_logged\_in\_athlete\_clubs

List Athlete Clubs

**Parameters:**

| Parameter  | Type    | Required | Default | Description                               |
| ---------- | ------- | -------- | ------- | ----------------------------------------- |
| `page`     | integer | No       | —       | Page number. Defaults to 1.               |
| `per_page` | integer | No       | —       | Number of items per page. Defaults to 30. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "page": {
        "type": "integer",
        "description": "Page number. Defaults to 1."
      },
      "per_page": {
        "type": "integer",
        "description": "Number of items per page. Defaults to 30."
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## strava\_get\_logged\_in\_athlete\_starred\_segments

List Starred Segments

**Parameters:**

| Parameter  | Type    | Required | Default | Description                               |
| ---------- | ------- | -------- | ------- | ----------------------------------------- |
| `page`     | integer | No       | —       | Page number. Defaults to 1.               |
| `per_page` | integer | No       | —       | Number of items per page. Defaults to 30. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "page": {
        "type": "integer",
        "description": "Page number. Defaults to 1."
      },
      "per_page": {
        "type": "integer",
        "description": "Number of items per page. Defaults to 30."
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## strava\_get\_logged\_in\_athlete\_zones

Get Zones

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## strava\_get\_route\_as\_gpx

Export Route GPX

**Parameters:**

| Parameter | Type    | Required | Default | Description                  |
| --------- | ------- | -------- | ------- | ---------------------------- |
| `id`      | integer | Yes      | —       | The identifier of the route. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "id": {
        "type": "integer",
        "description": "The identifier of the route."
      }
    },
    "required": [
      "PCID",
      "id"
    ]
  }
  ```
</Expandable>

***

## strava\_get\_route\_as\_tcx

Export Route TCX

**Parameters:**

| Parameter | Type    | Required | Default | Description                  |
| --------- | ------- | -------- | ------- | ---------------------------- |
| `id`      | integer | Yes      | —       | The identifier of the route. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "id": {
        "type": "integer",
        "description": "The identifier of the route."
      }
    },
    "required": [
      "PCID",
      "id"
    ]
  }
  ```
</Expandable>

***

## strava\_get\_route\_by\_id

Get Route

**Parameters:**

| Parameter | Type    | Required | Default | Description                  |
| --------- | ------- | -------- | ------- | ---------------------------- |
| `id`      | integer | Yes      | —       | The identifier of the route. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "id": {
        "type": "integer",
        "description": "The identifier of the route."
      }
    },
    "required": [
      "PCID",
      "id"
    ]
  }
  ```
</Expandable>

***

## strava\_get\_route\_streams

Get Route Streams

**Parameters:**

| Parameter | Type    | Required | Default | Description                  |
| --------- | ------- | -------- | ------- | ---------------------------- |
| `id`      | integer | Yes      | —       | The identifier of the route. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "id": {
        "type": "integer",
        "description": "The identifier of the route."
      }
    },
    "required": [
      "PCID",
      "id"
    ]
  }
  ```
</Expandable>

***

## strava\_get\_routes\_by\_athlete\_id

List Athlete Routes

**Parameters:**

| Parameter  | Type    | Required | Default | Description                                                          |
| ---------- | ------- | -------- | ------- | -------------------------------------------------------------------- |
| `id`       | integer | Yes      | —       | The identifier of the athlete. Must match the authenticated athlete. |
| `page`     | integer | No       | —       | Page number. Defaults to 1.                                          |
| `per_page` | integer | No       | —       | Number of items per page. Defaults to 30.                            |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "id": {
        "type": "integer",
        "description": "The identifier of the athlete. Must match the authenticated athlete."
      },
      "page": {
        "type": "integer",
        "description": "Page number. Defaults to 1."
      },
      "per_page": {
        "type": "integer",
        "description": "Number of items per page. Defaults to 30."
      }
    },
    "required": [
      "PCID",
      "id"
    ]
  }
  ```
</Expandable>

***

## strava\_get\_segment\_by\_id

Get Segment

**Parameters:**

| Parameter | Type    | Required | Default | Description                    |
| --------- | ------- | -------- | ------- | ------------------------------ |
| `id`      | integer | Yes      | —       | The identifier of the segment. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "id": {
        "type": "integer",
        "description": "The identifier of the segment."
      }
    },
    "required": [
      "PCID",
      "id"
    ]
  }
  ```
</Expandable>

***

## strava\_get\_segment\_effort\_by\_id

Get Segment Effort

**Parameters:**

| Parameter | Type    | Required | Default | Description                           |
| --------- | ------- | -------- | ------- | ------------------------------------- |
| `id`      | integer | Yes      | —       | The identifier of the segment effort. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "id": {
        "type": "integer",
        "description": "The identifier of the segment effort."
      }
    },
    "required": [
      "PCID",
      "id"
    ]
  }
  ```
</Expandable>

***

## strava\_get\_segment\_effort\_streams

Get Segment Effort Streams

**Parameters:**

| Parameter     | Type    | Required | Default | Description                                                                                                                                                                        |
| ------------- | ------- | -------- | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `id`          | integer | Yes      | —       | The identifier of the segment effort.                                                                                                                                              |
| `keys`        | string  | Yes      | —       | The types of streams to return as a comma-separated list. Valid values: time, distance, latlng, altitude, velocity\_smooth, heartrate, cadence, watts, temp, moving, grade\_smooth |
| `key_by_type` | boolean | Yes      | —       | Must be true.                                                                                                                                                                      |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "id": {
        "type": "integer",
        "description": "The identifier of the segment effort."
      },
      "keys": {
        "type": "string",
        "description": "The types of streams to return as a comma-separated list. Valid values: time, distance, latlng, altitude, velocity_smooth, heartrate, cadence, watts, temp, moving, grade_smooth"
      },
      "key_by_type": {
        "type": "boolean",
        "description": "Must be true."
      }
    },
    "required": [
      "PCID",
      "id",
      "keys",
      "key_by_type"
    ]
  }
  ```
</Expandable>

***

## strava\_get\_segment\_streams

Get Segment Streams

**Parameters:**

| Parameter     | Type    | Required | Default | Description                                                                                        |
| ------------- | ------- | -------- | ------- | -------------------------------------------------------------------------------------------------- |
| `id`          | integer | Yes      | —       | The identifier of the segment.                                                                     |
| `keys`        | string  | Yes      | —       | The types of streams to return as a comma-separated list. Valid values: distance, latlng, altitude |
| `key_by_type` | boolean | Yes      | —       | Must be true.                                                                                      |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "id": {
        "type": "integer",
        "description": "The identifier of the segment."
      },
      "keys": {
        "type": "string",
        "description": "The types of streams to return as a comma-separated list. Valid values: distance, latlng, altitude"
      },
      "key_by_type": {
        "type": "boolean",
        "description": "Must be true."
      }
    },
    "required": [
      "PCID",
      "id",
      "keys",
      "key_by_type"
    ]
  }
  ```
</Expandable>

***

## strava\_get\_stats

Get Athlete Stats

**Parameters:**

| Parameter | Type    | Required | Default | Description                                                          |
| --------- | ------- | -------- | ------- | -------------------------------------------------------------------- |
| `id`      | integer | Yes      | —       | The identifier of the athlete. Must match the authenticated athlete. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "id": {
        "type": "integer",
        "description": "The identifier of the athlete. Must match the authenticated athlete."
      }
    },
    "required": [
      "PCID",
      "id"
    ]
  }
  ```
</Expandable>

***

## strava\_get\_upload\_by\_id

Get Upload

**Parameters:**

| Parameter  | Type    | Required | Default | Description                   |
| ---------- | ------- | -------- | ------- | ----------------------------- |
| `uploadId` | integer | Yes      | —       | The identifier of the upload. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "uploadId": {
        "type": "integer",
        "description": "The identifier of the upload."
      }
    },
    "required": [
      "PCID",
      "uploadId"
    ]
  }
  ```
</Expandable>

***

## strava\_get\_zones\_by\_activity\_id

Get Activity Zones

**Parameters:**

| Parameter | Type    | Required | Default | Description                     |
| --------- | ------- | -------- | ------- | ------------------------------- |
| `id`      | integer | Yes      | —       | The identifier of the activity. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "id": {
        "type": "integer",
        "description": "The identifier of the activity."
      }
    },
    "required": [
      "PCID",
      "id"
    ]
  }
  ```
</Expandable>

***

## strava\_star\_segment

Star Segment

**Parameters:**

| Parameter | Type    | Required | Default | Description                                              |
| --------- | ------- | -------- | ------- | -------------------------------------------------------- |
| `id`      | integer | Yes      | —       | The identifier of the segment to star.                   |
| `starred` | boolean | Yes      | —       | If true, star the segment; if false, unstar the segment. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "id": {
        "type": "integer",
        "description": "The identifier of the segment to star."
      },
      "starred": {
        "type": "boolean",
        "description": "If true, star the segment; if false, unstar the segment."
      }
    },
    "required": [
      "PCID",
      "id",
      "starred"
    ]
  }
  ```
</Expandable>

***

## strava\_update\_activity\_by\_id

Update Activity

**Parameters:**

| Parameter        | Type    | Required | Default | Description                                                                                                                                                                                                                                                                                             |
| ---------------- | ------- | -------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `id`             | integer | Yes      | —       | The identifier of the activity.                                                                                                                                                                                                                                                                         |
| `commute`        | boolean | No       | —       | Whether this activity is a commute                                                                                                                                                                                                                                                                      |
| `description`    | string  | No       | —       | The description of the activity                                                                                                                                                                                                                                                                         |
| `gear_id`        | string  | No       | —       | Identifier for the gear associated with the activity. ‘none’ clears gear from activity                                                                                                                                                                                                                  |
| `hide_from_home` | boolean | No       | —       | Whether this activity is muted                                                                                                                                                                                                                                                                          |
| `name`           | string  | No       | —       | The name of the activity                                                                                                                                                                                                                                                                                |
| `sport_type`     | string  | No       | —       | An enumeration of the sport types an activity may have. Distinct from ActivityType in that it has new types (e.g. MountainBikeRide)                                                                                                                                                                     |
| `trainer`        | boolean | No       | —       | Whether this activity was recorded on a training machine                                                                                                                                                                                                                                                |
| `type`           | string  | No       | —       | An enumeration of the types an activity may have. Note that this enumeration does not include new sport types (e.g. MountainBikeRide, EMountainBikeRide), activities with these sport types will have the corresponding activity type (e.g. Ride for MountainBikeRide, EBikeRide for EMountainBikeRide) |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "id": {
        "type": "integer",
        "description": "The identifier of the activity."
      },
      "commute": {
        "type": "boolean",
        "description": "Whether this activity is a commute"
      },
      "description": {
        "type": "string",
        "description": "The description of the activity"
      },
      "gear_id": {
        "type": "string",
        "description": "Identifier for the gear associated with the activity. ‘none’ clears gear from activity"
      },
      "hide_from_home": {
        "type": "boolean",
        "description": "Whether this activity is muted"
      },
      "name": {
        "type": "string",
        "description": "The name of the activity"
      },
      "sport_type": {
        "type": "string",
        "description": "An enumeration of the sport types an activity may have. Distinct from ActivityType in that it has new types (e.g. MountainBikeRide)",
        "enum": [
          "AlpineSki",
          "BackcountrySki",
          "Badminton",
          "Basketball",
          "Canoeing",
          "Cricket",
          "Crossfit",
          "Dance",
          "EBikeRide",
          "Elliptical",
          "EMountainBikeRide",
          "Golf",
          "GravelRide",
          "Handcycle",
          "HighIntensityIntervalTraining",
          "Hike",
          "IceSkate",
          "InlineSkate",
          "Kayaking",
          "Kitesurf",
          "MountainBikeRide",
          "NordicSki",
          "Padel",
          "PhysicalTherapy",
          "Pickleball",
          "Pilates",
          "Racquetball",
          "Ride",
          "RockClimbing",
          "RollerSki",
          "Rowing",
          "Run",
          "Sail",
          "Skateboard",
          "Snowboard",
          "Snowshoe",
          "Soccer",
          "Squash",
          "StairStepper",
          "StandUpPaddling",
          "Surfing",
          "Swim",
          "TableTennis",
          "Tennis",
          "TrailRun",
          "Velomobile",
          "VirtualRide",
          "VirtualRow",
          "VirtualRun",
          "Volleyball",
          "Walk",
          "WeightTraining",
          "Wheelchair",
          "Windsurf",
          "Workout",
          "Yoga"
        ]
      },
      "trainer": {
        "type": "boolean",
        "description": "Whether this activity was recorded on a training machine"
      },
      "type": {
        "type": "string",
        "description": "An enumeration of the types an activity may have. Note that this enumeration does not include new sport types (e.g. MountainBikeRide, EMountainBikeRide), activities with these sport types will have the corresponding activity type (e.g. Ride for MountainBikeRide, EBikeRide for EMountainBikeRide)",
        "enum": [
          "AlpineSki",
          "BackcountrySki",
          "Canoeing",
          "Crossfit",
          "EBikeRide",
          "Elliptical",
          "Golf",
          "Handcycle",
          "Hike",
          "IceSkate",
          "InlineSkate",
          "Kayaking",
          "Kitesurf",
          "NordicSki",
          "Ride",
          "RockClimbing",
          "RollerSki",
          "Rowing",
          "Run",
          "Sail",
          "Skateboard",
          "Snowboard",
          "Snowshoe",
          "Soccer",
          "StairStepper",
          "StandUpPaddling",
          "Surfing",
          "Swim",
          "Velomobile",
          "VirtualRide",
          "VirtualRun",
          "Walk",
          "WeightTraining",
          "Wheelchair",
          "Windsurf",
          "Workout",
          "Yoga"
        ]
      }
    },
    "required": [
      "PCID",
      "id"
    ]
  }
  ```
</Expandable>

***

## strava\_update\_logged\_in\_athlete

Update Athlete

**Parameters:**

| Parameter | Type   | Required | Default | Description                             |
| --------- | ------ | -------- | ------- | --------------------------------------- |
| `weight`  | number | Yes      | —       | The weight of the athlete in kilograms. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "weight": {
        "type": "number",
        "description": "The weight of the athlete in kilograms."
      }
    },
    "required": [
      "PCID",
      "weight"
    ]
  }
  ```
</Expandable>
