AgentPMT - The Agentic Economy

Zip / Unzip - File Compression < 100MB

Core Utility
$0.20/requestMin Purchase: 5Min Purchase Price: $1

Details

High-capacity file compression and decompression utility designed specifically for handling zip and gzip archives ranging from 10MB to 100MB in size. This function complements the standard archive compressor by accepting payloads that exceed typical size limits, supporting up to 500 files per zip archive with built-in path traversal protection for secure extraction. Users can compress multiple files into a single zip archive by providing an array of filenames with base64-encoded content, or compress individual large files using gzip format. Decompression accepts archives via cloud storage file ID or base64 encoding, automatically extracting all contents and uploading each file to cloud storage with secure signed URLs for retrieval. Unlike the standard version, this large-capacity tool always stores outputs to cloud storage rather than returning inline base64 data, ensuring efficient handling of substantial payloads without memory constraints. The function enforces strict size boundaries, rejecting inputs under 10MB (directing users to the standard tool) and over 100MB (recommending file splitting), while automatic budget-based access controls maintain proper file isolation. The Archive Compressor (Large) is essential for workflows involving sizeable datasets, media collections, or bulk file operations that exceed standard compression limits.

Use Cases

Bundling large datasets or machine learning model files into distributable zip archives, extracting bulk media uploads containing high-resolution images or video assets, compressing extensive log file collections for long-term storage and archival, unpacking large software distribution packages for automated deployment pipelines, creating consolidated backups of sizeable document libraries or project directories, decompressing substantial data exports from enterprise systems or databases, packaging large audio file collections or podcast episodes for delivery, extracting research datasets distributed as compressed archives for analysis workflows, bundling multiple high-fidelity design assets or CAD files for client handoff, compressing batch exports of user-generated content for platform migration or backup operations

Parameters

(required properties listed first)

action*required
Type:string
Description:Action to perform.
Allowed values:
get_instructionscompressdecompress
format
Type:string
Description:Archive format.
Allowed values:
zipgzip
files
Type:array
Description:Files to include in a zip archive (compress action).
Array items:object
input_base64
Type:string
Description:Base64-encoded archive input (decompress) or file input (gzip compress).
file_id
Type:string
Description:File ID for archive input (decompress).
filename
Type:string
Description:Filename for gzip input/output.

API Example

curl -X POST "https://api.agentpmt.com/products/purchase" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: your-api-key-here" \
  -H "X-Budget-Key: your-budget-key-here" \
  -d '{
    "product_id": "695c372f767df5adfd9bc870",
    "parameters": {
      "action": "get_instructions"
    }
  }'

Login to view your API and budget keys. The example above uses placeholder values. Sign in to see personalized code with your actual credentials.

About The Developer

Apoth3osis logo

Apoth3osis

13 stars

Joined Agent Payment: August 14, 2025

We build tools that enable AI agents to excel in the mathematical realm.

Our small team develops experimental and unique solutions in the AI arena, with a strong focus on modular computing for agentic applications and custom model deployment. We have handled projects for a variety of applications across many sectors, from algorithmic trading and financial analysis, to molecular simulations and predictions, to habitat and biodiversity monitoring and wildlife conservation.

Dependencies

1 dependencies will be automatically added when you enable this product.

Dependencies are not available to view right now.