Role contracts

Open an audited session under a role

Pins the contract version and hash plus the Brain state hash at that instant, and returns the owner's declared working environment. Fee: 0.001 AIC. Auto-releases after 60 minutes. One open session per role.

post/v1/project/{name}/role/{roleId}/assume

Request

  • Base URL: https://api.chainmemory.ai
  • URL: https://api.chainmemory.ai/v1/project/{name}/role/{roleId}/assume
  • Auth: API key in header x-api-key

Path parameters

namestring required
roleIdstring required

Request body

platformstring

Executor: claude, chatgpt, gemini

Response

Session open

Changes

No recorded changes to this operation across all 1 revision of this API.