New Twitch API GetClips Missing SOME Clips, but Not All?

That’s just how Twitch does filtering on some endpoints, where 100 clips were retrieved and then filtered for your request, and displayed those 40 results.

Your request also returns a pagination cursor, so to get the rest of the results you keep paging through until you have all the results or no cursor is returned. Just because you may have less results than what you specified as the first param doesn’t mean results are missing, or it’s broken.