Knowledge API
Overview of the knowledge document API and its request pages.
Use the knowledge API to discover planning policy documents, guidelines, and related reference material across Ireland. This API is designed for integrations that need to search the knowledge base first and then inspect one document in more detail.
#What This API Covers
- National, regional, and local planning policy documents.
- Filterable document discovery by jurisdiction, document type, and policy domain.
- Direct follow-up requests for full document metadata and resource links.
#Resource Shape
The core resource is a knowledge document under /ext/v1/knowledge/docs.
- Use the list request to browse and filter the document catalog.
- Use the detail request when you already have a
doc_id. - Expect document metadata to be returned under fields like
metadata.document_title,metadata.document_type, andmetadata.current_status.
#Requests In This API
| Request | Method | Path | What it does |
|---|---|---|---|
| List Knowledge Docs | GET | /ext/v1/knowledge/docs | Search and filter the knowledge base with pagination. |
| Get Knowledge Document | GET | /ext/v1/knowledge/docs/:docId | Fetch one document with full metadata and resource links. |
#Typical Workflow
- Call List Knowledge Docs with filters such as
jurisdictionorpolicy_domain. - Read the returned
doc_idfrom the matching result. - Call Get Knowledge Document with that
doc_idto retrieve the complete record.
#Shared Response Patterns
| Field or pattern | Meaning |
|---|---|
doc_id | Stable document identifier you can reuse for follow-up requests. |
metadata.* | Structured policy document metadata. |
base_url | Official external source page for the document. |
pdf_url | Direct PDF link when available on detail responses. |
limit, offset, has_more | Pagination hints on list responses. |
#Example Sequence
curl "https://api.eireplan.ie/ext/v1/knowledge/docs?jurisdiction=National&limit=5" \
-H "Authorization: Bearer ek_your_api_key_here"Use one of the returned doc_id values to continue with:
curl "https://api.eireplan.ie/ext/v1/knowledge/docs/7af4c2d9-87ea-4887-8d8f-95e20b25a1a5" \
-H "Authorization: Bearer ek_your_api_key_here"Continue to the request pages above for parameter-by-parameter detail and full response schemas.