Skip to main content
Control Plane

List Datacenters

List the datacenters configured for the control plane.

GET https://api.rivet.dev/datacenters

Examples

Authentication

Send your namespace token as a bearer token in the Authorization header. Every control plane request also requires the namespace query parameter. See Authentication.

Responses

200

Configured datacenters and an empty pagination cursor.

FieldTypeDescription
datacentersobject[]
datacenters[].labelinteger
datacenters[].namestring
datacenters[].urlstring
paginationobject
pagination.cursorstring | nullCursor for the next page, or null when there are no more results.
{
  "datacenters": [
    {
      "label": 0,
      "name": "my-actor",
      "url": "<url>"
    }
  ],
  "pagination": {
    "cursor": null
  }
}