> For the complete documentation index, see [llms.txt](https://phoai.gitbook.io/view/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://phoai.gitbook.io/view/reference/api-reference/pets.md).

# Pets

## Creating a new pet

{% openapi src="<https://petstore3.swagger.io/api/v3/openapi.json>" path="/pet" method="post" %}
<https://petstore3.swagger.io/api/v3/openapi.json>
{% endopenapi %}

## Updating a pet

{% openapi src="<https://petstore3.swagger.io/api/v3/openapi.json>" path="/pet" method="put" %}
<https://petstore3.swagger.io/api/v3/openapi.json>
{% endopenapi %}

{% hint style="info" %}
**Good to know:** These API methods were auto-generated from an example OpenAPI file. You'll see that it's not editable – that's because the contents are synced to a URL! Any time the linked file changes, the documentation will change too.
{% endhint %}
