Create the workspace API key
Langdock runs a workspace API key as its own service account, and that service account must keep an active Admin membership for billing calls to work.
Name a new API key
Open Workspace Settings > Products > API in Langdock.
- Click Create API key.
- Name:
StackOne
Select the required scopes
Select both scopes below.
- User management
- Billing API, in the Billing group after User management
Select the scopes for other actions
Select the scopes of the actions you plan to use, and leave the rest out. Langdock labels these Agent API (full access), Audit log, Completion API, Compliance API, Embedding API, Governance API, Scheduled Tasks API, Workflow Read API, Workflow Write API and Workflow Deletion API. The scopes for custom integrations, Knowledge bases and attachments, prompts, Skills and usage exports are shown below by what they allow.
- On Langdock Cloud, Compliance API shows only after Langdock turns the Compliance API on for the workspace.
- Confirm to create the key.
Copy the key
Copy the API key across. Langdock shows it only once.
Enter the deployment address
On a Dedicated deployment, the URL is the address you open Langdock at. Copy the Dedicated Deployment URL across. On Langdock Cloud, leave it empty.
- Format:
https://{your-domain} - Example: if Langdock’s API settings open at
https://langdock.yourcompany.com/settings/workspace/products/api, enterhttps://langdock.yourcompany.com
Link the Account
Connect
- Click Connect.
- If applicable, the provider will redirect you to a sign-in or authorization page. Complete the provider’s authorization flow.
- Once authorization is successful, you will see a confirmation popup.
Use Actions