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.
openapi: 3.2.0
info:
title: Data Plane Metadata API
version: '2.0'
contact:
name: Seldon Technologies Ltd.
url: https://www.seldon.io/
email: hello@seldon.io
description: REST protocol to interact with inference servers.
license:
name: Business Source License 1.1
servers: []
tags:
- name: metadata
paths:
/v2:
get:
summary: Server Metadata
tags:
- metadata
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/MetadataServerResponse'
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/MetadataServerErrorResponse'
operationId: server-metadata
description: The server metadata endpoint provides information about the server. A server metadata request is made with an HTTP GET to a server metadata endpoint.
/v2/models/{model_name}/versions/{model_version}:
parameters:
- schema:
type: string
name: model_name
in: path
required: true
- schema:
type: string
name: model_version
in: path
required: true
get:
summary: Model Metadata
tags:
- metadata
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/MetadataModelResponse'
'404':
description: Not Found
content:
application/json:
schema:
$ref: '#/components/schemas/MetadataModelErrorResponse'
operationId: model-version-metadata
description: The per-model metadata endpoint provides information about a model. A model metadata request is made with an HTTP GET to a model metadata endpoint. The model name and (optionally) version must be available in the URL. If a version is not provided the server may choose a version based on its own policies or return an error.
/v2/models/{model_name}:
parameters:
- schema:
type: string
name: model_name
in: path
required: true
get:
summary: Model Metadata
tags:
- metadata
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/MetadataModelResponse'
'404':
description: Not Found
content:
application/json:
schema:
$ref: '#/components/schemas/MetadataModelErrorResponse'
operationId: model-metadata
description: The per-model metadata endpoint provides information about a model. A model metadata request is made with an HTTP GET to a model metadata endpoint. The model name and (optionally) version must be available in the URL. If a version is not provided the server may choose a version based on its own policies or return an error.
components:
schemas:
MetadataTensor:
title: MetadataTensor
type: object
properties:
name:
type: string
datatype:
type: string
shape:
type: array
items:
type: integer
parameters:
$ref: '#/components/schemas/Parameters'
required:
- name
- datatype
- shape
Parameters:
type: object
title: Parameters
x-examples: {}
additionalProperties: true
properties:
content_type:
type: string
headers:
type: object
MetadataModelErrorResponse:
title: MetadataModelErrorResponse
type: object
properties:
error:
type: string
required:
- error
MetadataModelResponse:
title: MetadataModelResponse
type: object
properties:
name:
type: string
versions:
type: array
items:
type: string
platform:
type: string
inputs:
type: array
items:
$ref: '#/components/schemas/MetadataTensor'
outputs:
type: array
items:
$ref: '#/components/schemas/MetadataTensor'
parameters:
$ref: '#/components/schemas/Parameters'
required:
- name
- platform
MetadataServerResponse:
title: MetadataServerResponse
type: object
description: ''
x-examples: {}
properties:
name:
type: string
version:
type: string
extensions:
type: array
items:
type: string
required:
- name
- version
- extensions
MetadataServerErrorResponse:
title: MetadataServerErrorResponse
type: object
properties:
error:
type: string
required:
- error