Get Datasets

Get a list of datasets.

/radar/datasets

get

Radar Datasets

radar-get-reports-datasets

Debug "planAvailability"

{
  "business": true,
  "enterprise": true,
  "free": true,
  "pro": true
}

Debug "tokenPermissions"

{
  "enum": [
    "com.cloudflare.api.user.read"
  ]
}

Debug "parameters"

[
  {
    "in": "query",
    "name": "limit",
    "schema": {
      "description": "Limit the number of objects in the response.",
      "example": 5,
      "type": "integer"
    }
  },
  {
    "in": "query",
    "name": "offset",
    "schema": {
      "description": "Number of objects to skip before grabbing results.",
      "type": "integer"
    }
  },
  {
    "in": "query",
    "name": "datasetType",
    "schema": {
      "default": "RANKING_BUCKET",
      "description": "Dataset type.",
      "enum": [
        "RANKING_BUCKET",
        "REPORT"
      ],
      "example": "RANKING_BUCKET",
      "type": "string"
    }
  },
  {
    "in": "query",
    "name": "format",
    "schema": {
      "description": "Format results are returned in.",
      "enum": [
        "JSON",
        "CSV"
      ],
      "example": "json",
      "type": "string"
    }
  }
]

Debug "requestBody"

null

Debug "responses"

{
  "200": {
    "content": {
      "application/json": {
        "schema": {
          "properties": {
            "result": {
              "properties": {
                "datasets": {
                  "items": {
                    "properties": {
                      "description": {
                        "example": "This dataset contains a list of the op 20000 domains globally",
                        "type": "string"
                      },
                      "id": {
                        "example": 3,
                        "type": "integer"
                      },
                      "meta": {
                        "type": "object"
                      },
                      "tags": {
                        "items": {
                          "example": "global",
                          "type": "string"
                        },
                        "type": "array"
                      },
                      "title": {
                        "example": "Top bucket 20000 domains",
                        "type": "string"
                      },
                      "type": {
                        "example": "RANKING_BUCKET",
                        "type": "string"
                      }
                    },
                    "required": [
                      "id",
                      "title",
                      "description",
                      "type",
                      "tags",
                      "meta"
                    ],
                    "type": "object"
                  },
                  "type": "array"
                }
              },
              "required": [
                "datasets"
              ],
              "type": "object"
            },
            "success": {
              "example": true,
              "type": "boolean"
            }
          },
          "required": [
            "result",
            "success"
          ],
          "type": "object"
        }
      }
    },
    "description": "Successful Response"
  },
  "400": {
    "content": {
      "application/json": {
        "schema": {
          "properties": {
            "errors": {
              "items": {
                "properties": {
                  "message": {
                    "type": "string"
                  }
                },
                "required": [
                  "message"
                ],
                "type": "object"
              },
              "type": "array"
            },
            "result": {
              "type": "object"
            },
            "success": {
              "example": false,
              "type": "boolean"
            }
          },
          "required": [
            "result",
            "success",
            "errors"
          ],
          "type": "object"
        }
      }
    },
    "description": "Bad Request"
  }
}

Debug "security"

[
  {
    "api_email": [],
    "api_key": []
  }
]