Create a custom pipeline profile, private to the request workspace.
A name taken anywhere in the tenant (or by a built-in) returns 409 profile_name_unavailable with no
detail about the holder: the unique index decides, there is no tenant-wide pre-read.
Send Authorization: Bearer <token>. The token is either a Clerk session JWT or a SmartMemory API key (prefix sm_live_, sm_test_, or legacy sk_).
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Request to create a custom pipeline profile.
extra="forbid": visibility, workspace_id, shared_workspace_ids and any other unknown key are
refused (422). The owning workspace is the request workspace and a new profile is always private.
Response Body
application/json
application/json
curl -X POST "https://example.com/memory/pipeline/profiles" \ -H "Content-Type: application/json" \ -d '{ "name": "string" }'{
"id": "string",
"name": "string",
"display_name": "string",
"description": "string",
"is_builtin": true,
"is_active": true,
"composition": {
"property1": "string",
"property2": "string"
},
"overrides": {
"property1": {},
"property2": {}
},
"tags": [
"string"
],
"usage_count": 0,
"visibility": "private",
"access": "builtin"
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}