SmartMemory
POST
/memory/adapters/{integration_id}/install

Connect an integration: body {credential: {kind: pasted, value} | {kind: onepassword, ref} | {kind: none}, config?: {...}}.

The body is validated by hand (not a pydantic body model) so a refused token never comes back in a 422.

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

Path Parameters

integration_id*Integration Id

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

body?Payload

Response Body

application/json

application/json

curl -X POST "https://example.com/memory/adapters/string/install"
null
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}