Get Runner details¶
Reads the record and token expiry without issuing new credentials or recovering historical connect_cmd. Missing records or an internal lifecycle other than active are treated as not found. phase does not establish live connectivity or task authorization.
GET https://api.moi.matrixorigin.cn/v5/agent-runners/{id}
Before you call this API¶
Set BASE_URL to the product API prefix https://api.moi.matrixorigin.cn/v5. For private deployments, use the corresponding product API URL.
Request¶
curl --request GET \
"$BASE_URL/agent-runners/$RUNNER_ID" \
--header "X-API-Key: $MOI_KEY" \
--header "X-Workspace-ID: $WORKSPACE_ID"
Parameter |
Location |
Type |
Required |
Description |
|---|---|---|---|---|
|
Headers |
string |
Yes |
Target Workspace in the same environment; there is no Workspace path segment. |
|
Path |
string |
Yes |
Accessible Runner ID in the same Workspace, obtained from creation or lists. |
Successful response¶
{
"code": "OK",
"msg": "OK",
"data": {
"id": "runner-example",
"workspace_id": "workspace-example",
"user_id": "user-example",
"name": "示例Runner",
"runner_type": "custom",
"edge_agent_id": "runner-runner-example",
"phase": "pending",
"token_expires_at": "2026-12-12T01:00:00Z",
"created_at": "2026-11-12T01:00:00Z",
"updated_at": "2026-11-12T01:00:00Z"
}
}
Field |
Type |
Description |
|---|---|---|
|
string |
OK on success. |
|
string |
Response information; OK on success. |
|
object |
Error responses¶
Errors and recovery boundaries distinguishes Runner, Edge renewal, and compute observations. They do not share one numeric error table.