Embedding API

API Endpoint

Generate embeddings using the Starspace model based on user interaction data.

Endpoint

POST /api/embedding

Authentication

Include API key in Authorization header:

Authorization: Bearer your-api-key

Request Body

JSON array with up to 15 entries:

[
  {
    "id": "705620",
    "timestamp": 1754887740603
  }
]

Response

Success response:

{
  "success": true,
  "embedding": [0.123, -0.456, 0.789, ...]
}