FTS not processing entities created using datamanager from custom API


I have a custom API to create an entity say Foo which creates a new object of Foo using metadata, sets properties from API params and saves it using data manager. Suppose I create 2 such objects in following manner:

foo1 : Using my API
foo2 : Using a edit screen created using Studio

Now my FTS processQueue runs every 10 seconds, so after that I am able to search foo2 but not foo1.

Let me know if more clarification needed. I am using 6.7.3 platform version.