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

# ServerlessRequest

A request to a Serverless endpoint managed by the client

## Import

```python theme={null}
from vastai import ServerlessRequest
```

## Methods

### then

```python theme={null}
then(callback) -> 'ServerlessRequest'
```

<ParamField path="callback" type="Any" required>
  callback
</ParamField>
