# Context Resource Types

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/4em6Rsx8IQoV5kEtbTKL" %}
[List Resource Types](/ai-in-umbraco/management-api/context-resource-types/list.md)
{% endcontent-ref %}

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


---

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