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.
Using our API via a dedicated deployment? Just replace
api.langdock.com with your deployment’s base URL: <deployment-url>/api/publicAPI Key Scopes
The Integrations API requires specific API key scopes:| Scope | Endpoints |
|---|---|
ASSISTANT_API or INTEGRATION_API | List integrations (GET /integrations/v1/get) |
INTEGRATION_API | All other integration endpoints |
Available Endpoints
Integrations
| Method | Endpoint | Description |
|---|---|---|
GET | /integrations/v1/get | List all integrations |
POST | /integrations/v1/create | Create a new integration |
GET | /integrations/v1/{integrationId} | Get integration details |
PATCH | /integrations/v1/{integrationId} | Update an integration |
PATCH | /integrations/v1/{integrationId}/auth | Update auth configuration |
Actions
Actions are capabilities you can add to integrations that agents can execute.| Method | Endpoint | Description |
|---|---|---|
POST | /integrations/v1/{integrationId}/actions/create | Create an action |
PUT | /integrations/v1/{integrationId}/actions/{actionId} | Update an action |
DELETE | /integrations/v1/{integrationId}/actions/{actionId} | Delete an action |
Triggers
Triggers allow integrations to start workflows or agent conversations based on external events.| Method | Endpoint | Description |
|---|---|---|
POST | /integrations/v1/{integrationId}/triggers/create | Create a trigger |
PUT | /integrations/v1/{integrationId}/triggers/{triggerId} | Update a trigger |
DELETE | /integrations/v1/{integrationId}/triggers/{triggerId} | Delete a trigger |
Quick Start
Here’s how to create a simple integration with an action:Use Cases
- Internal Tools Integration: Connect agents to your company’s internal APIs, databases, or services
- Custom Workflows: Build integrations that trigger workflows based on external events
- Data Enrichment: Create actions that fetch and enrich data from multiple sources
- Automated Reporting: Build integrations that generate and distribute reports
Rate Limits
The Integrations API follows standard rate limits. If you exceed the limit, you’ll receive a429 response. Wait and retry with exponential backoff.
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.