> For the complete documentation index, see [llms.txt](https://developers.laws.africa/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers.laws.africa/content-api.md).

# Content API

- [Content API](https://developers.laws.africa/content-api/content-api.md): Fetch full legislation content and metadata from Laws.Africa.
- [Quick start](https://developers.laws.africa/content-api/quick-start.md): Fetch legislation from the Laws.Africa Content API.
- [Works and expressions](https://developers.laws.africa/content-api/works-and-expressions.md): Understand these two important concepts.
- [Webhooks](https://developers.laws.africa/content-api/webhooks.md): Webhooks are push notifications when a work is created, updated or deleted.
- [How to use the Table of Contents API](https://developers.laws.africa/content-api/how-to-use-the-table-of-contents-api.md): Using the Laws.Africa Table of Contents API in your application.
- [How to download images](https://developers.laws.africa/content-api/how-to-download-images.md): Downloading embedded images from the Laws.Africa Content API.
- [API Reference](https://developers.laws.africa/content-api/reference.md): Content API reference.
- [Authentication](https://developers.laws.africa/content-api/reference/authentication.md)
- [Pagination](https://developers.laws.africa/content-api/reference/pagination.md)
- [Places](https://developers.laws.africa/content-api/reference/countries-and-localities.md): List the places - countries and localities (sub-country regions) - that are available from the Content API.
- [All work expressions](https://developers.laws.africa/content-api/reference/all-work-expressions.md): Fetch all work expressions.
- [Single work expression](https://developers.laws.africa/content-api/reference/works-and-expressions.md): Fetch a single work expression using an FRBR URI.
- [Commencements](https://developers.laws.africa/content-api/reference/works-and-expressions/commencements.md): Get the details of commencement events for an expression.
- [Embedded images](https://developers.laws.africa/content-api/reference/works-and-expressions/embedded-images.md): Fetch metadata and files for images embedded in the content of a work expression.
- [Publication document](https://developers.laws.africa/content-api/reference/works-and-expressions/publication-document.md): Fetch the details of the original publication document for a work.
- [Table of Contents](https://developers.laws.africa/content-api/reference/works-and-expressions/table-of-contents.md): Fetching the Table of Contents for an expression.
- [Timeline](https://developers.laws.africa/content-api/reference/works-and-expressions/timeline.md): Fetch the timeline description for a work expression.
- [Taxonomy topics](https://developers.laws.africa/content-api/reference/taxonomy-topics.md): Taxonomies are used to classify works.
- [Enrichment datasets](https://developers.laws.africa/content-api/reference/enrichment-datasets.md): Enrichment datasets add additional detail to provisions of a work.
- [Changelog](https://developers.laws.africa/content-api/reference/changelog.md): Changes to the Laws.Africa API.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://developers.laws.africa/content-api.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
