Answers about http-api
Questions and answers from the Croct community about http-api.
0
No SvelteKit SDK, so I am calling the Content API from a server load function. Sane?
Couldn't find a SvelteKit SDK so I prototyped this in a +page.server.js load function and it works, but I want a sanity check before building on it: Is the…
1
Evaluation API keeps returning a missing client id error from my curl test
Testing the Evaluation API before wiring it into our backend. This command returns a problem response about a missing client id even though the API key is…
1
Requests started failing after we enriched context attributes with a big object
We run a marketplace and started passing our product object as context attributes so audiences could target by category, seller, price range, etc. Worked at…
0
What error format does the Croct HTTP API return? Building a typed client
Writing a thin typed client for the Content and Evaluation APIs. Need the error envelope. Is it consistent across endpoints or per-endpoint shapes? Want to…