# The Session object

A durable logical interaction stored within a Session Store.

## Attributes

- `session_id` (string, Beta, Output only)
  Unique session ID. The service generates a UUID unless the caller supplies
   `CreateSessionRequest.session_id`.
- `actor_id` (string, Beta, Immutable)
  Opaque caller-provided identifier for the application actor associated with the session.
  
   This is application data and has no Databricks authentication or authorization semantics.
   Use the same value as the Managed Memory Entry `actor_id` when storing memories associated
   with this actor. Every session must set it. A child session must use the same value as its parent.
- `parent_session_id` (string, Beta, Immutable)
  Immediate parent session ID. Set only at creation for child sessions, immutable thereafter, and
   restricted to the same store.
- `root_session_id` (string, Beta, Output only)
  Top-level session ID in the spawn tree. This equals `session_id` for a root or fork and is
   inherited transitively by child sessions.
- `metadata` (object, Beta)
  Mutable caller-defined string labels.
- `create_time` (string, Beta, Output only)
  Time when the session was created.
- `update_time` (string, Beta, Output only)
  Time when session resource fields last changed.
- `last_activity_time` (string, Beta, Output only)
  Time when the session's item history was last mutated.
- `name` (string, Beta, Output only, ID, Immutable)
  Resource name in the form `session-stores/{session_store_id}/sessions/{session_id}`.

## Example

```json
{
  "session_id": "string",
  "actor_id": "string",
  "parent_session_id": "string",
  "root_session_id": "string",
  "metadata": {},
  "create_time": "string",
  "update_time": "string",
  "last_activity_time": "string",
  "name": "string"
}
```


