# Steel.dev

> Create and manage cloud browser sessions and capture pages with Steel.dev.

App · 13 actions. Web page: https://docs.lodol.com/docs/integrations/steel

## Actions

### Capture a webpage screenshot

Capture a screenshot of a public webpage and return its hosted image URL.

**Inputs**

- URL (`url`, text, required): Public webpage to capture.
- Full page (`full_page`, true/false): Include the whole page.

**Outputs**

- `data` (object): The response from Steel.dev.

**Example output**

```json
{
  "data": {
    "url": "example"
  }
}
```

### Create a browser session

Create a browser session.

**Inputs**

- Timeout ms (`timeout_ms`, number): Timeout ms. At least 1000.
- Profile (`profile_id`, text): Profile ID.
- Namespace (`namespace`, text): Namespace.

**Outputs**

- `data` (object): The response from Steel.dev.

**Example output**

```json
{
  "data": {
    "createdAt": "example",
    "id": "example",
    "sessionViewerUrl": "example",
    "status": "example",
    "timeout": 1,
    "websocketUrl": "example"
  }
}
```

### Extract content from a webpage

Extract content from a webpage.

**Inputs**

- URL (`url`, text, required): Url.
- Format (`format`, list): Format. One or more of: `html`, `readability`, `cleaned_html` (Cleaned html), `markdown`.

**Outputs**

- `data` (object): The response from Steel.dev.

**Example output**

```json
{
  "data": {
    "content": {}
  }
}
```

### Get a browser profile

Get a browser profile.

**Inputs**

- Profile (`profile_id`, text, required): Profile ID.

**Outputs**

- `data` (object): The response from Steel.dev.

**Example output**

```json
{
  "data": {
    "id": "example",
    "status": "example"
  }
}
```

### Get a browser session

Get a browser session.

**Inputs**

- Session (`session_id`, text, required): Session ID.

**Outputs**

- `data` (object): The response from Steel.dev.

**Example output**

```json
{
  "data": {
    "createdAt": "example",
    "id": "example",
    "sessionViewerUrl": "example",
    "status": "example",
    "timeout": 1,
    "websocketUrl": "example"
  }
}
```

### Get live session details

Get live session details.

**Inputs**

- Session (`session_id`, text, required): Session ID.

**Outputs**

- `data` (object): The response from Steel.dev.

**Example output**

```json
{
  "data": {}
}
```

### List browser profiles

List browser profiles.

**Inputs**: None.

**Outputs**

- `data` (object): The response from Steel.dev.

**Example output**

```json
{
  "data": {
    "profiles": [
      {
        "id": "example",
        "status": "example"
      }
    ]
  }
}
```

### List browser session events

List browser session events.

**Inputs**

- Session (`session_id`, text, required): Session ID.

**Outputs**

- `data` (list): The response from Steel.dev.

**Example output**

```json
{
  "data": [
    {}
  ]
}
```

### List browser sessions

List browser sessions.

**Inputs**

- Limit (`limit`, number): Limit. From 1 to 100.
- Cursor (`cursor`, text): Cursor.
- Status (`status`, text): Status. One of: `live`, `released`, `failed`.

**Outputs**

- `data` (object): The response from Steel.dev.

**Example output**

```json
{
  "data": {
    "sessions": [
      {
        "createdAt": "example",
        "id": "example",
        "sessionViewerUrl": "example",
        "status": "example",
        "timeout": 1,
        "websocketUrl": "example"
      }
    ]
  }
}
```

### List files in a session

List files in a session.

**Inputs**

- Session (`session_id`, text, required): Session ID.

**Outputs**

- `data` (object): The response from Steel.dev.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "lastModified": "example",
        "path": "example",
        "size": 1
      }
    ]
  }
}
```

### List stored files

List stored files.

**Inputs**: None.

**Outputs**

- `data` (object): The response from Steel.dev.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "lastModified": "example",
        "path": "example",
        "size": 1
      }
    ]
  }
}
```

### Release a browser session

Release a browser session.

**Inputs**

- Session (`session_id`, text, required): Session ID.

**Outputs**

- `data` (object): The response from Steel.dev.

**Example output**

```json
{
  "data": {
    "message": "example"
  }
}
```

### Save a webpage as a PDF

Render a public webpage to a PDF and return its hosted file URL.

**Inputs**

- URL (`url`, text, required): Public webpage to render.

**Outputs**

- `data` (object): The response from Steel.dev.

**Example output**

```json
{
  "data": {
    "url": "example"
  }
}
```
