Query
query SidekickGithubServiceConfig($serviceAuthorizationId: ID!) {
sidekickGithubServiceConfig(serviceAuthorizationId: $serviceAuthorizationId) {
selectedRepos {
repoId
owner
name
operatingInstructions
}
operatingInstructions
}
}Variables
{
"serviceAuthorizationId": "id"
}Response
{
"data": {
"sidekickGithubServiceConfig": {
"selectedRepos": [
{
"repoId": "id",
"owner": "string",
"name": "string",
"operatingInstructions": "string"
}
],
"operatingInstructions": "string"
}
}
}Queries
sidekickGithubServiceConfig
Returns the Sidekick GitHub configuration for a workspace: which repositories are selected for Sidekick to use and any workspace-level or per-repo operating instructions. Returns null when no configuration has been saved yet.
QUERY
sidekickGithubServiceConfig(serviceAuthorizationId: ID!): SidekickGithubServiceConfigArguments
serviceAuthorizationId
ID!
required
Returns
selectedRepos
The repositories Sidekick is configured to read from, each with optional per-repo operating instructions.
operatingInstructions
String
Free-text guidance for the agent that applies across the workspace.
Query
query SidekickGithubServiceConfig($serviceAuthorizationId: ID!) {
sidekickGithubServiceConfig(serviceAuthorizationId: $serviceAuthorizationId) {
selectedRepos {
repoId
owner
name
operatingInstructions
}
operatingInstructions
}
}Variables
{
"serviceAuthorizationId": "id"
}Response
{
"data": {
"sidekickGithubServiceConfig": {
"selectedRepos": [
{
"repoId": "id",
"owner": "string",
"name": "string",
"operatingInstructions": "string"
}
],
"operatingInstructions": "string"
}
}
}Was this page helpful?

