For AI agents: the complete documentation index is available at https://ciderpress.dev/llms.txt, the full documentation bundle is available at https://ciderpress.dev/llms-full.txt, and this page is available as Markdown at https://ciderpress.dev/petstore/get-pet-by-id.md.
Get started →

Find pet by ID

get/pet/{petId}
getPetById
Find pet by ID
Parameters
path
NameTypeRequiredDescriptionDefault
petIdintegerrequiredID of pet to return
Responses
Authentication
api_key
Code Examples
curl -X GET 'https://api.example.com/pet/{petId}'