Skip to main content

πŸ” Authentication & API Key

To access the NineBit CIQ SDK, you need a valid API key. This key authorizes your requests and links them to your account.


πŸ“₯ How to Get Your API Key​

  1. Visit the official CIQ platform: ciq.ninebit.in
  2. Click β€œRegister” (or Login if you already have an account)
  3. After logging in, you'll find your API key in the bottom-left corner of the dashboard

πŸ“Œ This key is unique to your account β€” keep it secure!


πŸ”§ Using the API Key in SDKs​

client = NineBitCIQClient(
api_key="<your-api-key>"
)

πŸ§ͺ Test Your Authentication​

To check if your API key is working, try uploading a test file or sending a query. If the key is invalid, the SDK will return an authentication error.

Example​

response = client.rag_query("Hello?")
print(response)

πŸ™‹ Need Help? If your key isn’t working or you’ve lost it:

Re-login to regenerate

Or contact support@ninebit.in