GET
/
v1
/
job-agents
/
{agentId}
/
jobs
/
running
curl --request GET \
  --url https://api.ctrlplane.dev/api/v1/job-agents/{agentId}/jobs/running
[
  {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "status": "successful",
    "externalId": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "startedAt": "2023-11-07T05:31:56Z",
    "completedAt": "2023-11-07T05:31:56Z",
    "jobAgentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "jobAgentConfig": {},
    "message": "<string>",
    "reason": "<string>"
  }
]

Path Parameters

agentId
string
required

The execution ID

Response

200 - application/json
OK
id
string
required
status
enum<string>
required
Available options:
successful,
cancelled,
skipped,
in_progress,
action_required,
pending,
failure,
invalid_job_agent,
invalid_integration,
external_run_not_found
createdAt
string
required
updatedAt
string
required
jobAgentConfig
object
required

Configuration for the Job Agent

externalId
string | null

External job identifier (e.g. GitHub workflow run ID)

startedAt
string | null
completedAt
string | null
jobAgentId
string
message
string
reason
string