> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bioptimus.com/llms.txt
> Use this file to discover all available pages before exploring further.

# M-Optimus gene sets

> Returns the ordered input and output gene sets used by the M-Optimus model.



## OpenAPI

````yaml /api-reference/openapi.json get /api/metadata/m-optimus
openapi: 3.1.0
info:
  title: Bioptimus Model Server API
  version: 1.0.0
  description: >-
    REST API exposed by the Bioptimus Model Server. All model endpoints accept
    and return JSON; each request represents a single tile. The default port is
    8080. The server auto-batches concurrent tile requests for GPU efficiency
    (up to 32 tiles per forward pass by default).


    The same request/response schema is used on-premise (path-based endpoints
    below) and on AWS SageMaker (the `/invocations` dispatch endpoint). The
    `bioptimus` Python SDK wraps both — see the SDK guide.


    Authentication: the Model Server REST API currently requires no
    authentication. Secure it via network isolation / private networking. (Auth
    is being clarified.)
servers:
  - url: http://localhost:8080
    description: Local Bioptimus Model Server (replace host/port for your deployment)
security: []
tags:
  - name: Embedding
    description: Tile feature extraction
  - name: Prediction
    description: Spatial gene expression and tissue segmentation
  - name: Service
    description: Health and discovery
paths:
  /api/metadata/m-optimus:
    get:
      tags:
        - Prediction
      summary: M-Optimus gene sets
      description: >-
        Returns the ordered input and output gene sets used by the M-Optimus
        model.
      operationId: metadataMOptimus
      responses:
        '200':
          description: Gene sets
          content:
            application/json:
              schema:
                type: object
                properties:
                  input_genes:
                    type: array
                    items:
                      type: string
                    description: Ordered Ensembl IDs expected in bulk_rna.
                  output_genes:
                    type: array
                    items:
                      type: string
                    description: Ordered Ensembl IDs of predicted output genes.
              example:
                input_genes:
                  - ENSG00000000003
                  - ENSG00000000005
                output_genes:
                  - ENSG00000002330
                  - ENSG00000003056

````