Datasets:
|
Download docs/schema/agent_task.md from risenlab/agentlogs: direct link, hf CLI and curl.
- Browser
- Download file 6.37 kB
-
https://huggingface.co/datasets/risenlab/agentlogs/resolve/main/docs/schema/agent_task.md
- Command line
-
hf download hf://datasets/risenlab/agentlogs/docs/schema/agent_task.md
-
curl -L -o agent_task.md https://huggingface.co/datasets/risenlab/agentlogs/resolve/main/docs/schema/agent_task.md
6.37 kB
Agent Task
This is the documentation for schema
v1.0
| Description | Agent assignment on a repository. |
|---|---|
| Parquet table | agent_tasks |
| Schema definition | agentlogs/schema/types/agent_task.py |
Data sources
- Task list: GitHub REST
GET /agents/repos/{owner}/{repo}/tasks(documentation) - Task: Copilot API
GET https://api.githubcopilot.com/agents/tasks/{id}(no public documentation)
Fields and values on the Copilot API differ slightly from GitHub REST GET /agents/tasks/{id} (documentation). Only successful GitHub API responses are stored. Other tables may contain references to this table with no matching row.
Relations
| Property | Related table | Related field | Description |
|---|---|---|---|
repository |
Repository | agent_tasks |
|
sessions (list) |
Agent Session | task |
|
creator |
User | tasks |
|
pull_request_artifacts (list) |
Pull Request | 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 pull_request_artifact). |
Fields
| Property | Type | GitHub field | Description |
|---|---|---|---|
id |
str |
id |
|
repository |
struct{} |
See Relations. | |
full_name |
str |
||
sessions |
list[] |
sessions[] |
See Relations. |
id |
str |
sessions[].id |
|
session_index |
int |
Position of the session within the task. | |
creator |
struct{} |
creator |
See 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. |
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 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 |