NVIDIA NIM · Capability

NVIDIA NIM Reranking

NeMo Retriever cross-encoder reranking via /v1/ranking.

NVIDIA NIM Reranking is a Naftiko capability published by NVIDIA NIM, one of 11 capabilities the APIs.io network indexes for this provider. It bundles 1 operation across the POST method rooted at /v1/ranking.

The capability includes 1 read-only operation. Lead operation: Rank Candidate Passages. Can be deployed as a REST endpoint, MCP tool, or Agent Skill via Naftiko.

Tagged areas include NVIDIA, NIM, Reranking, and RAG.

Run with Naftiko NVIDIANIMRerankingRAG

What You Can Do

POST
Rankpassages — Rank Candidate Passages
/v1/ranking

MCP Tools

nvidia-nim-rerank

Rank Candidate Passages

read-only idempotent

Capability Spec

reranking-reranking.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: NVIDIA NIM Reranking
  description: 'NeMo Retriever cross-encoder reranking via /v1/ranking.'
  tags:
  - NVIDIA
  - NIM
  - Reranking
  - RAG
  created: '2026-05-25'
  modified: '2026-05-25'
binds:
- namespace: env
  keys:
    NVIDIA_API_KEY: NVIDIA_API_KEY
capability:
  consumes:
  - type: http
    namespace: reranking
    baseUri: https://integrate.api.nvidia.com
    resources:
    - name: ranking
      path: /v1/ranking
      operations:
      - name: rankpassages
        method: POST
        description: Rank Candidate Passages
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          required: true
    authentication:
      type: bearer
      value: '{{env.NVIDIA_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: reranking-rest
    port: 8080
    resources:
    - path: /v1/ranking
      name: ranking
      operations:
      - method: POST
        name: rankpassages
        description: Rank Candidate Passages
        call: reranking.rankpassages
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: reranking-mcp
    port: 9090
    transport: http
    tools:
    - name: nvidia-nim-rerank
      description: Rank Candidate Passages
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: reranking.rankpassages
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.