DeepSeek has reopened access to its core programming interface after being suspended for nearly three weeks.