pages.deploy
Deploy uploaded account files to a hosted static website.
Pass file_name values from files.upload_file / files.list_uploaded_files. Optional path overrides the destination path on the page (defaults to the file basename). Up to 500 files per deploy.
Cost = 100 tokens.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | Files to deploy. Each item is an object with file_name (uploaded account-relative path) and optional path (destination path on the page; defaults to the file basename). Maximum 500 files. | |
| page_id | Yes | Page id returned by pages.create. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Live CDN URL for the page. Uses the custom domain when one is attached. | |
| page_id | No | Page id. | |
| deployed_at | No | When this deploy completed. | |
| deployed_file_count | No | Number of files deployed in this request. |