Query
query BoltCommand($commandId: Int!) {
boltCommand(commandId: $commandId) {
id
command
startDttm
endDttm
stdout
stderr
}
}Variables
{
"commandId": 1
}Response
{
"data": {
"boltCommand": {
"id": 1,
"command": "string",
"startDttm": "string",
"endDttm": "string",
"stdout": "string",
"stderr": "string"
}
}
}boltCommand
Get the details for a run command.
QUERY
boltCommand(commandId: Int!): BoltCommandOutputArguments
commandId
Int!
required
Returns
id
Int!
command
String!
startDttm
String!
endDttm
String!
stdout
String!
stderr
String!
returnCode
Int
ok
Boolean!
resources
scheduleRunId
Int!
Query
query BoltCommand($commandId: Int!) {
boltCommand(commandId: $commandId) {
id
command
startDttm
endDttm
stdout
stderr
}
}Variables
{
"commandId": 1
}Response
{
"data": {
"boltCommand": {
"id": 1,
"command": "string",
"startDttm": "string",
"endDttm": "string",
"stdout": "string",
"stderr": "string"
}
}
}Related topics
Bolt APIBoltNew Bolt command integrationsBolt CLIKeep Bolt schedules running past a failed command