curl --request POST \
--url http://localhost:8080/api/v2/memories/semantic/feature \
--header 'Content-Type: application/json' \
--data '
{
"set_id": "<string>",
"category_name": "<string>",
"tag": "<string>",
"feature": "<string>",
"value": "<string>",
"org_id": "universal",
"project_id": "universal",
"feature_metadata": {},
"citations": [
"<string>"
]
}
'{
"feature_id": "<string>"
}Add a semantic feature to a project.
Creates a new semantic feature with the specified category, tag, feature name, and value. Optional metadata and episode citations can be attached.
Returns the unique identifier of the created feature.
curl --request POST \
--url http://localhost:8080/api/v2/memories/semantic/feature \
--header 'Content-Type: application/json' \
--data '
{
"set_id": "<string>",
"category_name": "<string>",
"tag": "<string>",
"feature": "<string>",
"value": "<string>",
"org_id": "universal",
"project_id": "universal",
"feature_metadata": {},
"citations": [
"<string>"
]
}
'{
"feature_id": "<string>"
}Specification model for adding a semantic feature.
Identifier of the semantic set to add the feature to.
Category name to attach the feature to.
Tag name to associate with the feature.
Feature name/key.
Feature value.
The unique identifier of the organization.
- Must not contain slashes (`/`).
- Must contain only letters, numbers, underscores, hyphens, colon, and Unicode
characters (e.g., Chinese/Japanese/Korean). No slashes or other symbols
are allowed.
This value determines the namespace the project belongs to."MemVerge"
"AI_Labs"
The identifier of the project.
- Must be unique within the organization.
- Must not contain slashes (`/`).
- Must contain only letters, numbers, underscores, hyphens, colon, and Unicode
characters (e.g., Chinese/Japanese/Korean). No slashes or other symbols
are allowed.
This ID is used in API paths and resource locations."memmachine"
"research123"
"qa_pipeline"
Optional metadata to store alongside the feature.
Show child attributes
Optional episode IDs supporting this feature.
Successful Response
Response model for adding a semantic feature.
Unique identifier for the semantic feature.