Skip to content
Version: Current

POST /v1/embeddings

Part of the API reference; this page is generated from the OpenAPI document that the gateway builds from its own route tables.

  • Contract version: 1.10.0
  • Contract title: acumen gateway API
  • Source: acumen:docs/openapi/acumen-v1.openapi.json

Embeddings (declared; no embedding adapter in this build)

Declared as an embeddings door. The deployed build has no embedding adapter, so the route answers 400 schema_invalid; the OpenAPI entry documents the intended contract.

  • Operation id: postV1Embeddings
  • Scope: embeddings
  • Exposure: public
  • Mutating: no
  • Auth: bearerAuth, apiKeyAuth

Request

  • Request body (application/json, required): EmbeddingsRequest: EmbeddingsRequest (object)
Field Type Required Notes
input yes string or array of strings
model string yes

Responses

  • 200: the intended contract: an embedding vector per input
    • application/json: EmbeddingsResponse: EmbeddingsResponse (object)
  • 400: schema_invalid (deployed behaviour)
    • application/problem+json: Problem: Problem (object)
  • 401: bad_credentials
    • application/problem+json: Problem: Problem (object)
  • 501: not_implemented (no embedding adapter)
    • application/problem+json: Problem: Problem (object)