# Agent Task > [!NOTE] > This is the documentation for schema `v1.0` > > [Changelog](https://github.com/risenlab/agentlogs/blob/main/CHANGELOG.md#schema-v1_0)
| Description | Agent assignment on a repository. |
|---|---|
| Parquet table | agent_tasks |
| Schema definition | agentlogs/schema/types/agent_task.py |
repository | [Repository](repository.md) | agent_tasks | |
| sessions (list) | [Agent Session](agent_session.md) | task | |
| creator | [User](user.md) | tasks | |
| pull_request_artifacts (list) | [Pull Request](pull_request.md) | created_by_tasks | Pull requests worked on in this task (REST `artifacts[]` of type `pull`). May include pull requests that are not on any listed session, possibly because a session was deleted (see [Agent Session](./agent_session.md) `pull_request_artifact`). |
## Fields
| Property | Type | GitHub field | Description |
| --- | --- | --- | --- |
| id | `str` | id | |
| repository | `struct{}` | | See [Relations](#relations). |
| full_name | `str` | | |
| sessions | `list[]` | sessions[] | See [Relations](#relations). |
| id | `str` | sessions[].id | |
| session_index | `int` | | Position of the session within the task. |
| creator | `struct{}` | creator | See [Relations](#relations). |
| id | `int` (optional) | creator.id | |
| login | `str` (optional) | creator.login | |
| graphql_id | `str` (optional) | creator.node_id | |
| type | `str` (optional) | | |
| pull_request_artifacts | `list[]` | artifacts[] | See [Relations](#relations). |
| id | `int` (optional) | artifacts[].data.id | |
| graphql_id | `str` (optional) | artifacts[].data.global_id | |
| number | `int` (optional) | | |
| repository | `struct{}` (optional) | | |
| full_name | `str` | | |
| name | `str` (optional) | name | |
| state | `str` | state | |
| archived | `bool` | | |
| remote_steerable | `bool` | remote_steerable | |
| sharing_status | `str` | sharing_status | |
| created_at | `datetime` | created_at | |
| updated_at | `datetime` | updated_at | |
| archived_at | `datetime` (optional) | archived_at | |
| custom_agent | `struct{}` (optional) | custom_agent | |
| id | `str` (optional) | custom_agent.id | |
| name | `str` (optional) | custom_agent.name | |
| is_automation | `bool` (optional) | custom_agent.is_automation | |
| automation_id | `str` (optional) | automation_id | |
| agent_collaborators | `list[]` | agent_collaborators[] | |
| id | `int` | agent_collaborators[].agent_id | |
| slug | `str` | agent_collaborators[].slug | `copilot-developer` or `copilot-pr-reviews`. |
| task_id | `str` (optional) | agent_collaborators[].agent_task_id | Usually `ownerId-repoId-uuid`, a bare UUID, or `owner:{id}:repo:{id}:pull:{id}`. Currently unknown what the UUID refers to. |
| type | `str` (optional) | agent_collaborators[].agent_type | `Integration`, `UserToServerToken`, `IntegrationInstallation`, or `OauthApplication`. |
| branch_artifacts | `list[]` | artifacts[] | Branches worked on and/or pushed to by this task (REST `artifacts[]` of type `branch`). May include branches that are not on any listed session, possibly because a session was deleted (see [Agent Session](./agent_session.md) `base` and `head`). |
| base | `struct{}` (optional) | artifacts[] | Branch the agent started from. |
| ref | `str` | artifacts[].base_ref | |
| head | `struct{}` (optional) | artifacts[] | Branch the agent created and/or pushed to. |
| ref | `str` | artifacts[].head_ref | |