---
title: List all pets
slug: eng-1268-map-marker/list-all-pets
docTags: 
createdAt: 2026-09-09T14:10:40.530Z
---

{
  "id": "W1M2pOZmi6qV1j0Ec4YvV",
  "type": "api-oas-v2",
  "data": {
    "method": "GET",
    "url": "https://petstore.e2e.archbee.test/v1/pets",
    "servers": [
      {
        "url": "https://petstore.e2e.archbee.test/v1/pets"
      }
    ],
    "name": "List all pets",
    "description": "",
    "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"
        }
      ],
      "queryParameters": [
        {
          "kind": "optional",
          "name": "limit",
          "type": "integer<int32>",
          "description": "How many items to return at one time",
          "format": "int32"
        }
      ],
      "bodyDataParameters": [],
      "formDataParameters": [],
      "oAuthParameters": [],
      "cookieParameters": []
    },
    "responses": [
      {
        "statusCode": "200",
        "description": "A paged array of pets",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "array",
            "description": "",
            "customType": "Pet[]",
            "schema": [
              {
                "name": "id",
                "kind": "required",
                "type": "integer<int64>",
                "description": "",
                "format": "int64"
              },
              {
                "name": "name",
                "kind": "required",
                "type": "string",
                "description": ""
              },
              {
                "name": "tag",
                "kind": "optional",
                "type": "string",
                "description": ""
              }
            ],
            "modelRef": "#/components/schemas/Pet",
            "isExpanded": true
          }
        ]
      }
    ],
    "hasXCodeSamples": false,
    "examples": {
      "languages": [
        {
          "id": "se9fd355zfg-Oly7yLSTj",
          "language": "curl",
          "label": "cURL",
          "code": "curl --request GET \\\n     --url https://petstore.e2e.archbee.test/v1/pets \\\n     --header 'accept: application/json'"
        },
        {
          "id": "5_QljQrNOR71NdfEBCMGI",
          "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://petstore.e2e.archbee.test/v1/pets\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));"
        },
        {
          "id": "gawz6YbTXRe2CSb5oYPDu",
          "language": "ruby",
          "label": "Ruby",
          "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"https://petstore.e2e.archbee.test/v1/pets\")\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": "zZdw5--w8CP_1_M0M2IkL",
          "language": "python",
          "label": "Python",
          "code": "import requests\nimport json\n\nurl = \"https://petstore.e2e.archbee.test/v1/pets\"\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": "se9fd355zfg-Oly7yLSTj"
    },
    "results": {
      "languages": [
        {
          "id": "tYRHUp34wt_Qq1grpmttR",
          "language": "200",
          "code": "// A paged array of pets\n[\n  {\n    \"id\": \"\",\n    \"name\": \"\",\n    \"tag\": \"\"\n  }\n]"
        }
      ],
      "selectedLanguageId": "tYRHUp34wt_Qq1grpmttR"
    }
  },
  "children": [
    {
      "text": "",
      "id": "1j-43h9lWhReh8FxSG-Fp"
    }
  ]
}