I think you may be confused here.
The Custom Logs section in the workspace resource settings lets you identify a text or CSV file that is collected by the monitoring agent. That data gets written to a custom table or _CL.
When you write to the workspace using the API it also puts its data into a custom table. The API would be used in an application or Logic App to transfer data into the workspace from some other source. For example, copying in data from a 3rd party service. The Microsoft agent would not be involved in this transaction.
The reason the API is in preview is that it was recently updated to support the new AMA agent.