# Concept2

> Read workouts and stroke data from your Concept2 Online Logbook.

App · 4 actions. Web page: https://docs.lodol.com/docs/integrations/concept2

## Actions

### Get profile

Read the connected athlete’s Logbook profile.

**Inputs**: None.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation value for the next page, when available.

**Example output**

```json
{
  "data": {
    "data": {
      "id": 123,
      "username": "rower"
    }
  },
  "has_more": false,
  "next_cursor": null
}
```

### Get workout

Read the details of one Logbook workout.

**Inputs**

- Result id (`result_id`, text, required): The workout ID from List workouts.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation value for the next page, when available.

**Example output**

```json
{
  "data": {
    "data": {
      "date": "2025-05-01 08:00:00",
      "distance": 5000,
      "id": 123,
      "time": 12000,
      "type": "rower"
    }
  },
  "has_more": false,
  "next_cursor": null
}
```

### List strokes

Read recorded stroke data for a Logbook workout.

**Inputs**

- Result id (`result_id`, text, required): The workout ID from List workouts.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation value for the next page, when available.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "d": 100,
        "hr": 135,
        "p": 10,
        "spm": 24,
        "t": 24
      }
    ]
  },
  "has_more": false,
  "next_cursor": null
}
```

### List workouts

Find Logbook workouts by date and machine type.

**Inputs**

- Start date (`start_date`, date): First workout date to include.
- End date (`end_date`, date): Last workout date to include.
- Type (`type`, text): Only include workouts recorded for this machine or sport. One of: `rower`, `skierg`, `bike`, `dynamic`, `slides`, `paddle`, `water`, `snow`, `rollerski`, `multierg`.
- Page (`page`, number): Page to return. At least 1.
- Limit (`limit`, number): Maximum workouts per page. At least 1.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation value for the next page, when available.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "date": "2025-05-01 08:00:00",
        "distance": 5000,
        "id": 123,
        "time": 12000,
        "type": "rower"
      }
    ],
    "meta": {
      "pagination": {
        "current_page": 1,
        "total_pages": 1
      }
    }
  },
  "has_more": false,
  "next_cursor": null
}
```
