Skip to content
Blume is now publicly available.
Blume
Esc
navigateopen⌘Jpreview

Find pet by ID.

Returns a single pet.

GET/pet/{petId}
Path parameters
petIdinteger<int64>required
ID of pet to return
Responses
200successful operation
idinteger<int64>
namestringrequired
categoryCategory
Show properties
idinteger<int64>
namestring
photoUrlsstring[]required
tagsTag[]
Show properties
Array of Tag
idinteger<int64>
namestring
statusstring
pet status in the store
Allowed:availablependingsold
400Invalid ID supplied
404Pet not found
defaultUnexpected error
Request
curl -X GET "/api/v3/pet/0"
Response
{
  "id": 10,
  "name": "doggie",
  "category": {
    "id": 1,
    "name": "Dogs"
  },
  "photoUrls": [
    "string"
  ],
  "tags": [
    {
      "id": 0,
      "name": "string"
    }
  ],
  "status": "available"
}