Skip to content
This repository was archived by the owner on Feb 15, 2025. It is now read-only.

Strategize solution for authorization (API_KEY) for documentation upload (User and/or Org Auth) #266

Open
YrrepNoj opened this issue Mar 15, 2024 · 0 comments
Labels
api enhancement New feature or request

Comments

@YrrepNoj
Copy link
Member

We will need to consider how we want to authenticate and authorize users when they are uploading files to our endpoints.

It is unclear how we want to logically 'group' users so that a group can access files that each other have uploaded while still maintaining granularity to know exactly who has uploaded and accessed each document.

Context:
The OpenAI API Docs for UploadFile authorizes by API_KEY.

curl https://api.openai.com/v1/files \
  -H "Authorization: Bearer $OPENAI_API_KEY" \
  -F purpose="assistant" \
  -F file="@mydata.jsonl"
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
api enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants