> ## Documentation Index
> Fetch the complete documentation index at: https://lava.so/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# RunTM

> Coding agent sandbox platform providing isolated runtime environments and deployment APIs for AI agents.

Coding agent sandbox platform providing isolated runtime environments and deployment APIs for AI agents. Best for workflows that need secure code execution environments -- running agent-generated code, testing in isolated containers, and deploying agent outputs. Unlike general hosting (Vercel), RunTM specializes in ephemeral sandboxed environments designed for AI agent workloads.

6 endpoints available through Lava's AI Gateway. See the [RunTM API docs](https://docs.runtm.com/api/overview) for full documentation.

<Warning>This provider requires your own credentials — connect your API key or OAuth account before use.</Warning>

## Endpoints

### Create a deployment

**POST** `https://app.runtm.com/api/v0/deployments` — Free / request

<Tabs>
  <Tab title="SDK">
    ```typescript theme={null}
    const data = await lava.gateway('https://app.runtm.com/api/v0/deployments', { body: {"name":"agent-sandbox","image":"node:20"} });
    ```
  </Tab>

  <Tab title="cURL">
    ```bash theme={null}
    curl -X POST "https://api.lava.so/v1/forward?u=https%3A%2F%2Fapp.runtm.com%2Fapi%2Fv0%2Fdeployments" \
      -H "Authorization: Bearer $LAVA_SECRET_KEY" \
      -H "Content-Type: application/json" \
      -d '{"name":"agent-sandbox","image":"node:20"}'
    ```
  </Tab>
</Tabs>

### List deployments

**GET** `https://app.runtm.com/api/v0/deployments` — Free / request

<Tabs>
  <Tab title="SDK">
    ```typescript theme={null}
    const data = await lava.gateway('https://app.runtm.com/api/v0/deployments', { method: 'GET' });
    ```
  </Tab>

  <Tab title="cURL">
    ```bash theme={null}
    curl "https://api.lava.so/v1/forward?u=https%3A%2F%2Fapp.runtm.com%2Fapi%2Fv0%2Fdeployments" \
      -H "Authorization: Bearer $LAVA_SECRET_KEY"
    ```
  </Tab>
</Tabs>

### Search deployments

**GET** `https://app.runtm.com/api/v0/deployments/search` — Free / request

<Tabs>
  <Tab title="SDK">
    ```typescript theme={null}
    const data = await lava.gateway('https://app.runtm.com/api/v0/deployments/search', { method: 'GET' });
    ```
  </Tab>

  <Tab title="cURL">
    ```bash theme={null}
    curl "https://api.lava.so/v1/forward?u=https%3A%2F%2Fapp.runtm.com%2Fapi%2Fv0%2Fdeployments%2Fsearch" \
      -H "Authorization: Bearer $LAVA_SECRET_KEY"
    ```
  </Tab>
</Tabs>

### Get deployment by ID

**GET** `https://app.runtm.com/api/v0/deployments/dep_123` — Free / request

<Tabs>
  <Tab title="SDK">
    ```typescript theme={null}
    const data = await lava.gateway('https://app.runtm.com/api/v0/deployments/dep_123', { method: 'GET' });
    ```
  </Tab>

  <Tab title="cURL">
    ```bash theme={null}
    curl "https://api.lava.so/v1/forward?u=https%3A%2F%2Fapp.runtm.com%2Fapi%2Fv0%2Fdeployments%2Fdep_123" \
      -H "Authorization: Bearer $LAVA_SECRET_KEY"
    ```
  </Tab>
</Tabs>

### Delete deployment by ID

**DELETE** `https://app.runtm.com/api/v0/deployments/dep_123` — Free / request

<Tabs>
  <Tab title="SDK">
    ```typescript theme={null}
    const data = await lava.gateway('https://app.runtm.com/api/v0/deployments/dep_123', { method: 'DELETE' });
    ```
  </Tab>

  <Tab title="cURL">
    ```bash theme={null}
    curl -X DELETE "https://api.lava.so/v1/forward?u=https%3A%2F%2Fapp.runtm.com%2Fapi%2Fv0%2Fdeployments%2Fdep_123" \
      -H "Authorization: Bearer $LAVA_SECRET_KEY" \
      -H "Content-Type: application/json"
    ```
  </Tab>
</Tabs>

### Get current user info

**GET** `https://app.runtm.com/api/v1/me` — Free / request

<Tabs>
  <Tab title="SDK">
    ```typescript theme={null}
    const data = await lava.gateway('https://app.runtm.com/api/v1/me', { method: 'GET' });
    ```
  </Tab>

  <Tab title="cURL">
    ```bash theme={null}
    curl "https://api.lava.so/v1/forward?u=https%3A%2F%2Fapp.runtm.com%2Fapi%2Fv1%2Fme" \
      -H "Authorization: Bearer $LAVA_SECRET_KEY"
    ```
  </Tab>
</Tabs>

## Next Steps

<CardGroup cols={2}>
  <Card title="All Providers" icon="grid" href="/gateway/supported-providers">
    Browse all supported AI providers
  </Card>

  <Card title="Forward Proxy" icon="route" href="/gateway/forward-proxy">
    Learn how to construct proxy URLs and authenticate requests
  </Card>
</CardGroup>
