infomaniak_find_site
Locate a domain in the Infomaniak account tree to retrieve account, hosting, and site IDs. Use before tools requiring hosting_id and site_id when only the domain is known.
Instructions
Locate a domain (e.g. broz.be) in the Infomaniak account tree. Returns {account_id, hosting_id, site_id, hosting_label, full site object}. Use this BEFORE any tool that requires hosting_id + site_id (get_certificate, request_certificate, list_databases, etc.) when you only know the domain name. Significantly cheaper than calling list_hostings + list_sites manually because it short-circuits on the first match.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Public domain to locate. Accepts root domains (broz.be) or sub-domains (crm.coden.lu). Punycode (xn--...) is fine. | |
| account_id | No | Optional account_id to restrict the lookup. Omit to scan every account the token has access to. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| found | Yes | ||
| domain | Yes | ||
| account_id | No | ||
| hosting_id | No | ||
| hosting_label | No | ||
| site_id | No | ||
| site | No | ||
| scanned_hostings | Yes | ||
| hint | No |