API Reference#

This documentation contains the API reference for the MSA Search NIM.

OpenAPI Specification#

You can download or view the OpenAPI specification when the NIM is running:

curl http://localhost:8000/openapi.json

You can also navigate to the interactive API documentation at http://localhost:8000/docs in your browser.

Get Database Configuration#

Endpoint path: /biology/colabfold/msa-search/config/msa-database-configs

Request type: GET

Input Parameters#

None.

Outputs#

  • configs (dictionary): A nested dictionary containing information about all configured MSA databases. The configuration can be converted to YAML format to view the original database configuration.

Get MMSeqs2 Version#

Endpoint path: /biology/colabfold/msa-search/mmseqs2/version

Request type: GET

Input Parameters#

None.

Outputs#

Returns version information for the MMSeqs2 installation used by the NIM.

Note

Use this endpoint to get the exact MMSeqs2 version when you need to create custom database indices. Custom indices must be created with the same MMSeqs2 version as the one running in the NIM to ensure compatibility.

Health Endpoints#

Readiness Check#

Endpoint path: /v1/health/ready

Request type: GET

Description: Checks if the service is ready to handle requests.

Outputs#

  • Status code 200: Service is ready

  • Status code 503: Service is not ready

Response includes a JSON object with:

  • message (string): Status message

  • object (string): Always “health.response”

  • status (string, optional): Status string for backwards compatibility

Liveness Check#

Endpoint path: /v1/health/live

Request type: GET

Description: Checks if the service is live (running).

Outputs#

  • Status code 200: Service is live

  • Status code 503: Service is not live

Response format is the same as the readiness check.

NIM Metadata Endpoints#

Version#

Endpoint path: /v1/version

Request type: GET

Description: Returns version information for the NIM.

Outputs#

  • release (string): The product release version of the NIM

  • api (string): The server API version running inside the NIM

License#

Endpoint path: /v1/license

Request type: GET

Description: Returns license information for the NIM.

Outputs#

  • name (string): The name of the license

  • path (string): The filepath within the container containing the license content

  • sha (string): SHA1 hash of the license contents

  • size (integer): Number of characters in the license content

  • url (string): URL where the license is hosted externally

  • type (string): Always “file”

  • content (string): The full license text

Metadata#

Endpoint path: /v1/metadata

Request type: GET

Description: Returns comprehensive metadata about the NIM deployment.

Outputs#

  • assetInfo (list[string]): Required container assets excluding model artifacts

  • licenseInfo (LicenseEndpointModel): License information

  • modelInfo (list[ModelInfo]): Information about models being served

  • repository_override (string): Alternate location for retrieving artifacts

  • version (string): NIM service version

  • selectedModelProfileId (string): ID of the currently selected model profile

Manifest#

Endpoint path: /v1/manifest

Request type: GET

Description: Returns the manifest file describing required model artifacts.

Outputs#

  • manifest_file (string): Content of the manifest file

  • repository_override (string): Alternate location for retrieving artifacts

Metrics#

Endpoint path: /v1/metrics

Request type: GET

Description: Exposes Prometheus metrics for monitoring.

Outputs#

Returns metrics in Prometheus format.