REST API
Direct HTTP access to Cosinia.
Core Endpoints
| Endpoint | Purpose |
|---|---|
| POST /worlds | Create or manage Semantic Worlds |
| POST /observe | Submit observations |
| POST /retrieve | Perform Semantic Retrieval |
| GET /api-keys | Manage 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."
}'