Anchorage API reference
    Preparing search index...
    • Mint a tenant-salted agent-memory resourceId: ${tenantId}_${resourceKey}. The key is the host's business identity for the memory owner (a user id, a lead id) and is deliberately stable across runs — two tenants using the SAME key stay disjoint because the prefix differs. The key must match the do-runner's PATH_SAFE_ID_PATTERN (RFC 3986 unreserved); '' inside it is fine — the tenant-ID pattern excludes '' from tenant ids, so the first underscore is always the tenant boundary.

      Parameters

      • tenantId: string
      • resourceKey: string

      Returns string