Skip to main content

Save RFC trial progress and result

POST
/tasks/benchmark-result/{id}

The agent submits the result of one trial before releasing the native snapshot. The controller assigns the Run ID; resubmitting the same result is idempotent, and changing a saved result is not allowed.

Contract

Parameter
Value
Sectiontasks
AuthenticationAgentAuth
Consumesapplication/json
Producesapplication/json

Parameters

2 parameters

Name
Location
Required
Type
Description
idpathyesintegerTask ID
requestbodyyesobjectRFC trial progress or result
  • {
      "current": [
        0
      ],
      "error": "<string>",
      "hostname": "<string>",
      "plan": [
        0
      ],
      "runId": "<string>",
      "status": "<string>",
      "summary": [
        0
      ],
      "trial": [
        0
      ]
    }

Responses

6 responses

Status
Description
Type
200
Result savedobject
400
Invalid dataobject
401
Agent is not authorizedobject
403
Agent is not assigned to the taskobject
404
Task not foundobject
409
Task is not active or the result conflicts with the saved oneobject
  • {}
  • {
      "data": {},
      "error": "<string>"
    }
  • {
      "data": {},
      "error": "<string>"
    }
  • {
      "data": {},
      "error": "<string>"
    }
  • {
      "data": {},
      "error": "<string>"
    }
  • {
      "data": {},
      "error": "<string>"
    }