packages/pieces/community/jungle-grid/README.md
Jungle Grid runs and monitors AI workloads on managed GPU capacity. Use this piece to estimate a workload, submit it for async execution, poll status/runtime/logs, retrieve artifacts, and cancel non-terminal jobs from an Activepieces workflow.
https://api.junglegrid.dev unless Jungle Grid gives your workspace a different endpoint.Recommended API key scopes:
jobs:estimate for Estimate Job.jobs:submit or jobs:write for Submit Job and Cancel Job.jobs:read or jobs:write for List Jobs, Get Job Status, Get Job Runtime, logs, and artifacts.logs:read for Get Job Logs when not using jobs:read.Estimate before running:
batchpython:3.111python-c, print(42)balancedSubmit an inference workload:
inferencepytorch/pytorch:2.4.0-cuda12.1-cudnn9-runtime7chat-inferSubmit a batch workload:
batchpython:3.111python-c, print(42)costMonitor a job:
job_id from the response.job_id.completed, failed, rejected, or cancelled.Retrieve logs and artifacts:
job_id, Tail Lines, and Stream.job_id and artifact_id.Trigger Jungle Grid from an automation:
job_id in the downstream system or poll with Delay + Get Job Status.