# Agent Session
Parquet table: `agent_sessions`
Defined in [`agentlogs/schema/types/agent_session.py`](https://github.com/risenlab/agentlogs/blob/v0.2/packages/risenlab-agentlogs/src/agentlogs/schema/types/agent_session.py#L23).
| Property | Type | GitHub field |
| --- | --- | --- |
| id | `str` | id |
| task | `struct{}` | |
| task
.id | `str` | |
| log_found | `bool` | |
| user | `struct{}` | user |
| user
.id | `int` | user
.id |
| user
.login | `str` (optional) | user
.login |
| name | `str` | name |
| model | `str` (optional) | model |
| prompt | `str` (optional) | prompt |
| state | `str` | state |
| usage | `struct{}` (optional) | usage |
| usage
.type | `str` | usage
.type |
| usage
.amount | `float` (optional) | usage
.amount |
| usage
.credits | `float` (optional) | usage
.credits |
| premium_requests | `float` | premium_requests |
| error | `str` (optional) | error
.message |
| remote_steerable | `bool` (optional) | remote_steerable |
| workflow_run_id | `int` (optional) | workflow_run_id |
| event | `struct{}` | |
| event
.type | `str` (optional) | event_type |
| event
.url | `str` (optional) | event_url |
| event
.ids | `list[str]` (optional) | event_identifiers |
| event
.content | `str` (optional) | event_content |
| pull_request | `struct{}` (optional) | |
| pull_request
.id | `int` (optional) | resource_id |
| pull_request
.global_id | `str` (optional) | resource_global_id |
| pull_request
.number | `int` (optional) | resource_number |
| pull_request
.state | `str` (optional) | resource_state |
| branch | `struct{}` (optional) | |
| branch
.base_ref | `str` | base_ref |
| branch
.head_ref | `str` (optional) | head_ref |
| created_at | `datetime` | created_at |
| updated_at | `datetime` | updated_at |
| completed_at | `datetime` (optional) | completed_at |