{"openapi":"3.0.0","info":{"description":"Web hosting and deployment"},"servers":[{"description":"Web hosting and deployment","url":"https://api.apirails.com/netlify"}],"paths":{"/api/v1/sites":{"get":{"tags":["Sites"],"parameters":[{"name":"filter","in":"query","description":"filter (query parameter from the official API reference)","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["all","owner","guest"]}}},{"name":"name","in":"query","description":"name (query parameter from the official API reference)","required":false,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/listSites","api_endpoint":"https://api.netlify.com/api/v1/sites"},"summary":"List sites","description":"listSites | **Note:** Environment variable keys and values have moved from `build_settings.env` and `repo.env` to a new endpoint. Please use [getEnvVars](#tag/environmentVariables/operation/getEnvVars) to retrieve site environment variables. | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}]},"post":{"tags":["Sites"],"parameters":[{"name":"configure_dns","in":"query","description":"configure_dns (query parameter from the official API reference)","required":false,"schema":{"type":"boolean","example":"","items":{"type":"string","enum":[true,false]}}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/createSite","api_endpoint":"https://api.netlify.com/api/v1/sites"},"summary":"Create site","description":"createSite | **Note:** Environment variable keys and values have moved from `build_settings.env` and `repo.env` to a new endpoint. Please use [createEnvVars](#tag/environmentVariables/operation/createEnvVars) to create environment variables for a site. | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"account_id":{"type":"string","description":"body.account_id (string field from the documented request schema)"},"account_name":{"type":"string","description":"body.account_name (string field from the documented request schema)"},"account_slug":{"type":"string","description":"body.account_slug (string field from the documented request schema)"},"admin_url":{"type":"string","description":"body.admin_url (string field from the documented request schema)"},"branch_deploy_custom_domain":{"type":"string","description":"body.branch_deploy_custom_domain (string field from the documented request schema)"},"build_image":{"type":"string","description":"body.build_image (string field from the documented request schema)"},"build_settings":{"type":"object","description":"body.build_settings (object field from the documented request schema)","properties":{"allowed_branches":{"type":"array","description":"body.build_settings.allowed_branches (array field from the documented request schema)"},"cmd":{"type":"string","description":"The build command to run. This is the command that Netlify runs to build your site. If a site has a netlify.toml file with a build command it will override this value."},"deploy_key_id":{"type":"string","description":"body.build_settings.deploy_key_id (string field from the documented request schema)"},"dir":{"type":"string","description":"body.build_settings.dir (string field from the documented request schema)"},"env":{"type":"object","description":"body.build_settings.env (object field from the documented request schema)"},"functions_dir":{"type":"string","description":"The directory where Netlify can find your compiled functions to deploy them. Defaults to netlify/functions if not set. You can also define and override this setting in your project’s netlify.toml file."},"id":{"type":"number","description":"body.build_settings.id (number field from the documented request schema)"},"installation_id":{"type":"number","description":"body.build_settings.installation_id (number field from the documented request schema)"},"private_logs":{"type":"boolean","description":"body.build_settings.private_logs (boolean field from the documented request schema)","enum":[true,false]},"provider":{"type":"string","description":"body.build_settings.provider (string field from the documented request schema)"},"public_repo":{"type":"boolean","description":"body.build_settings.public_repo (boolean field from the documented request schema)","enum":[true,false]},"repo_branch":{"type":"string","description":"body.build_settings.repo_branch (string field from the documented request schema)"},"repo_path":{"type":"string","description":"body.build_settings.repo_path (string field from the documented request schema)"},"repo_url":{"type":"string","description":"body.build_settings.repo_url (string field from the documented request schema)"},"stop_builds":{"type":"boolean","description":"When true, Netlify will not build your project automatically. You can build locally via the CLI and then publish new deploys manually via the CLI or the API.","enum":[true,false]}}},"capabilities":{"type":"object","description":"body.capabilities (object field from the documented request schema)","properties":{}},"created_at":{"type":"string","description":"body.created_at (string field from the documented request schema)"},"custom_domain":{"type":"string","description":"body.custom_domain (string field from the documented request schema)"},"default_hooks_data":{"type":"object","description":"body.default_hooks_data (object field from the documented request schema)","properties":{"access_token":{"type":"string","description":"body.default_hooks_data.access_token (string field from the documented request schema)"}}},"deploy_hook":{"type":"string","description":"body.deploy_hook (string field from the documented request schema)"},"deploy_preview_custom_domain":{"type":"string","description":"body.deploy_preview_custom_domain (string field from the documented request schema)"},"deploy_url":{"type":"string","description":"body.deploy_url (string field from the documented request schema)"},"domain_aliases":{"type":"array","description":"body.domain_aliases (array field from the documented request schema)","items":{"type":"string"}},"force_ssl":{"type":"boolean","description":"body.force_ssl (boolean field from the documented request schema)","enum":[true,false]},"functions_region":{"type":"string","description":"body.functions_region (string field from the documented request schema)"},"git_provider":{"type":"string","description":"body.git_provider (string field from the documented request schema)"},"id":{"type":"string","description":"body.id (string field from the documented request schema)"},"id_domain":{"type":"string","description":"body.id_domain (string field from the documented request schema)"},"managed_dns":{"type":"boolean","description":"body.managed_dns (boolean field from the documented request schema)","enum":[true,false]},"name":{"type":"string","description":"body.name (string field from the documented request schema)"},"notification_email":{"type":"string","description":"body.notification_email (string field from the documented request schema)"},"password":{"type":"string","description":"body.password (string field from the documented request schema)"},"plan":{"type":"string","description":"body.plan (string field from the documented request schema)"},"prerender":{"type":"string","description":"body.prerender (string field from the documented request schema)"},"prevent_non_git_prod_deploys":{"type":"boolean","description":"body.prevent_non_git_prod_deploys (boolean field from the documented request schema)","enum":[true,false]},"processing_settings":{"type":"object","description":"body.processing_settings (object field from the documented request schema)","properties":{"html":{"type":"object","description":"body.processing_settings.html (object field from the documented request schema)"}}},"published_deploy":{"type":"object","description":"body.published_deploy (object field from the documented request schema)","properties":{"admin_url":{"type":"string","description":"body.published_deploy.admin_url (string field from the documented request schema)"},"branch":{"type":"string","description":"body.published_deploy.branch (string field from the documented request schema)"},"build_id":{"type":"string","description":"body.published_deploy.build_id (string field from the documented request schema)"},"commit_ref":{"type":"string","description":"body.published_deploy.commit_ref (string field from the documented request schema)"},"commit_url":{"type":"string","description":"body.published_deploy.commit_url (string field from the documented request schema)"},"context":{"type":"string","description":"body.published_deploy.context (string field from the documented request schema)"},"created_at":{"type":"string","description":"body.published_deploy.created_at (string field from the documented request schema)"},"deploy_ssl_url":{"type":"string","description":"body.published_deploy.deploy_ssl_url (string field from the documented request schema)"},"deploy_url":{"type":"string","description":"body.published_deploy.deploy_url (string field from the documented request schema)"},"draft":{"type":"boolean","description":"body.published_deploy.draft (boolean field from the documented request schema)","enum":[true,false]},"error_message":{"type":"string","description":"body.published_deploy.error_message (string field from the documented request schema)"},"framework":{"type":"string","description":"body.published_deploy.framework (string field from the documented request schema)"},"function_schedules":{"type":"array","description":"body.published_deploy.function_schedules (array field from the documented request schema)"},"functions_region":{"type":"string","description":"The functions region for this deploy as an airport code."},"functions_region_overrides":{"type":"array","description":"Functions in the deploy that explicitly specify their own region\n(airport code)."},"id":{"type":"string","description":"body.published_deploy.id (string field from the documented request schema)"},"locked":{"type":"boolean","description":"body.published_deploy.locked (boolean field from the documented request schema)","enum":[true,false]},"name":{"type":"string","description":"body.published_deploy.name (string field from the documented request schema)"},"published_at":{"type":"string","description":"body.published_deploy.published_at (string field from the documented request schema)"},"required":{"type":"array","description":"body.published_deploy.required (array field from the documented request schema)"},"required_edge_functions":{"type":"array","description":"An array of code_shas for the edge-function bundles that need to be uploaded to\ncomplete the deploy."},"required_functions":{"type":"array","description":"body.published_deploy.required_functions (array field from the documented request schema)"},"review_id":{"type":"number","description":"body.published_deploy.review_id (number field from the documented request schema)"},"review_url":{"type":"string","description":"body.published_deploy.review_url (string field from the documented request schema)"},"screenshot_url":{"type":"string","description":"body.published_deploy.screenshot_url (string field from the documented request schema)"},"site_id":{"type":"string","description":"body.published_deploy.site_id (string field from the documented request schema)"},"skew_protection_token":{"type":"string","description":"body.published_deploy.skew_protection_token (string field from the documented request schema)"},"skipped":{"type":"boolean","description":"body.published_deploy.skipped (boolean field from the documented request schema)","enum":[true,false]},"ssl_url":{"type":"string","description":"body.published_deploy.ssl_url (string field from the documented request schema)"},"state":{"type":"string","description":"body.published_deploy.state (string field from the documented request schema)"},"title":{"type":"string","description":"body.published_deploy.title (string field from the documented request schema)"},"url":{"type":"string","description":"body.published_deploy.url (string field from the documented request schema)"},"user_id":{"type":"string","description":"body.published_deploy.user_id (string field from the documented request schema)"},"updated_at":{"type":"string","description":"body.published_deploy.updated_at (string field from the documented request schema)"}}},"screenshot_url":{"type":"string","description":"body.screenshot_url (string field from the documented request schema)"},"session_id":{"type":"string","description":"body.session_id (string field from the documented request schema)"},"ssl":{"type":"boolean","description":"body.ssl (boolean field from the documented request schema)","enum":[true,false]},"ssl_url":{"type":"string","description":"body.ssl_url (string field from the documented request schema)"},"state":{"type":"string","description":"body.state (string field from the documented request schema)"},"url":{"type":"string","description":"body.url (string field from the documented request schema)"},"user_id":{"type":"string","description":"body.user_id (string field from the documented request schema)"},"updated_at":{"type":"string","description":"body.updated_at (string field from the documented request schema)"}}},"example":{"account_id":["string"],"account_name":["string"],"account_slug":["string"],"admin_url":["string"],"branch_deploy_custom_domain":["string"],"build_image":["string"],"build_settings":[{"allowed_branches":["string"],"cmd":"string","deploy_key_id":"string","dir":"string","functions_dir":"string","id":0,"private_logs":false,"provider":"string","public_repo":false,"repo_branch":"string","repo_path":"string","repo_url":"string"}],"capabilities":[{}],"created_at":["string"],"custom_domain":["string"],"default_hooks_data":[{"access_token":"string"}],"deploy_hook":["string"],"deploy_preview_custom_domain":["string"],"deploy_url":["string"],"domain_aliases":[["string"]],"force_ssl":[false],"functions_region":["string"],"git_provider":["string"],"id":["string"],"id_domain":["string"],"managed_dns":[false],"name":["string"],"notification_email":["string"],"password":["string"],"plan":["string"],"prerender":["string"],"prevent_non_git_prod_deploys":[false],"processing_settings":[{"html":{"pretty_urls":false}}],"published_deploy":[{"admin_url":"string","build_id":"string","deploy_ssl_url":"string","deploy_url":"string","id":"string","name":"string","screenshot_url":"string","site_id":"string","ssl_url":"string","state":"string","url":"string","user_id":"string"}],"screenshot_url":["string"],"session_id":["string"],"ssl":[false],"ssl_url":["string"],"state":["string"],"url":["string"],"user_id":["string"],"updated_at":["string"]}}}}}},"/api/v1/sites/{site_id}":{"get":{"tags":["Sites"],"parameters":[{"name":"site_id","in":"path","description":"site_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/getSite","api_endpoint":"https://api.netlify.com/api/v1/sites/{site_id}"},"summary":"Get site","description":"getSite | **Note:** Environment variable keys and values have moved from `build_settings.env` and `repo.env` to a new endpoint. Please use [getEnvVars](#tag/environmentVariables/operation/getEnvVars) to retrieve site environment variables. | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}]},"patch":{"tags":["Sites"],"parameters":[{"name":"site_id","in":"path","description":"site_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/updateSite","api_endpoint":"https://api.netlify.com/api/v1/sites/{site_id}"},"summary":"Update site","description":"updateSite | **Note:** Environment variable keys and values have moved from `build_settings.env` and `repo.env` to a new endpoint. Please use [updateEnvVar](#tag/environmentVariables/operation/updateEnvVar) to update a site's environment variables. | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"account_id":{"type":"string","description":"body.account_id (string field from the documented request schema)"},"account_name":{"type":"string","description":"body.account_name (string field from the documented request schema)"},"account_slug":{"type":"string","description":"body.account_slug (string field from the documented request schema)"},"admin_url":{"type":"string","description":"body.admin_url (string field from the documented request schema)"},"branch_deploy_custom_domain":{"type":"string","description":"body.branch_deploy_custom_domain (string field from the documented request schema)"},"build_image":{"type":"string","description":"body.build_image (string field from the documented request schema)"},"build_settings":{"type":"object","description":"body.build_settings (object field from the documented request schema)","properties":{"allowed_branches":{"type":"array","description":"body.build_settings.allowed_branches (array field from the documented request schema)"},"cmd":{"type":"string","description":"The build command to run. This is the command that Netlify runs to build your site. If a site has a netlify.toml file with a build command it will override this value."},"deploy_key_id":{"type":"string","description":"body.build_settings.deploy_key_id (string field from the documented request schema)"},"dir":{"type":"string","description":"body.build_settings.dir (string field from the documented request schema)"},"env":{"type":"object","description":"body.build_settings.env (object field from the documented request schema)"},"functions_dir":{"type":"string","description":"The directory where Netlify can find your compiled functions to deploy them. Defaults to netlify/functions if not set. You can also define and override this setting in your project’s netlify.toml file."},"id":{"type":"number","description":"body.build_settings.id (number field from the documented request schema)"},"installation_id":{"type":"number","description":"body.build_settings.installation_id (number field from the documented request schema)"},"private_logs":{"type":"boolean","description":"body.build_settings.private_logs (boolean field from the documented request schema)","enum":[true,false]},"provider":{"type":"string","description":"body.build_settings.provider (string field from the documented request schema)"},"public_repo":{"type":"boolean","description":"body.build_settings.public_repo (boolean field from the documented request schema)","enum":[true,false]},"repo_branch":{"type":"string","description":"body.build_settings.repo_branch (string field from the documented request schema)"},"repo_path":{"type":"string","description":"body.build_settings.repo_path (string field from the documented request schema)"},"repo_url":{"type":"string","description":"body.build_settings.repo_url (string field from the documented request schema)"},"stop_builds":{"type":"boolean","description":"When true, Netlify will not build your project automatically. You can build locally via the CLI and then publish new deploys manually via the CLI or the API.","enum":[true,false]}}},"capabilities":{"type":"object","description":"body.capabilities (object field from the documented request schema)","properties":{}},"created_at":{"type":"string","description":"body.created_at (string field from the documented request schema)"},"custom_domain":{"type":"string","description":"body.custom_domain (string field from the documented request schema)"},"default_hooks_data":{"type":"object","description":"body.default_hooks_data (object field from the documented request schema)","properties":{"access_token":{"type":"string","description":"body.default_hooks_data.access_token (string field from the documented request schema)"}}},"deploy_hook":{"type":"string","description":"body.deploy_hook (string field from the documented request schema)"},"deploy_preview_custom_domain":{"type":"string","description":"body.deploy_preview_custom_domain (string field from the documented request schema)"},"deploy_url":{"type":"string","description":"body.deploy_url (string field from the documented request schema)"},"domain_aliases":{"type":"array","description":"body.domain_aliases (array field from the documented request schema)","items":{"type":"string"}},"force_ssl":{"type":"boolean","description":"body.force_ssl (boolean field from the documented request schema)","enum":[true,false]},"functions_region":{"type":"string","description":"body.functions_region (string field from the documented request schema)"},"git_provider":{"type":"string","description":"body.git_provider (string field from the documented request schema)"},"id":{"type":"string","description":"body.id (string field from the documented request schema)"},"id_domain":{"type":"string","description":"body.id_domain (string field from the documented request schema)"},"managed_dns":{"type":"boolean","description":"body.managed_dns (boolean field from the documented request schema)","enum":[true,false]},"name":{"type":"string","description":"body.name (string field from the documented request schema)"},"notification_email":{"type":"string","description":"body.notification_email (string field from the documented request schema)"},"password":{"type":"string","description":"body.password (string field from the documented request schema)"},"plan":{"type":"string","description":"body.plan (string field from the documented request schema)"},"prerender":{"type":"string","description":"body.prerender (string field from the documented request schema)"},"prevent_non_git_prod_deploys":{"type":"boolean","description":"body.prevent_non_git_prod_deploys (boolean field from the documented request schema)","enum":[true,false]},"processing_settings":{"type":"object","description":"body.processing_settings (object field from the documented request schema)","properties":{"html":{"type":"object","description":"body.processing_settings.html (object field from the documented request schema)"}}},"published_deploy":{"type":"object","description":"body.published_deploy (object field from the documented request schema)","properties":{"admin_url":{"type":"string","description":"body.published_deploy.admin_url (string field from the documented request schema)"},"branch":{"type":"string","description":"body.published_deploy.branch (string field from the documented request schema)"},"build_id":{"type":"string","description":"body.published_deploy.build_id (string field from the documented request schema)"},"commit_ref":{"type":"string","description":"body.published_deploy.commit_ref (string field from the documented request schema)"},"commit_url":{"type":"string","description":"body.published_deploy.commit_url (string field from the documented request schema)"},"context":{"type":"string","description":"body.published_deploy.context (string field from the documented request schema)"},"created_at":{"type":"string","description":"body.published_deploy.created_at (string field from the documented request schema)"},"deploy_ssl_url":{"type":"string","description":"body.published_deploy.deploy_ssl_url (string field from the documented request schema)"},"deploy_url":{"type":"string","description":"body.published_deploy.deploy_url (string field from the documented request schema)"},"draft":{"type":"boolean","description":"body.published_deploy.draft (boolean field from the documented request schema)","enum":[true,false]},"error_message":{"type":"string","description":"body.published_deploy.error_message (string field from the documented request schema)"},"framework":{"type":"string","description":"body.published_deploy.framework (string field from the documented request schema)"},"function_schedules":{"type":"array","description":"body.published_deploy.function_schedules (array field from the documented request schema)"},"functions_region":{"type":"string","description":"The functions region for this deploy as an airport code."},"functions_region_overrides":{"type":"array","description":"Functions in the deploy that explicitly specify their own region\n(airport code)."},"id":{"type":"string","description":"body.published_deploy.id (string field from the documented request schema)"},"locked":{"type":"boolean","description":"body.published_deploy.locked (boolean field from the documented request schema)","enum":[true,false]},"name":{"type":"string","description":"body.published_deploy.name (string field from the documented request schema)"},"published_at":{"type":"string","description":"body.published_deploy.published_at (string field from the documented request schema)"},"required":{"type":"array","description":"body.published_deploy.required (array field from the documented request schema)"},"required_edge_functions":{"type":"array","description":"An array of code_shas for the edge-function bundles that need to be uploaded to\ncomplete the deploy."},"required_functions":{"type":"array","description":"body.published_deploy.required_functions (array field from the documented request schema)"},"review_id":{"type":"number","description":"body.published_deploy.review_id (number field from the documented request schema)"},"review_url":{"type":"string","description":"body.published_deploy.review_url (string field from the documented request schema)"},"screenshot_url":{"type":"string","description":"body.published_deploy.screenshot_url (string field from the documented request schema)"},"site_id":{"type":"string","description":"body.published_deploy.site_id (string field from the documented request schema)"},"skew_protection_token":{"type":"string","description":"body.published_deploy.skew_protection_token (string field from the documented request schema)"},"skipped":{"type":"boolean","description":"body.published_deploy.skipped (boolean field from the documented request schema)","enum":[true,false]},"ssl_url":{"type":"string","description":"body.published_deploy.ssl_url (string field from the documented request schema)"},"state":{"type":"string","description":"body.published_deploy.state (string field from the documented request schema)"},"title":{"type":"string","description":"body.published_deploy.title (string field from the documented request schema)"},"url":{"type":"string","description":"body.published_deploy.url (string field from the documented request schema)"},"user_id":{"type":"string","description":"body.published_deploy.user_id (string field from the documented request schema)"},"updated_at":{"type":"string","description":"body.published_deploy.updated_at (string field from the documented request schema)"}}},"screenshot_url":{"type":"string","description":"body.screenshot_url (string field from the documented request schema)"},"session_id":{"type":"string","description":"body.session_id (string field from the documented request schema)"},"ssl":{"type":"boolean","description":"body.ssl (boolean field from the documented request schema)","enum":[true,false]},"ssl_url":{"type":"string","description":"body.ssl_url (string field from the documented request schema)"},"state":{"type":"string","description":"body.state (string field from the documented request schema)"},"url":{"type":"string","description":"body.url (string field from the documented request schema)"},"user_id":{"type":"string","description":"body.user_id (string field from the documented request schema)"},"updated_at":{"type":"string","description":"body.updated_at (string field from the documented request schema)"}}},"example":{"account_id":["string"],"account_name":["string"],"account_slug":["string"],"admin_url":["string"],"branch_deploy_custom_domain":["string"],"build_image":["string"],"build_settings":[{"allowed_branches":["string"],"cmd":"string","deploy_key_id":"string","dir":"string","functions_dir":"string","id":0,"private_logs":false,"provider":"string","public_repo":false,"repo_branch":"string","repo_path":"string","repo_url":"string"}],"capabilities":[{}],"created_at":["string"],"custom_domain":["string"],"default_hooks_data":[{"access_token":"string"}],"deploy_hook":["string"],"deploy_preview_custom_domain":["string"],"deploy_url":["string"],"domain_aliases":[["string"]],"force_ssl":[false],"functions_region":["string"],"git_provider":["string"],"id":["string"],"id_domain":["string"],"managed_dns":[false],"name":["string"],"notification_email":["string"],"password":["string"],"plan":["string"],"prerender":["string"],"prevent_non_git_prod_deploys":[false],"processing_settings":[{"html":{"pretty_urls":false}}],"published_deploy":[{"admin_url":"string","build_id":"string","deploy_ssl_url":"string","deploy_url":"string","id":"string","name":"string","screenshot_url":"string","site_id":"string","ssl_url":"string","state":"string","url":"string","user_id":"string"}],"screenshot_url":["string"],"session_id":["string"],"ssl":[false],"ssl_url":["string"],"state":["string"],"url":["string"],"user_id":["string"],"updated_at":["string"]}}}}},"delete":{"tags":["Sites"],"parameters":[{"name":"site_id","in":"path","description":"site_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/deleteSite","api_endpoint":"https://api.netlify.com/api/v1/sites/{site_id}"},"summary":"Delete site","description":"deleteSite |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}}},"/api/v1/sites/{site_id}/ssl":{"post":{"tags":["SSL"],"parameters":[{"name":"site_id","in":"path","description":"site_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}},{"name":"ca_certificates","in":"query","description":"PEM-encoded CA certificate chain. Required when updating an existing certificate.","required":false,"schema":{"type":"string","example":""}},{"name":"certificate","in":"query","description":"PEM-encoded certificate. Required when updating an existing certificate.","required":false,"schema":{"type":"string","example":""}},{"name":"key","in":"query","description":"PEM-encoded private key. Required when updating an existing certificate.","required":false,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/provisionSiteTLSCertificate","api_endpoint":"https://api.netlify.com/api/v1/sites/{site_id}/ssl"},"summary":"Provision site TLS certificate","description":"provisionSiteTLSCertificate | Provisions or updates a TLS certificate for the site.\n**Creating a certificate (site has no certificate):**\n- Omit certificate params to initiate Let's Encrypt provisioning\n- Provide certificate, key, and ca_certificates to upload a custom certificate\n**Updating a certificate (site already has a certificate):**\n- REQUIRES certificate, key, and ca_certificates to replace with a new custom certificate\n- Use POST /api/v1/sites/{site_id}/ssl/renew to renew an existing Let's Encrypt certificate | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}},"get":{"tags":["SSL"],"parameters":[{"name":"site_id","in":"path","description":"site_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/showSiteTLSCertificate","api_endpoint":"https://api.netlify.com/api/v1/sites/{site_id}/ssl"},"summary":"Show site TLS certificate","description":"showSiteTLSCertificate |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}]}},"/api/v1/sites/{site_id}/ssl/certificates":{"get":{"tags":["SSL"],"parameters":[{"name":"site_id","in":"path","description":"site_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}},{"name":"domain","in":"query","description":"domain (query parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/getAllCertificates","api_endpoint":"https://api.netlify.com/api/v1/sites/{site_id}/ssl/certificates"},"summary":"Get all certificates","description":"getAllCertificates |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}]}},"/api/v1/accounts/{account_id}/env":{"get":{"tags":["Environment Variables"],"parameters":[{"name":"account_id","in":"path","description":"Scope response to account_id","required":true,"schema":{"type":"string","example":""}},{"name":"context_name","in":"query","description":"Filter by deploy context","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["all","dev","dev-server","branch-deploy","deploy-preview","production"]}}},{"name":"scope","in":"query","description":"Filter by scope","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["builds","functions","runtime","post-processing"]}}},{"name":"site_id","in":"query","description":"If specified, only return environment variables set on this site","required":false,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/getEnvVars","api_endpoint":"https://api.netlify.com/api/v1/accounts/{account_id}/env"},"summary":"Get environment variables","description":"getEnvVars | Returns all environment variables for an account or site. An account corresponds to a team in the Netlify UI. | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}]},"post":{"tags":["Environment Variables"],"parameters":[{"name":"account_id","in":"path","description":"Scope response to account_id","required":true,"schema":{"type":"string","example":""}},{"name":"site_id","in":"query","description":"If provided, create an environment variable on the site level, not the account level","required":false,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/createEnvVars","api_endpoint":"https://api.netlify.com/api/v1/accounts/{account_id}/env"},"summary":"Create environment variables","description":"createEnvVars | Creates new environment variables. Granular scopes are available on Pro plans and above. | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"array","description":"body (request body parameter from the official API reference)","items":{"type":"object","properties":{"is_secret":{"type":"boolean","description":"Secret values are only readable by code running on Netlify's systems. With secrets, only the local development context values are readable from the UI, API, and CLI. By default, environment variable values are not secret.","enum":[true,false]},"key":{"type":"string","description":"The existing or new name of the key, if you wish to rename it (case-sensitive)"},"scopes":{"type":"array","description":"The scopes that this environment variable is set to (Pro plans and above)"},"values":{"type":"array","description":"body.values (array field from the documented request schema)"}}}}}},"example":{"body":[[{"is_secret":false,"key":"string","scopes":["builds"],"values":[{"context":"all","context_parameter":"string","id":"string","value":"string"}]}]]}}}}}},"/api/v1/sites/{site_id}/env":{"get":{"tags":["Environment Variables"],"parameters":[{"name":"site_id","in":"path","description":"Scope response to site_id","required":true,"schema":{"type":"string","example":""}},{"name":"context_name","in":"query","description":"Filter by deploy context","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["all","dev","dev-server","branch-deploy","deploy-preview","production"]}}},{"name":"scope","in":"query","description":"Filter by scope","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["builds","functions","runtime","post_processing"]}}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/getSiteEnvVars","api_endpoint":"https://api.netlify.com/api/v1/sites/{site_id}/env"},"summary":"Get site environment variables","description":"getSiteEnvVars | Returns all environment variables for a site. This convenience method behaves the same as `getEnvVars` but doesn't require an `account_id` as input. | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}]}},"/api/v1/accounts/{account_id}/env/{key}":{"get":{"tags":["Environment Variables"],"parameters":[{"name":"account_id","in":"path","description":"Scope response to account_id","required":true,"schema":{"type":"string","example":""}},{"name":"key","in":"path","description":"The environment variable key (case-sensitive)","required":true,"schema":{"type":"string","example":""}},{"name":"site_id","in":"query","description":"If provided, return the environment variable for a specific site (no merging is performed)","required":false,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/getEnvVar","api_endpoint":"https://api.netlify.com/api/v1/accounts/{account_id}/env/{key}"},"summary":"Get environment variable","description":"getEnvVar | Returns an individual environment variable. | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}]},"put":{"tags":["Environment Variables"],"parameters":[{"name":"account_id","in":"path","description":"Scope response to account_id","required":true,"schema":{"type":"string","example":""}},{"name":"key","in":"path","description":"The existing environment variable key name (case-sensitive)","required":true,"schema":{"type":"string","example":""}},{"name":"site_id","in":"query","description":"If provided, update an environment variable set on this site","required":false,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/updateEnvVar","api_endpoint":"https://api.netlify.com/api/v1/accounts/{account_id}/env/{key}"},"summary":"Update environment variable","description":"updateEnvVar | Updates an existing environment variable and all of its values. Existing values will be replaced by values provided. | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"is_secret":{"type":"boolean","description":"Secret values are only readable by code running on Netlify's systems. With secrets, only the local development context values are readable from the UI, API, and CLI. By default, environment variable values are not secret.","enum":[true,false]},"key":{"type":"string","description":"The existing or new name of the key, if you wish to rename it (case-sensitive)"},"scopes":{"type":"array","description":"The scopes that this environment variable is set to (Pro plans and above)","items":{"type":"string"}},"values":{"type":"array","description":"body.values (array field from the documented request schema)","items":{"type":"object","properties":{"context":{"type":"string","description":"The deploy context in which this value will be used. `dev` refers to local development when running `netlify dev`."},"context_parameter":{"type":"string","description":"An additional parameter for custom branches. Currently, this is used for specifying a branch name when `context=branch`."},"id":{"type":"string","description":"The environment variable value's universally unique ID"},"value":{"type":"string","description":"The environment variable's unencrypted value"}}}}}},"example":{"is_secret":[false],"key":["string"],"scopes":[["builds"]],"values":[[{"context":"all","context_parameter":"string","id":"string","value":"string"}]]}}}}},"patch":{"tags":["Environment Variables"],"parameters":[{"name":"account_id","in":"path","description":"Scope response to account_id","required":true,"schema":{"type":"string","example":""}},{"name":"key","in":"path","description":"The existing environment variable key name (case-sensitive)","required":true,"schema":{"type":"string","example":""}},{"name":"site_id","in":"query","description":"If provided, update an environment variable set on this site","required":false,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/setEnvVarValue","api_endpoint":"https://api.netlify.com/api/v1/accounts/{account_id}/env/{key}"},"summary":"Set environment variable value","description":"setEnvVarValue | Updates or creates a new value for an existing environment variable. | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"context":{"type":"string","description":"The deploy context in which this value will be used. `dev` refers to local development when running `netlify dev`. `branch` must be provided with a value in `context_parameter`."},"context_parameter":{"type":"string","description":"An additional parameter for custom branches. Currently, this is used for providing a branch name when `context=branch`."},"value":{"type":"string","description":"The environment variable's unencrypted value"}}},"example":{"context":["all"],"context_parameter":["string"],"value":["string"]}}}}},"delete":{"tags":["Environment Variables"],"parameters":[{"name":"account_id","in":"path","description":"Scope response to account_id","required":true,"schema":{"type":"string","example":""}},{"name":"key","in":"path","description":"The environment variable key (case-sensitive)","required":true,"schema":{"type":"string","example":""}},{"name":"site_id","in":"query","description":"If provided, delete the environment variable from this site","required":false,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/deleteEnvVar","api_endpoint":"https://api.netlify.com/api/v1/accounts/{account_id}/env/{key}"},"summary":"Delete environment variable","description":"deleteEnvVar | Deletes an environment variable | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}}},"/api/v1/accounts/{account_id}/env/{key}/value/{id}":{"delete":{"tags":["Environment Variables"],"parameters":[{"name":"account_id","in":"path","description":"Scope response to account_id","required":true,"schema":{"type":"string","example":""}},{"name":"id","in":"path","description":"The environment variable value's ID","required":true,"schema":{"type":"string","example":""}},{"name":"key","in":"path","description":"The environment variable key name (case-sensitive)","required":true,"schema":{"type":"string","example":""}},{"name":"site_id","in":"query","description":"If provided, delete the value from an environment variable on this site","required":false,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/deleteEnvVarValue","api_endpoint":"https://api.netlify.com/api/v1/accounts/{account_id}/env/{key}/value/{id}"},"summary":"Delete environment variable value","description":"deleteEnvVarValue | Deletes a specific environment variable value. | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}}},"/api/v1/sites/{site_id}/functions":{"get":{"tags":["Functions"],"parameters":[{"name":"site_id","in":"path","description":"site_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}},{"name":"filter","in":"query","description":"filter (query parameter from the official API reference)","required":false,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/searchSiteFunctions","api_endpoint":"https://api.netlify.com/api/v1/sites/{site_id}/functions"},"summary":"Search site functions","description":"searchSiteFunctions |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}]}},"/api/v1/sites/{site_id}/forms":{"get":{"tags":["Forms"],"parameters":[{"name":"site_id","in":"path","description":"site_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/listSiteForms","api_endpoint":"https://api.netlify.com/api/v1/sites/{site_id}/forms"},"summary":"List site forms","description":"listSiteForms |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}]}},"/api/v1/sites/{site_id}/forms/{form_id}":{"delete":{"tags":["Forms"],"parameters":[{"name":"form_id","in":"path","description":"form_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}},{"name":"site_id","in":"path","description":"site_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/deleteSiteForm","api_endpoint":"https://api.netlify.com/api/v1/sites/{site_id}/forms/{form_id}"},"summary":"Delete site form","description":"deleteSiteForm |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}}},"/api/v1/sites/{site_id}/submissions":{"get":{"tags":["Submissions"],"parameters":[{"name":"site_id","in":"path","description":"site_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/listSiteSubmissions","api_endpoint":"https://api.netlify.com/api/v1/sites/{site_id}/submissions"},"summary":"List site submissions","description":"listSiteSubmissions |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}]}},"/api/v1/sites/{site_id}/files":{"get":{"tags":["Files"],"parameters":[{"name":"site_id","in":"path","description":"site_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/listSiteFiles","api_endpoint":"https://api.netlify.com/api/v1/sites/{site_id}/files"},"summary":"List site files","description":"listSiteFiles |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}]}},"/api/v1/sites/{site_id}/assets":{"get":{"tags":["Assets"],"parameters":[{"name":"site_id","in":"path","description":"site_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/listSiteAssets","api_endpoint":"https://api.netlify.com/api/v1/sites/{site_id}/assets"},"summary":"List site assets","description":"listSiteAssets |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}]},"post":{"tags":["Assets"],"parameters":[{"name":"site_id","in":"path","description":"site_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}},{"name":"content_type","in":"query","description":"content_type (query parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}},{"name":"name","in":"query","description":"name (query parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}},{"name":"size","in":"query","description":"size (query parameter from the official API reference)","required":true,"schema":{"type":"number","example":""}},{"name":"visibility","in":"query","description":"visibility (query parameter from the official API reference)","required":false,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/createSiteAsset","api_endpoint":"https://api.netlify.com/api/v1/sites/{site_id}/assets"},"summary":"Create site asset","description":"createSiteAsset |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}}},"/api/v1/sites/{site_id}/assets/{asset_id}":{"get":{"tags":["Assets"],"parameters":[{"name":"asset_id","in":"path","description":"asset_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}},{"name":"site_id","in":"path","description":"site_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/getSiteAssetInfo","api_endpoint":"https://api.netlify.com/api/v1/sites/{site_id}/assets/{asset_id}"},"summary":"Get an asset","description":"getSiteAssetInfo |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}]},"put":{"tags":["Assets"],"parameters":[{"name":"asset_id","in":"path","description":"asset_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}},{"name":"site_id","in":"path","description":"site_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}},{"name":"state","in":"query","description":"state (query parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/updateSiteAsset","api_endpoint":"https://api.netlify.com/api/v1/sites/{site_id}/assets/{asset_id}"},"summary":"Update site asset","description":"updateSiteAsset |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}},"delete":{"tags":["Assets"],"parameters":[{"name":"asset_id","in":"path","description":"asset_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}},{"name":"site_id","in":"path","description":"site_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/deleteSiteAsset","api_endpoint":"https://api.netlify.com/api/v1/sites/{site_id}/assets/{asset_id}"},"summary":"Delete site asset","description":"deleteSiteAsset |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}}},"/api/v1/sites/{site_id}/assets/{asset_id}/public_signature":{"get":{"tags":["Assets"],"parameters":[{"name":"asset_id","in":"path","description":"asset_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}},{"name":"site_id","in":"path","description":"site_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/getSiteAssetPublicSignature","api_endpoint":"https://api.netlify.com/api/v1/sites/{site_id}/assets/{asset_id}/public_signature"},"summary":"Get site asset public signature","description":"getSiteAssetPublicSignature |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}]}},"/api/v1/sites/{site_id}/files/{file_path}":{"get":{"tags":["Files"],"parameters":[{"name":"file_path","in":"path","description":"file_path (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}},{"name":"site_id","in":"path","description":"site_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/getSiteFileByPathName","api_endpoint":"https://api.netlify.com/api/v1/sites/{site_id}/files/{file_path}"},"summary":"Get site file by path name","description":"getSiteFileByPathName |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}]}},"/api/v1/purge":{"post":{"tags":["Cache"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/purgeCache","api_endpoint":"https://api.netlify.com/api/v1/purge"},"summary":"Purge cache","description":"purgeCache | Purges cached content from Netlify's CDN. Supports purging by Cache-Tag. | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"cache_tags":{"type":"array","description":"body.cache_tags (array field from the documented request schema)","items":{"type":"string"}},"site_id":{"type":"string","description":"body.site_id (string field from the documented request schema)"},"site_slug":{"type":"string","description":"body.site_slug (string field from the documented request schema)"}}},"example":{"cache_tags":[["string"]],"site_id":["string"],"site_slug":["string"]}}}}}},"/api/v1/sites/{site_id}/snippets":{"get":{"tags":["Snippets"],"parameters":[{"name":"site_id","in":"path","description":"site_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/listSiteSnippets","api_endpoint":"https://api.netlify.com/api/v1/sites/{site_id}/snippets"},"summary":"List site snippets","description":"listSiteSnippets |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}]},"post":{"tags":["Snippets"],"parameters":[{"name":"site_id","in":"path","description":"site_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/createSiteSnippet","api_endpoint":"https://api.netlify.com/api/v1/sites/{site_id}/snippets"},"summary":"Create site snippet","description":"createSiteSnippet |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"general":{"type":"string","description":"body.general (string field from the documented request schema)"},"general_position":{"type":"string","description":"body.general_position (string field from the documented request schema)"},"goal":{"type":"string","description":"body.goal (string field from the documented request schema)"},"goal_position":{"type":"string","description":"body.goal_position (string field from the documented request schema)"},"id":{"type":"number","description":"body.id (number field from the documented request schema)"},"site_id":{"type":"string","description":"body.site_id (string field from the documented request schema)"},"title":{"type":"string","description":"body.title (string field from the documented request schema)"}}},"example":{"general":["string"],"general_position":["string"],"goal":["string"],"goal_position":["string"],"id":[0],"site_id":["string"],"title":["string"]}}}}}},"/api/v1/sites/{site_id}/snippets/{snippet_id}":{"get":{"tags":["Snippets"],"parameters":[{"name":"site_id","in":"path","description":"site_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}},{"name":"snippet_id","in":"path","description":"snippet_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/getSiteSnippet","api_endpoint":"https://api.netlify.com/api/v1/sites/{site_id}/snippets/{snippet_id}"},"summary":"Get site snippet","description":"getSiteSnippet |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}]},"put":{"tags":["Snippets"],"parameters":[{"name":"site_id","in":"path","description":"site_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}},{"name":"snippet_id","in":"path","description":"snippet_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/updateSiteSnippet","api_endpoint":"https://api.netlify.com/api/v1/sites/{site_id}/snippets/{snippet_id}"},"summary":"Update site snippet","description":"updateSiteSnippet |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"general":{"type":"string","description":"body.general (string field from the documented request schema)"},"general_position":{"type":"string","description":"body.general_position (string field from the documented request schema)"},"goal":{"type":"string","description":"body.goal (string field from the documented request schema)"},"goal_position":{"type":"string","description":"body.goal_position (string field from the documented request schema)"},"id":{"type":"number","description":"body.id (number field from the documented request schema)"},"site_id":{"type":"string","description":"body.site_id (string field from the documented request schema)"},"title":{"type":"string","description":"body.title (string field from the documented request schema)"}}},"example":{"general":["string"],"general_position":["string"],"goal":["string"],"goal_position":["string"],"id":[0],"site_id":["string"],"title":["string"]}}}}},"delete":{"tags":["Snippets"],"parameters":[{"name":"site_id","in":"path","description":"site_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}},{"name":"snippet_id","in":"path","description":"snippet_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/deleteSiteSnippet","api_endpoint":"https://api.netlify.com/api/v1/sites/{site_id}/snippets/{snippet_id}"},"summary":"Delete site snippet","description":"deleteSiteSnippet |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}}},"/api/v1/sites/{site_id}/metadata":{"get":{"tags":["Sites"],"parameters":[{"name":"site_id","in":"path","description":"site_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/getSiteMetadata","api_endpoint":"https://api.netlify.com/api/v1/sites/{site_id}/metadata"},"summary":"Get site metadata","description":"getSiteMetadata |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}]},"put":{"tags":["Sites"],"parameters":[{"name":"site_id","in":"path","description":"site_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/updateSiteMetadata","api_endpoint":"https://api.netlify.com/api/v1/sites/{site_id}/metadata"},"summary":"Update site metadata","description":"updateSiteMetadata |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"body (request body parameter from the official API reference)","properties":{}}}},"example":{"body":[{}]}}}}}},"/api/v1/sites/{site_id}/build_hooks":{"get":{"tags":["Build Hooks"],"parameters":[{"name":"site_id","in":"path","description":"site_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/listSiteBuildHooks","api_endpoint":"https://api.netlify.com/api/v1/sites/{site_id}/build_hooks"},"summary":"List site build hooks","description":"listSiteBuildHooks |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}]},"post":{"tags":["Build Hooks"],"parameters":[{"name":"site_id","in":"path","description":"site_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/createSiteBuildHook","api_endpoint":"https://api.netlify.com/api/v1/sites/{site_id}/build_hooks"},"summary":"Create site build hook","description":"createSiteBuildHook |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"branch":{"type":"string","description":"body.branch (string field from the documented request schema)"},"title":{"type":"string","description":"body.title (string field from the documented request schema)"}}},"example":{"branch":["string"],"title":["string"]}}}}}},"/api/v1/sites/{site_id}/build_hooks/{id}":{"get":{"tags":["Build Hooks"],"parameters":[{"name":"id","in":"path","description":"id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}},{"name":"site_id","in":"path","description":"site_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/getSiteBuildHook","api_endpoint":"https://api.netlify.com/api/v1/sites/{site_id}/build_hooks/{id}"},"summary":"Get site build hook","description":"getSiteBuildHook |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}]},"put":{"tags":["Build Hooks"],"parameters":[{"name":"id","in":"path","description":"id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}},{"name":"site_id","in":"path","description":"site_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/updateSiteBuildHook","api_endpoint":"https://api.netlify.com/api/v1/sites/{site_id}/build_hooks/{id}"},"summary":"Update site build hook","description":"updateSiteBuildHook |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"branch":{"type":"string","description":"body.branch (string field from the documented request schema)"},"title":{"type":"string","description":"body.title (string field from the documented request schema)"}}},"example":{"branch":["string"],"title":["string"]}}}}},"delete":{"tags":["Build Hooks"],"parameters":[{"name":"id","in":"path","description":"id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}},{"name":"site_id","in":"path","description":"site_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/deleteSiteBuildHook","api_endpoint":"https://api.netlify.com/api/v1/sites/{site_id}/build_hooks/{id}"},"summary":"Delete site build hook","description":"deleteSiteBuildHook |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}}},"/api/v1/sites/{site_id}/deploys":{"get":{"tags":["Deploys"],"parameters":[{"name":"site_id","in":"path","description":"site_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}},{"name":"branch","in":"query","description":"branch (query parameter from the official API reference)","required":false,"schema":{"type":"string","example":""}},{"name":"deploy-previews","in":"query","description":"deploy-previews (query parameter from the official API reference)","required":false,"schema":{"type":"boolean","example":"","items":{"type":"string","enum":[true,false]}}},{"name":"latest-published","in":"query","description":"latest-published (query parameter from the official API reference)","required":false,"schema":{"type":"boolean","example":"","items":{"type":"string","enum":[true,false]}}},{"name":"production","in":"query","description":"production (query parameter from the official API reference)","required":false,"schema":{"type":"boolean","example":"","items":{"type":"string","enum":[true,false]}}},{"name":"state","in":"query","description":"state (query parameter from the official API reference)","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["new","pending_review","accepted","rejected","enqueued","building","uploading","uploaded","preparing","prepared","processing","processed","ready","error","retrying"]}}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/listSiteDeploys","api_endpoint":"https://api.netlify.com/api/v1/sites/{site_id}/deploys"},"summary":"List site deploys","description":"listSiteDeploys |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}]},"post":{"tags":["Deploys"],"parameters":[{"name":"site_id","in":"path","description":"site_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}},{"name":"branch","in":"query","description":"branch (query parameter from the official API reference)","required":false,"schema":{"type":"string","example":""}},{"name":"deploy-previews","in":"query","description":"deploy-previews (query parameter from the official API reference)","required":false,"schema":{"type":"boolean","example":"","items":{"type":"string","enum":[true,false]}}},{"name":"latest-published","in":"query","description":"latest-published (query parameter from the official API reference)","required":false,"schema":{"type":"boolean","example":"","items":{"type":"string","enum":[true,false]}}},{"name":"production","in":"query","description":"production (query parameter from the official API reference)","required":false,"schema":{"type":"boolean","example":"","items":{"type":"string","enum":[true,false]}}},{"name":"state","in":"query","description":"state (query parameter from the official API reference)","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["new","pending_review","accepted","rejected","enqueued","building","uploading","uploaded","preparing","prepared","processing","processed","ready","error","retrying"]}}},{"name":"title","in":"query","description":"title (query parameter from the official API reference)","required":false,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/createSiteDeploy","api_endpoint":"https://api.netlify.com/api/v1/sites/{site_id}/deploys"},"summary":"Create site deploy","description":"createSiteDeploy |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"async":{"type":"boolean","description":"body.async (boolean field from the documented request schema)","enum":[true,false]},"branch":{"type":"string","description":"body.branch (string field from the documented request schema)"},"draft":{"type":"boolean","description":"body.draft (boolean field from the documented request schema)","enum":[true,false]},"edge_functions":{"type":"object","description":"A hash mapping edge-function bundle formats to the code_sha of each bundle. The\nresponse's required_edge_functions lists which of these still need to be uploaded.","properties":{}},"environment":{"type":"array","description":"A list of deploy-specific environment variable data. Data specified this way applies only\nto this specific deploy and is merged into any existing environment variables set on the\naccount and site.\nDeploy-specific environment variable data takes precedence over account and site\nenvironment variable data: For example, a deploy-specific variable with the key `NODE_ENV`\nwill take priority over any existing site- and account-level environment variable data\nwith the key `NODE_ENV`.\nEnvironment variable data may be provided at one of two times:\n- When creating a new Deploy with deploy files (most common)\n- When finalizing an existing Deploy with deploy files\nOnce set, environment variables for a specific deploy cannot be modified. Subsequent\nattempts to modify environment variable data for a deploy will be ignored.","items":{"type":"object","properties":{"is_secret":{"type":"boolean","description":"body.environment.is_secret (boolean field from the documented request schema)","required":true,"enum":[true,false]},"key":{"type":"string","description":"body.environment.key (string field from the documented request schema)","required":true},"scopes":{"type":"array","description":"body.environment.scopes (array field from the documented request schema)","required":true},"value":{"type":"string","description":"body.environment.value (string field from the documented request schema)","required":true}}}},"files":{"type":"object","description":"A hash mapping file paths to SHA1 digests of the file contents.","properties":{}},"framework":{"type":"string","description":"body.framework (string field from the documented request schema)"},"framework_version":{"type":"string","description":"body.framework_version (string field from the documented request schema)"},"function_schedules":{"type":"array","description":"body.function_schedules (array field from the documented request schema)","items":{"type":"object","properties":{"cron":{"type":"string","description":"body.function_schedules.cron (string field from the documented request schema)"},"name":{"type":"string","description":"body.function_schedules.name (string field from the documented request schema)"}}}},"functions":{"type":"object","description":"body.functions (object field from the documented request schema)","properties":{}},"functions_config":{"type":"object","description":"body.functions_config (object field from the documented request schema)","properties":{}},"zip":{"type":"string","description":"A zip file containing the site files to deploy. Alternative to 'files'.\nTo use this field, set Content-Type to 'application/json' and include the zip content here.\nAlternatively, you can set Content-Type to 'application/zip' and send the zip as the raw request body (not as JSON)."}}},"example":{"async":[false],"branch":["string"],"draft":[false],"edge_functions":[{}],"environment":[[{"is_secret":false,"key":"string","scopes":["builds"],"value":"string"}]],"files":[{}],"framework":["string"],"framework_version":["string"],"function_schedules":[[{"cron":"string","name":"string"}]],"functions":[{}],"functions_config":[{}],"zip":["string"]}}}}}},"/api/v1/sites/{site_id}/deploys/{deploy_id}":{"get":{"tags":["Deploys"],"parameters":[{"name":"deploy_id","in":"path","description":"deploy_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}},{"name":"site_id","in":"path","description":"site_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/getSiteDeploy","api_endpoint":"https://api.netlify.com/api/v1/sites/{site_id}/deploys/{deploy_id}"},"summary":"Get site deploy","description":"getSiteDeploy |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}]},"put":{"tags":["Deploys"],"parameters":[{"name":"deploy_id","in":"path","description":"deploy_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}},{"name":"site_id","in":"path","description":"site_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}},{"name":"commit_ref","in":"query","description":"commit_ref (query parameter from the official API reference)","required":false,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/updateSiteDeploy","api_endpoint":"https://api.netlify.com/api/v1/sites/{site_id}/deploys/{deploy_id}"},"summary":"Update site deploy","description":"updateSiteDeploy |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"async":{"type":"boolean","description":"body.async (boolean field from the documented request schema)","enum":[true,false]},"branch":{"type":"string","description":"body.branch (string field from the documented request schema)"},"draft":{"type":"boolean","description":"body.draft (boolean field from the documented request schema)","enum":[true,false]},"edge_functions":{"type":"object","description":"A hash mapping edge-function bundle formats to the code_sha of each bundle. The\nresponse's required_edge_functions lists which of these still need to be uploaded.","properties":{}},"environment":{"type":"array","description":"A list of deploy-specific environment variable data. Data specified this way applies only\nto this specific deploy and is merged into any existing environment variables set on the\naccount and site.\nDeploy-specific environment variable data takes precedence over account and site\nenvironment variable data: For example, a deploy-specific variable with the key `NODE_ENV`\nwill take priority over any existing site- and account-level environment variable data\nwith the key `NODE_ENV`.\nEnvironment variable data may be provided at one of two times:\n- When creating a new Deploy with deploy files (most common)\n- When finalizing an existing Deploy with deploy files\nOnce set, environment variables for a specific deploy cannot be modified. Subsequent\nattempts to modify environment variable data for a deploy will be ignored.","items":{"type":"object","properties":{"is_secret":{"type":"boolean","description":"body.environment.is_secret (boolean field from the documented request schema)","required":true,"enum":[true,false]},"key":{"type":"string","description":"body.environment.key (string field from the documented request schema)","required":true},"scopes":{"type":"array","description":"body.environment.scopes (array field from the documented request schema)","required":true},"value":{"type":"string","description":"body.environment.value (string field from the documented request schema)","required":true}}}},"files":{"type":"object","description":"A hash mapping file paths to SHA1 digests of the file contents.","properties":{}},"framework":{"type":"string","description":"body.framework (string field from the documented request schema)"},"framework_version":{"type":"string","description":"body.framework_version (string field from the documented request schema)"},"function_schedules":{"type":"array","description":"body.function_schedules (array field from the documented request schema)","items":{"type":"object","properties":{"cron":{"type":"string","description":"body.function_schedules.cron (string field from the documented request schema)"},"name":{"type":"string","description":"body.function_schedules.name (string field from the documented request schema)"}}}},"functions":{"type":"object","description":"body.functions (object field from the documented request schema)","properties":{}},"functions_config":{"type":"object","description":"body.functions_config (object field from the documented request schema)","properties":{}},"zip":{"type":"string","description":"A zip file containing the site files to deploy. Alternative to 'files'.\nTo use this field, set Content-Type to 'application/json' and include the zip content here.\nAlternatively, you can set Content-Type to 'application/zip' and send the zip as the raw request body (not as JSON)."}}},"example":{"async":[false],"branch":["string"],"draft":[false],"edge_functions":[{}],"environment":[[{"is_secret":false,"key":"string","scopes":["builds"],"value":"string"}]],"files":[{}],"framework":["string"],"framework_version":["string"],"function_schedules":[[{"cron":"string","name":"string"}]],"functions":[{}],"functions_config":[{}],"zip":["string"]}}}}},"delete":{"tags":["Deploys"],"parameters":[{"name":"deploy_id","in":"path","description":"deploy_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}},{"name":"site_id","in":"path","description":"site_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/deleteSiteDeploy","api_endpoint":"https://api.netlify.com/api/v1/sites/{site_id}/deploys/{deploy_id}"},"summary":"Delete site deploy","description":"deleteSiteDeploy |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}}},"/api/v1/deploys/{deploy_id}/cancel":{"post":{"tags":["Deploys"],"parameters":[{"name":"deploy_id","in":"path","description":"deploy_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/cancelSiteDeploy","api_endpoint":"https://api.netlify.com/api/v1/deploys/{deploy_id}/cancel"},"summary":"Cancel site deploy","description":"cancelSiteDeploy |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}}},"/api/v1/sites/{site_id}/deploys/{deploy_id}/restore":{"post":{"tags":["Deploys"],"parameters":[{"name":"deploy_id","in":"path","description":"deploy_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}},{"name":"site_id","in":"path","description":"site_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/restoreSiteDeploy","api_endpoint":"https://api.netlify.com/api/v1/sites/{site_id}/deploys/{deploy_id}/restore"},"summary":"Restore site deploy","description":"restoreSiteDeploy |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}}},"/api/v1/sites/{site_id}/builds":{"get":{"tags":["Builds"],"parameters":[{"name":"site_id","in":"path","description":"site_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/listSiteBuilds","api_endpoint":"https://api.netlify.com/api/v1/sites/{site_id}/builds"},"summary":"List site builds","description":"listSiteBuilds |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}]},"post":{"tags":["Builds"],"parameters":[{"name":"site_id","in":"path","description":"site_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}},{"name":"branch","in":"query","description":"If no branch is specified, it is treated as a production deploy If a branch IS specified and matches the main branch, it is also production If a branch is specified and doesn't match the main branch, it is a branch deploy","required":false,"schema":{"type":"string","example":""}},{"name":"clear_cache","in":"query","description":"Whether to clear the build cache before building","required":false,"schema":{"type":"boolean","example":"","items":{"type":"string","enum":[true,false]}}},{"name":"image","in":"query","description":"The build image tag to use for the build","required":false,"schema":{"type":"string","example":""}},{"name":"template_id","in":"query","description":"The build template to use for the build","required":false,"schema":{"type":"string","example":""}},{"name":"title","in":"query","description":"The title of the build","required":false,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/createSiteBuild","api_endpoint":"https://api.netlify.com/api/v1/sites/{site_id}/builds"},"summary":"Create site build","description":"createSiteBuild | Runs a build for a site. The build will be scheduled to run at the first opportunity, but it might not start immediately if insufficient account build capacity is available.\nFiles for build can be uploaded as a zipped site using one of these methods:\n1. Set Content-Type to 'application/zip' and send the zip file as the raw request body\n2. Set Content-Type to 'multipart/form-data' and include the zip file in the 'zip' field | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"zip":{"type":"string","description":"A zip file containing the site files to build.\nOnly used with Content-Type 'multipart/form-data'.\nAlternatively, set Content-Type to 'application/zip' and send the zip as the raw request body (no 'zip' parameter needed)."}}},"example":{"zip":["string"]}}}}}},"/api/v1/sites/{site_id}/deployed-branches":{"get":{"tags":["Deploys"],"parameters":[{"name":"site_id","in":"path","description":"site_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/listSiteDeployedBranches","api_endpoint":"https://api.netlify.com/api/v1/sites/{site_id}/deployed-branches"},"summary":"List site deployed branches","description":"listSiteDeployedBranches |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}]}},"/api/v1/sites/{site_id}/unlink_repo":{"put":{"tags":["Sites"],"parameters":[{"name":"site_id","in":"path","description":"site_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/unlinkSiteRepo","api_endpoint":"https://api.netlify.com/api/v1/sites/{site_id}/unlink_repo"},"summary":"Unlink site repo","description":"unlinkSiteRepo | [Beta] Unlinks the repo from the site.\nThis action will also:\n- Delete associated deploy keys\n- Delete outgoing webhooks for the repo\n- Delete the site's build hooks | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}}},"/api/v1/sites/{site_id}/enable":{"put":{"tags":["Sites"],"parameters":[{"name":"site_id","in":"path","description":"site_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/enableSite","api_endpoint":"https://api.netlify.com/api/v1/sites/{site_id}/enable"},"summary":"Enable site","description":"enableSite | Re-enables a site that was previously disabled by the user. Sites that were disabled for usage exceeded or marked as spam cannot be re-enabled via this endpoint. | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}}},"/api/v1/sites/{site_id}/disable":{"put":{"tags":["Sites"],"parameters":[{"name":"site_id","in":"path","description":"site_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}},{"name":"reason","in":"query","description":"Reason for disabling the site","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/disableSite","api_endpoint":"https://api.netlify.com/api/v1/sites/{site_id}/disable"},"summary":"Disable site","description":"disableSite | Disables a site, preventing it from serving content. The site can be re-enabled later using the enable endpoint. | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}}},"/api/v1/builds/{build_id}":{"get":{"tags":["Builds"],"parameters":[{"name":"build_id","in":"path","description":"build_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/getSiteBuild","api_endpoint":"https://api.netlify.com/api/v1/builds/{build_id}"},"summary":"Get site build","description":"getSiteBuild |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}]}},"/api/v1/builds/{build_id}/log":{"post":{"tags":["Builds"],"parameters":[{"name":"build_id","in":"path","description":"build_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/updateSiteBuildLog","api_endpoint":"https://api.netlify.com/api/v1/builds/{build_id}/log"},"summary":"Update build log","description":"updateSiteBuildLog |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}}},"/api/v1/builds/{build_id}/start":{"post":{"tags":["Builds"],"parameters":[{"name":"build_id","in":"path","description":"build_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}},{"name":"build_version","in":"query","description":"build_version (query parameter from the official API reference)","required":false,"schema":{"type":"string","example":""}},{"name":"buildbot_version","in":"query","description":"buildbot_version (query parameter from the official API reference)","required":false,"schema":{"type":"string","example":""}},{"name":"task_id","in":"query","description":"task_id (query parameter from the official API reference)","required":false,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/notifyBuildStart","api_endpoint":"https://api.netlify.com/api/v1/builds/{build_id}/start"},"summary":"Start a build","description":"notifyBuildStart |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}}},"/api/v1/{account_id}/builds/status":{"get":{"tags":["Builds"],"parameters":[{"name":"account_id","in":"path","description":"account_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/getAccountBuildStatus","api_endpoint":"https://api.netlify.com/api/v1/{account_id}/builds/status"},"summary":"Get account builds status","description":"getAccountBuildStatus |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}]}},"/api/v1/sites/{site_id}/dns":{"get":{"tags":["DNS"],"parameters":[{"name":"site_id","in":"path","description":"site_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/getDNSForSite","api_endpoint":"https://api.netlify.com/api/v1/sites/{site_id}/dns"},"summary":"Get DNS for site","description":"getDNSForSite |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}]},"put":{"tags":["DNS"],"parameters":[{"name":"site_id","in":"path","description":"site_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/configureDNSForSite","api_endpoint":"https://api.netlify.com/api/v1/sites/{site_id}/dns"},"summary":"Configure DNS for site","description":"configureDNSForSite |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}}},"/api/v1/sites/{site_id}/rollback":{"put":{"tags":["Deploys"],"parameters":[{"name":"site_id","in":"path","description":"site_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/rollbackSiteDeploy","api_endpoint":"https://api.netlify.com/api/v1/sites/{site_id}/rollback"},"summary":"Rollback site deploy","description":"rollbackSiteDeploy |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}}},"/api/v1/deploys/{deploy_id}":{"get":{"tags":["Deploys"],"parameters":[{"name":"deploy_id","in":"path","description":"deploy_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/getDeploy","api_endpoint":"https://api.netlify.com/api/v1/deploys/{deploy_id}"},"summary":"Get deploy","description":"getDeploy |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}]},"delete":{"tags":["Deploys"],"parameters":[{"name":"deploy_id","in":"path","description":"deploy_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/deleteDeploy","api_endpoint":"https://api.netlify.com/api/v1/deploys/{deploy_id}"},"summary":"Delete deploy","description":"deleteDeploy |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}}},"/api/v1/deploys/{deploy_id}/lock":{"post":{"tags":["Deploys"],"parameters":[{"name":"deploy_id","in":"path","description":"deploy_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/lockDeploy","api_endpoint":"https://api.netlify.com/api/v1/deploys/{deploy_id}/lock"},"summary":"Lock deploy","description":"lockDeploy |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}}},"/api/v1/deploys/{deploy_id}/unlock":{"post":{"tags":["Deploys"],"parameters":[{"name":"deploy_id","in":"path","description":"deploy_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/unlockDeploy","api_endpoint":"https://api.netlify.com/api/v1/deploys/{deploy_id}/unlock"},"summary":"Unlock deploy","description":"unlockDeploy |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}}},"/api/v1/deploys/{deploy_id}/files/{path}":{"put":{"tags":["Files"],"parameters":[{"name":"path","in":"path","description":"path (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}},{"name":"deploy_id","in":"path","description":"deploy_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}},{"name":"size","in":"query","description":"size (query parameter from the official API reference)","required":false,"schema":{"type":"number","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/uploadDeployFile","api_endpoint":"https://api.netlify.com/api/v1/deploys/{deploy_id}/files/{path}"},"summary":"Upload deploy file","description":"uploadDeployFile |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":false,"content":{"multipart/form-data":{"schema":{"type":"object","required":[],"properties":{"file":{"type":"string","format":"binary","description":"The file content to upload - sent as the raw request body (binary).","required":true}}},"example":{"file":"(binary)"}}}}}},"/api/v1/deploys/{deploy_id}/functions/{name}":{"put":{"tags":["Functions"],"parameters":[{"name":"deploy_id","in":"path","description":"deploy_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}},{"name":"name","in":"path","description":"name (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}},{"name":"invocation_mode","in":"query","description":"invocation_mode (query parameter from the official API reference)","required":false,"schema":{"type":"string","example":""}},{"name":"runtime","in":"query","description":"runtime (query parameter from the official API reference)","required":false,"schema":{"type":"string","example":""}},{"name":"size","in":"query","description":"size (query parameter from the official API reference)","required":false,"schema":{"type":"number","example":""}},{"name":"timeout","in":"query","description":"timeout (query parameter from the official API reference)","required":false,"schema":{"type":"number","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/uploadDeployFunction","api_endpoint":"https://api.netlify.com/api/v1/deploys/{deploy_id}/functions/{name}"},"summary":"Upload deploy function","description":"uploadDeployFunction |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":false,"content":{"multipart/form-data":{"schema":{"type":"object","required":[],"properties":{"file":{"type":"string","format":"binary","description":"The function bundle (zip) content to upload - sent as the raw request body (binary).","required":true}}},"example":{"file":"(binary)"}}}}}},"/api/v1/deploys/{deploy_id}/edge_functions/{code_sha}":{"put":{"tags":["Edge Functions"],"parameters":[{"name":"code_sha","in":"path","description":"code_sha (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}},{"name":"deploy_id","in":"path","description":"deploy_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/uploadDeployEdgeFunction","api_endpoint":"https://api.netlify.com/api/v1/deploys/{deploy_id}/edge_functions/{code_sha}"},"summary":"Upload deploy edge function","description":"uploadDeployEdgeFunction |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":false,"content":{"multipart/form-data":{"schema":{"type":"object","required":[],"properties":{"file":{"type":"string","format":"binary","description":"The edge function code to upload - sent as the raw request body (binary).","required":true}}},"example":{"file":"(binary)"}}}}}},"/api/v1/forms/{form_id}/submissions":{"get":{"tags":["Submissions"],"parameters":[{"name":"form_id","in":"path","description":"form_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/listFormSubmissions","api_endpoint":"https://api.netlify.com/api/v1/forms/{form_id}/submissions"},"summary":"List form submissions","description":"listFormSubmissions |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}]}},"/api/v1/hooks":{"get":{"tags":["Hooks"],"parameters":[{"name":"site_id","in":"query","description":"site_id (query parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/listHooksBySiteId","api_endpoint":"https://api.netlify.com/api/v1/hooks"},"summary":"List hooks for a site","description":"listHooksBySiteId |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}]},"post":{"tags":["Hooks"],"parameters":[{"name":"site_id","in":"query","description":"site_id (query parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/createHookBySiteId","api_endpoint":"https://api.netlify.com/api/v1/hooks"},"summary":"Create a hook for a site","description":"createHookBySiteId |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"type":{"type":"string","description":"body.type (string field from the documented request schema)"},"created_at":{"type":"string","description":"body.created_at (string field from the documented request schema)"},"data":{"type":"object","description":"body.data (object field from the documented request schema)","properties":{}},"disabled":{"type":"boolean","description":"body.disabled (boolean field from the documented request schema)","enum":[true,false]},"event":{"type":"string","description":"body.event (string field from the documented request schema)"},"id":{"type":"string","description":"body.id (string field from the documented request schema)"},"site_id":{"type":"string","description":"body.site_id (string field from the documented request schema)"},"updated_at":{"type":"string","description":"body.updated_at (string field from the documented request schema)"}}},"example":{"type":["string"],"created_at":["string"],"data":[{}],"disabled":[false],"event":["string"],"id":["string"],"site_id":["string"],"updated_at":["string"]}}}}}},"/api/v1/hooks/{hook_id}":{"get":{"tags":["Hooks"],"parameters":[{"name":"hook_id","in":"path","description":"hook_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/getHook","api_endpoint":"https://api.netlify.com/api/v1/hooks/{hook_id}"},"summary":"Get hook","description":"getHook |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}]},"put":{"tags":["Hooks"],"parameters":[{"name":"hook_id","in":"path","description":"hook_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/updateHook","api_endpoint":"https://api.netlify.com/api/v1/hooks/{hook_id}"},"summary":"Update hook","description":"updateHook |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"type":{"type":"string","description":"body.type (string field from the documented request schema)"},"created_at":{"type":"string","description":"body.created_at (string field from the documented request schema)"},"data":{"type":"object","description":"body.data (object field from the documented request schema)","properties":{}},"disabled":{"type":"boolean","description":"body.disabled (boolean field from the documented request schema)","enum":[true,false]},"event":{"type":"string","description":"body.event (string field from the documented request schema)"},"id":{"type":"string","description":"body.id (string field from the documented request schema)"},"site_id":{"type":"string","description":"body.site_id (string field from the documented request schema)"},"updated_at":{"type":"string","description":"body.updated_at (string field from the documented request schema)"}}},"example":{"type":["string"],"created_at":["string"],"data":[{}],"disabled":[false],"event":["string"],"id":["string"],"site_id":["string"],"updated_at":["string"]}}}}},"delete":{"tags":["Hooks"],"parameters":[{"name":"hook_id","in":"path","description":"hook_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/deleteHook","api_endpoint":"https://api.netlify.com/api/v1/hooks/{hook_id}"},"summary":"Delete hook","description":"deleteHook |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}}},"/api/v1/hooks/{hook_id}/enable":{"post":{"tags":["Hooks"],"parameters":[{"name":"hook_id","in":"path","description":"hook_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/enableHook","api_endpoint":"https://api.netlify.com/api/v1/hooks/{hook_id}/enable"},"summary":"Enable hook","description":"enableHook |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}}},"/api/v1/hooks/types":{"get":{"tags":["Hooks"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/listHookTypes","api_endpoint":"https://api.netlify.com/api/v1/hooks/types"},"summary":"List hook types","description":"listHookTypes |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}]}},"/api/v1/deploy_keys":{"get":{"tags":["Deploy Keys"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/listDeployKeys","api_endpoint":"https://api.netlify.com/api/v1/deploy_keys"},"summary":"List deploy keys","description":"listDeployKeys |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}]},"post":{"tags":["Deploy Keys"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/createDeployKey","api_endpoint":"https://api.netlify.com/api/v1/deploy_keys"},"summary":"Create deploy key","description":"createDeployKey |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}}},"/api/v1/deploy_keys/{key_id}":{"get":{"tags":["Deploy Keys"],"parameters":[{"name":"key_id","in":"path","description":"key_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/getDeployKey","api_endpoint":"https://api.netlify.com/api/v1/deploy_keys/{key_id}"},"summary":"Get deploy key","description":"getDeployKey |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}]},"delete":{"tags":["Deploy Keys"],"parameters":[{"name":"key_id","in":"path","description":"key_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/deleteDeployKey","api_endpoint":"https://api.netlify.com/api/v1/deploy_keys/{key_id}"},"summary":"Delete deploy key","description":"deleteDeployKey |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}}},"/api/v1/{account_slug}/sites":{"post":{"tags":["Sites"],"parameters":[{"name":"account_slug","in":"path","description":"account_slug (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}},{"name":"configure_dns","in":"query","description":"configure_dns (query parameter from the official API reference)","required":false,"schema":{"type":"boolean","example":"","items":{"type":"string","enum":[true,false]}}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/createSiteInTeam","api_endpoint":"https://api.netlify.com/api/v1/{account_slug}/sites"},"summary":"Create site in team","description":"createSiteInTeam | **Note:** Environment variable keys and values have moved from `build_settings.env` and `repo.env` to a new endpoint. Please use [createEnvVars](#tag/environmentVariables/operation/createEnvVars) to create environment variables for a site. | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"account_id":{"type":"string","description":"body.account_id (string field from the documented request schema)"},"account_name":{"type":"string","description":"body.account_name (string field from the documented request schema)"},"account_slug":{"type":"string","description":"body.account_slug (string field from the documented request schema)"},"admin_url":{"type":"string","description":"body.admin_url (string field from the documented request schema)"},"branch_deploy_custom_domain":{"type":"string","description":"body.branch_deploy_custom_domain (string field from the documented request schema)"},"build_image":{"type":"string","description":"body.build_image (string field from the documented request schema)"},"build_settings":{"type":"object","description":"body.build_settings (object field from the documented request schema)","properties":{"allowed_branches":{"type":"array","description":"body.build_settings.allowed_branches (array field from the documented request schema)"},"cmd":{"type":"string","description":"The build command to run. This is the command that Netlify runs to build your site. If a site has a netlify.toml file with a build command it will override this value."},"deploy_key_id":{"type":"string","description":"body.build_settings.deploy_key_id (string field from the documented request schema)"},"dir":{"type":"string","description":"body.build_settings.dir (string field from the documented request schema)"},"env":{"type":"object","description":"body.build_settings.env (object field from the documented request schema)"},"functions_dir":{"type":"string","description":"The directory where Netlify can find your compiled functions to deploy them. Defaults to netlify/functions if not set. You can also define and override this setting in your project’s netlify.toml file."},"id":{"type":"number","description":"body.build_settings.id (number field from the documented request schema)"},"installation_id":{"type":"number","description":"body.build_settings.installation_id (number field from the documented request schema)"},"private_logs":{"type":"boolean","description":"body.build_settings.private_logs (boolean field from the documented request schema)","enum":[true,false]},"provider":{"type":"string","description":"body.build_settings.provider (string field from the documented request schema)"},"public_repo":{"type":"boolean","description":"body.build_settings.public_repo (boolean field from the documented request schema)","enum":[true,false]},"repo_branch":{"type":"string","description":"body.build_settings.repo_branch (string field from the documented request schema)"},"repo_path":{"type":"string","description":"body.build_settings.repo_path (string field from the documented request schema)"},"repo_url":{"type":"string","description":"body.build_settings.repo_url (string field from the documented request schema)"},"stop_builds":{"type":"boolean","description":"When true, Netlify will not build your project automatically. You can build locally via the CLI and then publish new deploys manually via the CLI or the API.","enum":[true,false]}}},"capabilities":{"type":"object","description":"body.capabilities (object field from the documented request schema)","properties":{}},"created_at":{"type":"string","description":"body.created_at (string field from the documented request schema)"},"custom_domain":{"type":"string","description":"body.custom_domain (string field from the documented request schema)"},"default_hooks_data":{"type":"object","description":"body.default_hooks_data (object field from the documented request schema)","properties":{"access_token":{"type":"string","description":"body.default_hooks_data.access_token (string field from the documented request schema)"}}},"deploy_hook":{"type":"string","description":"body.deploy_hook (string field from the documented request schema)"},"deploy_preview_custom_domain":{"type":"string","description":"body.deploy_preview_custom_domain (string field from the documented request schema)"},"deploy_url":{"type":"string","description":"body.deploy_url (string field from the documented request schema)"},"domain_aliases":{"type":"array","description":"body.domain_aliases (array field from the documented request schema)","items":{"type":"string"}},"force_ssl":{"type":"boolean","description":"body.force_ssl (boolean field from the documented request schema)","enum":[true,false]},"functions_region":{"type":"string","description":"body.functions_region (string field from the documented request schema)"},"git_provider":{"type":"string","description":"body.git_provider (string field from the documented request schema)"},"id":{"type":"string","description":"body.id (string field from the documented request schema)"},"id_domain":{"type":"string","description":"body.id_domain (string field from the documented request schema)"},"managed_dns":{"type":"boolean","description":"body.managed_dns (boolean field from the documented request schema)","enum":[true,false]},"name":{"type":"string","description":"body.name (string field from the documented request schema)"},"notification_email":{"type":"string","description":"body.notification_email (string field from the documented request schema)"},"password":{"type":"string","description":"body.password (string field from the documented request schema)"},"plan":{"type":"string","description":"body.plan (string field from the documented request schema)"},"prerender":{"type":"string","description":"body.prerender (string field from the documented request schema)"},"prevent_non_git_prod_deploys":{"type":"boolean","description":"body.prevent_non_git_prod_deploys (boolean field from the documented request schema)","enum":[true,false]},"processing_settings":{"type":"object","description":"body.processing_settings (object field from the documented request schema)","properties":{"html":{"type":"object","description":"body.processing_settings.html (object field from the documented request schema)"}}},"published_deploy":{"type":"object","description":"body.published_deploy (object field from the documented request schema)","properties":{"admin_url":{"type":"string","description":"body.published_deploy.admin_url (string field from the documented request schema)"},"branch":{"type":"string","description":"body.published_deploy.branch (string field from the documented request schema)"},"build_id":{"type":"string","description":"body.published_deploy.build_id (string field from the documented request schema)"},"commit_ref":{"type":"string","description":"body.published_deploy.commit_ref (string field from the documented request schema)"},"commit_url":{"type":"string","description":"body.published_deploy.commit_url (string field from the documented request schema)"},"context":{"type":"string","description":"body.published_deploy.context (string field from the documented request schema)"},"created_at":{"type":"string","description":"body.published_deploy.created_at (string field from the documented request schema)"},"deploy_ssl_url":{"type":"string","description":"body.published_deploy.deploy_ssl_url (string field from the documented request schema)"},"deploy_url":{"type":"string","description":"body.published_deploy.deploy_url (string field from the documented request schema)"},"draft":{"type":"boolean","description":"body.published_deploy.draft (boolean field from the documented request schema)","enum":[true,false]},"error_message":{"type":"string","description":"body.published_deploy.error_message (string field from the documented request schema)"},"framework":{"type":"string","description":"body.published_deploy.framework (string field from the documented request schema)"},"function_schedules":{"type":"array","description":"body.published_deploy.function_schedules (array field from the documented request schema)"},"functions_region":{"type":"string","description":"The functions region for this deploy as an airport code."},"functions_region_overrides":{"type":"array","description":"Functions in the deploy that explicitly specify their own region\n(airport code)."},"id":{"type":"string","description":"body.published_deploy.id (string field from the documented request schema)"},"locked":{"type":"boolean","description":"body.published_deploy.locked (boolean field from the documented request schema)","enum":[true,false]},"name":{"type":"string","description":"body.published_deploy.name (string field from the documented request schema)"},"published_at":{"type":"string","description":"body.published_deploy.published_at (string field from the documented request schema)"},"required":{"type":"array","description":"body.published_deploy.required (array field from the documented request schema)"},"required_edge_functions":{"type":"array","description":"An array of code_shas for the edge-function bundles that need to be uploaded to\ncomplete the deploy."},"required_functions":{"type":"array","description":"body.published_deploy.required_functions (array field from the documented request schema)"},"review_id":{"type":"number","description":"body.published_deploy.review_id (number field from the documented request schema)"},"review_url":{"type":"string","description":"body.published_deploy.review_url (string field from the documented request schema)"},"screenshot_url":{"type":"string","description":"body.published_deploy.screenshot_url (string field from the documented request schema)"},"site_id":{"type":"string","description":"body.published_deploy.site_id (string field from the documented request schema)"},"skew_protection_token":{"type":"string","description":"body.published_deploy.skew_protection_token (string field from the documented request schema)"},"skipped":{"type":"boolean","description":"body.published_deploy.skipped (boolean field from the documented request schema)","enum":[true,false]},"ssl_url":{"type":"string","description":"body.published_deploy.ssl_url (string field from the documented request schema)"},"state":{"type":"string","description":"body.published_deploy.state (string field from the documented request schema)"},"title":{"type":"string","description":"body.published_deploy.title (string field from the documented request schema)"},"url":{"type":"string","description":"body.published_deploy.url (string field from the documented request schema)"},"user_id":{"type":"string","description":"body.published_deploy.user_id (string field from the documented request schema)"},"updated_at":{"type":"string","description":"body.published_deploy.updated_at (string field from the documented request schema)"}}},"screenshot_url":{"type":"string","description":"body.screenshot_url (string field from the documented request schema)"},"session_id":{"type":"string","description":"body.session_id (string field from the documented request schema)"},"ssl":{"type":"boolean","description":"body.ssl (boolean field from the documented request schema)","enum":[true,false]},"ssl_url":{"type":"string","description":"body.ssl_url (string field from the documented request schema)"},"state":{"type":"string","description":"body.state (string field from the documented request schema)"},"url":{"type":"string","description":"body.url (string field from the documented request schema)"},"user_id":{"type":"string","description":"body.user_id (string field from the documented request schema)"},"updated_at":{"type":"string","description":"body.updated_at (string field from the documented request schema)"}}},"example":{"account_id":["string"],"account_name":["string"],"account_slug":["string"],"admin_url":["string"],"branch_deploy_custom_domain":["string"],"build_image":["string"],"build_settings":[{"allowed_branches":["string"],"cmd":"string","deploy_key_id":"string","dir":"string","functions_dir":"string","id":0,"private_logs":false,"provider":"string","public_repo":false,"repo_branch":"string","repo_path":"string","repo_url":"string"}],"capabilities":[{}],"created_at":["string"],"custom_domain":["string"],"default_hooks_data":[{"access_token":"string"}],"deploy_hook":["string"],"deploy_preview_custom_domain":["string"],"deploy_url":["string"],"domain_aliases":[["string"]],"force_ssl":[false],"functions_region":["string"],"git_provider":["string"],"id":["string"],"id_domain":["string"],"managed_dns":[false],"name":["string"],"notification_email":["string"],"password":["string"],"plan":["string"],"prerender":["string"],"prevent_non_git_prod_deploys":[false],"processing_settings":[{"html":{"pretty_urls":false}}],"published_deploy":[{"admin_url":"string","build_id":"string","deploy_ssl_url":"string","deploy_url":"string","id":"string","name":"string","screenshot_url":"string","site_id":"string","ssl_url":"string","state":"string","url":"string","user_id":"string"}],"screenshot_url":["string"],"session_id":["string"],"ssl":[false],"ssl_url":["string"],"state":["string"],"url":["string"],"user_id":["string"],"updated_at":["string"]}}}}},"get":{"tags":["Sites"],"parameters":[{"name":"account_slug","in":"path","description":"account_slug (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}},{"name":"name","in":"query","description":"name (query parameter from the official API reference)","required":false,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/listSitesForAccount","api_endpoint":"https://api.netlify.com/api/v1/{account_slug}/sites"},"summary":"List sites for account","description":"listSitesForAccount | **Note:** Environment variable keys and values have moved from `build_settings.env` and `repo.env` to a new endpoint. Please use [getEnvVars](#tag/environmentVariables/operation/getEnvVars) to retrieve site environment variables. | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}]}},"/api/v1/{account_slug}/members":{"get":{"tags":["Members"],"parameters":[{"name":"account_slug","in":"path","description":"account_slug (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/listMembersForAccount","api_endpoint":"https://api.netlify.com/api/v1/{account_slug}/members"},"summary":"List members for account","description":"listMembersForAccount |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}]},"post":{"tags":["Members"],"parameters":[{"name":"account_slug","in":"path","description":"account_slug (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/addMemberToAccount","api_endpoint":"https://api.netlify.com/api/v1/{account_slug}/members"},"summary":"Add member to account","description":"addMemberToAccount |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"email":{"type":"string","description":"body.email (string field from the documented request schema)"},"role":{"type":"string","description":"body.role (string field from the documented request schema)"}}},"example":{"email":["string"],"role":["Owner"]}}}}}},"/api/v1/{account_slug}/members/{member_id}":{"get":{"tags":["Members"],"parameters":[{"name":"account_slug","in":"path","description":"account_slug (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}},{"name":"member_id","in":"path","description":"member_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/getAccountMember","api_endpoint":"https://api.netlify.com/api/v1/{account_slug}/members/{member_id}"},"summary":"Get account member","description":"getAccountMember |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}]},"put":{"tags":["Members"],"parameters":[{"name":"account_slug","in":"path","description":"account_slug (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}},{"name":"member_id","in":"path","description":"member_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/updateAccountMember","api_endpoint":"https://api.netlify.com/api/v1/{account_slug}/members/{member_id}"},"summary":"Update account member","description":"updateAccountMember |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"role":{"type":"string","description":"body.role (string field from the documented request schema)"},"site_access":{"type":"string","description":"body.site_access (string field from the documented request schema)"},"site_ids":{"type":"array","description":"body.site_ids (array field from the documented request schema)","items":{"type":"string"}}}},"example":{"role":["Owner"],"site_access":["all"],"site_ids":[["string"]]}}}}},"delete":{"tags":["Members"],"parameters":[{"name":"account_slug","in":"path","description":"account_slug (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}},{"name":"member_id","in":"path","description":"member_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/removeAccountMember","api_endpoint":"https://api.netlify.com/api/v1/{account_slug}/members/{member_id}"},"summary":"Remove account member","description":"removeAccountMember |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}}},"/api/v1/billing/payment_methods":{"get":{"tags":["Billing"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/listPaymentMethodsForUser","api_endpoint":"https://api.netlify.com/api/v1/billing/payment_methods"},"summary":"List payment methods","description":"listPaymentMethodsForUser |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}]}},"/api/v1/accounts/types":{"get":{"tags":["Accounts"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/listAccountTypesForUser","api_endpoint":"https://api.netlify.com/api/v1/accounts/types"},"summary":"List account types","description":"listAccountTypesForUser |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}]}},"/api/v1/accounts":{"get":{"tags":["Accounts"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/listAccountsForUser","api_endpoint":"https://api.netlify.com/api/v1/accounts"},"summary":"List accounts","description":"listAccountsForUser |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}]},"post":{"tags":["Accounts"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/createAccount","api_endpoint":"https://api.netlify.com/api/v1/accounts"},"summary":"Create account","description":"createAccount |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"extra_seats_block":{"type":"number","description":"body.extra_seats_block (number field from the documented request schema)"},"name":{"type":"string","description":"body.name (string field from the documented request schema)","required":true},"payment_method_id":{"type":"string","description":"body.payment_method_id (string field from the documented request schema)"},"period":{"type":"string","description":"body.period (string field from the documented request schema)"},"type_id":{"type":"string","description":"body.type_id (string field from the documented request schema)","required":true}}},"example":{"extra_seats_block":[0],"name":["string"],"payment_method_id":["string"],"period":["monthly"],"type_id":["string"]}}}}}},"/api/v1/accounts/{account_id}":{"get":{"tags":["Accounts"],"parameters":[{"name":"account_id","in":"path","description":"account_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/getAccount","api_endpoint":"https://api.netlify.com/api/v1/accounts/{account_id}"},"summary":"Get account","description":"getAccount |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}]},"put":{"tags":["Accounts"],"parameters":[{"name":"account_id","in":"path","description":"account_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/updateAccount","api_endpoint":"https://api.netlify.com/api/v1/accounts/{account_id}"},"summary":"Update account","description":"updateAccount |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"billing_details":{"type":"string","description":"body.billing_details (string field from the documented request schema)"},"billing_email":{"type":"string","description":"body.billing_email (string field from the documented request schema)"},"billing_name":{"type":"string","description":"body.billing_name (string field from the documented request schema)"},"extra_seats_block":{"type":"number","description":"body.extra_seats_block (number field from the documented request schema)"},"name":{"type":"string","description":"body.name (string field from the documented request schema)"},"slug":{"type":"string","description":"body.slug (string field from the documented request schema)"},"type_id":{"type":"string","description":"body.type_id (string field from the documented request schema)"}}},"example":{"billing_details":["string"],"billing_email":["string"],"billing_name":["string"],"extra_seats_block":[0],"name":["string"],"slug":["string"],"type_id":["string"]}}}}},"delete":{"tags":["Accounts"],"parameters":[{"name":"account_id","in":"path","description":"account_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/cancelAccount","api_endpoint":"https://api.netlify.com/api/v1/accounts/{account_id}"},"summary":"Cancel account","description":"cancelAccount |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}}},"/api/v1/accounts/{account_id}/audit":{"get":{"tags":["Audit"],"parameters":[{"name":"account_id","in":"path","description":"account_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}},{"name":"log_type","in":"query","description":"log_type (query parameter from the official API reference)","required":false,"schema":{"type":"string","example":""}},{"name":"query","in":"query","description":"query (query parameter from the official API reference)","required":false,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/listAccountAuditEvents","api_endpoint":"https://api.netlify.com/api/v1/accounts/{account_id}/audit"},"summary":"List account audit events","description":"listAccountAuditEvents |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}]}},"/api/v1/agent_runners":{"get":{"tags":["Agent Runners"],"parameters":[{"name":"account_id","in":"query","description":"account_id (query parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}},{"name":"branch","in":"query","description":"branch (query parameter from the official API reference)","required":false,"schema":{"type":"string","example":""}},{"name":"from","in":"query","description":"from (query parameter from the official API reference)","required":false,"schema":{"type":"number","example":""}},{"name":"result_branch","in":"query","description":"result_branch (query parameter from the official API reference)","required":false,"schema":{"type":"string","example":""}},{"name":"site_id","in":"query","description":"site_id (query parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}},{"name":"state","in":"query","description":"state (query parameter from the official API reference)","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["live","error"]}}},{"name":"title","in":"query","description":"title (query parameter from the official API reference)","required":false,"schema":{"type":"string","example":""}},{"name":"to","in":"query","description":"to (query parameter from the official API reference)","required":false,"schema":{"type":"number","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/listAgentRunners","api_endpoint":"https://api.netlify.com/api/v1/agent_runners"},"summary":"List agent runners","description":"listAgentRunners |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}]},"post":{"tags":["Agent Runners"],"parameters":[{"name":"agent","in":"query","description":"agent (query parameter from the official API reference)","required":false,"schema":{"type":"string","example":""}},{"name":"branch","in":"query","description":"branch (query parameter from the official API reference)","required":false,"schema":{"type":"string","example":""}},{"name":"deploy_id","in":"query","description":"deploy_id (query parameter from the official API reference)","required":false,"schema":{"type":"string","example":""}},{"name":"dev_server_image","in":"query","description":"dev_server_image (query parameter from the official API reference)","required":false,"schema":{"type":"string","example":""}},{"name":"file_keys","in":"query","description":"file_keys (query parameter from the official API reference)","required":false,"schema":{"type":"array","example":""}},{"name":"model","in":"query","description":"model (query parameter from the official API reference)","required":false,"schema":{"type":"string","example":""}},{"name":"parent_agent_runner_id","in":"query","description":"parent_agent_runner_id (query parameter from the official API reference)","required":false,"schema":{"type":"string","example":""}},{"name":"prompt","in":"query","description":"prompt (query parameter from the official API reference)","required":false,"schema":{"type":"string","example":""}},{"name":"site_id","in":"query","description":"site_id (query parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/createAgentRunner","api_endpoint":"https://api.netlify.com/api/v1/agent_runners"},"summary":"Create agent runner","description":"createAgentRunner |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}}},"/api/v1/agent_runners/{agent_runner_id}":{"get":{"tags":["Agent Runners"],"parameters":[{"name":"agent_runner_id","in":"path","description":"agent_runner_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/getAgentRunner","api_endpoint":"https://api.netlify.com/api/v1/agent_runners/{agent_runner_id}"},"summary":"Get agent runner","description":"getAgentRunner |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}]},"patch":{"tags":["Agent Runners"],"parameters":[{"name":"agent_runner_id","in":"path","description":"agent_runner_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/updateAgentRunner","api_endpoint":"https://api.netlify.com/api/v1/agent_runners/{agent_runner_id}"},"summary":"Update agent runner","description":"updateAgentRunner |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}},"delete":{"tags":["Agent Runners"],"parameters":[{"name":"agent_runner_id","in":"path","description":"agent_runner_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/deleteAgentRunner","api_endpoint":"https://api.netlify.com/api/v1/agent_runners/{agent_runner_id}"},"summary":"Delete agent runner","description":"deleteAgentRunner |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}}},"/api/v1/agent_runners/{agent_runner_id}/archive":{"post":{"tags":["Agent Runners"],"parameters":[{"name":"agent_runner_id","in":"path","description":"agent_runner_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/archiveAgentRunner","api_endpoint":"https://api.netlify.com/api/v1/agent_runners/{agent_runner_id}/archive"},"summary":"Archive agent runner","description":"archiveAgentRunner |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}}},"/api/v1/agent_runners/{agent_runner_id}/sessions":{"get":{"tags":["Agent Runners"],"parameters":[{"name":"agent_runner_id","in":"path","description":"agent_runner_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}},{"name":"from","in":"query","description":"from (query parameter from the official API reference)","required":false,"schema":{"type":"number","example":""}},{"name":"order_by","in":"query","description":"order_by (query parameter from the official API reference)","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["asc","desc"]}}},{"name":"state","in":"query","description":"state (query parameter from the official API reference)","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["live","error"]}}},{"name":"to","in":"query","description":"to (query parameter from the official API reference)","required":false,"schema":{"type":"number","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/listAgentRunnerSessions","api_endpoint":"https://api.netlify.com/api/v1/agent_runners/{agent_runner_id}/sessions"},"summary":"List agent runner sessions","description":"listAgentRunnerSessions |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}]},"post":{"tags":["Agent Runners"],"parameters":[{"name":"agent_runner_id","in":"path","description":"agent_runner_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}},{"name":"agent","in":"query","description":"agent (query parameter from the official API reference)","required":false,"schema":{"type":"string","example":""}},{"name":"file_keys","in":"query","description":"file_keys (query parameter from the official API reference)","required":false,"schema":{"type":"array","example":""}},{"name":"model","in":"query","description":"model (query parameter from the official API reference)","required":false,"schema":{"type":"string","example":""}},{"name":"prompt","in":"query","description":"prompt (query parameter from the official API reference)","required":false,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/createAgentRunnerSession","api_endpoint":"https://api.netlify.com/api/v1/agent_runners/{agent_runner_id}/sessions"},"summary":"Create agent runner session","description":"createAgentRunnerSession |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}}},"/api/v1/agent_runners/{agent_runner_id}/sessions/{agent_runner_session_id}":{"get":{"tags":["Agent Runners"],"parameters":[{"name":"agent_runner_id","in":"path","description":"agent_runner_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}},{"name":"agent_runner_session_id","in":"path","description":"agent_runner_session_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/getAgentRunnerSession","api_endpoint":"https://api.netlify.com/api/v1/agent_runners/{agent_runner_id}/sessions/{agent_runner_session_id}"},"summary":"Get agent runner session","description":"getAgentRunnerSession |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}]},"patch":{"tags":["Agent Runners"],"parameters":[{"name":"agent_runner_id","in":"path","description":"agent_runner_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}},{"name":"agent_runner_session_id","in":"path","description":"agent_runner_session_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}},{"name":"is_published","in":"query","description":"is_published (query parameter from the official API reference)","required":false,"schema":{"type":"boolean","example":"","items":{"type":"string","enum":[true,false]}}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/updateAgentRunnerSession","api_endpoint":"https://api.netlify.com/api/v1/agent_runners/{agent_runner_id}/sessions/{agent_runner_session_id}"},"summary":"Update agent runner session","description":"updateAgentRunnerSession |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}},"delete":{"tags":["Agent Runners"],"parameters":[{"name":"agent_runner_id","in":"path","description":"agent_runner_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}},{"name":"agent_runner_session_id","in":"path","description":"agent_runner_session_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/deleteAgentRunnerSession","api_endpoint":"https://api.netlify.com/api/v1/agent_runners/{agent_runner_id}/sessions/{agent_runner_session_id}"},"summary":"Delete agent runner session","description":"deleteAgentRunnerSession |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}}},"/api/v1/submissions/{submission_id}":{"get":{"tags":["Submissions"],"parameters":[{"name":"submission_id","in":"path","description":"submission_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}},{"name":"query","in":"query","description":"query (query parameter from the official API reference)","required":false,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/listFormSubmission","api_endpoint":"https://api.netlify.com/api/v1/submissions/{submission_id}"},"summary":"Get a form submission","description":"listFormSubmission |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}]},"delete":{"tags":["Submissions"],"parameters":[{"name":"submission_id","in":"path","description":"submission_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/deleteSubmission","api_endpoint":"https://api.netlify.com/api/v1/submissions/{submission_id}"},"summary":"Delete submission","description":"deleteSubmission |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}}},"/api/v1/sites/{site_id}/service-instances":{"get":{"tags":["Service Instances"],"parameters":[{"name":"site_id","in":"path","description":"site_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/listServiceInstancesForSite","api_endpoint":"https://api.netlify.com/api/v1/sites/{site_id}/service-instances"},"summary":"List service instances for site","description":"listServiceInstancesForSite |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}]}},"/api/v1/sites/{site_id}/services/{addon}/instances":{"post":{"tags":["Service Instances"],"parameters":[{"name":"addon","in":"path","description":"addon (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}},{"name":"site_id","in":"path","description":"site_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/createServiceInstance","api_endpoint":"https://api.netlify.com/api/v1/sites/{site_id}/services/{addon}/instances"},"summary":"Create service instance","description":"createServiceInstance |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"body (request body parameter from the official API reference)","properties":{}}}},"example":{"body":[{}]}}}}}},"/api/v1/sites/{site_id}/services/{addon}/instances/{instance_id}":{"get":{"tags":["Service Instances"],"parameters":[{"name":"addon","in":"path","description":"addon (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}},{"name":"instance_id","in":"path","description":"instance_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}},{"name":"site_id","in":"path","description":"site_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/showServiceInstance","api_endpoint":"https://api.netlify.com/api/v1/sites/{site_id}/services/{addon}/instances/{instance_id}"},"summary":"Show service instance","description":"showServiceInstance |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}]},"put":{"tags":["Service Instances"],"parameters":[{"name":"addon","in":"path","description":"addon (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}},{"name":"instance_id","in":"path","description":"instance_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}},{"name":"site_id","in":"path","description":"site_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/updateServiceInstance","api_endpoint":"https://api.netlify.com/api/v1/sites/{site_id}/services/{addon}/instances/{instance_id}"},"summary":"Update service instance","description":"updateServiceInstance |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"body (request body parameter from the official API reference)","properties":{}}}},"example":{"body":[{}]}}}}},"delete":{"tags":["Service Instances"],"parameters":[{"name":"addon","in":"path","description":"addon (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}},{"name":"instance_id","in":"path","description":"instance_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}},{"name":"site_id","in":"path","description":"site_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/deleteServiceInstance","api_endpoint":"https://api.netlify.com/api/v1/sites/{site_id}/services/{addon}/instances/{instance_id}"},"summary":"Delete service instance","description":"deleteServiceInstance |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}}},"/api/v1/services/":{"get":{"tags":["Services"],"parameters":[{"name":"search","in":"query","description":"search (query parameter from the official API reference)","required":false,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/getServices","api_endpoint":"https://api.netlify.com/api/v1/services/"},"summary":"Get services","description":"getServices |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}]}},"/api/v1/services/{addonName}":{"get":{"tags":["Services"],"parameters":[{"name":"addonName","in":"path","description":"addonName (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/showService","api_endpoint":"https://api.netlify.com/api/v1/services/{addonName}"},"summary":"Show service","description":"showService |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}]}},"/api/v1/services/{addonName}/manifest":{"get":{"tags":["Services"],"parameters":[{"name":"addonName","in":"path","description":"addonName (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/showServiceManifest","api_endpoint":"https://api.netlify.com/api/v1/services/{addonName}/manifest"},"summary":"Show service manifest","description":"showServiceManifest |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}]}},"/api/v1/user":{"get":{"tags":["User"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/getCurrentUser","api_endpoint":"https://api.netlify.com/api/v1/user"},"summary":"Get current user","description":"getCurrentUser |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}]}},"/api/v1/sites/{site_id}/traffic_splits":{"post":{"tags":["Traffic Splits"],"parameters":[{"name":"site_id","in":"path","description":"site_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/createSplitTest","api_endpoint":"https://api.netlify.com/api/v1/sites/{site_id}/traffic_splits"},"summary":"Create split test","description":"createSplitTest |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"branch_tests":{"type":"object","description":"body.branch_tests (object field from the documented request schema)","properties":{}}}},"example":{"branch_tests":[{}]}}}}},"get":{"tags":["Traffic Splits"],"parameters":[{"name":"site_id","in":"path","description":"site_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/getSplitTests","api_endpoint":"https://api.netlify.com/api/v1/sites/{site_id}/traffic_splits"},"summary":"Get split tests","description":"getSplitTests |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}]}},"/api/v1/sites/{site_id}/traffic_splits/{split_test_id}":{"put":{"tags":["Traffic Splits"],"parameters":[{"name":"site_id","in":"path","description":"site_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}},{"name":"split_test_id","in":"path","description":"split_test_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/updateSplitTest","api_endpoint":"https://api.netlify.com/api/v1/sites/{site_id}/traffic_splits/{split_test_id}"},"summary":"Update split test","description":"updateSplitTest |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"branch_tests":{"type":"object","description":"body.branch_tests (object field from the documented request schema)","properties":{}}}},"example":{"branch_tests":[{}]}}}}},"get":{"tags":["Traffic Splits"],"parameters":[{"name":"site_id","in":"path","description":"site_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}},{"name":"split_test_id","in":"path","description":"split_test_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/getSplitTest","api_endpoint":"https://api.netlify.com/api/v1/sites/{site_id}/traffic_splits/{split_test_id}"},"summary":"Get split test","description":"getSplitTest |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}]}},"/api/v1/sites/{site_id}/traffic_splits/{split_test_id}/publish":{"post":{"tags":["Traffic Splits"],"parameters":[{"name":"site_id","in":"path","description":"site_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}},{"name":"split_test_id","in":"path","description":"split_test_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/enableSplitTest","api_endpoint":"https://api.netlify.com/api/v1/sites/{site_id}/traffic_splits/{split_test_id}/publish"},"summary":"Enable split test","description":"enableSplitTest |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}}},"/api/v1/sites/{site_id}/traffic_splits/{split_test_id}/unpublish":{"post":{"tags":["Traffic Splits"],"parameters":[{"name":"site_id","in":"path","description":"site_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}},{"name":"split_test_id","in":"path","description":"split_test_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/disableSplitTest","api_endpoint":"https://api.netlify.com/api/v1/sites/{site_id}/traffic_splits/{split_test_id}/unpublish"},"summary":"Disable split test","description":"disableSplitTest |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}}},"/api/v1/dns_zones":{"post":{"tags":["DNS"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/createDnsZone","api_endpoint":"https://api.netlify.com/api/v1/dns_zones"},"summary":"Create dns zone","description":"createDnsZone |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"account_slug":{"type":"string","description":"body.account_slug (string field from the documented request schema)"},"name":{"type":"string","description":"body.name (string field from the documented request schema)"},"site_id":{"type":"string","description":"body.site_id (string field from the documented request schema)"}}},"example":{"account_slug":["string"],"name":["string"],"site_id":["string"]}}}}},"get":{"tags":["DNS"],"parameters":[{"name":"account_slug","in":"query","description":"account_slug (query parameter from the official API reference)","required":false,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/getDnsZones","api_endpoint":"https://api.netlify.com/api/v1/dns_zones"},"summary":"Get dns zones","description":"getDnsZones |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}]}},"/api/v1/dns_zones/{zone_id}":{"get":{"tags":["DNS"],"parameters":[{"name":"zone_id","in":"path","description":"zone_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/getDnsZone","api_endpoint":"https://api.netlify.com/api/v1/dns_zones/{zone_id}"},"summary":"Get dns zone","description":"getDnsZone |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}]},"delete":{"tags":["DNS"],"parameters":[{"name":"zone_id","in":"path","description":"zone_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/deleteDnsZone","api_endpoint":"https://api.netlify.com/api/v1/dns_zones/{zone_id}"},"summary":"Delete dns zone","description":"deleteDnsZone |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}}},"/api/v1/dns_zones/{zone_id}/transfer":{"put":{"tags":["DNS"],"parameters":[{"name":"zone_id","in":"path","description":"zone_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}},{"name":"account_id","in":"query","description":"the account of the dns zone","required":true,"schema":{"type":"string","example":""}},{"name":"transfer_account_id","in":"query","description":"the account you want to transfer the dns zone to","required":true,"schema":{"type":"string","example":""}},{"name":"transfer_user_id","in":"query","description":"the user you want to transfer the dns zone to","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/transferDnsZone","api_endpoint":"https://api.netlify.com/api/v1/dns_zones/{zone_id}/transfer"},"summary":"Transfer dns zone","description":"transferDnsZone |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}}},"/api/v1/dns_zones/{zone_id}/dns_records":{"get":{"tags":["DNS"],"parameters":[{"name":"zone_id","in":"path","description":"zone_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/getDnsRecords","api_endpoint":"https://api.netlify.com/api/v1/dns_zones/{zone_id}/dns_records"},"summary":"Get dns records","description":"getDnsRecords |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}]},"post":{"tags":["DNS"],"parameters":[{"name":"zone_id","in":"path","description":"zone_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/createDnsRecord","api_endpoint":"https://api.netlify.com/api/v1/dns_zones/{zone_id}/dns_records"},"summary":"Create dns record","description":"createDnsRecord |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"type":{"type":"string","description":"body.type (string field from the documented request schema)"},"flag":{"type":"number","description":"body.flag (number field from the documented request schema)"},"hostname":{"type":"string","description":"body.hostname (string field from the documented request schema)"},"port":{"type":"number","description":"body.port (number field from the documented request schema)"},"priority":{"type":"number","description":"body.priority (number field from the documented request schema)"},"tag":{"type":"string","description":"body.tag (string field from the documented request schema)"},"ttl":{"type":"number","description":"body.ttl (number field from the documented request schema)"},"value":{"type":"string","description":"body.value (string field from the documented request schema)"},"weight":{"type":"number","description":"body.weight (number field from the documented request schema)"}}},"example":{"type":["string"],"flag":[0],"hostname":["string"],"port":[0],"priority":[0],"tag":["string"],"ttl":[0],"value":["string"],"weight":[0]}}}}}},"/api/v1/dns_zones/{zone_id}/dns_records/{dns_record_id}":{"get":{"tags":["DNS"],"parameters":[{"name":"dns_record_id","in":"path","description":"dns_record_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}},{"name":"zone_id","in":"path","description":"zone_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/getIndividualDnsRecord","api_endpoint":"https://api.netlify.com/api/v1/dns_zones/{zone_id}/dns_records/{dns_record_id}"},"summary":"Get a DNS record","description":"getIndividualDnsRecord |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}]},"delete":{"tags":["DNS"],"parameters":[{"name":"dns_record_id","in":"path","description":"dns_record_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}},{"name":"zone_id","in":"path","description":"zone_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/deleteDnsRecord","api_endpoint":"https://api.netlify.com/api/v1/dns_zones/{zone_id}/dns_records/{dns_record_id}"},"summary":"Delete dns record","description":"deleteDnsRecord |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}}},"/api/v1/sites/{site_id}/dev_servers":{"get":{"tags":["Dev Servers"],"parameters":[{"name":"site_id","in":"path","description":"site_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/listSiteDevServers","api_endpoint":"https://api.netlify.com/api/v1/sites/{site_id}/dev_servers"},"summary":"List site dev servers","description":"listSiteDevServers |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}]},"post":{"tags":["Dev Servers"],"parameters":[{"name":"site_id","in":"path","description":"site_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}},{"name":"branch","in":"query","description":"branch (query parameter from the official API reference)","required":false,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/createSiteDevServer","api_endpoint":"https://api.netlify.com/api/v1/sites/{site_id}/dev_servers"},"summary":"Create site dev server","description":"createSiteDevServer |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}},"delete":{"tags":["Dev Servers"],"parameters":[{"name":"site_id","in":"path","description":"site_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}},{"name":"branch","in":"query","description":"branch (query parameter from the official API reference)","required":false,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/deleteSiteDevServers","api_endpoint":"https://api.netlify.com/api/v1/sites/{site_id}/dev_servers"},"summary":"Delete site dev servers","description":"deleteSiteDevServers |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}}},"/api/v1/sites/{site_id}/dev_servers/{dev_server_id}":{"get":{"tags":["Dev Servers"],"parameters":[{"name":"dev_server_id","in":"path","description":"dev_server_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}},{"name":"site_id","in":"path","description":"site_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/getSiteDevServer","api_endpoint":"https://api.netlify.com/api/v1/sites/{site_id}/dev_servers/{dev_server_id}"},"summary":"Get site dev server","description":"getSiteDevServer |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}]}},"/api/v1/sites/{site_id}/dev_servers/{dev_server_id}/state":{"post":{"tags":["Dev Servers"],"parameters":[{"name":"dev_server_id","in":"path","description":"dev_server_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}},{"name":"site_id","in":"path","description":"site_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/updateDevServerState","api_endpoint":"https://api.netlify.com/api/v1/sites/{site_id}/dev_servers/{dev_server_id}/state"},"summary":"Update dev server state","description":"updateDevServerState |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"error":{"type":"string","description":"body.error (string field from the documented request schema)"},"state":{"type":"string","description":"body.state (string field from the documented request schema)","required":true},"task_id":{"type":"string","description":"body.task_id (string field from the documented request schema)"}}},"example":{"error":["string"],"state":["starting"],"task_id":["string"]}}}}}},"/api/v1/sites/{site_id}/dev_server_hooks":{"get":{"tags":["Dev Servers"],"parameters":[{"name":"site_id","in":"path","description":"site_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/listSiteDevServerHooks","api_endpoint":"https://api.netlify.com/api/v1/sites/{site_id}/dev_server_hooks"},"summary":"List site dev server hooks","description":"listSiteDevServerHooks |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}]},"post":{"tags":["Dev Servers"],"parameters":[{"name":"site_id","in":"path","description":"site_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/createSiteDevServerHook","api_endpoint":"https://api.netlify.com/api/v1/sites/{site_id}/dev_server_hooks"},"summary":"Create site dev server hook","description":"createSiteDevServerHook |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"type":{"type":"string","description":"body.type (string field from the documented request schema)"},"branch":{"type":"string","description":"body.branch (string field from the documented request schema)"},"title":{"type":"string","description":"body.title (string field from the documented request schema)"}}},"example":{"type":["new_dev_server"],"branch":["string"],"title":["string"]}}}}}},"/api/v1/sites/{site_id}/dev_server_hooks/{id}":{"get":{"tags":["Dev Servers"],"parameters":[{"name":"id","in":"path","description":"id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}},{"name":"site_id","in":"path","description":"site_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/getSiteDevServerHook","api_endpoint":"https://api.netlify.com/api/v1/sites/{site_id}/dev_server_hooks/{id}"},"summary":"Get site dev server hook","description":"getSiteDevServerHook |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}]},"put":{"tags":["Dev Servers"],"parameters":[{"name":"id","in":"path","description":"id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}},{"name":"site_id","in":"path","description":"site_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/updateSiteDevServerHook","api_endpoint":"https://api.netlify.com/api/v1/sites/{site_id}/dev_server_hooks/{id}"},"summary":"Update site dev server hook","description":"updateSiteDevServerHook |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"type":{"type":"string","description":"body.type (string field from the documented request schema)"},"branch":{"type":"string","description":"body.branch (string field from the documented request schema)"},"title":{"type":"string","description":"body.title (string field from the documented request schema)"}}},"example":{"type":["new_dev_server"],"branch":["string"],"title":["string"]}}}}},"delete":{"tags":["Dev Servers"],"parameters":[{"name":"id","in":"path","description":"id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}},{"name":"site_id","in":"path","description":"site_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/deleteSiteDevServerHook","api_endpoint":"https://api.netlify.com/api/v1/sites/{site_id}/dev_server_hooks/{id}"},"summary":"Delete site dev server hook","description":"deleteSiteDevServerHook |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}}},"/api/v1/ai-gateway/providers":{"get":{"tags":["AI Gateway"],"parameters":[],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/getAIGatewayProviders","api_endpoint":"https://api.netlify.com/api/v1/ai-gateway/providers"},"summary":"Get AI gateway providers","description":"getAIGatewayProviders |  | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}]}},"/api/v1/sites/{site_id}/ai-gateway/token":{"get":{"tags":["AI Gateway"],"parameters":[{"name":"site_id","in":"path","description":"The site ID","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/getAIGatewayToken","api_endpoint":"https://api.netlify.com/api/v1/sites/{site_id}/ai-gateway/token"},"summary":"Get AI gateway token","description":"getAIGatewayToken | Returns an AI Gateway token for a specific site | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}]}},"/api/v1/accounts/{account_id}/ai-gateway/token":{"get":{"tags":["AI Gateway"],"parameters":[{"name":"account_id","in":"path","description":"The account ID","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/getAccountAIGatewayToken","api_endpoint":"https://api.netlify.com/api/v1/accounts/{account_id}/ai-gateway/token"},"summary":"Get account AI gateway token","description":"getAccountAIGatewayToken | Returns an AI Gateway token scoped to an account | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}]}},"/api/v1/sites/{site_id}/database":{"post":{"tags":["Database"],"parameters":[{"name":"site_id","in":"path","description":"site_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/createSiteDatabase","api_endpoint":"https://api.netlify.com/api/v1/sites/{site_id}/database"},"summary":"Create site database","description":"createSiteDatabase | Creates a new database for the specified site. If a database already exists, returns the existing connection string. The database region defaults to the site's functions region if not specified. | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"region":{"type":"string","description":"The region where the database should be created. Defaults to the site's functions region if not specified."}}},"example":{"region":["string"]}}}}},"get":{"tags":["Database"],"parameters":[{"name":"site_id","in":"path","description":"site_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}},{"name":"role","in":"query","description":"The database role to use for the connection string. Defaults to netlifydb_owner if not specified.","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["netlifydb_owner","netlifydb_readonly"]}}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/getSiteDatabase","api_endpoint":"https://api.netlify.com/api/v1/sites/{site_id}/database"},"summary":"Get site database","description":"getSiteDatabase | Returns the database connection string for the specified site. | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}]},"delete":{"tags":["Database"],"parameters":[{"name":"site_id","in":"path","description":"site_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/deleteSiteDatabase","api_endpoint":"https://api.netlify.com/api/v1/sites/{site_id}/database"},"summary":"Delete site database","description":"deleteSiteDatabase | Deletes the database and all associated branches and snapshots for the specified site. | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}}},"/api/v1/sites/{site_id}/database/branch":{"post":{"tags":["Database"],"parameters":[{"name":"site_id","in":"path","description":"site_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/createSiteDatabaseBranch","api_endpoint":"https://api.netlify.com/api/v1/sites/{site_id}/database/branch"},"summary":"Create site database branch","description":"createSiteDatabaseBranch | Creates a new database branch. If a branch already exists for the specified branch ID, returns the existing connection string. | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"branch_id":{"type":"string","description":"The branch identifier","required":true},"metadata":{"type":"object","description":"Arbitrary metadata to associate with the branch","properties":{}},"parent_branch_id":{"type":"string","description":"The ID of the parent branch to create the new branch from. Defaults to the production branch if not specified."}}},"example":{"branch_id":["string"],"metadata":[{}],"parent_branch_id":["string"]}}}}}},"/api/v1/sites/{site_id}/database/branches":{"get":{"tags":["Database"],"parameters":[{"name":"site_id","in":"path","description":"site_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/listSiteDatabaseBranches","api_endpoint":"https://api.netlify.com/api/v1/sites/{site_id}/database/branches"},"summary":"List site database branches","description":"listSiteDatabaseBranches | Returns all branches for the site's database with compute status and metadata. | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}]}},"/api/v1/sites/{site_id}/database/branch/{branch_id}":{"get":{"tags":["Database"],"parameters":[{"name":"branch_id","in":"path","description":"ID of the deploy associated with the database branch (per docs: GET/DELETE accept the deploy ID)","required":true,"schema":{"type":"string","example":""}},{"name":"site_id","in":"path","description":"site_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}},{"name":"role","in":"query","description":"The database role to use for the connection string. Defaults to netlifydb_owner if not specified.","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["netlifydb_owner","netlifydb_readonly"]}}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/getSiteDatabaseBranch","api_endpoint":"https://api.netlify.com/api/v1/sites/{site_id}/database/branch/{branch_id}"},"summary":"Get site database branch","description":"getSiteDatabaseBranch | Returns the database branch connection string for a specific branch. | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}]},"delete":{"tags":["Database"],"parameters":[{"name":"branch_id","in":"path","description":"ID of the deploy associated with the database branch (per docs: GET/DELETE accept the deploy ID)","required":true,"schema":{"type":"string","example":""}},{"name":"site_id","in":"path","description":"site_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/deleteSiteDatabaseBranch","api_endpoint":"https://api.netlify.com/api/v1/sites/{site_id}/database/branch/{branch_id}"},"summary":"Delete site database branch","description":"deleteSiteDatabaseBranch | Deletes a database branch. | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}}},"/api/v1/sites/{site_id}/database/branch/{branch_id}/reset":{"post":{"tags":["Database"],"parameters":[{"name":"branch_id","in":"path","description":"The branch ID to reset","required":true,"schema":{"type":"string","example":""}},{"name":"site_id","in":"path","description":"site_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}},{"name":"force","in":"query","description":"If true, resets the branch even when it is already in sync with the source.","required":false,"schema":{"type":"boolean","example":"","items":{"type":"string","enum":[true,false]}}},{"name":"role","in":"query","description":"The database role to use for the returned connection string. Defaults to netlifydb_owner if not specified.","required":false,"schema":{"type":"string","example":"","items":{"type":"string","enum":["netlifydb_owner","netlifydb_readonly"]}}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/resetSiteDatabaseBranch","api_endpoint":"https://api.netlify.com/api/v1/sites/{site_id}/database/branch/{branch_id}/reset"},"summary":"Reset site database branch","description":"resetSiteDatabaseBranch | Resets a non-production database branch by re-forking it from a source branch (defaults to the production branch). If the target branch is already in sync with the source, returns the existing connection string without performing a reset, unless `force=true` is passed. The production branch cannot be reset. | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"source_branch_id":{"type":"string","description":"The ID of the branch to re-fork the target branch from. Defaults to \"production\" if not specified."}}},"example":{"source_branch_id":["string"]}}}}}},"/api/v1/sites/{site_id}/database/branch/{branch_id}/compute/settings":{"put":{"tags":["Database"],"parameters":[{"name":"branch_id","in":"path","description":"The branch ID","required":true,"schema":{"type":"string","example":""}},{"name":"site_id","in":"path","description":"site_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/setSiteDatabaseBranchComputeSettings","api_endpoint":"https://api.netlify.com/api/v1/sites/{site_id}/database/branch/{branch_id}/compute/settings"},"summary":"Set site database branch compute settings","description":"setSiteDatabaseBranchComputeSettings | Sets compute settings for a specific database branch, overriding project-level settings. Requires a Pro or higher plan. | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"max_cu":{"type":"number","description":"Maximum compute units (0.25 to 16.0). Must be greater than or equal to min_cu. max_cu - min_cu must not exceed 8.0."},"min_cu":{"type":"number","description":"Minimum compute units (0.25 to 16.0). Must be less than or equal to max_cu."},"sleep_timeout_seconds":{"type":"number","description":"Seconds of inactivity before the compute endpoint is suspended. Use -1 for always on, or a non-negative value."}}},"example":{"max_cu":[0],"min_cu":[0],"sleep_timeout_seconds":[0]}}}}}},"/api/v1/sites/{site_id}/database/compute/settings":{"put":{"tags":["Database"],"parameters":[{"name":"site_id","in":"path","description":"site_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/setSiteDatabaseComputeSettings","api_endpoint":"https://api.netlify.com/api/v1/sites/{site_id}/database/compute/settings"},"summary":"Set site database compute settings","description":"setSiteDatabaseComputeSettings | Sets project-level compute settings for the database. Applied to new branches. Can be overridden per-branch. Requires a Pro or higher plan. | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"max_cu":{"type":"number","description":"Maximum compute units (0.25 to 16.0). Must be greater than or equal to min_cu. max_cu - min_cu must not exceed 8.0."},"min_cu":{"type":"number","description":"Minimum compute units (0.25 to 16.0). Must be less than or equal to max_cu."},"sleep_timeout_seconds":{"type":"number","description":"Seconds of inactivity before the compute endpoint is suspended. Use -1 for always on, or a non-negative value."}}},"example":{"max_cu":[0],"min_cu":[0],"sleep_timeout_seconds":[0]}}}}},"get":{"tags":["Database"],"parameters":[{"name":"site_id","in":"path","description":"site_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/getSiteDatabaseComputeSettings","api_endpoint":"https://api.netlify.com/api/v1/sites/{site_id}/database/compute/settings"},"summary":"Get site database compute settings","description":"getSiteDatabaseComputeSettings | Returns the project-level compute settings for the database. Returns effective settings (custom or tier defaults). Requires a Pro or higher plan. | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}]},"delete":{"tags":["Database"],"parameters":[{"name":"site_id","in":"path","description":"site_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/clearSiteDatabaseComputeSettings","api_endpoint":"https://api.netlify.com/api/v1/sites/{site_id}/database/compute/settings"},"summary":"Clear site database compute settings","description":"clearSiteDatabaseComputeSettings | Resets project-level compute settings to tier defaults. Requires a Pro or higher plan. | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}}},"/api/v1/sites/{site_id}/database/migrations":{"get":{"tags":["Database"],"parameters":[{"name":"site_id","in":"path","description":"site_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}},{"name":"branch","in":"query","description":"The branch ID to list migrations for. Defaults to \"production\" if not specified.","required":false,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/listSiteDatabaseMigrations","api_endpoint":"https://api.netlify.com/api/v1/sites/{site_id}/database/migrations"},"summary":"List site database migrations","description":"listSiteDatabaseMigrations | Returns the list of migrations available for the specified branch, indicating which ones have been applied to the database. | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}]}},"/api/v1/sites/{site_id}/database/migrations/{name}":{"get":{"tags":["Database"],"parameters":[{"name":"name","in":"path","description":"The migration name","required":true,"schema":{"type":"string","example":""}},{"name":"site_id","in":"path","description":"site_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}},{"name":"branch","in":"query","description":"The branch ID to look up the migration on. Defaults to the currently published deploy's branch.","required":false,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/getSiteDatabaseMigration","api_endpoint":"https://api.netlify.com/api/v1/sites/{site_id}/database/migrations/{name}"},"summary":"Get site database migration","description":"getSiteDatabaseMigration | Returns the contents of a named migration for the specified branch. | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}]}},"/api/v1/sites/{site_id}/database/migrations/{deploy_id}":{"post":{"tags":["Database"],"parameters":[{"name":"deploy_id","in":"path","description":"The deploy ID to run migrations for","required":true,"schema":{"type":"string","example":""}},{"name":"site_id","in":"path","description":"site_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/runSiteDatabaseMigrations","api_endpoint":"https://api.netlify.com/api/v1/sites/{site_id}/database/migrations/{deploy_id}"},"summary":"Run site database migrations","description":"runSiteDatabaseMigrations | Runs database migrations for the specified deploy. Finds the deploy and determines the appropriate branch. | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"dry_run":{"type":"boolean","description":"If true, validates migrations without applying them.","enum":[true,false]}}},"example":{"dry_run":[false]}}}}}},"/api/v1/sites/{site_id}/database/snapshot":{"post":{"tags":["Database"],"parameters":[{"name":"site_id","in":"path","description":"site_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/createSiteDatabaseSnapshot","api_endpoint":"https://api.netlify.com/api/v1/sites/{site_id}/database/snapshot"},"summary":"Create site database snapshot","description":"createSiteDatabaseSnapshot | Creates a point-in-time snapshot of a database branch. Defaults to the production branch if no branch name is specified. | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"branch_id":{"type":"string","description":"The ID of the branch to snapshot. Defaults to \"production\" if not specified."},"metadata":{"type":"object","description":"Metadata associated with a snapshot","properties":{"deploy":{"type":"object","description":"Deploy information associated with the snapshot"},"source":{"type":"string","description":"The source that created the snapshot"}}},"name":{"type":"string","description":"A name for the snapshot"}}},"example":{"branch_id":["string"],"metadata":[{"deploy":{},"source":"string"}],"name":["string"]}}}}}},"/api/v1/sites/{site_id}/database/snapshots":{"get":{"tags":["Database"],"parameters":[{"name":"site_id","in":"path","description":"site_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/listSiteDatabaseSnapshots","api_endpoint":"https://api.netlify.com/api/v1/sites/{site_id}/database/snapshots"},"summary":"List site database snapshots","description":"listSiteDatabaseSnapshots | Returns all snapshots for the site's database. | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}]}},"/api/v1/sites/{site_id}/database/snapshot/{snapshot_id}":{"delete":{"tags":["Database"],"parameters":[{"name":"site_id","in":"path","description":"site_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}},{"name":"snapshot_id","in":"path","description":"The snapshot ID","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/deleteSiteDatabaseSnapshot","api_endpoint":"https://api.netlify.com/api/v1/sites/{site_id}/database/snapshot/{snapshot_id}"},"summary":"Delete site database snapshot","description":"deleteSiteDatabaseSnapshot | Deletes a database snapshot. | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{}},"example":{}}}}}},"/api/v1/sites/{site_id}/database/snapshot/{snapshot_id}/restore":{"post":{"tags":["Database"],"parameters":[{"name":"site_id","in":"path","description":"site_id (path parameter from the official API reference)","required":true,"schema":{"type":"string","example":""}},{"name":"snapshot_id","in":"path","description":"The snapshot ID to restore","required":true,"schema":{"type":"string","example":""}}],"responses":{"401":{"description":"Bearer token required (Authorization header)","content":{"application/json":{}}}},"externalDocs":{"api_ref":"https://open-api.netlify.com/#operation/restoreSiteDatabaseSnapshot","api_endpoint":"https://api.netlify.com/api/v1/sites/{site_id}/database/snapshot/{snapshot_id}/restore"},"summary":"Restore site database snapshot","description":"restoreSiteDatabaseSnapshot | Restores a snapshot to a database branch. Defaults to the production branch if no branch_name is specified. | Source: official OpenAPI spec at https://open-api.netlify.com/openapi.json","security":[{"bearerAuth":[]}],"requestBody":{"description":"","required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"branch_id":{"type":"string","description":"The ID of the branch to restore the snapshot to. Defaults to \"production\" if not specified."}}},"example":{"branch_id":["string"]}}}}}}},"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer"}}},"security":[{"bearerAuth":[]}]}