Skip to content

Accesing Models

Get List of Models

Once the krypton server is up and running, you can access the list of models by making a GET request on this endpoint.

Request

curl --location --request GET 'http://<hostname>:<port>/api/v1/models'

Sample Response

{
    "success": true,
    "data": [
        {
            "model": "spacy_ner_demo",
            "endpoint": "/api/v1/models/spacy_ner_demo/predict",
            "status": "Available"
        }
    ]
}