Query
query ValidatorDebugQuery($id: ValidatorDebugQueryId!) {
validatorDebugQuery(id: $id) {
createdAt
defaultQuery
id
name
namespace {
apiKeys {
apiKey {
__typename
}
roleConfig {
__typename
}
}
avatar
avatarThumbnail
createdAt
description
id
}
query
}
}Variables
{
"id": "value"
}Response
{
"data": {
"validatorDebugQuery": {
"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"
}
}
}Queries
validatorDebugQuery
Get a saved debug query. Requires VALIDATORS_READ permissions.
QUERY
validatorDebugQuery(id: ValidatorDebugQueryId!): ValidatorDebugQueryArguments
id
required
Returns
createdAt
defaultQuery
Boolean!
Whether this is the default debug query of the validator. A validator has at most one default debug query.
name
String!
namespace
The namespace the debug query belongs to. It inherits the namespace of its validator.
query
String!
resourceName
String!
updatedAt
validator
The validator the debug query is saved against.
Query
query ValidatorDebugQuery($id: ValidatorDebugQueryId!) {
validatorDebugQuery(id: $id) {
createdAt
defaultQuery
id
name
namespace {
apiKeys {
apiKey {
__typename
}
roleConfig {
__typename
}
}
avatar
avatarThumbnail
createdAt
description
id
}
query
}
}Variables
{
"id": "value"
}Response
{
"data": {
"validatorDebugQuery": {
"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"
}
}
}