Listing Model Endpoints using API
Consider the following details for listing Model Endpoints using API.
List model endpoints with the help of the following command:
curl -H "Content-Type: application/json" -H "Authorization: Bearer ${CDP_TOKEN}" "https://${DOMAIN}/api/v1alpha1/listEndpoints" -d '{
"namespace": "serving-default"
}'
{"endpoints":[
{
"namespace":"serving-default",
"name":"mlflow-wine-test-from-registry-onnx",
"url":"https://[***domain***]/namespaces/serving-default/endpoints/[***endpoint_name***]/v2/models/[***model_name***]/infer",
"state":"Loaded"
}
]}%