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

# HubResult

> Result from a published inference request

```python theme={null}
from grid_cortex_client import HubResult
```

Result from a published inference request.

## Fields

<ResponseField name="request_id">
  The ID provided when publishing the request
</ResponseField>

<ResponseField name="model">
  The model that produced this result
</ResponseField>

<ResponseField name="data">
  The inference output (postprocessed)
</ResponseField>

<ResponseField name="ok">
  Whether the request succeeded
</ResponseField>

<ResponseField name="error">
  Error message if ok=False
</ResponseField>

## Constructor

```python Signature theme={null}
HubResult(
    request_id: str,
    model: str,
    data: Any,
    ok: bool = True,
    error: Optional[str] = None,
)
```


## Related topics

- [HubResult](/python-api/grid-cortex-client/hubresult.md)
- [CortexHubClient](/python-api/grid-cortex-client/cortexhubclient.md)
- [grid-cortex-client](/python-api/grid-cortex-client/overview.md)
- [GRID Cortex Client](/models/cortex.md)
- [CortexHubError](/python-api/grid-cortex-client/cortexhuberror.md)
