---
title: Lister les requêtes
slug: lister-les-requetes
docTags: 
createdAt: 2026-06-04T15:50:56.155Z
---

{
  "id": "UToV8e_LGenRJdRofOxOt",
  "type": "api-oas-v2",
  "data": {
    "method": "GET",
    "url": "https://api.ionos.com/cloudapi/v6/requests",
    "servers": [
      {
        "url": "https://api.ionos.com/cloudapi/v6/requests"
      }
    ],
    "name": "List requests",
    "description": "List all API requests made by the current user.",
    "contentType": "application/json",
    "request": {
      "pathParameters": [],
      "headerParameters": [
        {
          "name": "accept",
          "type": "string",
          "kind": "optional",
          "description": "Generated from available response content types",
          "enum": [
            "application/json"
          ],
          "default": "application/json"
        },
        {
          "kind": "optional",
          "name": "X-Contract-Number",
          "type": "integer<int32>",
          "description": "<p>Users with multiple contracts must provide the contract number, for which all API requests are to be executed.</p>",
          "format": "int32"
        }
      ],
      "queryParameters": [
        {
          "kind": "optional",
          "name": "pretty",
          "type": "boolean",
          "description": "<p>Controls whether the response is pretty-printed (with indentations and new lines).</p>",
          "default": true
        },
        {
          "kind": "optional",
          "name": "depth",
          "type": "integer<int32>",
          "description": "<p>Controls the detail depth of the response objects.\nGET /datacenters/[ID]\n- depth=0: Only direct properties are included; children (servers and other elements) are not included.\n- depth=1: Direct properties and children references are included.\n- depth=2: Direct properties and children properties are included.\n- depth=3: Direct properties and children properties and children's children are included.\n- depth=... and so on</p>",
          "default": 0,
          "format": "int32",
          "minimum": 0,
          "maximum": 10
        },
        {
          "kind": "optional",
          "name": "filter.status",
          "type": "string",
          "description": "<p>Filter the list by request status [QUEUED, RUNNING, DONE, FAILED]. Filter is not affected by the depth query parameter.</p>"
        },
        {
          "kind": "optional",
          "name": "filter.createdAfter",
          "type": "string",
          "description": "<p>Filter the list to only include the requests created after the date, specified in the yyyy-MM-dd HH:mm</p><div></div> format. Filter is not affected by the depth query parameter.<p></p>"
        },
        {
          "kind": "optional",
          "name": "filter.createdBefore",
          "type": "string",
          "description": "<p>Filter the list to only include the requests created before the date, specified in the yyyy-MM-dd HH:mm</p><div></div> format. Filter is not affected by the depth query parameter.<p></p>"
        },
        {
          "kind": "optional",
          "name": "filter.createdDate",
          "type": "string",
          "description": "<p>Filter the list to only include the requests that contain the createdDate, specified in the yyyy-MM-dd HH:mm</p><div></div> format. The value is not case-sensitive, and the filter requires that the depth query parameter value is greater than zero.<p></p>"
        },
        {
          "kind": "optional",
          "name": "filter.etag",
          "type": "string",
          "description": "<p>Filter the list to only include the requests that contain the specified etag. The value is not case-sensitive, and the filter requires that the depth query parameter value is greater than zero.</p>"
        },
        {
          "kind": "optional",
          "name": "filter.requestStatus",
          "type": "string",
          "description": "<p>Filter the list to only include the requests that contain the specified requestStatus. The value is not case-sensitive, and the filter requires that the depth query parameter value is greater than zero.</p>"
        },
        {
          "kind": "optional",
          "name": "filter.method",
          "type": "string",
          "description": "<p>Filter the list to only include the requests that contain the specified method. The value is not case-sensitive, and the filter requires that the depth query parameter value is greater than zero.</p>"
        },
        {
          "kind": "optional",
          "name": "filter.headers",
          "type": "string",
          "description": "<p>Filter the list to only include the requests that contain the specified headers. The value is not case-sensitive, and the filter requires that the depth query parameter value is greater than zero.</p>"
        },
        {
          "kind": "optional",
          "name": "filter.body",
          "type": "string",
          "description": "<p>Filter the list to only include the requests that contain the specified body. The value is not case-sensitive, and the filter requires that the depth query parameter value is greater than zero.</p>"
        },
        {
          "kind": "optional",
          "name": "filter.url",
          "type": "string",
          "description": "<p>Filter the list to only include the requests that contain the specified URL. The value is not case-sensitive, and the filter requires that the depth query parameter value is greater than zero.</p>"
        },
        {
          "kind": "optional",
          "name": "offset",
          "type": "integer<int32>",
          "description": "<p>The first element (from the complete list of the elements) to include in the response (used together with limit for pagination).</p>",
          "default": 0,
          "format": "int32",
          "minimum": 0
        },
        {
          "kind": "optional",
          "name": "limit",
          "type": "integer<int32>",
          "description": "<p>The maximum number of elements to return (use together with offset for pagination).</p>",
          "default": 1000,
          "format": "int32",
          "minimum": 1,
          "maximum": 10000
        }
      ],
      "bodyDataParameters": [],
      "formDataParameters": [],
      "oAuthParameters": [
        {
          "id": "BasicAuthentication",
          "name": "BasicAuthentication",
          "kind": "optional",
          "type": "http",
          "description": "<p>You will need to base64 encode the string containing your credentials. \nNote:\n\n</p>",
          "scheme": "basic"
        },
        {
          "id": "TokenAuthentication",
          "name": "Authorization",
          "kind": "optional",
          "type": "apiKey",
          "description": "<p>Please provide header value as 'Bearer ' and don't forget to add 'Bearer' HTTP Authorization Scheme before the token.</p>",
          "in": "header"
        }
      ],
      "cookieParameters": []
    },
    "responses": [
      {
        "statusCode": "200",
        "description": "Successful operation",
        "jsonExample": "",
        "isExpanded": true,
        "headers": [
          {
            "kind": "optional",
            "name": "X-RateLimit-Remaining",
            "type": "integer<int32>",
            "description": "The number of requests that can still be made without triggering a failure response.",
            "format": "int32"
          },
          {
            "kind": "optional",
            "name": "X-RateLimit-Limit",
            "type": "integer<int32>",
            "description": "The average number of requests per minute allowed.",
            "format": "int32"
          },
          {
            "kind": "optional",
            "name": "X-RateLimit-Burst",
            "type": "integer<int32>",
            "description": "The maximum number of concurrent API requests allowed.",
            "format": "int32"
          }
        ],
        "schema": [
          {
            "kind": "optional",
            "type": "object",
            "description": "",
            "customType": "Requests",
            "schema": [
              {
                "name": "id",
                "kind": "optional",
                "type": "string",
                "readOnly": true,
                "description": "The resource's unique identifier.",
                "example": "requests"
              },
              {
                "name": "type",
                "kind": "optional",
                "type": "object",
                "description": "",
                "complexType": "allOf",
                "complexItems": [
                  {
                    "name": "Type",
                    "description": "",
                    "modelRef": "#/components/schemas/Type",
                    "schema": []
                  }
                ],
                "schema": []
              },
              {
                "name": "href",
                "kind": "optional",
                "type": "string<uri>",
                "readOnly": true,
                "description": "<p>URL to the object representation (absolute path).</p>",
                "example": "<RESOURCE-URI>",
                "format": "uri"
              },
              {
                "name": "items",
                "kind": "optional",
                "type": "array",
                "readOnly": true,
                "description": "Array of items in the collection.",
                "modelRef": "#/components/schemas/Request",
                "customType": "Request[]",
                "schema": [
                  {
                    "name": "id",
                    "kind": "optional",
                    "type": "string",
                    "readOnly": true,
                    "description": "The resource's unique identifier.",
                    "example": "15f67991-0f51-4efc-a8ad-ef1fb31a480c"
                  },
                  {
                    "name": "type",
                    "kind": "optional",
                    "type": "object",
                    "description": "",
                    "complexType": "allOf",
                    "complexItems": [
                      {
                        "name": "Type",
                        "description": "",
                        "modelRef": "#/components/schemas/Type",
                        "schema": []
                      }
                    ],
                    "schema": []
                  },
                  {
                    "name": "href",
                    "kind": "optional",
                    "type": "string<uri>",
                    "readOnly": true,
                    "description": "<p>URL to the object representation (absolute path).</p>",
                    "example": "<RESOURCE-URI>",
                    "format": "uri"
                  },
                  {
                    "name": "metadata",
                    "kind": "optional",
                    "type": "object",
                    "description": "",
                    "modelRef": "#/components/schemas/RequestMetadata",
                    "customType": "RequestMetadata",
                    "schema": [
                      {
                        "name": "createdDate",
                        "kind": "optional",
                        "type": "string<date-time>",
                        "readOnly": true,
                        "description": "The last time the resource was created.",
                        "example": "2015-12-04T14:34:09.809Z",
                        "format": "date-time"
                      },
                      {
                        "name": "createdBy",
                        "kind": "optional",
                        "type": "string",
                        "readOnly": true,
                        "description": "The user who created the resource.",
                        "example": "user@example.com"
                      },
                      {
                        "name": "etag",
                        "kind": "optional",
                        "type": "string",
                        "readOnly": true,
                        "description": "<p>Resource's Entity Tag as defined in <a href=\"http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.11\" target=\"_blank\">http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.11</a>  Entity Tag is also added as an 'ETag response header to requests which don't use 'depth' parameter.</p>",
                        "example": "45480eb3fbfc31f1d916c1eaa4abdcc3"
                      },
                      {
                        "name": "requestStatus",
                        "kind": "optional",
                        "type": "object",
                        "description": "",
                        "modelRef": "#/components/schemas/RequestStatus",
                        "customType": "RequestStatus",
                        "schema": [
                          {
                            "name": "id",
                            "kind": "optional",
                            "type": "string",
                            "readOnly": true,
                            "description": "The resource's unique identifier.",
                            "example": "15f67991-0f51-4efc-a8ad-ef1fb31a480c"
                          },
                          {
                            "name": "type",
                            "kind": "optional",
                            "type": "object",
                            "description": "",
                            "complexType": "allOf",
                            "complexItems": [
                              {
                                "name": "Type",
                                "description": "",
                                "modelRef": "#/components/schemas/Type",
                                "schema": []
                              }
                            ],
                            "schema": []
                          },
                          {
                            "name": "href",
                            "kind": "optional",
                            "type": "string<uri>",
                            "readOnly": true,
                            "description": "<p>URL to the object representation (absolute path).</p>",
                            "example": "<RESOURCE-URI>",
                            "format": "uri"
                          },
                          {
                            "name": "metadata",
                            "kind": "optional",
                            "type": "object",
                            "description": "",
                            "modelRef": "#/components/schemas/RequestStatusMetadata",
                            "customType": "RequestStatusMetadata",
                            "schema": [
                              {
                                "name": "status",
                                "kind": "optional",
                                "type": "string<QUEUED | RUNNING | DONE | FAILED>",
                                "description": "",
                                "enum": [
                                  "QUEUED",
                                  "RUNNING",
                                  "DONE",
                                  "FAILED"
                                ]
                              },
                              {
                                "name": "message",
                                "kind": "optional",
                                "type": "string",
                                "description": ""
                              },
                              {
                                "name": "etag",
                                "kind": "optional",
                                "type": "string",
                                "readOnly": true,
                                "description": "<p>Resource's Entity Tag as defined in <a href=\"http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.11\" target=\"_blank\">http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.11</a>  Entity Tag is also added as an 'ETag response header to requests which don't use 'depth' parameter.</p>",
                                "example": "45480eb3fbfc31f1d916c1eaa4abdcc3"
                              },
                              {
                                "name": "targets",
                                "kind": "optional",
                                "type": "array",
                                "description": "",
                                "modelRef": "#/components/schemas/RequestTarget",
                                "customType": "RequestTarget[]",
                                "schema": [
                                  {
                                    "name": "target",
                                    "kind": "optional",
                                    "type": "object",
                                    "description": "",
                                    "modelRef": "#/components/schemas/ResourceReference",
                                    "customType": "ResourceReference",
                                    "schema": [
                                      {
                                        "name": "",
                                        "description": "",
                                        "customType": "Max depth limit reached"
                                      }
                                    ]
                                  },
                                  {
                                    "name": "status",
                                    "kind": "optional",
                                    "type": "string<QUEUED | RUNNING | DONE | FAILED>",
                                    "description": "",
                                    "enum": [
                                      "QUEUED",
                                      "RUNNING",
                                      "DONE",
                                      "FAILED"
                                    ]
                                  }
                                ]
                              }
                            ]
                          }
                        ]
                      }
                    ]
                  },
                  {
                    "name": "properties",
                    "kind": "required",
                    "type": "object",
                    "description": "",
                    "modelRef": "#/components/schemas/RequestProperties",
                    "customType": "RequestProperties",
                    "schema": [
                      {
                        "name": "method",
                        "kind": "optional",
                        "type": "string",
                        "description": ""
                      },
                      {
                        "name": "headers",
                        "kind": "optional",
                        "type": "map",
                        "description": "",
                        "example": "",
                        "customType": "map<string, string>",
                        "schema": []
                      },
                      {
                        "name": "body",
                        "kind": "optional",
                        "type": "string",
                        "description": ""
                      },
                      {
                        "name": "url",
                        "kind": "optional",
                        "type": "string",
                        "description": ""
                      }
                    ]
                  }
                ]
              },
              {
                "name": "offset",
                "kind": "required",
                "type": "number",
                "description": "<p>The offset, specified in the request (if not is specified, 0 is used by default).</p>",
                "modelRef": "#/components/schemas/PaginationOffsetMandatory",
                "customType": "PaginationOffsetMandatory",
                "schema": []
              },
              {
                "name": "limit",
                "kind": "required",
                "type": "number",
                "description": "<p>The limit, specified in the request (if not specified, the endpoint's default pagination limit is used).</p>",
                "example": 1000,
                "modelRef": "#/components/schemas/PaginationLimitMandatory",
                "customType": "PaginationLimitMandatory",
                "schema": []
              },
              {
                "name": "_links",
                "kind": "required",
                "type": "object",
                "description": "",
                "modelRef": "#/components/schemas/PaginationLinks",
                "customType": "PaginationLinks",
                "schema": [
                  {
                    "name": "prev",
                    "kind": "optional",
                    "type": "string<uri>",
                    "readOnly": true,
                    "description": "<p>URL (with offset and limit parameters) of the previous page; only present if offset is greater than 0.</p>",
                    "example": "<PREVIOUS-PAGE-URI>",
                    "format": "uri"
                  },
                  {
                    "name": "self",
                    "kind": "optional",
                    "type": "string<uri>",
                    "readOnly": true,
                    "description": "<p>URL (with offset and limit parameters) of the current page.</p>",
                    "example": "<THIS-PAGE-URI>",
                    "format": "uri"
                  },
                  {
                    "name": "next",
                    "kind": "optional",
                    "type": "string<uri>",
                    "readOnly": true,
                    "description": "<p>URL (with offset and limit parameters) of the next page; only present if offset + limit is less than the total number of elements.</p>",
                    "example": "<NEXT-PAGE-URI>",
                    "format": "uri"
                  }
                ]
              }
            ],
            "modelRef": "#/components/schemas/Requests",
            "isExpanded": true
          }
        ]
      },
      {
        "statusCode": "default",
        "description": "<p>Any erroneous status code: 400 (parse error), 401 (auth error), 402 (trial access), 403 (insufficient privileges), 404 (not found), 405 (unsupported HTTP method), 415 (unsupported content type, 422 (validation error), 429 (request rate limit exceeded), 500 (server error), or 503 (maintenance).</p>",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "object",
            "description": "",
            "customType": "Error",
            "schema": [
              {
                "name": "httpStatus",
                "kind": "optional",
                "type": "integer<int32>",
                "readOnly": true,
                "description": "HTTP status code of the operation.",
                "example": 400,
                "format": "int32"
              },
              {
                "name": "messages",
                "kind": "optional",
                "type": "array",
                "description": "",
                "modelRef": "#/components/schemas/ErrorMessage",
                "customType": "ErrorMessage[]",
                "schema": [
                  {
                    "name": "errorCode",
                    "kind": "optional",
                    "type": "string",
                    "readOnly": true,
                    "description": "Application internal error code.",
                    "example": "123"
                  },
                  {
                    "name": "message",
                    "kind": "optional",
                    "type": "string",
                    "readOnly": true,
                    "description": "<p>A human-readable message.</p>",
                    "example": "Error message example."
                  }
                ]
              }
            ],
            "modelRef": "#/components/schemas/Error",
            "isExpanded": true
          }
        ]
      }
    ],
    "hasXCodeSamples": false,
    "examples": {
      "languages": [
        {
          "id": "KDiONV2WGfL3Y5Avma4MY",
          "language": "curl",
          "label": "cURL",
          "code": "curl --request GET \\\n     --url 'https://api.ionos.com/cloudapi/v6/requests?pretty=true&depth=integer%3Cint32%3E&offset=integer%3Cint32%3E&limit=1000' \\\n     --header 'accept: application/json'"
        },
        {
          "id": "BhnVh58AtRqsn9adXWhNt",
          "language": "javascript",
          "label": "javascript",
          "code": "var myHeaders = new Headers();\nmyHeaders.append(\"accept\", \"application/json\");\nmyHeaders.append(\"content-type\", \"application/json\");\n\nvar requestOptions = {\n   method: 'GET',\n   headers: myHeaders,\n   redirect: 'follow'\n};\n\nfetch(\"https://api.ionos.com/cloudapi/v6/requests?pretty=true&depth=integer<int32>&offset=integer<int32>&limit=1000\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));"
        },
        {
          "id": "nflS9eKPvNcjEDmEpbEe5",
          "language": "ruby",
          "label": "Ruby",
          "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"https://api.ionos.com/cloudapi/v6/requests?pretty=true&depth=integer<int32>&offset=integer<int32>&limit=1000\")\n\nhttps = Net::HTTP.new(url.host, url.port)\nhttps.use_ssl = true\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"accept\"] = \"application/json\"\nrequest[\"content-type\"] = \"application/json\"\n\nresponse = https.request(request)\nputs response.read_body\n"
        },
        {
          "id": "SF_ADAHF9G6BJxHYUbAiS",
          "language": "python",
          "label": "Python",
          "code": "import requests\nimport json\n\nurl = \"https://api.ionos.com/cloudapi/v6/requests?pretty=true&depth=integer<int32>&offset=integer<int32>&limit=1000\"\n\npayload = {}\nheaders = {\n   'accept': 'application/json',\n   'content-type': 'application/json'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n"
        }
      ],
      "selectedLanguageId": "KDiONV2WGfL3Y5Avma4MY"
    },
    "results": {
      "languages": [
        {
          "id": "qfuLUDWp62KI69vaMwEPR",
          "language": "200",
          "code": "// Successful operation\n{\n  \"id\": \"requests\",\n  \"type\": {},\n  \"href\": \"<RESOURCE-URI>\",\n  \"items\": [\n    {\n      \"id\": \"15f67991-0f51-4efc-a8ad-ef1fb31a480c\",\n      \"type\": {},\n      \"href\": \"<RESOURCE-URI>\",\n      \"metadata\": {\n        \"createdDate\": \"2015-12-04T14:34:09.809Z\",\n        \"createdBy\": \"user@example.com\",\n        \"etag\": \"45480eb3fbfc31f1d916c1eaa4abdcc3\",\n        \"requestStatus\": {\n          \"id\": \"15f67991-0f51-4efc-a8ad-ef1fb31a480c\",\n          \"type\": {},\n          \"href\": \"<RESOURCE-URI>\",\n          \"metadata\": {\n            \"status\": \"\",\n            \"message\": \"\",\n            \"etag\": \"45480eb3fbfc31f1d916c1eaa4abdcc3\",\n            \"targets\": [\n              {\n                \"target\": {\n                  \"\": \"\"\n                },\n                \"status\": \"\"\n              }\n            ]\n          }\n        }\n      },\n      \"properties\": {\n        \"method\": \"\",\n        \"headers\": \"\",\n        \"body\": \"\",\n        \"url\": \"\"\n      }\n    }\n  ],\n  \"offset\": 0,\n  \"limit\": 1000,\n  \"_links\": {\n    \"prev\": \"<PREVIOUS-PAGE-URI>\",\n    \"self\": \"<THIS-PAGE-URI>\",\n    \"next\": \"<NEXT-PAGE-URI>\"\n  }\n}"
        },
        {
          "id": "JQFtxzjm_aoUr8VJSaZfF",
          "language": "default",
          "code": "// Any erroneous status code: 400 (parse error), 401 (auth error), 402 (trial access), 403 (insufficient privileges), 404 (not found), 405 (unsupported HTTP method), 415 (unsupported content type, 422 (validation error), 429 (request rate limit exceeded), 500 (server error), or 503 (maintenance).\n{\n  \"httpStatus\": 400,\n  \"messages\": [\n    {\n      \"errorCode\": \"123\",\n      \"message\": \"Error message example.\"\n    }\n  ]\n}"
        }
      ],
      "selectedLanguageId": "qfuLUDWp62KI69vaMwEPR"
    }
  },
  "children": [
    {
      "text": "",
      "id": "sysy1E2UrCq722LLSyIS6"
    }
  ]
}