# Bumpups

> Generate chapters for YouTube videos and ask questions about their content.

App · 5 actions. Web page: https://docs.lodol.com/docs/integrations/bumpups

## Actions

### Ask a question

Submit a question about a video whose chapters are ready.

**Inputs**

- Video Id (`video_id`, text, required): The video id.
- Question (`question`, text, required): The question to answer about the video.
- Idempotency Key (`idempotency_key`, text): A stable reference for this question.

**Outputs**

- `data` (object): The response from Bumpups.

**Example output**

```json
{
  "data": {
    "answer": "example",
    "id": "example",
    "question": "example",
    "status": "example"
  }
}
```

### Get a video

Read the processing status and available chapters for a submitted video.

**Inputs**

- Video Id (`video_id`, text, required): The video id.

**Outputs**

- `data` (object): The response from Bumpups.

**Example output**

```json
{
  "data": {
    "app_url": "example",
    "chapters": [
      {
        "start_seconds": 1,
        "title": "example"
      }
    ],
    "chapters_text": "example",
    "created_at": "example",
    "id": "example",
    "status": "example",
    "title": "example"
  }
}
```

### Get account usage

Read the workspace plan and its remaining processing minutes.

**Inputs**: None.

**Outputs**

- `data` (object): The response from Bumpups.

**Example output**

```json
{
  "data": {
    "minutes_left": 1,
    "minutes_limit": 1,
    "minutes_used": 1,
    "object": "example",
    "plan": "example"
  }
}
```

### Get an answer

Read the answer or current status of a submitted question.

**Inputs**

- Video Id (`video_id`, text, required): The video id.
- Question Id (`question_id`, text, required): The question id.

**Outputs**

- `data` (object): The response from Bumpups.

**Example output**

```json
{
  "data": {
    "answer": "example",
    "id": "example",
    "question": "example",
    "status": "example"
  }
}
```

### Process a video

Submit a YouTube video to generate chapters. Processing uses workspace minutes.

**Inputs**

- Url (`url`, text, required): The YouTube video URL.
- Idempotency Key (`idempotency_key`, text): A stable reference to prevent charging twice if you repeat the request.

**Outputs**

- `data` (object): The response from Bumpups.

**Example output**

```json
{
  "data": {
    "app_url": "example",
    "chapters": [
      {
        "start_seconds": 1,
        "title": "example"
      }
    ],
    "chapters_text": "example",
    "created_at": "example",
    "id": "example",
    "status": "example",
    "title": "example"
  }
}
```
