artifacts

Read adopted file owner policy [read]

Changed on

Owner-only current canonical policy under read scope plus the real credential ceiling; ordinary readers cannot inspect policy. Omit alias_id for full owner inspection. With alias_id, only the exact managed alias is returned: no other placement, grants or raw tokens. Exact workspace incarnation, alias grants and common public pin are retained. Receipts can recover raw tokens only when still matching current policy hashes; initial imported source tokens stay source-owned. Private content read grants discussion read; only current edit grants discussion writes. Public links reveal no discussion.

get/artifacts/{id}/policy

Request

  • Base URL
    https://api.agentsky.dev/v1
  • URL
    https://api.agentsky.dev/v1/artifacts/{id}/policy
  • Auth
    HTTP bearer

Path parameters

idstring required

Query parameters

alias_idstring

Response

Exact lifecycle receipt; private, no-store

idstring required
request_idstring uuid nullable required
policy_versioninteger required
namestring required
versioninteger required
tokensobject required

Only exact newly issued/revoked public and alias token receipts; private to the owner

archived_atstring date-time nullable required

Changes