Get a single command-execution-result by id
GET /command-execution-results/{id}
GET
/command-execution-results/{id}
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
string
DocumentId
Responses
Section titled “ Responses ”OK
object
data
object
agent_id
required
Strapi documentId of the sencai-agent that executed the command.
string
agent_name
Hostname or display name of the agent (denormalized for display).
string
command_name
required
Name of the remote-command template that was dispatched.
string
command_rendered
Final command string after template argument substitution.
string
exit_code
Process exit code returned by the agent. null if not yet completed.
integer
stdout
Standard output captured from the executed command.
string
stderr
Standard error captured from the executed command.
string
duration_ms
Wall-clock execution duration in milliseconds.
integer
status
Lifecycle status of the execution. blocked = command was rejected by agent whitelist.
string
dispatched_at
Timestamp when the command was dispatched to the agent.
string format: date-time
completed_at
Timestamp when the agent reported the final result.
string format: date-time
organisation
documentId
string
id
integer
createdAt
string format: date-time
updatedAt
string format: date-time
publishedAt
string format: date-time
Missing or invalid authentication
Not authorized (tenant scope or capability)
Not found