# WorkspacePayload

> **Class** in `deepagents_code`

📖 [View in docs](https://reference.langchain.com/python/deepagents-code/workspace/WorkspacePayload)

JSON-safe workspace descriptor carried in LangGraph runtime context.

## Signature

```python
WorkspacePayload()
```

## Extends

- `TypedDict`

## Constructors

```python
__init__(
    schema_version: int,
    workspace_id: str,
    cwd: str,
    project_root: str | None,
    generation: int,
    resource_key: str,
    config_fingerprint: str,
)
```

| Name | Type |
|------|------|
| `schema_version` | `int` |
| `workspace_id` | `str` |
| `cwd` | `str` |
| `project_root` | `str \| None` |
| `generation` | `int` |
| `resource_key` | `str` |
| `config_fingerprint` | `str` |


## Properties

- `schema_version`
- `workspace_id`
- `cwd`
- `project_root`
- `generation`
- `resource_key`
- `config_fingerprint`

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/caaa7e7c12d214afa5cf0a1afed8eb6232aa6f7b/libs/code/deepagents_code/workspace.py#L46)