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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"workspace_tag": "<workspace_tag>",
"items": "<items>",
"idempotency_key": "<idempotency_key>"
},
"name": "create_download_sessions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| workspace_tag | Yes | ||
| idempotency_key | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||