> ## 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.

# PartyInstance

> PartyInstance

```python theme={null}
from grid_nexus_client import PartyInstance
```

## Fields

<ResponseField name="robot_id" type="str" />

<ResponseField name="role" type="str" />

<ResponseField name="site" type="str" />

<ResponseField name="service_name" type="str" />

<ResponseField name="service_instance_id" type="str" />

<ResponseField name="state" type="str" />

<ResponseField name="last_seen_ms" type="int" />

<ResponseField name="started_at_ms" type="int" />

<ResponseField name="endpoint" type="str" default="''" />

<ResponseField name="metadata" type="dict[str, Any]" />

## Constructor

```python Signature theme={null}
PartyInstance(
    robot_id: str,
    role: str,
    site: str,
    service_name: str,
    service_instance_id: str,
    state: str,
    last_seen_ms: int,
    started_at_ms: int,
    endpoint: str = '',
    metadata: dict[str, Any] = dict(),
)
```


## Related topics

- [sam3](/models/cortex/sam3.md)
- [CortexClient](/python-api/grid-cortex-client/cortexclient.md)
- [GRID Cortex Client](/models/cortex.md)
