Query
query AgentCodebases {
agentCodebases {
id
folder
canonicalOrigin
defaultBranch
keepBaseBranchUpToDate
lastFetchedAt
}
}Response
{
"data": {
"agentCodebases": [
{
"id": "id",
"folder": "string",
"canonicalOrigin": "string",
"defaultBranch": "string",
"keepBaseBranchUpToDate": true,
"lastFetchedAt": "string"
}
]
}
}Queries
agentCodebases
Returns agent codebase registrations.
QUERY
agentCodebases: [AgentCodebaseRegistration!]!Returns
id
ID!
Stable identifier for this agent codebase registration.
folder
String!
The folder associated with this agent codebase registration.
canonicalOrigin
String!
Whether this agent codebase registration can onical origin.
defaultBranch
String
Git branch associated with this agent codebase registration. May be null when unavailable or not applicable.
keepBaseBranchUpToDate
Boolean!
Whether the keep base branch up to date condition is true for this agent codebase registration.
lastFetchedAt
String
ISO 8601 timestamp when this agent codebase registration was last fetched. May be null when unavailable or not applicable.
lastFetchAttemptAt
String
ISO 8601 timestamp when this agent codebase registration last fetch attempt. May be null when unavailable or not applicable.
worktrees
Worktrees associated with this agent codebase registration.
Query
query AgentCodebases {
agentCodebases {
id
folder
canonicalOrigin
defaultBranch
keepBaseBranchUpToDate
lastFetchedAt
}
}Response
{
"data": {
"agentCodebases": [
{
"id": "id",
"folder": "string",
"canonicalOrigin": "string",
"defaultBranch": "string",
"keepBaseBranchUpToDate": true,
"lastFetchedAt": "string"
}
]
}
}