{
  "opencollection": "1.0.0",
  "info": {
    "name": "TensorFlow Serving REST API",
    "version": "2.0"
  },
  "items": [
    {
      "info": {
        "name": "Models",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Model Status",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://{host}:{port}/v1/models/:model_name",
            "params": [
              {
                "name": "model_name",
                "value": "",
                "type": "path",
                "description": "The name of the model"
              }
            ]
          },
          "docs": "Returns the status of a model in the ModelServer, including the state and any error status for each version of the model."
        },
        {
          "info": {
            "name": "Get Model Version Status",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://{host}:{port}/v1/models/:model_name/versions/:version",
            "params": [
              {
                "name": "model_name",
                "value": "",
                "type": "path",
                "description": "The name of the model"
              },
              {
                "name": "version",
                "value": "",
                "type": "path",
                "description": "The specific version number of the model"
              }
            ]
          },
          "docs": "Returns the status of a specific version of a model in the ModelServer."
        },
        {
          "info": {
            "name": "Get Model Label Status",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://{host}:{port}/v1/models/:model_name/labels/:label",
            "params": [
              {
                "name": "model_name",
                "value": "",
                "type": "path",
                "description": "The name of the model"
              },
              {
                "name": "label",
                "value": "",
                "type": "path",
                "description": "The label identifying a specific model version"
              }
            ]
          },
          "docs": "Returns the status of a model version identified by label in the ModelServer."
        },
        {
          "info": {
            "name": "Get Model Metadata",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://{host}:{port}/v1/models/:model_name/metadata",
            "params": [
              {
                "name": "model_name",
                "value": "",
                "type": "path",
                "description": "The name of the model"
              }
            ]
          },
          "docs": "Returns the metadata of a model in the ModelServer. If no version is specified, returns metadata for the latest available version."
        },
        {
          "info": {
            "name": "Get Model Version Metadata",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://{host}:{port}/v1/models/:model_name/versions/:version/metadata",
            "params": [
              {
                "name": "model_name",
                "value": "",
                "type": "path",
                "description": "The name of the model"
              },
              {
                "name": "version",
                "value": "",
                "type": "path",
                "description": "The specific version number of the model"
              }
            ]
          },
          "docs": "Returns the metadata for a specific version of a model in the ModelServer."
        }
      ]
    },
    {
      "info": {
        "name": "Inference",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Classify With Model",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "http://{host}:{port}/v1/models/:model_name:classify",
            "params": [
              {
                "name": "model_name",
                "value": "",
                "type": "path",
                "description": "The name of the model"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Runs classification inference using the specified model. The request follows the PredictionService.Classify gRPC API semantics. Returns classification labels and scores."
        },
        {
          "info": {
            "name": "Classify With Model Version",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "http://{host}:{port}/v1/models/:model_name/versions/:version:classify",
            "params": [
              {
                "name": "model_name",
                "value": "",
                "type": "path",
                "description": "The name of the model"
              },
              {
                "name": "version",
                "value": "",
                "type": "path",
                "description": "The specific version number of the model"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Runs classification inference using a specific version of the model."
        },
        {
          "info": {
            "name": "Regress With Model",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "http://{host}:{port}/v1/models/:model_name:regress",
            "params": [
              {
                "name": "model_name",
                "value": "",
                "type": "path",
                "description": "The name of the model"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Runs regression inference using the specified model. The request follows the PredictionService.Regress gRPC API semantics. Returns regression values for each input example."
        },
        {
          "info": {
            "name": "Regress With Model Version",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "http://{host}:{port}/v1/models/:model_name/versions/:version:regress",
            "params": [
              {
                "name": "model_name",
                "value": "",
                "type": "path",
                "description": "The name of the model"
              },
              {
                "name": "version",
                "value": "",
                "type": "path",
                "description": "The specific version number of the model"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Runs regression inference using a specific version of the model."
        },
        {
          "info": {
            "name": "Predict With Model",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "http://{host}:{port}/v1/models/:model_name:predict",
            "params": [
              {
                "name": "model_name",
                "value": "",
                "type": "path",
                "description": "The name of the model"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Runs prediction inference using the specified model. Supports both row format (instances array) and column format (inputs object). Returns predictions in the corresponding format."
        },
        {
          "info": {
            "name": "Predict With Model Version",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "http://{host}:{port}/v1/models/:model_name/versions/:version:predict",
            "params": [
              {
                "name": "model_name",
                "value": "",
                "type": "path",
                "description": "The name of the model"
              },
              {
                "name": "version",
                "value": "",
                "type": "path",
                "description": "The specific version number of the model"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Runs prediction inference using a specific version of the model."
        }
      ]
    }
  ],
  "bundled": true
}