SmartMemory
POST
/memory/evidence

Store one Compose evidence record. The same record again returns the stored node with no write.

Authorization

AuthorizationBearer <token>

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.

A Compose evidence record (compose contracts/evidence.schema.json #/definitions/record).

Response Body

application/json

application/json

curl -X POST "https://example.com/memory/evidence" \  -H "Content-Type: application/json" \  -d '{    "record": {}  }'
null
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}