Calling the Inkeep API
Call the Inkeep API from any client or technology stack.
Overview
Our search and chat APIs are available via GraphQL or REST protocols.
The GraphQL API provides an interactive playground and multi-language type safety. The REST API acts as a native, feature-equivalent proxy of the GraphQL API. Contact us for preview documentation of the REST API.
You can use whichever version you prefer for your application. Our APIs can be called from client-side public apps or backend services.
To quickly start testing the API, try our API playground.
GraphQL Clients
Using a GraphQL client gives you the benefits of a better developer experience by handling things like:
- Type safety
- Caching
- Error handling
- Query batching
- ...and more
Below is an example of how to use two popular GraphQL clients.
Apollo Client (for React browser-side apps)
Apollo Client is a popular GraphQL client for client-side JavaScript web-apps built on React. It also supports server-side rendering scenarios as documented here.
URQL (for browser and server-side JavaScript apps)
URQL is a lightweight GraphQL client that is great for both client-side and server-side JavaScript apps.