---
title: List all pets
slug: qa-github-integration-connected-04-third/list-all-pets
docTags: 
createdAt: 2026-10-13T14:15:46.352Z
---

{
  "id": "4z2C9vUJZcdlGZy_nt8pq",
  "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": "8wP7d5lpcDWpNUxUyAfnX",
          "language": "curl",
          "label": "cURL",
          "code": "curl --request GET \\\n     --url https://petstore.e2e.archbee.test/v1/pets \\\n     --header 'accept: application/json'"
        },
        {
          "id": "BkLz9VWgnfenQhB9gBs_G",
          "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": "g3OVltSyD6ny8wqNrUCt-",
          "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": "4-1LgGTA8SWkOg5yG8Esz",
          "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": "8wP7d5lpcDWpNUxUyAfnX"
    },
    "results": {
      "languages": [
        {
          "id": "n87by3vhhIRT_3guFPnuC",
          "language": "200",
          "code": "// A paged array of pets\n[\n  {\n    \"id\": \"\",\n    \"name\": \"\",\n    \"tag\": \"\"\n  }\n]"
        }
      ],
      "selectedLanguageId": "n87by3vhhIRT_3guFPnuC"
    }
  },
  "children": [
    {
      "text": ""
    }
  ]
}