# Immigration detention in the prison estate&#x20;

- [Introduction](https://avid-detention.gitbook.io/avid-handbook/immigration-detention-in-the-prison-estate/introduction.md)
- [Legal Framework](https://avid-detention.gitbook.io/avid-handbook/immigration-detention-in-the-prison-estate/legal-framework.md)
- [Why are people detained in the prison estate?](https://avid-detention.gitbook.io/avid-handbook/immigration-detention-in-the-prison-estate/why-are-people-detained-in-the-prison-estate.md)
- [History of the use of prisons to detain people held under immigration powers](https://avid-detention.gitbook.io/avid-handbook/immigration-detention-in-the-prison-estate/history-of-the-use-of-prisons-to-detain-people-held-under-immigration-powers.md)
- [Additional layers of disadvantage](https://avid-detention.gitbook.io/avid-handbook/immigration-detention-in-the-prison-estate/additional-layers-of-disadvantage.md)
- [Criticisms on the use of Prison for Immigration Detention and Further Reading](https://avid-detention.gitbook.io/avid-handbook/immigration-detention-in-the-prison-estate/criticisms-on-the-use-of-prison-for-immigration-detention-and-further-reading.md)
- [Organisations offering legal advice & practical help in prisons](https://avid-detention.gitbook.io/avid-handbook/immigration-detention-in-the-prison-estate/organisations-offering-legal-advice-and-practical-help-in-prisons.md)


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://avid-detention.gitbook.io/avid-handbook/immigration-detention-in-the-prison-estate.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
