ai

Text Embeddings

Open-weight text embeddings at a fixed model and precision: deterministic vectors for RAG and memory pipelines, identical across suppliers. POST /v1/text with {inputs} (a string or array of strings) and get the embedding vectors as one JSON object. Pay per request in USDC; no account, no API key.

post/v1/text-embeddings

Request

  • Base URL: https://agent.pocket.network
  • URL: https://agent.pocket.network/v1/text-embeddings
  • Auth: none required

Request body

inputsstring[] required

A single string or an array of strings to embed.

Response

The upstream response, served after payment settles.

object required

For POST /v1/text, a JSON object with an embeddings array of fixed-length vectors. The exact shape is the service's own and is not pinned here; errors return a JSON object with an error field, and the GET routes return their own small JSON documents.

Changes

No recorded changes to this operation across all 1 revision of this API.