A machine-readable guide to this site for AI agents and language models is available at/llms.txt(https://dev.acquia.com/llms.txt on the production site).
Each of the Site Factory API calls requires you to enter your Site Factory username and API key to either complete the action or to return results. To obtain your API key, complete the following steps:
Sign in to your Site Factory Management Console using an account with the platform admin role.
In the admin menu, click your username.
Click the API key tab.
Site Factory displays your API key. Due to the key being required for use by the different Site Factory API calls, save the key to a text file or some other secure location.
Check your Acquia Cloud Platform permissions for accessing API endpoints.
To view all documentation endpoints in the Site Factory API, you must first sign in to your Site Factory Management Console as a user with either the developer or release engineer role.
Test your connection with your Site Factory.
Open a command prompt, and then enter the following command:
You can call `GET /api/v1/sites` and `GET /api/v1/sites/{site_id}/backups` endpoints but it's easier to get both just by looking at the site backup page, and hovering the Download link.
In this example the site_id is 2296 and the backup_id is 401