Find pet by ID

Returns a single pet

Securityapi_key
Request
path Parameters
petId
required
integer <int64>

ID of pet to return

Responses
200

successful operation

400

Invalid ID supplied

404

Pet not found

get/pet/{petId}
Request samples
curl -i -X GET \
  'https://petstore.swagger.io/v2/pet/{petId}' \
  -H 'api_key: YOUR_API_KEY_HERE'
Response samples
No sample