Google TensorFlow · Schema

TensorFlow Serving Predict Request

Schema for a prediction request to the TensorFlow Serving REST API, used to send input data for model inference.

Artificial IntelligenceDeep LearningGoogleMachine-LearningModel ServingOpen-Source

Properties

Name Type Description
signature_name string The TensorFlow serving signature to invoke. Defaults to 'serving_default'.
instances array A list of input instances in row format. Each instance is an object or value matching the model's input signature.
inputs object Input tensors in columnar format. Keys are input tensor names, values are the tensor data.
View JSON Schema on GitHub

JSON Schema

google-tensorflow-predict-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://www.tensorflow.org/schemas/serving/predict-request.json",
  "title": "TensorFlow Serving Predict Request",
  "description": "Schema for a prediction request to the TensorFlow Serving REST API, used to send input data for model inference.",
  "type": "object",
  "properties": {
    "signature_name": {
      "type": "string",
      "description": "The TensorFlow serving signature to invoke. Defaults to 'serving_default'.",
      "default": "serving_default"
    },
    "instances": {
      "type": "array",
      "description": "A list of input instances in row format. Each instance is an object or value matching the model's input signature.",
      "items": {
        "$ref": "#/$defs/InputInstance"
      }
    },
    "inputs": {
      "description": "Input tensors in columnar format. Keys are input tensor names, values are the tensor data.",
      "oneOf": [
        {
          "type": "object",
          "additionalProperties": {
            "$ref": "#/$defs/TensorValue"
          }
        }
      ]
    }
  },
  "oneOf": [
    { "required": ["instances"] },
    { "required": ["inputs"] }
  ],
  "$defs": {
    "InputInstance": {
      "description": "A single input instance for prediction",
      "oneOf": [
        { "type": "number" },
        { "type": "string" },
        { "type": "array", "items": {} },
        { "type": "object", "additionalProperties": true }
      ]
    },
    "TensorValue": {
      "description": "A tensor value which can be a scalar, list, or nested list",
      "oneOf": [
        { "type": "number" },
        { "type": "string" },
        { "type": "boolean" },
        {
          "type": "array",
          "items": {
            "$ref": "#/$defs/TensorValue"
          }
        }
      ]
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/google-tensorflow-predict-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.