import requests
base_url = "https://your-company.open-metadata.org/api"
headers = {"Authorization": "Bearer your-jwt-token"}
# List with pagination
response = requests.get(
f"{base_url}/v1/services/messagingServices",
params={"limit": 50, "fields": "owners,tags"},
headers=headers
)
page = response.json()
for svc in page["data"]:
print(f"{svc['name']} ({svc['serviceType']})")
# Filter by domain
response = requests.get(
f"{base_url}/v1/services/messagingServices",
params={"domain": "engineering", "limit": 50},
headers=headers
)
{
"data": [
{
"id": "469ef25e-9bdf-4d5f-8553-eb0ce8581f30",
"name": "sample_kafka",
"fullyQualifiedName": "sample_kafka",
"serviceType": "Kafka",
"connection": {
"config": {
"type": "Kafka",
"bootstrapServers": "localhost:9092",
"securityProtocol": "PLAINTEXT",
"saslMechanism": "PLAIN",
"schemaRegistryTopicSuffixName": "-value",
"supportsMetadataExtraction": true
}
},
"tags": [],
"version": 0.1,
"updatedAt": 1769982621031,
"updatedBy": "admin",
"href": "http://localhost:8585/api/v1/services/messagingServices/469ef25e-9bdf-4d5f-8553-eb0ce8581f30",
"deleted": false,
"owners": [],
"domains": []
}
],
"paging": {
"after": "eyJ...",
"total": 3
}
}
List all messaging services with optional filtering and pagination
import requests
base_url = "https://your-company.open-metadata.org/api"
headers = {"Authorization": "Bearer your-jwt-token"}
# List with pagination
response = requests.get(
f"{base_url}/v1/services/messagingServices",
params={"limit": 50, "fields": "owners,tags"},
headers=headers
)
page = response.json()
for svc in page["data"]:
print(f"{svc['name']} ({svc['serviceType']})")
# Filter by domain
response = requests.get(
f"{base_url}/v1/services/messagingServices",
params={"domain": "engineering", "limit": 50},
headers=headers
)
{
"data": [
{
"id": "469ef25e-9bdf-4d5f-8553-eb0ce8581f30",
"name": "sample_kafka",
"fullyQualifiedName": "sample_kafka",
"serviceType": "Kafka",
"connection": {
"config": {
"type": "Kafka",
"bootstrapServers": "localhost:9092",
"securityProtocol": "PLAINTEXT",
"saslMechanism": "PLAIN",
"schemaRegistryTopicSuffixName": "-value",
"supportsMetadataExtraction": true
}
},
"tags": [],
"version": 0.1,
"updatedAt": 1769982621031,
"updatedBy": "admin",
"href": "http://localhost:8585/api/v1/services/messagingServices/469ef25e-9bdf-4d5f-8553-eb0ce8581f30",
"deleted": false,
"owners": [],
"domains": []
}
],
"paging": {
"after": "eyJ...",
"total": 3
}
}
pipelines, owners, tags, domains, followers.all, deleted, or non-deleted entities.import requests
base_url = "https://your-company.open-metadata.org/api"
headers = {"Authorization": "Bearer your-jwt-token"}
# List with pagination
response = requests.get(
f"{base_url}/v1/services/messagingServices",
params={"limit": 50, "fields": "owners,tags"},
headers=headers
)
page = response.json()
for svc in page["data"]:
print(f"{svc['name']} ({svc['serviceType']})")
# Filter by domain
response = requests.get(
f"{base_url}/v1/services/messagingServices",
params={"domain": "engineering", "limit": 50},
headers=headers
)
{
"data": [
{
"id": "469ef25e-9bdf-4d5f-8553-eb0ce8581f30",
"name": "sample_kafka",
"fullyQualifiedName": "sample_kafka",
"serviceType": "Kafka",
"connection": {
"config": {
"type": "Kafka",
"bootstrapServers": "localhost:9092",
"securityProtocol": "PLAINTEXT",
"saslMechanism": "PLAIN",
"schemaRegistryTopicSuffixName": "-value",
"supportsMetadataExtraction": true
}
},
"tags": [],
"version": 0.1,
"updatedAt": 1769982621031,
"updatedBy": "admin",
"href": "http://localhost:8585/api/v1/services/messagingServices/469ef25e-9bdf-4d5f-8553-eb0ce8581f30",
"deleted": false,
"owners": [],
"domains": []
}
],
"paging": {
"after": "eyJ...",
"total": 3
}
}
fields parameter to request additional data.
Show properties
fields contains owners.fields contains tags.fields contains domains.fields contains pipelines.fields contains followers.Was this page helpful?