v1

latestOpenAPI 3.0.02026-07-141,4077,1665.2 MB
CSM Ownership

List ownership inferences for a resource

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

get/api/v2/csm/ownership/{resource_id}

Path parameters

resource_idstring required
Example:test-resource

The identifier of the resource to retrieve ownership inferences for.

Response

OK

Example response

{
  "data": {
    "attributes": {
      "items": [
        {
          "checksum": "abc123",
          "confidence": "0.9500",
          "created_at": "2026-01-15T10:00:00Z",
          "evidence_versions": [
            {
              "pipeline_id": "p1",
              "version": "v3"
            }
          ],
          "explanation": "High confidence match",
          "id": "test-resource:team",
          "owner_type": "team",
          "primary_contact_ref": "ref:handle/team-a",
          "sources": [
            {
              "kind": "code_owners"
            }
          ],
          "status": "suggested",
          "updated_at": "2026-01-15T10:00:00Z"
        }
      ]
    },
    "id": "test-resource",
    "type": "ownership_inferences"
  }
}