---
title: "Get available resources"
method: GET
path: "/api/{org_id}/resources"
tags: ["Resources"]
---

# Get available resources

`GET /api/{org_id}/resources`

## Request

- Base URL: `https://api.openobserve.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.openobserve.ai/api/{org_id}/resources`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/openobserve/apis/openobserve-api-http/docs/api/:org_id/resources/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieves a list of all available resource types that can be used in role and permission assignments. Shows the resource hierarchy and available permission levels for fine-grained access control. Requires enterprise features to be enabled.

## Path parameters

- `org_id` string, required

## Response `200`

Success

- ResourceView[]
  - `display_name` string, required
  - `has_entities` boolean, required
  - `key` string, required
  - `order` integer, required
  - `parent` string, required
  - `top_level` boolean, required
  - `visible` boolean, required

## Other responses

- `500`: Failure

---

[API](https://skmtc.dev/openobserve/apis/openobserve-api-http.md) - [All operations](https://skmtc.dev/openobserve/apis/openobserve-api-http/llms.txt) - [OpenAPI document](https://skmtc.dev/openobserve/apis/openobserve-api-http/revisions/0529b8a10252?raw)
