Download the exact package desired by a remote target

POST
/v1/skill/remote/package/download

Return canonical ZIP bytes only when target, generation, Artifact Revision, and package reference all match.

Authorization

TargetBearerAuth
AuthorizationBearer <token>

Per-target credential issued once during remote Receiver enrollment.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/skill/remote/package/download" \  -H "Content-Type: application/json" \  -d '{    "generation": 0,    "artifact": {      "family": "string",      "artifact_id": "string",      "revision": 1    },    "package": {      "tree_digest": "string",      "archive_digest": "string",      "file_count": 1,      "uncompressed_size": 1,      "archive_size": 1    }  }'
{  "package": {    "tree_digest": "string",    "archive_digest": "string",    "file_count": 1,    "uncompressed_size": 1,    "archive_size": 1  },  "archive_base64": "string"}