---
title: "List ownership rules"
method: GET
path: "/api/{org_id}/oncall/ownership"
tags: ["OnCall"]
---

# List ownership rules

`GET /api/{org_id}/oncall/ownership`

## 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}/oncall/ownership`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/openobserve/apis/openobserve-api-http/docs/api/:org_id/oncall/ownership/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `org_id` string, required

## Query parameters

- `team_id` string

## Response `200`

Success

- OwnershipRule[]
  - `created_at` integer, required
  - `dimensions` object, required: Every pair that must match for this rule to apply. An empty map is a catch-all and is rejected by [`Self::validate`] — an accidental one would silently capture every alert in the org. A value may end in `*` to claim the subtree below a literal prefix (`host=db-*`), which §7 asks for on deployments whose finest dimension is a numbered host rather than a namespace.
  - `id` string, required
  - `org_id` string, required
  - `team_id` string, required
  - `updated_at` integer, required

---

[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)
