Comments (2)
To interact with the quivr API and authenticate your requests, you'll need to include an authorization header in the format Authorization: Bearer YOUR_ACCESS_TOKEN
. Here's a quick guide to help you with the authentication process:
-
Obtaining an Access Token: You need a valid JWT token or API key. If you're unsure how to obtain this, it typically involves logging into the quivr platform or contacting their support to generate an API key or token for your account.
-
Using the Access Token: With your token, make API requests by adding the header
Authorization: Bearer YOUR_ACCESS_TOKEN
. ReplaceYOUR_ACCESS_TOKEN
with your actual token. -
Handling Authentication in Code: The quivr API uses a Bearer authentication method. If you're working with the API programmatically, ensure your requests include the correct authorization header. For development or testing, if the
AUTHENTICATE
environment variable is set to "false", authentication can be bypassed, simulating a test user. -
Documentation and API Keys: If the API documentation seems missing, it's now located at
https://api.quivr.app/openapi.json
. For API keys, if you need to retrieve or manage your keys, this typically involves accessing your user settings or dashboard within the quivr platform.
If you encounter "No authenticated" errors, double-check that your token is correctly included in the request headers and is valid. For any issues related to lost or managing API keys, the quivr platform's user settings or support would be the next steps to resolve those concerns.
This should cover the essentials for authenticating with the quivr API and getting started with your requests. If there's anything more specific you need help with, feel free to ask!
Details
Sources
- [Local Quivr] ABackend, I can be ran locally with a password auth
- docs/mint.json
- backend/middlewares/auth/auth_bearer.py
- docs/configuring/authentication.mdx
- backend/modules/api_key/repository/api_key_interface.py
- cms/quivr/types/generated/contentTypes.d.ts
About Dosu
This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.
Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.
To continue the conversation, mention @dosu.
from quivr.
Hey!
You need to create an api key from the frontend in the user page :)
The documentation is here: https://api.quivr.app/docs
from quivr.
Related Issues (20)
- [Feature]: demo issue typo
- [Bug]: Setting up locally shows screen "Talk to Quivr Unpaid users have access to a free and limited demo of Quivr" HOT 16
- [Bug]: Unable to Access Login Page and Enter Credentials HOT 6
- [Bug]: While creating a new brain in localhost instance of Quivr, I am getting error HOT 16
- [Bug]: HOT 5
- [Bug]:
- [Bug]: error /app/node_modules/sharp: Command failed. HOT 2
- LocalAI support HOT 3
- [Bug]: GPT4 Brain code is not clean
- [Bug]: Unable to start backend-core HOT 8
- [Bug]: "error":"model 'llama2' not found, try pulling it first" HOT 6
- [Bug]: How to use the embedding model of ollama HOT 2
- [Bug]: runtime error: slice bounds out of range [1:0] HOT 1
- [Bug]: No model on ollama was used to answer HOT 16
- [Bug]: Not able to create brain on AWS Linux HOT 1
- [Epic]: Where does the user change the language? HOT 3
- How to set up the groq api? HOT 3
- [Bug]: it's still using OpenAI after set Ollama in .env file HOT 2
- [Feature]: azure open ai vs OpenAI key
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from quivr.