# Read the Docs

> Find documentation projects and versions, queue builds and follow build results in Read the Docs.

App · 4 actions. Web page: https://docs.lodol.com/docs/integrations/read-the-docs

## Actions

### List documentation builds

Get recent builds and their status or limit the results to running or ended builds.

**Inputs**

- Project slug (`project_slug`, text, required): The name in your project's Read the Docs dashboard URL.
- Running (`running`, true/false): Choose Yes for running builds or No for builds that have ended.
- Limit (`limit`, number): How many results to return. From 1 to 50.
- Offset (`offset`, number): How many results to skip before returning a page. At least 0.

**Outputs**

- `data` (object): The response from Read the Docs.

**Example output**

```json
{
  "data": {
    "count": 1,
    "next": "example",
    "results": [
      {
        "created": "example",
        "duration": 1,
        "error": "example",
        "finished": "example",
        "id": 1,
        "project": "example",
        "state": {
          "code": "example",
          "name": "example"
        },
        "success": true,
        "urls": {},
        "version": "example"
      }
    ]
  }
}
```

### List documentation projects

Find the projects your Read the Docs account can access.

**Inputs**

- Limit (`limit`, number): How many results to return. From 1 to 50.
- Offset (`offset`, number): How many results to skip before returning a page. At least 0.

**Outputs**

- `data` (object): The response from Read the Docs.

**Example output**

```json
{
  "data": {
    "count": 1,
    "next": "example",
    "results": [
      {
        "default_version": "example",
        "name": "example",
        "slug": "example",
        "urls": {}
      }
    ]
  }
}
```

### List documentation versions

Get a project's published and unpublished documentation versions.

**Inputs**

- Project slug (`project_slug`, text, required): The name in your project's Read the Docs dashboard URL.
- Limit (`limit`, number): How many results to return. From 1 to 50.
- Offset (`offset`, number): How many results to skip before returning a page. At least 0.

**Outputs**

- `data` (object): The response from Read the Docs.

**Example output**

```json
{
  "data": {
    "count": 1,
    "next": "example",
    "results": [
      {
        "active": true,
        "built": true,
        "identifier": "example",
        "slug": "example",
        "urls": {},
        "verbose_name": "example"
      }
    ]
  }
}
```

### Queue a documentation build

Start a new build for a project version.

**Inputs**

- Project slug (`project_slug`, text, required): The name in your project's Read the Docs dashboard URL.
- Version slug (`version_slug`, text, required): The version slug, such as latest or stable.

**Outputs**

- `data` (object): The response from Read the Docs.

**Example output**

```json
{
  "data": {
    "build": {
      "created": "example",
      "duration": 1,
      "error": "example",
      "finished": "example",
      "id": 1,
      "project": "example",
      "state": {
        "code": "example",
        "name": "example"
      },
      "success": true,
      "urls": {},
      "version": "example"
    },
    "project": {
      "default_version": "example",
      "name": "example",
      "slug": "example",
      "urls": {}
    },
    "version": {
      "active": true,
      "built": true,
      "identifier": "example",
      "slug": "example",
      "urls": {},
      "verbose_name": "example"
    }
  }
}
```
