What I see is https://cdn.deepseek.com/policies/en-US/deepseek-privacy-pol...
They do not have a specific exclusion for API use.
I know Z.ai has an exclusion for API use. It's widely reported Deepseek doesn't.
To the open platform terms (i.e. for API use): https://cdn.deepseek.com/policies/en-US/deepseek-open-platfo...
The standard terms includes clause 4.3 which grants them the right to retain inputs and outputs for training purposes, and this is missing from their API terms. The standard terms also cover the right to opt out (which you can do from your user settings). No such opt-out exists on the API because it isn't applicable.