from metadata.sdk import configureimport requestsconfigure( host="https://your-company.getcollate.io/api", jwt_token="your-jwt-token")# Get by IDresponse = requests.get( "https://your-company.getcollate.io/api/v1/services/dashboardServices/2c0c7c05-d820-4bea-a471-047deb7f92fd", headers={"Authorization": "Bearer your-jwt-token"})service = response.json()print(f"{service['fullyQualifiedName']}: {service['serviceType']}")# Get by fully qualified nameresponse = requests.get( "https://your-company.getcollate.io/api/v1/services/dashboardServices/name/sample_looker", headers={"Authorization": "Bearer your-jwt-token"})# Get by name with fieldsresponse = requests.get( "https://your-company.getcollate.io/api/v1/services/dashboardServices/name/sample_looker?fields=owners,tags,domains", headers={"Authorization": "Bearer your-jwt-token"})
Get a dashboard service by ID or fully qualified name
GET
https://sandbox.getcollate.io/api
/
v1
/
services
/
dashboardServices
/
{id}
GET /v1/services/dashboardServices/{id}
Copy
Ask AI
from metadata.sdk import configureimport requestsconfigure( host="https://your-company.getcollate.io/api", jwt_token="your-jwt-token")# Get by IDresponse = requests.get( "https://your-company.getcollate.io/api/v1/services/dashboardServices/2c0c7c05-d820-4bea-a471-047deb7f92fd", headers={"Authorization": "Bearer your-jwt-token"})service = response.json()print(f"{service['fullyQualifiedName']}: {service['serviceType']}")# Get by fully qualified nameresponse = requests.get( "https://your-company.getcollate.io/api/v1/services/dashboardServices/name/sample_looker", headers={"Authorization": "Bearer your-jwt-token"})# Get by name with fieldsresponse = requests.get( "https://your-company.getcollate.io/api/v1/services/dashboardServices/name/sample_looker?fields=owners,tags,domains", headers={"Authorization": "Bearer your-jwt-token"})
from metadata.sdk import configureimport requestsconfigure( host="https://your-company.getcollate.io/api", jwt_token="your-jwt-token")# Get by IDresponse = requests.get( "https://your-company.getcollate.io/api/v1/services/dashboardServices/2c0c7c05-d820-4bea-a471-047deb7f92fd", headers={"Authorization": "Bearer your-jwt-token"})service = response.json()print(f"{service['fullyQualifiedName']}: {service['serviceType']}")# Get by fully qualified nameresponse = requests.get( "https://your-company.getcollate.io/api/v1/services/dashboardServices/name/sample_looker", headers={"Authorization": "Bearer your-jwt-token"})# Get by name with fieldsresponse = requests.get( "https://your-company.getcollate.io/api/v1/services/dashboardServices/name/sample_looker?fields=owners,tags,domains", headers={"Authorization": "Bearer your-jwt-token"})