REST API

Direct HTTP access to Cosinia.

Core Endpoints

EndpointPurpose
POST /worldsCreate or manage Semantic Worlds
POST /observeSubmit observations
POST /retrievePerform Semantic Retrieval
GET /api-keysManage API credentials
</> Text
curl https://api.cosinia.com/observe \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "world_id": "my-world",
    "text": "John gave Mary a book."
  }'