get_activity_by_id
Retrieve a specific Strava activity by its ID for the authenticated athlete, optionally including all segment efforts, with proper OAuth scopes.
Instructions
Get Activity
Endpoint: GET /activities/{id}
Description: Returns the given activity that is owned by the authenticated athlete. Requires activity:read for Everyone and Followers activities. Requires activity:read_all for Only Me activities.
We strongly encourage you to display the appropriate attribution that identifies Garmin as the data source and the device name in your application. Please see example below from VeloViewer (that provides an attribution for a Garmin Forerunner device).

Read-only operation. Scopes: one of: activity:read, activity:read_all.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The identifier of the activity. | |
| include_all_efforts | No | To include all segments efforts. |