Skip to content
Netlify Docs
For the complete Netlify documentation index, see llms.txt. Markdown versions of any documentation page are available by appending .md to its URL.

The new Netlify experience is here. Learn more or join the waitlist.

APIs for code agents

As a developer building code agents, learn how to build and include Netlify’s capabilities into your AI workflows using Netlify's REST API.

Netlify’s existing REST API is designed to support you in building code agents so that your AI workflows can help your users deploy, secure, and manage their projects beyond an initial prototype.

Check out our API guides for code agents:

Guide Description
Generate a PAT for Netlify OAuth Learn how to use the Netlify REST API so you can act on behalf of your users.
Surface deploy and function logs Learn how to make use of the information found in Netlify's logs.
Add a custom domain with the API Learn how to assign a custom domain to your deployment.
Deploy a full-stack app to Netlify Learn best practices for deploying a full-stack app. We recommend this AI workflow, which deploys the app as a zip file to Netlify.
Deploy a static site to Netlify Learn best practices for deploying a static site. We recommend this example AI workflow, which deploys a static site as a zip file to Netlify.

If you want to recommend a guide, let us know in this Suggest a guide form.

If you want to recommend a live working example, let us know in an issue in the Examples repo.

If you’re just getting started with the Netlify REST API, you can check out: