Get action
Fetch a single action with its per-server install status.
This endpoint requires the Unlimited plan.
GET/api/scripts/{script}/actions/{action}
Get an action
Returns the action's trigger, delay, pause state, last-triggered timestamp, and the install status of each attached server.
Request
GET
/api/scripts/{script}/actions/{action}curl -X GET "https://ploi.io/api/scripts/{script}/actions/{action}" \
-H "Authorization: Bearer {token}" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
Response
{
"data": {
"id": 1,
"script_id": 42,
"trigger": "server.booted",
"trigger_label": "Server has booted",
"delay_seconds": 30,
"is_paused": false,
"last_triggered_at": "2026-05-13T08:42:11+00:00",
"servers": [
{
"server_id": 12,
"status": "installed",
"installed_at": "2026-05-12T10:11:30+00:00",
"last_error": null
}
],
"created_at": "2026-05-12 10:11:22",
"updated_at": "2026-05-13 08:42:11"
}
}