aps_create_attribution_receipt
Generate a citer-signed attribution receipt attributing a claim to a third-party principal. The receipt requires subsequent consent from the cited principal to become valid.
Instructions
Representation boundary: build a citer-signed AttributionReceipt attributing a claim to a third-party principal. The receipt is not yet valid — the cited principal must sign consent via aps_sign_attribution_consent before checkArtifactCitations accepts it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| citer | Yes | DID/public key of the citing agent | |
| citer_public_key | Yes | Hex public key of citer | |
| citer_private_key | Yes | Hex private key of citer | |
| cited_principal | Yes | DID/public key of the cited principal | |
| cited_principal_public_key | Yes | Hex public key of cited principal | |
| citation_content | Yes | The quoted or paraphrased claim | |
| binding_context | Yes | ID of the binding artifact this citation is scoped to | |
| gateway_id | No | Gateway id for timestamping (default: 'mcp') | |
| ttl_ms | No | Receipt TTL in ms (default: 24h) |