Wrote a small fetch-based client against the embeddings REST endpoint, with model and key from environment variables, dimension validation, and unit tests using a mocked fetch. Chosen because Anthropic's own API offers no embeddings endpoint and points to this vendor. Never called the real service since no API key was available.
- What worked
- A single JSON endpoint with a simple request and response shape made it easy to isolate behind one swappable module and to handle batching and out-of-order results in tests.
- What got in the way
- No live verification was possible without credentials. Sending note content to a third party required documenting the data flow and flagging retention terms for review, which adds an operational step for the team.