# PetstoreAPI Docs ## Docs - [Modern Pet Store API: A New Gold Standard for OpenAPI](https://docs.petstoreapi.com/modern-pet-store-api-a-new-gold-standard-for-openapi-1868179m0.md): ## API Docs - Pet [Get Pet](https://docs.petstoreapi.com/get-pet-25725398e0.md): Retrieve detailed information about a specific pet. - Pet [Update Pet](https://docs.petstoreapi.com/update-pet-25725399e0.md): Update information for an existing pet. Staff only. - Pet [Delete Pet](https://docs.petstoreapi.com/delete-pet-25725400e0.md): Delete a pet from the system. Staff only. - Pet [Create Pet](https://docs.petstoreapi.com/create-pet-25725401e0.md): Add a new pet to the store catalog, making it available for adoption. - Pet [List Pets](https://docs.petstoreapi.com/list-pets-25725402e0.md): Retrieve a paginated list of pets available for adoption with optional filtering. - Pet [Upload Pet Image](https://docs.petstoreapi.com/upload-pet-image-25725403e0.md): Upload an image for the specified pet. Requires authentication and write:pets permission. - Chat [Create Chat Completion](https://docs.petstoreapi.com/create-chat-completion-25725404e0.md): Creates a model response for a chat conversation with the Pet Adoption Advisor AI. Supports streaming responses using Server-Sent Events (SSE). - Payments [Pay Order](https://docs.petstoreapi.com/pay-order-25725405e0.md): Process payment for an existing order. - Store [List Inventory](https://docs.petstoreapi.com/list-inventory-25725406e0.md): Returns a mapping of status codes to quantities. - Store [Create Order](https://docs.petstoreapi.com/create-order-25725407e0.md): Create a new order in the store. - Store [Get Order](https://docs.petstoreapi.com/get-order-25725408e0.md): For a valid response, try integer IDs in the range 1-10. Other values will generate exceptions. - Store [Delete Order](https://docs.petstoreapi.com/delete-order-25725409e0.md): For a valid response, try positive integer order IDs. Negative or non-integer values will cause an API error. - Store [Callback Example](https://docs.petstoreapi.com/callback-example-25725410e0.md): Handles order events and supports asynchronous processing with Callback. - User [Create User](https://docs.petstoreapi.com/create-user-25725411e0.md): Create a new user in the system. - User [Update User](https://docs.petstoreapi.com/update-user-25725412e0.md): Update user information. Only the logged-in user can perform this operation. - User [Get User](https://docs.petstoreapi.com/get-user-25725413e0.md): Retrieve user information by user ID. - User [Delete User](https://docs.petstoreapi.com/delete-user-25725414e0.md): Delete a user account. Only the logged-in user can perform this operation. - User [Login](https://docs.petstoreapi.com/login-25725415e0.md): User logs in and generates a session. Submit credentials in the request body for secure authentication. - User [Logout](https://docs.petstoreapi.com/logout-25725416e0.md): Log out the current logged-in user and invalidate their session token. - Webhooks [Pet Adopted Event](https://docs.petstoreapi.com/pet-adopted-event-25725417e0.md): Triggered when a pet is successfully adopted. The webhook will be sent to the URL configured in your account settings. - Webhooks [New Pet Available Event](https://docs.petstoreapi.com/new-pet-available-event-25725418e0.md): Triggered when a new pet becomes available for adoption. - pet [Update an existing pet.](https://docs.petstoreapi.com/update-an-existing-pet-25728670e0.md): Update an existing pet by Id. - pet [Add a new pet to the store.](https://docs.petstoreapi.com/add-a-new-pet-to-the-store-25728671e0.md): Add a new pet to the store. - pet [Finds Pets by status.](https://docs.petstoreapi.com/finds-pets-by-status-25728672e0.md): Multiple status values can be provided with comma separated strings. - pet [Finds Pets by tags.](https://docs.petstoreapi.com/finds-pets-by-tags-25728673e0.md): Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing. - pet [Find pet by ID.](https://docs.petstoreapi.com/find-pet-by-id-25728674e0.md): Returns a single pet. - pet [Updates a pet in the store with form data.](https://docs.petstoreapi.com/updates-a-pet-in-the-store-with-form-data-25728675e0.md): Updates a pet resource based on the form data. - pet [Deletes a pet.](https://docs.petstoreapi.com/deletes-a-pet-25728676e0.md): Delete a pet. - pet [Uploads an image.](https://docs.petstoreapi.com/uploads-an-image-25728677e0.md): Upload image of the pet. - store [Returns pet inventories by status.](https://docs.petstoreapi.com/returns-pet-inventories-by-status-25728678e0.md): Returns a map of status codes to quantities. - store [Place an order for a pet.](https://docs.petstoreapi.com/place-an-order-for-a-pet-25728679e0.md): Place a new order in the store. - store [Find purchase order by ID.](https://docs.petstoreapi.com/find-purchase-order-by-id-25728680e0.md): For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions. - store [Delete purchase order by identifier.](https://docs.petstoreapi.com/delete-purchase-order-by-identifier-25728681e0.md): For valid response try integer IDs with value < 1000. Anything above 1000 or non-integers will generate API errors. - user [Create user.](https://docs.petstoreapi.com/create-user-25728682e0.md): This can only be done by the logged in user. - user [Creates list of users with given input array.](https://docs.petstoreapi.com/creates-list-of-users-with-given-input-array-25728683e0.md): Creates list of users with given input array. - user [Logs user into the system.](https://docs.petstoreapi.com/logs-user-into-the-system-25728684e0.md): Log into the system. - user [Logs out current logged in user session.](https://docs.petstoreapi.com/logs-out-current-logged-in-user-session-25728685e0.md): Log user out of the system. - user [Get user by user name.](https://docs.petstoreapi.com/get-user-by-user-name-25728686e0.md): Get user detail based on username. - user [Update user resource.](https://docs.petstoreapi.com/update-user-resource-25728687e0.md): This can only be done by the logged in user. - user [Delete user resource.](https://docs.petstoreapi.com/delete-user-resource-25728688e0.md): This can only be done by the logged in user. ## Schemas - [Pet](https://docs.petstoreapi.com/pet-11706909d0.md): - [PetCollection](https://docs.petstoreapi.com/petcollection-11706885d0.md): - [User](https://docs.petstoreapi.com/user-11706886d0.md): - [OrderPayment](https://docs.petstoreapi.com/orderpayment-11706887d0.md): - [CardPaymentSource](https://docs.petstoreapi.com/bank-card-11706888d0.md): - [BankAccountPaymentSource](https://docs.petstoreapi.com/bank-account-11706889d0.md): - [Category](https://docs.petstoreapi.com/category-11706890d0.md): - [Links](https://docs.petstoreapi.com/links-11706891d0.md): - [Order](https://docs.petstoreapi.com/order-11706892d0.md): - [ApiResponse](https://docs.petstoreapi.com/apiresponse-11706893d0.md): - [Tag](https://docs.petstoreapi.com/tag-11706894d0.md): - [Error](https://docs.petstoreapi.com/error-11706895d0.md): - Schemas [Order](https://docs.petstoreapi.com/order-11708147d0.md): - Schemas [Category](https://docs.petstoreapi.com/category-11708148d0.md): - Schemas [User](https://docs.petstoreapi.com/user-11708149d0.md): - Schemas [Tag](https://docs.petstoreapi.com/tag-11708150d0.md): - Schemas [Pet](https://docs.petstoreapi.com/pet-11708151d0.md): - Schemas [ApiResponse](https://docs.petstoreapi.com/apiresponse-11708152d0.md): - RequestBodies [UserArray](https://docs.petstoreapi.com/userarray-11708153d0.md):