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

# Call

> One independently addressable invocation in a Run's call tree.

```python theme={null}
class Call[Result]
```

```python theme={null}
name: str
id: str
run: str
created_by: str | None
child_index: int
status: CallStatus
attempt_count: int
latest_attempt_name: str | None
error_message: str | None
created_at: datetime | None
started_at: datetime | None
updated_at: datetime | None
finished_at: datetime | None
```

## `parent_call`

<sub>property</sub>

```python theme={null}
parent_call: str | None
```

Resource name of the Call that emitted this one, or None for the root.

## `volume_mounts`

<sub>property</sub>

```python theme={null}
volume_mounts: Mapping[str, str]
```

Volumes mounted by this Call, keyed by container path.

## `function`

<sub>property</sub>

```python theme={null}
function: str
```

`module:qualname` of the function each Attempt imports.

## `refresh`

<sub>method</sub>

```python theme={null}
def refresh() -> Call[Result]
```

Fetch this Call's latest state.

## `wait`

<sub>method</sub>

```python theme={null}
def wait(timeout: float | None = None) -> Result
```

Wait up to `timeout` seconds for the result.

`None` waits indefinitely and `0` checks once. Raises TimeoutError
if the Call is unfinished at the deadline, and RunFailed if it did not
complete.

## `cancel`

<sub>method</sub>

```python theme={null}
def cancel() -> Call[Result]
```

Request cancellation of this Call and unfinished descendants.

## `get_url`

<sub>method</sub>

```python theme={null}
def get_url() -> str | None
```

The URL of the sandbox this Call's latest Attempt runs in.

It serves the Call's `port` while the Attempt runs; `None` until
the Attempt starts.

## `children`

<sub>method</sub>

```python theme={null}
async def children(*, page_size: int | None = None) -> builtins.list[Call[object]]
```

List Calls directly emitted by this Call.

## `attempts`

<sub>method</sub>

```python theme={null}
async def attempts(*, page_size: int | None = None) -> builtins.list[Attempt[object]]
```

List every dispatch Attempt of this Call.

## `latest_attempt`

<sub>method</sub>

```python theme={null}
async def latest_attempt() -> Attempt[Result] | None
```

Fetch the newest Attempt of this Call, which holds its result.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.