Read the Docs

App · 4 actions

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

Actions

ActionWhat it does
List documentation buildsGet recent builds and their status or limit the results to running or ended builds.
List documentation projectsFind the projects your Read the Docs account can access.
List documentation versionsGet a project's published and unpublished documentation versions.
Queue a documentation buildStart a new build for a project version.

List documentation builds

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

Inputs

Project slugproject_slugtextRequired
The name in your project's Read the Docs dashboard URL.
Runningrunningtrue/false
Choose Yes for running builds or No for builds that have ended.
Limitlimitnumber
How many results to return.From 1 to 50.
Offsetoffsetnumber
How many results to skip before returning a page.At least 0.

Outputs

dataobject
The response from Read the Docs.
Example output
{
  "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

Limitlimitnumber
How many results to return.From 1 to 50.
Offsetoffsetnumber
How many results to skip before returning a page.At least 0.

Outputs

dataobject
The response from Read the Docs.
Example output
{
  "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 slugproject_slugtextRequired
The name in your project's Read the Docs dashboard URL.
Limitlimitnumber
How many results to return.From 1 to 50.
Offsetoffsetnumber
How many results to skip before returning a page.At least 0.

Outputs

dataobject
The response from Read the Docs.
Example output
{
  "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 slugproject_slugtextRequired
The name in your project's Read the Docs dashboard URL.
Version slugversion_slugtextRequired
The version slug, such as latest or stable.

Outputs

dataobject
The response from Read the Docs.
Example output
{
  "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"
    }
  }
}

On this page