Create download sessions
create_download_sessionsCreates single-use, expiring download programs for one or more authorized immutable artifacts. Each item names exactly one subject - a retained handle, an admitted source_document_id, or an admitted chart_id or declaration_id (the exact sealed Standard Chart or Standard Declaration bytes that admission opened) - and the result carries a signed GET program per item. Exact replay of the required idempotency_key returns the same sessions and programs; bytes are never returned inline.
Verify every download against the returned SHA-256. A failed or consumed GET needs a new session - mint again rather than retrying the signed URL; reminting never mutates the artifact. Not metered.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| workspace_tag | Yes | ||
| idempotency_key | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||