Query
query BoltCommandLogs($commandId: Int!) {
boltCommandLogs(commandId: $commandId) {
ok
lines {
stream
line
}
cursor
finished
}
}Variables
{
"commandId": 1
}Response
{
"data": {
"boltCommandLogs": {
"ok": true,
"lines": [
{
"stream": "STDOUT",
"line": "string"
}
],
"cursor": "string",
"finished": true
}
}
}boltCommandLogs
Stream stdout/stderr for a bolt command as it runs. Poll with the returned cursor until finished is true. Falls back to the persisted output after the Redis stream expires.
QUERY
boltCommandLogs(commandId: Int!, cursor: String): BoltCommandLogsOutputArguments
commandId
Int!
required
cursor
String
default:"0:0"
Returns
ok
Boolean!
lines
[BoltLogLine!]!
cursor
String!
finished
Boolean!
Query
query BoltCommandLogs($commandId: Int!) {
boltCommandLogs(commandId: $commandId) {
ok
lines {
stream
line
}
cursor
finished
}
}Variables
{
"commandId": 1
}Response
{
"data": {
"boltCommandLogs": {
"ok": true,
"lines": [
{
"stream": "STDOUT",
"line": "string"
}
],
"cursor": "string",
"finished": true
}
}
}