/inference

get
list endpoints

https://xxxx.yyyy.zzzz.com/inference/{workspace}
This route lists all running endpoints within a workspace.
Request
Response
Request
Path Parameters
workspace
required
string
selected workspace
Response
200: OK

post
deploy endpoint

https://xxxx.yyyy.zzzz.com/inference/{workspace}/{model_id}
This route creates a new endpoint with a previously trained model within a workspace.
Request
Response
Request
Path Parameters
workspace
required
string
selected workspace
model_id
required
string
selected model id
Query Parameters
user
optional
string
user for tracking ownership of training job
Body Parameters
data
required
string
binary source bundle
Response
200: OK

get
source endpoint bundle

https://xxxx.yyyy.zzzz.com/inference/{workspace}/{endpoint_name}/bundle
This route retrieves the source bundle associated with a particular training job within a workspace.
Request
Response
Request
Path Parameters
workspace
required
string
selected workspace
endpoint_name
required
string
selected endpoint name
Response
200: OK

get
endpoint provenance

https://xxxx.yyyy.zzzz.com/inference/{workspace}/{endpoint_name}/provenance
This route retrieves the provenance of a particular endpoint within a workspace.
Request
Response
Request
Path Parameters
workspace
required
string
selected workspace
endpoint_name
required
string
selected endpoint name
Response
200: OK

get
endpoint logs

https://xxxx.yyyy.zzzz.com/inference/{endpoint_name}/logs
This route retrieves logs associated with a particular endpoint.
Request
Response
Request
Path Parameters
endpoint_name
required
string
selected endpoint name
Response
200: OK

get
endpoint build logs

https://xxxx.yyyy.zzzz.com/inference/{workspace}/build/{job_id}/logs
This route retrieves logs associated with building the source endpoint **image.
Request
Response
Request
Path Parameters
workspace
required
string
selected workspace
job_id
required
string
selected building job_id
Response
200: OK

delete
remove endpoint

https://xxxx.yyyy.zzzz.com/endpoint/{endpoint_name}
This route removes a running endpoint within kaos.
Request
Response
Request
Path Parameters
endpoint_name
required
string
selected endpoint name
Response
200: OK