---
updatedAt: 2026-03-01T18:51:04.000Z
agentTools:
  siteIndex: https://techdocs.akamai.com/llms.txt
  projectIndex: https://techdocs.akamai.com/cloudtest/llms.txt
---

# Start or stop a results database

Either `start`, `stop` or `terminate` a results database.  The `start` and `terminate` actions are asynchronous and return a 202.  A `stop` command is synchronous and returns a 200.  See [Asynchronous operations](ref:asynchronous-operations) for details.  In order to interact with a result database you need the results database ID.  See [Get an object](https://techdocs.akamai.com/cloudtest/reference/get-object) for more information.

# OpenAPI definition

```json
{
  "externalDocs": {
    "description": "See documentation for Akamai's CloudTest API",
    "url": "https://techdocs.akamai.com/cloudtest/reference"
  },
  "info": {
    "license": {
      "name": "Apache 2.0",
      "url": "https://www.apache.org/licenses/LICENSE-2.0.html"
    },
    "title": "Results database",
    "version": "v1"
  },
  "openapi": "3.0.0",
  "paths": {
    "/CloudService/v1/rsdb/{rsdbId}/action": {
      "post": {
        "description": "Either `start`, `stop` or `terminate` a results database.  The `start` and `terminate` actions are asynchronous and return a 202.  A `stop` command is synchronous and returns a 200.  See [Asynchronous operations](ref:asynchronous-operations) for details.  In order to interact with a result database you need the results database ID.  See [Get an object](https://techdocs.akamai.com/cloudtest/reference/get-object) for more information.",
        "externalDocs": {
          "description": "See documentation for this operation in Akamai's CloudTest API",
          "url": "https://techdocs.akamai.com/cloudtest/reference/post-action"
        },
        "operationId": "post-action",
        "parameters": [
          {
            "description": "All calls to this API require that you pass in the token you get from the [Generate a token](ref:put-token) operation as an `X-Auth-Token` request header. See [Get started](ref:get-started) for help to initially call the API.",
            "in": "header",
            "name": "X-Auth-Token",
            "required": true,
            "schema": {
              "example": "41871277-d0a-1153-4fc6-a6c2-c48ffb3c8307",
              "type": "string"
            },
            "x-akamai": {
              "file-path": "headers/x-auth-token.yaml"
            }
          },
          {
            "description": "Uniquely identifies each results database.",
            "in": "path",
            "name": "rsdbId",
            "required": true,
            "schema": {
              "example": 12345,
              "type": "integer"
            },
            "x-akamai": {
              "file-path": "parameters/rsdb-id.yaml"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "example": {
                "action": "start"
              },
              "schema": {
                "additionalProperties": false,
                "description": "Action to take on a results database.",
                "properties": {
                  "action": {
                    "description": "Either `start`, `stop`, or `terminate` a results database object.  Specify `start` to deploy a new results database server.  You can `stop` to end the deployment process but leaves the server running.  Or you can `terminate` to tear the server down.",
                    "enum": [
                      "start",
                      "stop",
                      "terminate"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "action"
                ],
                "type": "object",
                "x-akamai": {
                  "file-path": "schemas/rsdb-action.yaml"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "example": {
                  "cloudServer": {
                    "cloudType": "EC2",
                    "instanceSize": "EC2 Results Database (Large)",
                    "launchCPAName": "Lance's EC2",
                    "privateHostName": "ip-172-31-48-194.ec2.internal",
                    "publicHostName": "ec2-52-90-188-238.compute-1.amazonaws.com",
                    "region": "us-east-1",
                    "state": "RUNNING",
                    "vendorID": "i-0713efb6",
                    "zone": "us-east-1a"
                  },
                  "state": "ALLOCATED_DATABASE"
                },
                "schema": {
                  "additionalProperties": false,
                  "description": "Results database information.",
                  "properties": {
                    "cloudServer": {
                      "additionalProperties": false,
                      "description": "Information about a cloud server.",
                      "properties": {
                        "cloudType": {
                          "description": "The cloud provider, either `EC2`, `EC2_CHINA`, `AZURE`, `COMPUTE_ENGINE`, or `RACKSPACE_OPENSTACK`.",
                          "enum": [
                            "EC2",
                            "EC2_CHINA",
                            "AZURE",
                            "COMPUTE_ENGINE",
                            "RACKSPACE_OPENSTACK"
                          ],
                          "type": "string"
                        },
                        "id": {
                          "description": "Uniquely identifies each server.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "instanceSize": {
                          "description": "The type of server instance which describes the memory, CPU, and other server class characteristics. See the cloud provider for detailed information.",
                          "type": "string"
                        },
                        "launchCPAName": {
                          "description": "The CPA used to launch this server.",
                          "type": "string"
                        },
                        "privateHostName": {
                          "description": "The internal hostname of the server.",
                          "type": "string"
                        },
                        "publicHostName": {
                          "description": "The external hostname of the server.",
                          "type": "string"
                        },
                        "region": {
                          "description": "The cloud provider region.",
                          "type": "string"
                        },
                        "state": {
                          "description": "The current state of the server, either `PENDING`, `BUSY`, `RUNNING`, `SHUTTING_DOWN`, `TERMINATED`, `FAILED`, or `BIDDING`.",
                          "enum": [
                            "PENDING",
                            "BUSY",
                            "RUNNING",
                            "SHUTTING_DOWN",
                            "TERMINATED",
                            "FAILED",
                            "BIDDING"
                          ],
                          "type": "string"
                        },
                        "vendorID": {
                          "description": "The unique identifier used by the cloud provider to describe each instance.",
                          "type": "string"
                        },
                        "zone": {
                          "description": "The cloud provider zone within the region.",
                          "type": "string"
                        }
                      },
                      "required": [
                        "cloudType",
                        "id"
                      ],
                      "type": "object",
                      "x-akamai": {
                        "file-path": "schemas/cloud-server-status-return.yaml"
                      }
                    },
                    "state": {
                      "description": "The state of the results database.  `VOLUME_NOT_AVAILABLE` means the volume does not exist or is in use by some other instance.  `VOLUME_NOT_FORMATTED` shows that the user should execute a `format` action on the results database. `VOLUME_FORMAT_FAILED` shows that something went wrong with the volume formatting. `TERMINATING` shows that the instance is ending while `TERMINATED` states that the instance is torn down.  The other states show the progress as a database instance starts.  It will go from `ALLOCATING_DATABASE` to `ALLOCATED_DATABASE` to `STARTING_MONITORS` to `CHECKING` and finally to `RUNNING`.",
                      "enum": [
                        "VOLUME_NOT_AVAILABLE",
                        "VOLUME_NOT_FORMATTED",
                        "VOLUME_FORMAT_FAILED",
                        "TERMINATING",
                        "TERMINATED",
                        "ALLOCATING_DATABASE",
                        "ALLOCATED_DATABASE",
                        "STARTING_MONITORS",
                        "CHECKING",
                        "RUNNING"
                      ],
                      "type": "string"
                    }
                  },
                  "type": "object",
                  "x-akamai": {
                    "file-path": "schemas/rsdb-return.yaml"
                  }
                }
              }
            },
            "description": "Successful operation for a `stop` command."
          },
          "202": {
            "content": {
              "application/json": {
                "example": {
                  "cloudServer": {
                    "cloudType": "EC2",
                    "instanceSize": "EC2 Results Database (Large)",
                    "launchCPAName": "Lance's EC2",
                    "privateHostName": "ip-172-31-48-194.ec2.internal",
                    "publicHostName": "ec2-52-90-188-238.compute-1.amazonaws.com",
                    "region": "us-east-1",
                    "state": "RUNNING",
                    "vendorID": "i-0713efb6",
                    "zone": "us-east-1a"
                  },
                  "state": "ALLOCATED_DATABASE"
                },
                "schema": {
                  "additionalProperties": false,
                  "description": "Results database information.",
                  "properties": {
                    "cloudServer": {
                      "additionalProperties": false,
                      "description": "Information about a cloud server.",
                      "properties": {
                        "cloudType": {
                          "description": "The cloud provider, either `EC2`, `EC2_CHINA`, `AZURE`, `COMPUTE_ENGINE`, or `RACKSPACE_OPENSTACK`.",
                          "enum": [
                            "EC2",
                            "EC2_CHINA",
                            "AZURE",
                            "COMPUTE_ENGINE",
                            "RACKSPACE_OPENSTACK"
                          ],
                          "type": "string"
                        },
                        "id": {
                          "description": "Uniquely identifies each server.",
                          "minimum": 1,
                          "type": "integer"
                        },
                        "instanceSize": {
                          "description": "The type of server instance which describes the memory, CPU, and other server class characteristics. See the cloud provider for detailed information.",
                          "type": "string"
                        },
                        "launchCPAName": {
                          "description": "The CPA used to launch this server.",
                          "type": "string"
                        },
                        "privateHostName": {
                          "description": "The internal hostname of the server.",
                          "type": "string"
                        },
                        "publicHostName": {
                          "description": "The external hostname of the server.",
                          "type": "string"
                        },
                        "region": {
                          "description": "The cloud provider region.",
                          "type": "string"
                        },
                        "state": {
                          "description": "The current state of the server, either `PENDING`, `BUSY`, `RUNNING`, `SHUTTING_DOWN`, `TERMINATED`, `FAILED`, or `BIDDING`.",
                          "enum": [
                            "PENDING",
                            "BUSY",
                            "RUNNING",
                            "SHUTTING_DOWN",
                            "TERMINATED",
                            "FAILED",
                            "BIDDING"
                          ],
                          "type": "string"
                        },
                        "vendorID": {
                          "description": "The unique identifier used by the cloud provider to describe each instance.",
                          "type": "string"
                        },
                        "zone": {
                          "description": "The cloud provider zone within the region.",
                          "type": "string"
                        }
                      },
                      "required": [
                        "cloudType",
                        "id"
                      ],
                      "type": "object",
                      "x-akamai": {
                        "file-path": "schemas/cloud-server-status-return.yaml"
                      }
                    },
                    "state": {
                      "description": "The state of the results database.  `VOLUME_NOT_AVAILABLE` means the volume does not exist or is in use by some other instance.  `VOLUME_NOT_FORMATTED` shows that the user should execute a `format` action on the results database. `VOLUME_FORMAT_FAILED` shows that something went wrong with the volume formatting. `TERMINATING` shows that the instance is ending while `TERMINATED` states that the instance is torn down.  The other states show the progress as a database instance starts.  It will go from `ALLOCATING_DATABASE` to `ALLOCATED_DATABASE` to `STARTING_MONITORS` to `CHECKING` and finally to `RUNNING`.",
                      "enum": [
                        "VOLUME_NOT_AVAILABLE",
                        "VOLUME_NOT_FORMATTED",
                        "VOLUME_FORMAT_FAILED",
                        "TERMINATING",
                        "TERMINATED",
                        "ALLOCATING_DATABASE",
                        "ALLOCATED_DATABASE",
                        "STARTING_MONITORS",
                        "CHECKING",
                        "RUNNING"
                      ],
                      "type": "string"
                    }
                  },
                  "type": "object",
                  "x-akamai": {
                    "file-path": "schemas/rsdb-return.yaml"
                  }
                }
              }
            },
            "description": "The `start` or `terminate` action has been accepted, and is processing. This is an asynchronous process, see [Asynchronous operations](ref:asynchronous-operations)."
          },
          "400": {
            "content": {},
            "description": "[Bad request](ref:400). The URL or JSON request object is invalid.",
            "x-akamai": {
              "file-path": "errors/400.yaml"
            }
          },
          "401": {
            "content": {},
            "description": "[Unauthorized](ref:401). The security token is missing or invalid. See [Get started](ref:get-started) for help initially running the API.",
            "x-akamai": {
              "file-path": "errors/401.yaml"
            }
          },
          "404": {
            "content": {},
            "description": "[Not found](ref:404). The requested object doesn't exist.",
            "x-akamai": {
              "file-path": "errors/404.yaml"
            }
          },
          "405": {
            "content": {},
            "description": "[Method Not Allowed](ref:405). Invalid method used to access resource.",
            "x-akamai": {
              "file-path": "errors/405.yaml"
            }
          }
        },
        "summary": "Start or stop a results database",
        "tags": [
          "Results database"
        ]
      },
      "x-akamai": {
        "file-path": "paths/rsdb-action.yaml",
        "path-info": "/CloudService/v1/rsdb/{rsdbId}/action"
      }
    }
  },
  "servers": [
    {
      "url": "https://{hostname}/concerto/services/rest"
    }
  ],
  "x-akamai": {
    "auth-type": "OAUTH",
    "file-path": "08-rsdb.yaml"
  },
  "x-readme": {
    "samples-languages": [
      "curl",
      "python",
      "node"
    ],
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```

# Sibling pages

* [Get a results database](https://techdocs.akamai.com/cloudtest/reference/get-rsdb.md)