Skip to content

Get Agent Approval Receipts

GET
/agent/approvals/{approval_id}/receipts

Signed provenance receipts attributed to one approval.

404 rather than 403 when the approval belongs to another tenant or to another user’s private work item: existence never leaks across that boundary. Degrades to an empty list on a schema predating the receipt columns rather than 500ing.

Authorizations

Parameters

Path Parameters

approval_id
required

Approval ID

string format: uuid

Approval ID

Header Parameters

X-Target-Org-Id
Any of:
string

Responses

200

Successful Response

object
data
required
object
approval_id
required
string
receipts

Empty rather than an error when the approval produced no receipts.

Array<object>

One signed provenance row attributed to an approval.

object
action
required
string
contributed_by_role_at_time
Any of:
string
contributed_by_user_id
Any of:
string
entity_id
required
string
entity_type
required
string
id
required
string
metadata_json
Any of:
object
key
additional properties
any
via_api_key_id
Any of:
string
via_campaign_id
Any of:
string
via_import_batch_id
Any of:
string
via_list_id
Any of:
string
via_sequence_id
Any of:
string
pagination
Any of:
object
has_next
required

Whether there are more pages

boolean
limit
required

Items per page

integer
next_cursor
Any of:
string
page
required

Current page number (1-indexed)

integer
total
required

Total number of items

integer

422

Validation Error

object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string