Mutation
mutation UpdateSidekickServiceConfig($input: UpdateSidekickServiceConfigInput!) {
updateSidekickServiceConfig(input: $input) {
serviceAuthorization {
id
serviceIntegration {
name
key
}
status
createdAt {
unixTimestamp
iso8601
}
createdBy {
__typename
... on UserActor {
__typename
}
}
updatedAt {
unixTimestamp
iso8601
}
}
error {
message
type
code
fields {
field
message
type
}
}
}
}Variables
{
"input": {
"serviceAuthorizationId": "id"
}
}Response
{
"data": {
"updateSidekickServiceConfig": {
"serviceAuthorization": {
"id": "id",
"serviceIntegration": {
"name": "string",
"key": "string"
},
"status": "PENDING_AUTH",
"createdAt": {
"unixTimestamp": "string",
"iso8601": "string"
},
"createdBy": {
"__typename": "UserActor"
},
"updatedAt": {
"unixTimestamp": "string",
"iso8601": "string"
}
},
"error": {
"message": "string",
"type": "VALIDATION",
"code": "string",
"fields": [
{
"field": "string",
"message": "string",
"type": "VALIDATION"
}
]
}
}
}
}Mutations
updateSidekickServiceConfig
Updates the operating instructions that guide how Sidekick uses a connected service (Datadog, Sentry, Grafana, Linear, Notion, incident.io, Attio, HubSpot, Jira, Granola, LaunchDarkly or Grain), identified by its serviceAuthorizationId. Pass null or an empty string to clear the instructions. GitHub and PostHog have their own configuration shapes — use updateSidekickGithubConfig / updateSidekickPosthogConfig instead.
MUTATION
updateSidekickServiceConfig(input: UpdateSidekickServiceConfigInput!): UpdateSidekickServiceConfigOutput!Arguments
input
required
serviceAuthorization
error
Mutation
mutation UpdateSidekickServiceConfig($input: UpdateSidekickServiceConfigInput!) {
updateSidekickServiceConfig(input: $input) {
serviceAuthorization {
id
serviceIntegration {
name
key
}
status
createdAt {
unixTimestamp
iso8601
}
createdBy {
__typename
... on UserActor {
__typename
}
}
updatedAt {
unixTimestamp
iso8601
}
}
error {
message
type
code
fields {
field
message
type
}
}
}
}Variables
{
"input": {
"serviceAuthorizationId": "id"
}
}Response
{
"data": {
"updateSidekickServiceConfig": {
"serviceAuthorization": {
"id": "id",
"serviceIntegration": {
"name": "string",
"key": "string"
},
"status": "PENDING_AUTH",
"createdAt": {
"unixTimestamp": "string",
"iso8601": "string"
},
"createdBy": {
"__typename": "UserActor"
},
"updatedAt": {
"unixTimestamp": "string",
"iso8601": "string"
}
},
"error": {
"message": "string",
"type": "VALIDATION",
"code": "string",
"fields": [
{
"field": "string",
"message": "string",
"type": "VALIDATION"
}
]
}
}
}
}Was this page helpful?

