[Deprecated] Retrieves details of an existing assistant
Assistants API (Deprecating)
Assistant Get API
deprecated
Retrieve details of an existing Assistant
GET
[Deprecated] Retrieves details of an existing assistant
Retrieves the complete configuration and details of an existing Assistant in your workspace.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.
Requires an API key with the
AGENT_API scope and access to the Assistant you want to retrieve.Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
assistantId | string | Yes | UUID of the assistant to retrieve |
Examples
Basic Retrieval
Validation Rules
The API enforces the following validation rules:- Assistant access - Your API key must have access to the assistant
- Workspace match - Assistant must belong to the same workspace as your API key
Response Format
Success Response (200 OK)
Error Handling
Migrating to Agents API
The new Agents API offers improved compatibility with modern AI SDKs. The get endpoint has similar functionality with updated parameter names. See the equivalent endpoint in the Agents API:- Agent Get API - Uses
agentIdinstead ofassistantId
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.