Mutation
mutation ValidatorDebugQueryCreate($input: ValidatorDebugQueryCreateInput!) {
validatorDebugQueryCreate(input: $input) {
createdAt
defaultQuery
id
name
namespace {
apiKeys {
apiKey {
__typename
}
roleConfig {
__typename
}
}
avatar
avatarThumbnail
createdAt
description
id
}
query
}
}Variables
{
"input": {
"defaultQuery": true,
"name": "string",
"query": "string",
"validatorId": "value"
}
}Response
{
"data": {
"validatorDebugQueryCreate": {
"createdAt": "value",
"defaultQuery": true,
"id": "value",
"name": "string",
"namespace": {
"apiKeys": [
{
"apiKey": {
"__typename": "ApiKey"
},
"roleConfig": {
"__typename": "NamespaceRoleConfig"
}
}
],
"avatar": "value",
"avatarThumbnail": "value",
"createdAt": "value",
"description": "string",
"id": "value"
},
"query": "string"
}
}
}Mutations
validatorDebugQueryCreate
Save a debug query against a validator for reuse on future incidents. Requires VALIDATORS_WRITE permissions.
MUTATION
validatorDebugQueryCreate(input: ValidatorDebugQueryCreateInput!): ValidatorDebugQuery!Arguments
input
required
Returns
createdAt
DateTime!
defaultQuery
Boolean!
Whether this is the default debug query of the validator. A validator has at most one default debug query.
id
ValidatorDebugQueryId!
name
String!
namespace
The namespace the debug query belongs to. It inherits the namespace of its validator.
query
String!
resourceName
String!
updatedAt
DateTime!
validator
The validator the debug query is saved against.
Mutation
mutation ValidatorDebugQueryCreate($input: ValidatorDebugQueryCreateInput!) {
validatorDebugQueryCreate(input: $input) {
createdAt
defaultQuery
id
name
namespace {
apiKeys {
apiKey {
__typename
}
roleConfig {
__typename
}
}
avatar
avatarThumbnail
createdAt
description
id
}
query
}
}Variables
{
"input": {
"defaultQuery": true,
"name": "string",
"query": "string",
"validatorId": "value"
}
}Response
{
"data": {
"validatorDebugQueryCreate": {
"createdAt": "value",
"defaultQuery": true,
"id": "value",
"name": "string",
"namespace": {
"apiKeys": [
{
"apiKey": {
"__typename": "ApiKey"
},
"roleConfig": {
"__typename": "NamespaceRoleConfig"
}
}
],
"avatar": "value",
"avatarThumbnail": "value",
"createdAt": "value",
"description": "string",
"id": "value"
},
"query": "string"
}
}
}