Download a generated package
Download the complete ZIP referenced by packages_generate's download.url. Pass the token from that URL. No API key is needed; the token grants access only to that exact package until its replay window expires. Keep the token private.
The local MCP server saves this binary response to disk. On a hosted MCP connection, download the original URL directly to your workspace. Verify the ZIP against download.sha256 before extracting it into an empty directory. Expired or invalid tokens return 404; a new generation creates a new download.
Query Parameters
Private download token from download.url in the generation result.
^[A-Za-z0-9_-]{43}$43 <= length <= 43Response Body
application/zip
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/generate/download?token=parcel_download_example_token_1234567890123""string"Generate a package POST
Returns one generated package without creating a Project. Supports [idempotent retries](https://typeship.dev/docs/typeship-api/idempotency); keyed responses include generated files in the replay cache. Use `download.url` to save the complete ZIP, verify `download.sha256`, and extract it into an empty directory. The link expires at `download.expires_at` and grants access to anyone who has it. CLI, MCP, and SDK calls supply an idempotency key automatically. Agents should request `fields=["download","coverage","warnings","claim"]` to keep the MCP result compact; files can exceed the response limit. Download the ZIP instead of repeating generation to retrieve omitted files. Anonymous and Free requests include the first 25 operations. Paid plans include all operations. Anonymous requests are rate limited by IP address. Check `coverage` for omitted operations; an invalid API key returns `401`. An anonymous URL request without source headers may return `claim.url`. Sign in through that link within seven days to save the recipe as a Project.
Get the Organization GET
Returns the organization associated with your credential. The Typeship CLI uses this endpoint for `whoami`.