API error 500

What are the common causes of a 500 error for the /discourse-ai/embeddings/semantic-search endpoint?

i wonder if it’s this?

We can guess, but the best approach is to check logs.

That’s both rails logs and the /logs path on your Discourse instance, only visible to admins.