# \SegmentEffortsApi All URIs are relative to *https://www.strava.com/api/v3* Method | HTTP request | Description ------------- | ------------- | ------------- [**get_efforts_by_segment_id**](SegmentEffortsApi.md#get_efforts_by_segment_id) | **GET** /segment_efforts | List Segment Efforts [**get_segment_effort_by_id**](SegmentEffortsApi.md#get_segment_effort_by_id) | **GET** /segment_efforts/{id} | Get Segment Effort ## get_efforts_by_segment_id > Vec get_efforts_by_segment_id(segment_id, start_date_local, end_date_local, per_page) List Segment Efforts Returns a set of the authenticated athlete's segment efforts for a given segment. Requires subscription. ### Parameters Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **segment_id** | **i32** | The identifier of the segment. | [required] | **start_date_local** | Option<**String**> | ISO 8601 formatted date time. | | **end_date_local** | Option<**String**> | ISO 8601 formatted date time. | | **per_page** | Option<**i32**> | Number of items per page. Defaults to 30. | |[default to 30] ### Return type [**Vec**](DetailedSegmentEffort.md) ### Authorization [strava_oauth](../README.md#strava_oauth) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) ## get_segment_effort_by_id > crate::models::DetailedSegmentEffort get_segment_effort_by_id(id) Get Segment Effort Returns a segment effort from an activity that is owned by the authenticated athlete. Requires subscription. ### Parameters Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **id** | **i64** | The identifier of the segment effort. | [required] | ### Return type [**crate::models::DetailedSegmentEffort**](DetailedSegmentEffort.md) ### Authorization [strava_oauth](../README.md#strava_oauth) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)