TrueFoundry · Capability

TrueFoundry AI Gateway API — Embeddings

TrueFoundry AI Gateway API — Embeddings. 1 operations. Lead operation: Create Embeddings. Self-contained Naftiko capability covering one Truefoundry business surface.

Run with Naftiko TruefoundryEmbeddings

What You Can Do

POST
Createembeddings — Create Embeddings
/v1/embeddings

MCP Tools

create-embeddings

Create Embeddings

Capability Spec

ai-gateway-embeddings.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: TrueFoundry AI Gateway API — Embeddings
  description: 'TrueFoundry AI Gateway API — Embeddings. 1 operations. Lead operation: Create Embeddings. Self-contained Naftiko
    capability covering one Truefoundry business surface.'
  tags:
  - Truefoundry
  - Embeddings
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    TRUEFOUNDRY_API_KEY: TRUEFOUNDRY_API_KEY
capability:
  consumes:
  - type: http
    namespace: ai-gateway-embeddings
    baseUri: https://app.truefoundry.com/api/llm
    description: TrueFoundry AI Gateway API — Embeddings business capability. Self-contained, no shared references.
    resources:
    - name: embeddings
      path: /embeddings
      operations:
      - name: createembeddings
        method: POST
        description: Create Embeddings
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.TRUEFOUNDRY_API_KEY}}'
  exposes:
  - type: rest
    namespace: ai-gateway-embeddings-rest
    port: 8080
    description: REST adapter for TrueFoundry AI Gateway API — Embeddings. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/embeddings
      name: embeddings
      description: REST surface for embeddings.
      operations:
      - method: POST
        name: createembeddings
        description: Create Embeddings
        call: ai-gateway-embeddings.createembeddings
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: ai-gateway-embeddings-mcp
    port: 9090
    transport: http
    description: MCP adapter for TrueFoundry AI Gateway API — Embeddings. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: create-embeddings
      description: Create Embeddings
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: ai-gateway-embeddings.createembeddings
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.