Events
Bearer authentication
The Universally Unique Identifier (UUID) of the workload.
The offset of the first item returned in the collection.
100The maximum number of entries to return.
50Sort results in descending or ascending order.
descPossible values: Executed successfully.
1Unauthorized
Forbidden
The specified resource was not found
unexpected error
unexpected error
GET /api/v1/workloads/{workloadId}/events HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"next": 1,
"events": [
{
"createdAt": "2022-01-01T03:49:52.531Z",
"id": "123e4567-e89b-12d3-a456-426614174000",
"type": "Normal",
"clusterId": "71f69d83-ba66-4822-adf5-55ce55efd210",
"message": "Started container z",
"reason": "Started",
"source": "kubelet",
"involvedObject": {
"uid": "123e4567-e89b-12d3-a456-426614174000",
"kind": "Pod",
"name": "test-0-1",
"namespace": "runai-test"
}
}
]
}Bearer authentication
The Universally Unique Identifier (UUID) of the workload.
The offset of the first item returned in the collection.
100The maximum number of entries to return.
50Executed successfully.
1Unauthorized
Forbidden
The specified resource was not found
unexpected error
unexpected error
GET /api/v1/workloads/{workloadId}/history HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"next": 1,
"records": [
{
"meta": {
"creationTimestamp": "2022-01-01T03:49:52.531Z",
"type": "Event"
},
"spec": {
"event": {
"createdAt": "2022-01-01T03:49:52.531Z",
"id": "123e4567-e89b-12d3-a456-426614174000",
"type": "Normal",
"clusterId": "71f69d83-ba66-4822-adf5-55ce55efd210",
"message": "Started container z",
"reason": "Started",
"source": "kubelet",
"involvedObject": {
"uid": "123e4567-e89b-12d3-a456-426614174000",
"kind": "Pod",
"name": "test-0-1",
"namespace": "runai-test"
}
},
"phaseUpdate": null
}
}
]
}Bearer authentication
The Universally Unique Identifier (UUID) of the revision.
The offset of the first item returned in the collection.
100The maximum number of entries to return.
50Sort results in descending or ascending order.
descPossible values: Executed successfully.
1Unauthorized
Forbidden
The specified resource was not found
unexpected error
unexpected error
GET /api/v1/workloads/inferences/revisions/{revisionId}/events HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"next": 1,
"events": [
{
"createdAt": "2022-01-01T03:49:52.531Z",
"id": "123e4567-e89b-12d3-a456-426614174000",
"type": "Normal",
"clusterId": "71f69d83-ba66-4822-adf5-55ce55efd210",
"message": "Started container z",
"reason": "Started",
"source": "kubelet",
"involvedObject": {
"uid": "123e4567-e89b-12d3-a456-426614174000",
"kind": "Pod",
"name": "test-0-1",
"namespace": "runai-test"
}
}
]
}Bearer authentication
The Universally Unique Identifier (UUID) of the revision.
The offset of the first item returned in the collection.
100The maximum number of entries to return.
50Executed successfully.
1Unauthorized
Forbidden
The specified resource was not found
unexpected error
unexpected error
GET /api/v1/workloads/inferences/revisions/{revisionId}/history HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"next": 1,
"records": [
{
"meta": {
"creationTimestamp": "2022-01-01T03:49:52.531Z",
"type": "Event"
},
"spec": {
"event": {
"createdAt": "2022-01-01T03:49:52.531Z",
"id": "123e4567-e89b-12d3-a456-426614174000",
"type": "Normal",
"clusterId": "71f69d83-ba66-4822-adf5-55ce55efd210",
"message": "Started container z",
"reason": "Started",
"source": "kubelet",
"involvedObject": {
"uid": "123e4567-e89b-12d3-a456-426614174000",
"kind": "Pod",
"name": "test-0-1",
"namespace": "runai-test"
}
},
"phaseUpdate": null
}
}
]
}Last updated