Get one data service
get_data_serviceRetrieve a data service's full record, including endpoints, from Switzerland's national metadata catalogue by ID. Optionally specify language for titles and descriptions.
Instructions
Retrieve the full record for one registered API, including endpoints.
Args:
data_service_id: UUID from list_data_services.
language: Language for titles and descriptions.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"data_service_id": "<data_service_id>"
},
"name": "get_data_service"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| language | No | de | |
| data_service_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | No | Attribution string. | Data: I14Y Interoperability Platform, Swiss Federal Statistical Office (BFS) — https://www.i14y.admin.ch. Licence terms are declared per distribution; check the `licence` field before reuse. |
| provenance | No | Where this payload came from. | live_api |
| data_service | Yes | ||
| retrieved_at | Yes | UTC timestamp of retrieval. |