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.
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. |