Retrieve events for a training job instance.
Try it now
Test
RAM authorization
Request syntax
GET /api/v1/trainingjobs/{TrainingJobId}/instances/{InstanceId}/events HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| TrainingJobId |
string |
Yes |
ID of the training job. |
train76rcaupa2cz |
| InstanceId |
string |
No |
ID of the instance. |
train76rcaupa2cz-master-0 |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| PageNumber |
integer |
No |
Page number. |
1 |
| PageSize |
integer |
No |
Number of items per page. |
100 |
| StartTime |
string |
No |
Start time in UTC, in ISO 8601 format. If empty, defaults to the training job start time. |
2020-11-08T16:00:00Z |
| EndTime |
string |
No |
End time in UTC, in ISO 8601 format. If empty, defaults to the current time. |
2020-11-08T16:00:00Z |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Response schema |
||
| RequestId |
string |
Request ID. |
473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E |
| TotalCount |
string |
Total number of events. |
1 |
| Events |
array |
List of events. |
|
|
string |
Event message. |
You are using pip version 9.0.1, however version 20.2.4 is available. |
Examples
Success response
JSON format
{
"RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E",
"TotalCount": "1",
"Events": [
"You are using pip version 9.0.1, however version 20.2.4 is available."
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.