Update API calls to include dynamic configuration, updated sample document comments