TensorFlow · Schema
TensorFlow Serving Prediction Request
Schema for a prediction inference request to TensorFlow Serving. Supports row format (instances array) and column format (inputs object).
Artificial IntelligenceDeep LearningJavaScriptMachine-LearningModel ServingNeural NetworksOpen-SourcePython
Properties
| Name | Type | Description |
|---|---|---|
| signature_name | string | Optional name of the signature to use. Defaults to the model's default serving signature. |
| instances | object | Row format input array. Each element is a single prediction input - can be a scalar, list, or named-input object. |
| inputs | object | Column format input. Map of input tensor names to arrays of values across all instances. |
JSON Schema
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://github.com/api-evangelist/tensorflow/blob/main/json-schema/tensorflow-serving-prediction-request-schema.json",
"title": "TensorFlow Serving Prediction Request",
"description": "Schema for a prediction inference request to TensorFlow Serving. Supports row format (instances array) and column format (inputs object).",
"type": "object",
"properties": {
"signature_name": {
"type": "string",
"description": "Optional name of the signature to use. Defaults to the model's default serving signature."
},
"instances": {
"description": "Row format input array. Each element is a single prediction input - can be a scalar, list, or named-input object.",
"oneOf": [
{
"type": "array",
"items": { "type": "string" },
"description": "Array of string inputs"
},
{
"type": "array",
"items": { "type": "number" },
"description": "Array of numeric inputs"
},
{
"type": "array",
"items": {
"type": "object",
"description": "Named input object with multiple tensor values",
"additionalProperties": true
},
"description": "Array of named-input objects"
}
]
},
"inputs": {
"type": "object",
"description": "Column format input. Map of input tensor names to arrays of values across all instances.",
"additionalProperties": {
"oneOf": [
{ "type": "array" },
{ "type": "number" },
{ "type": "string" }
]
}
}
},
"examples": [
{
"instances": ["hello", "world"]
},
{
"signature_name": "serving_default",
"instances": [
{
"tag": "foo",
"signal": [1, 2, 3, 4, 5]
}
]
},
{
"inputs": {
"tag": ["foo", "bar"],
"signal": [[1, 2, 3, 4, 5], [3, 4, 1, 2, 5]]
}
}
]
}
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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/tensorflow-serving-prediction-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.