Skip to main content
PUT
/
orgs
/
{org_id}
/
card-template
Update org card template
curl --request PUT \
  --url https://api.mnemom.ai/v1/orgs/{org_id}/card-template \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "enabled": true,
  "template": {
    "card_id": "<string>",
    "agent_id": "<string>",
    "is_active": true,
    "card_json": {},
    "conscience_values": [
      {
        "type": "BOUNDARY",
        "name": "<string>",
        "content": "<string>"
      }
    ],
    "issued_at": "2023-11-07T05:31:56Z"
  }
}
'
{
  "org_id": "<string>",
  "enabled": true,
  "template": {
    "card_id": "<string>",
    "agent_id": "<string>",
    "is_active": true,
    "card_json": {},
    "conscience_values": [
      {
        "type": "BOUNDARY",
        "name": "<string>",
        "content": "<string>"
      }
    ],
    "issued_at": "2023-11-07T05:31:56Z"
  },
  "created_by": "<string>",
  "updated_by": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Supabase JWT token in Authorization: Bearer header

Path Parameters

org_id
string
required

Body

application/json
enabled
boolean
required

Whether the org card template is active

template
object
required

The alignment card template JSON

Response

Template updated

Organization alignment card template that all agents inherit

org_id
string
required

Organization ID

enabled
boolean
required

Whether the template is active

template
object
required

The alignment card template JSON

created_by
string

User ID who created the template

updated_by
string

User ID who last updated the template

created_at
string<date-time>
updated_at
string<date-time>