list_service_instances
List the organisation's managed services (the twin of ankra services list): each instance's name, package, cluster and its name, deployment state, readiness and health, its consumers with their application, cluster and environment names, its latest retirement, and state - its lifecycle in one word. Filter by application_id for the services one application uses, by cluster_id for those running on a cluster, or by state. A page shorter than limit with a next_cursor carries scan_capped true: the read stopped at its row bound, not at the last match, so follow next_cursor before saying nothing more matches. A retirement whose outcome is retired released the name; its data_disposal says whether the service's data may remain (data_kept, unconfirmed) and kept_data names the volumes, the cluster, when Ankra last looked and the Ankra CLI commands to inspect or erase them. Never report such a service as plainly deleted, and say kept_data is what Ankra saw then, not now. Read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | next_cursor from the previous page, to read the next one. | |
| limit | No | Page size, 1-50. Defaults to 25. | |
| state | No | Keep the instances in this state: deploying, deployed (finished; nothing observes its health), serving, degraded, failed, retiring, released, or unknown. | |
| cluster_id | No | Keep the instances that run on this cluster (UUID from list_clusters). | |
| application_id | No | Keep the instances that serve this application (UUID from list_applications): their reviewed plan names one of its environments as a consumer. |