Create a new opinion with optional agent attribution.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Request to create a new opinion.
Response Body
application/json
application/json
curl -X POST "https://example.com/memory/opinions/create" \ -H "Content-Type: application/json" \ -d '{ "content": "string" }'null{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}Create Ontology Type
Declare an ontology class (CORE-MEMTYPE-DECLARE-1). `kind='record'` declares a concrete record type: items may then be written with `memory_type=<name>` through `/memory/add` and `/memory/ingest/structured`, schema-checked against `properties_schema` (WARNING mode in P1). 400 on an invalid schema/tier/kind/strategy; 409 when the name shadows a registered memory type or the iri/qid identity slot is already bound (the body names the conflict).
Create Pattern
Manually add an entity pattern.