In our various guides we assumed the use of our Python SDK. There are some use cases where this is not appropriate. For example, if you are integrating Humanloop from a non-Python backend, such as Node.js, or using a no-or-low-code builder such as Bubble or Zapier. In these cases, you can leverage our RESTful APIs directly.
To help with direct API integrations, we maintain a Postman Workspace with various worked examples for the main endpoints you will need.
Production in the dropdown in the top right where it says No EnvironmentEnvironment quick look button beside the environment dropdown and paste your Humanloop API key into the CURRENT VALUE of the user_api_key variable:
CURRENT VALUE of the global open_ai_key variable:
You are now all set to use Postman to interact with the APIs with real examples!
A collection is a set of executable API specifications that are grouped together in Postman.
There are 4 executable collections provided to check out.
The Chat collection is the best place to start to get a project setup and sending chat messages. To try it out:
POST calls in order from top to bottom by selecting them under the collection on the left hand side and pressing the Send button on the right hand side. You should see the resulting response body appearing in the box below the request body.
assistant with logged data.