Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.langdock.com/llms.txt

Use this file to discover all available pages before exploring further.

An admin needs to create the API key and share the folder with the API key. Invite an admin as an editor to your folder with the “Share” button in the top right corner (skip this step if you are a Langdock admin yourself).

How to create an API key

  1. Navigate to Langdock Navigate to Langdock
  2. Navigate to the workspace settings. Navigate to Workspace settings
  3. Click on “API” under products. click on API
  4. Create a new API key. Create a new API key
  5. Enter a name and click “Create API key” Click on Create API key
  6. Copy your API Key to the clipboard. Copy the key to the clipboard
  7. Click “Done” Click on Done
  8. Leave the settings by clicking on “Settings” on the top left. Leave the settings

How to share a folder with the API

  1. Open the Library from the left sidebar, or go to Settings → Workspace → Library to manage folders from the admin view.
  2. Open the folder you want to share with the API.
  3. Click Share.
Steps 4 to 6 are only needed if you are not a Langdock admin. If you are a Langdock admin, you can jump to step 7.
  1. Click the Add people and groups field.
  2. Type the name of an admin and select them in the dropdown.
  3. Select Editor to give them Editor permissions for this folder, then click Share.
  4. Ask the admin to open the folder’s Share dialog.
  5. In the Add people and groups field, search for the API key and select it.
  6. Select the API access role. Choose User for search access or Editor for upload and management access.
  7. Click Share.
Langdock intentionally blocks browser-origin requests to protect your API key and ensure your applications remain secure. For more information, please see our guide on API Key Best Practices.