canonical: https://jentic.com/apis/shadeform.ai/shadeform

# Shadeform API

The Shadeform API finds and runs GPU instances across multiple cloud providers from one account. You can search instance types by cloud, region, gpu_type, num_gpus, and availability, launch an instance, and then restart, update, or delete it by its instance_id. The API also manages the SSH keys attached to instances, saved launch templates, and storage volumes, and it can update an instance's model configuration. Shadeform notes that this spec describes a subset of its v1 surface, so a route missing here is not necessarily missing from the API.

## For AI agents

Search GPU instance types across clouds by gpu_type, region, and availability, launch and manage Shadeform instances, and handle SSH keys, templates, and volumes.

## Scope

Does not provide object storage, Kubernetes orchestration, or billing and invoices. Use for finding and managing GPU instances, SSH keys, templates, and volumes on Shadeform only.

## Capabilities

- Search GPU instance types by cloud, region, gpu_type, num_gpus, and available, sorted with the sort parameter
- Launch a GPU instance with POST `/v1/instances/create` and read its details by instance_id
- Restart or delete an instance, and filter the instance list by status or search text
- Add SSH keys, set one as the default, and remove keys that are no longer used
- Save, update, and reuse launch templates, including the featured templates Shadeform publishes
- Create storage volumes with a cloud, region, name, and size_in_gb, and list the available volume types

## Use cases

### GPU capacity search by an agent through Jentic

An AI agent connected through Jentic can find GPU capacity before a job starts. It queries the instance types endpoint with gpu_type, num_gpus, and available set to true, compares the clouds and regions returned, and reports the best match. The instance types endpoint is declared without a security requirement, while launching and managing instances use your API key, which Jentic stores and injects.

Example prompt: Call GET `/v1/instances/types` with gpu_type 'H100', num_gpus 8, and available 'true', then return the cloud, region, and shade_instance_type of the first result

### Instance lifecycle for training jobs

A developer running training jobs launches a GPU instance through Shadeform, checks its state with the info endpoint, restarts it if it hangs, and deletes it when the job is done so it stops billing. The instance list accepts status and search filters with limit and offset, which makes it easy to find instances that were left running.

Example prompt: Call GET `/v1/instances` with status 'active', then POST `/v1/instances/{instance_id}/delete` for each instance whose name starts with 'train-'

### Reusable launch templates

Teams that launch the same setup repeatedly save it as a Shadeform template, list their own templates or the featured ones, and update a template when the configuration changes. Templates are addressed by template_id, so a single template can be read, updated, or removed without touching others.

Example prompt: Call GET `/v1/templates/featured`, pick a template, then GET `/v1/templates/{template_id}/info` to read its configuration

### SSH key and volume setup

Before launching, a developer registers an SSH key with a name, public_key, and private_key, marks it as the default, and creates a storage volume with a cloud, region, name, and size_in_gb so data persists across instances. The volume types endpoint lists what each provider offers.

Example prompt: Call GET `/v1/volumes/types`, then POST `/v1/volumes/create` with cloud, region, name 'datasets', and size_in_gb 500

## Key endpoints

| Method | Path | Description |
| --- | --- | --- |
| GET | `/v1/instances/types` | List instance types |
| POST | `/v1/instances/create` | Create an instance |
| GET | `/v1/instances` | List instances |
| GET | `/v1/instances/{instance_id}/info` | Get an instance |
| POST | `/v1/instances/{instance_id}/restart` | Restart an instance |
| POST | `/v1/instances/{instance_id}/delete` | Delete an instance |
| POST | `/v1/sshkeys/add` | Add an SSH key |
| POST | `/v1/volumes/create` | Create a volume |

## Key resources

- **Instances** — GPU instances across clouds, addressed by instance_id, with create, info, restart, update, and delete operations
- **Instance types** — Searchable GPU offerings filtered by cloud, region, gpu_type, num_gpus, and availability
- **SSH keys** — Keys added to the account, one of which can be set as the default
- **Templates** — Saved and featured launch configurations addressed by template_id
- **Volumes** — Storage volumes created per cloud and region with a size_in_gb

## AI readiness

This API is usable in Jentic One now. Its AI-readiness score against Jentic's framework shows where it stands today and where improvements would make it even easier for agents to use.

- **Score:** 63 / 100
- **Maturity:** AI-Aware
- **Dimensions:**
  - Foundational Compliance: 70 / 100
  - Developer Experience & Jentic Compatibility: 68 / 100
  - AI-Readiness & Agent Experience: 46 / 100
  - Agent Usability: 94 / 100
  - Security: 50 / 100
  - AI Discoverability: 78 / 100
- **View full report:** https://jentic.com/apis/shadeform.ai/shadeform/scorecard
- **How the score is calculated:** https://docs.jentic.com/reference/api-readiness-framework/overview/
- **More about the dimensions:** https://docs.jentic.com/reference/api-readiness-framework/specification/#dimensional-model-overview

### Score it yourself

Every API in the directory is allowlisted, so you can re-score it with no key required.

- **Score your own API:** https://jentic.com/scorecard.md
- **Scoring CLI agent skill:** https://github.com/jentic/jentic-api-scorecard/blob/main/skills/jentic-api-scorecard/SKILL.md

```sh
npx @jentic/api-scorecard-cli score <openapi-url>
```

## Why Jentic

- **Setup:** Wiring Shadeform by hand means sending the X-API-KEY header on each authenticated call, mapping its instance type filters, and polling instance state after each launch or restart. Through Jentic you install once, import Shadeform from the API Directory, store the API key once, and your agent calls it.
- **Permission scoping:** Shadeform puts the instance_id in the URL path (`/v1/instances/{instance_id}/...`), so a rule can pin your agent to one instance and the operations you pick. You choose the operations it may call, so costly or destructive ones like instance creation or deletion are not included unless you add them.
- **Credential handling:** Your Shadeform API key is stored once, encrypted, by your own Jentic One instance and injected at execution time. It never enters the agent's prompt, logs, or context.
- **Discovery method:** Agents search Jentic by intent such as 'find an available H100' or 'restart a GPU instance', and Jentic returns the matching Shadeform operation with its input schema so the agent calls the right endpoint without browsing the reference docs.

## Related APIs

- **Lambda Cloud API** — GPU cloud instances from a single provider
- **Paperspace API** — GPU machines and notebooks on Paperspace
- **Replicate API** — Hosted model inference without managing instances

## FAQ

### What authentication does the Shadeform API use?

Per its OpenAPI spec, the Shadeform API authenticates with an API key from the Shadeform dashboard sent in the X-API-KEY header, declared globally. GET `/v1/instances/types` declares no security requirement, so you can browse GPU offerings without a key. Through Jentic, the key is stored encrypted by your own Jentic One instance and injected at call time.

### Can I find which GPUs are available right now?

Yes. GET `/v1/instances/types` accepts cloud, region, num_gpus, gpu_type, shade_instance_type, available, and sort query parameters. Set available to true and filter by gpu_type to see current capacity across the providers Shadeform aggregates.

### What are the rate limits for the Shadeform API?

The OpenAPI spec does not specify rate limits. Check the Shadeform documentation at https://docs.shadeform.ai for current limits.

### Is there a Shadeform MCP server?

You don't need an MCP server to give your agent Shadeform. Jentic connects it directly from the API Directory: import it, store your API key once, and your agent calls the instance, template, and volume operations it needs on demand.

### How do I launch a GPU instance through Jentic?

Search Jentic for 'launch a GPU instance on Shadeform', load the POST `/v1/instances/create` operation, and execute it with the request body its input schema requires. Check GET `/v1/instances/types` first to pick an available cloud and region. To run it on your own infrastructure, install Jentic One from its GitHub repo.

### Does this spec cover the whole Shadeform API?

No. Shadeform states that this document describes a subset of the v1 surface and is expanding, so a route that is absent here may still exist in the API. Through Jentic your agent can call the operations the spec declares.

### Can I limit what my agent is allowed to do with the Shadeform API?

Yes. Write a rule that allows only GET `/v1/instances/types`, GET `/v1/instances`, and the restart operation for one instance_id, so the agent can check capacity and recover that instance but cannot launch new GPUs or delete anything. Every call it makes is logged for review.
