Get DAR GraphQL schema (API key)
dar_get_graphql_schemaFetch the DAR/v2 GraphQL schema to list types, fields, and filter inputs; optionally filter by type name or include Danish documentation. Requires DATAFORDELER_API_KEY.
Instructions
Fetch the GraphQL schema (SDL) for DAR/v2. REQUIRES DATAFORDELER_API_KEY.
The full schema is about 80,000 characters, mostly Danish field documentation. By default the doc comments are stripped, which leaves a compact list of types, fields and filter inputs. Pass filter to keep only type/input/enum blocks whose name contains the text (case-insensitive), e.g. filter: "DAR_Husnummer" (type, filter input, connection) or filter: "OperationFilterInput" (available operators). Set include_docs: true to keep the field definitions and legal references. Output is truncated at 60000 characters.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filter | No | Substring of a type name to keep, e.g. "DAR_Adresse". | |
| include_docs | No | Keep the """doc comment""" blocks (Danish definitions, legal sources). |