Pinter
ENID
resources
View as Markdown

Get Resource Ownership Transfer Audit History

GET/api/resources/{resource_type}/{resource_id}/ownership

Overview

Retrieves the immutable audit log of ownership transfers for any managed resource (Agent, Knowledge Document, Tool, Eval Set).

Authentication & Headers

  • Auth: Bearer Token (L1 / L2)
  • Required Header: API-Version: 1

Parameters

  • resource_type (path, string, required): Canonical resource type (agent, knowledge_document, tool, eval_set).
  • resource_id (path, string, required): Unique identifier of the target resource.

Parameters

Path

resource_typestringrequired
Canonical type of the managed resource (agent, document, tool, eval_set).
resource_idstringrequired
Unique identifier of the resource undergoing ownership transfer or audit query.

Responses

200 Ownership audit history trail

400 Bad Request - The request parameters or headers are invalid (e.g. unsupported API-Version).

401 Unauthorized - Missing, invalid, or expired JWT Bearer token.

403 Forbidden - Insufficient role permissions or resource access denied by RBAC policy.

404 Not Found - The requested resource ID was not found.

422 Validation Error

detailobject[]
detail[].locstring | integer[]required
detail[].msgstringrequired
detail[].typestringrequired
detail[].inputobject
detail[].ctxobject
{
  "detail": [
    {
      "loc": [
        null
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}

Example

curl -X GET "$PINTER_URL/api/resources/agent/agnt_risk_compliance_01/ownership" \
  -H "Authorization: Bearer $ACCESS_TOKEN"