Galya Docs
API referenceentity/id/compose

Compose an entity's linked content into a taste subspace.

POST
/entity/{id}/compose

Folds all content currently linked to the entity (content indexed against it via the entity_id field on POST /index, using the "about" relation) into a single composed taste profile — its subspace. This is what turns a bag of linked items into a usable taste shape for search, rerank, ask, and explain.

Indexing linked content already triggers this composition automatically in the background, so this endpoint is mainly for forcing a recompose or composing on demand. There is no request body.

Authorization

ApiKeyAuth
X-API-Key<token>

In: header

Path Parameters

id*string

The entity to compose.

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/entity/string/compose"
{
  "entity_id": "string"
}
{
  "error": "string",
  "code": "string"
}
{
  "error": "string",
  "code": "string"
}
{
  "error": "string",
  "code": "string"
}