Merge exact active Atomic Memories into a new Artifact

POST
/v1/atomic-memory/merges

Authorization

BearerAuth
AuthorizationBearer <token>

Bearer credential resolved to an opaque authenticated Principal by the Server deployment.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/atomic-memory/merges" \  -H "Content-Type: application/json" \  -d '{    "scope_id": "string",    "inputs": [      {        "artifact": {          "family": "string",          "artifact_id": "string",          "revision": 1        },        "state_version": 0      },      {        "artifact": {          "family": "string",          "artifact_id": "string",          "revision": 1        },        "state_version": 0      }    ],    "content": {      "kind": "string",      "text": "string"    }  }'
{  "changed": true,  "records": [    {      "artifact": {        "family": "string",        "artifact_id": "string",        "revision": 1      },      "kind": "string",      "text": "string",      "state": "active",      "state_version": 0,      "merged_into_id": "string"    }  ]}