Skip to main content
POST
Create embeddings
Generate embedding vectors for one or more input strings. Pass a non-empty input string, or an array of strings for batch embedding. The request and response are OpenAI-compatible, so the OpenAI SDK works unchanged by pointing base_url at the AIsa API. Available models (both 1024-dim output):
  • jina-embeddings-v3
  • jina-embeddings-v5-text-small
Served at the AIsa API path /v1/embeddings — OpenAI-compatible. Billing is token-based; the usage.total_tokens field reports the tokens billed for each request.

Request contract

  • Method and path: POST /embeddings
  • Request URL template: https://api.aisa.one/v1/embeddings
Complete OpenAPI definition Effective request and pricing declaration (including authentication and referenced schemas):

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
input
required

A non-empty string, or an array of non-empty strings, to embed.

Example:

"A fast, OpenAI-compatible embeddings endpoint."

model
enum<string>
required

Embedding model name. Available: jina-embeddings-v3 or jina-embeddings-v5-text-small (both 1024-dim).

Available options:
jina-embeddings-v3,
jina-embeddings-v5-text-small
Example:

"jina-embeddings-v3"

Response

200 - application/json

Embedding list.

data
object[]
model
string
Example:

"jina-embeddings-v3"

object
string
Example:

"list"

usage
object