https://petstore3.swagger.io/api/v3/pet/{petId}Returns detailed information about a specific pet identified by its unique ID.
ID of pet to return
Schema
{
"id": 10,
"name": "doggie",
"category": {
"id": 1,
"name": "Dogs"
},
"photoUrls": [],
"tags": [],
"status": "example_status"
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request parameters"
}
}curl --request GET \
--url 'https://petstore3.swagger.io/api/v3/pet/{petId}' \
--header 'accept: application/json' \
--header 'content-type: application/json'{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}https://petstore3.swagger.io/api/v3/pet/{petId}Returns detailed information about a specific pet identified by its unique ID.
ID of pet to return
Schema
{
"id": 10,
"name": "doggie",
"category": {
"id": 1,
"name": "Dogs"
},
"photoUrls": [],
"tags": [],
"status": "example_status"
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request parameters"
}
}curl --request GET \
--url 'https://petstore3.swagger.io/api/v3/pet/{petId}' \
--header 'accept: application/json' \
--header 'content-type: application/json'{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}