> For the complete documentation index, see [llms.txt](https://docs.umbraco.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.umbraco.com/ai-in-umbraco/management-api/context-resource-types.md).

# Context Resource Types

Query context resource types via the Management API.

Context resource types define the kinds of resources that can be added to AI contexts. Each resource type describes what data it provides and how it is configured.

You can use these endpoints to discover available resource types when building custom context management interfaces.

## Available Endpoints

| Method | Endpoint                                                    | Description                                  |
| ------ | ----------------------------------------------------------- | -------------------------------------------- |
| GET    | `/umbraco/ai/management/api/v1/context-resource-types`      | List all resource types                      |
| GET    | `/umbraco/ai/management/api/v1/context-resource-types/{id}` | Get a resource type with its settings schema |

## Resource Type Model

{% code title="Resource Type Response" %}

```json
{
    "id": "content",
    "name": "Content",
    "description": "Adds content items as context resources.",
    "icon": "icon-document"
}
```

{% endcode %}

### Properties

| Property      | Type   | Description                           |
| ------------- | ------ | ------------------------------------- |
| `id`          | string | Unique identifier for the type        |
| `name`        | string | Display name                          |
| `description` | string | Description of the resource type      |
| `icon`        | string | Icon identifier for the backoffice UI |

{% hint style="info" %}
Use the [Get Resource Type](/ai-in-umbraco/management-api/context-resource-types/get.md) endpoint to retrieve the full settings schema for a specific resource type.
{% endhint %}

## In This Section

{% content-ref url="/pages/FVB8xPWsmiB0gX61UKKy" %}
[List Resource Types](/ai-in-umbraco/management-api/context-resource-types/list.md)
{% endcontent-ref %}

{% content-ref url="/pages/pGA1m3oEocDIuzC9RUBm" %}
[Get Resource Type](/ai-in-umbraco/management-api/context-resource-types/get.md)
{% endcontent-ref %}


---

# 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://docs.umbraco.com/ai-in-umbraco/management-api/context-resource-types.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.
