---
title: "List ownership inferences for a resource"
method: GET
path: "/api/v2/csm/ownership/{resource_id}"
tags: ["CSM Ownership"]
---

# List ownership inferences for a resource

`GET /api/v2/csm/ownership/{resource_id}`

Get all current ownership inferences for a resource, one per owner type (`user`, `team`, `service`, `unknown`).

## Path parameters

- `resource_id` string, required

## Response `200`

OK

- OwnershipInferenceListResponse — The response returned when listing all current ownership inferences for a resource.
  - `data` OwnershipInferenceListData, required — The data wrapper for the ownership inferences collection response.
    - `attributes` OwnershipInferenceListAttributes, required — The attributes of the ownership inferences collection response.
      - `items` OwnershipInferenceItem[], required — The list of inferences for a resource, with one inference per owner type.
        - `checksum` string, required — A checksum that uniquely identifies the current state of the inference. Required when submitting feedback.
        - `confidence` string, required — The confidence score of the inference, expressed as a numeric string with up to four decimal places.
        - `created_at` string, date-time, required — The time when the inference was created.
        - `evidence_versions` OwnershipEvidenceVersion[], nullable, required — The list of evidence versions associated with an inference.
        - `explanation` string, required — A human-readable explanation of how the inference was produced.
        - `id` string, required — The identifier of the inference, formatted as `resource_id:owner_type`.
        - `owner_type` 'user' | 'team' | 'service' | 'unknown', required — The owner type for an ownership inference.
        - `primary_contact_ref` string, nullable — The primary contact reference for the inferred owner, formatted as `ref:handle/<owner_handle>`.
        - `sources` OwnershipInferenceSource[], required — The list of sources backing an ownership inference. Empty when the inference status is not whitelisted to expose sources.
        - `status` 'suggested' | 'persisted' | 'overridden' | 'failed' | 'unknown', required — The lifecycle status of an ownership inference.
        - `updated_at` string, date-time, required — The time when the inference was last updated.
    - `id` string, required — The resource identifier associated with the returned inferences.
    - `type` 'ownership_inferences', required — The type of the ownership inferences collection resource. The value should always be `ownership_inferences`.

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `404` — Not Found
- `429` — Too many requests

---

[API](https://skmtc.net/datadog/apis/api-v2.md) · [All operations](https://skmtc.net/datadog/apis/api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/datadog/api-v2/versions/da68bf029e4c/schema)
