Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

TensorFlow Models API

Model status and metadata operations

TensorFlow Models API is one of 7 APIs that TensorFlow publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Models. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 5 operations across 5 paths, and defines 3 schemas. It is described by OpenAPI 3.0.3, at version 2.0.

Requests are made against a single base URL, http://{host}:{port}.

5 operations 5 paths 3 schemas 5 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
2.0
Base URL
http://host:8501
License
Resource Areas
1

Paths & Operations 5

Across 5 paths, the API surfaces 5 operations — 5 GET. Each is listed below with its method, path, parameters, and response codes.

Models 5

Model status and metadata operations

GET
/v1/models/{model_name}
Get Model Status
getModelStatus 1 param → 200404
GET
/v1/models/{model_name}/versions/{version}
Get Model Version Status
getModelVersionStatus 2 params → 200404
GET
/v1/models/{model_name}/labels/{label}
Get Model Label Status
getModelLabelStatus 2 params → 200404
GET
/v1/models/{model_name}/metadata
Get Model Metadata
getModelMetadata 1 param → 200404
GET
/v1/models/{model_name}/versions/{version}/metadata
Get Model Version Metadata
getModelVersionMetadata 2 params → 200404

Schemas 3

The contract defines 3 schemas that model the data the API accepts and returns. The most detailed are ModelMetadataResponse (2 properties), ModelStatusResponse (1 property), ErrorResponse (1 property). Each schema is shown below with its type and property counts.

ModelMetadataResponse
object
Response containing metadata about a model
2 properties
ErrorResponse
object
Error response returned when a request fails
1 property
ModelStatusResponse
object
Response containing the status of a model or model version
1 property

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

tensorflow-models-api-openapi.yml Raw ↑

Other APIs TensorFlow publishes across the network.

TensorFlow Core API
TensorFlow.js API
TensorFlow Lite API
TensorFlow Hub API
TensorBoard API
TensorFlow Inference API