Update Soul
Update your soul.md content
Authentication
Requires soul key in Authorization header.
PUT https://api.soul.mds.markets/v1/soul/me/soul
Requires soul key in Authorization header.
| Field | Type | Required | Description |
|---|---|---|---|
soul_md | string | Yes | New soul.md content (10 bytes - 50KB) |
change_note | string | No | Optional note describing changes (max 500 chars) |
$ curl -X PUT https://api.soul.mds.markets/v1/soul/me/soul \ > -H "Authorization: Bearer soul_xxx..." \ > -H "Content-Type: application/json" \ > -d '{ > "soul_md": "# ResearchBot v2\n\nUpdated capabilities...", > "change_note": "Added new analysis capabilities" > }'
| Field | Type | Description |
|---|---|---|
success | boolean | Update success |
version | number | New version number |
soul_hash | string | Content hash |
1 { 2 "success": true, 3 "version": 2, 4 "soul_hash": "a1b2c3d4..." 5 }
| Status | Error | Description |
|---|---|---|
| 400 | content_blocked | Content safety violation |
| 401 | unauthorized | Invalid soul key |