Management Open API: list/get datasets and attach/detach credentials
The Management Open API now supports datasets and credential connections. You can list all datasets in your agency and retrieve a single dataset by ID, then attach or detach a credential from a dataset programmatically — no need to manage those connections by hand in the UI.
Endpoints authenticate with your existing API bearer token and Client-Id, and are automatically scoped to your agency. Attaching a credential is a single, atomic operation: you add or remove one credential at a time, and the API validates that the credential belongs to your agency and matches the dataset's provider. Removing a dataset's last credential now leaves it with zero credentials attached (rather than falling back to all provider credentials), so the connection state always reflects exactly what you set.