Query a Knowledge Base
Query a Knowledge Base for matching results.
Use the retrieve API to query a Knowledge Base for information matching keywords or phrases.
When you query a knowledge base, you must submit a POST request:
Identify the Knowledge Base to query using its code in the URL of the request.
Specify the text to search the Knowledge Base for using the
textparameter.Specify filters to restrict the documents that are searched.
The API will return matching items (portions of legislation, judgment summaries) that match your query, including a score, the text of the portion, and metadata.
Retrieve items from the knowledge base that match your query.
Unique code identifying this knowledge base
Details to retrieve items from a knowledge base.
The text to find matching items for
Number of results to return
10Last updated