Update agent configuration docs for issue #34

Co-authored-by: Tadas Petra <tadaspetra@users.noreply.github.com>
This commit is contained in:
Cursor Agent
2026-03-24 14:12:30 +00:00
parent cab396c70e
commit 2c90474f08
+6 -3
View File
@@ -395,6 +395,9 @@ agent = client.conversational_ai.agents.create(
`rag.embedding_model` supports `e5_mistral_7b_instruct`, `multilingual_e5_large_instruct`, and `qwen3_embedding_4b`.
Use `POST /v1/convai/knowledge-base/{documentation_id}/refresh` to re-fetch a URL-backed knowledge
base document after the source content changes.
## CRUD Operations
### Using CLI (Recommended)
@@ -437,17 +440,17 @@ elevenlabs agents widget <agent-id>
### SDK: List Agents
```python
agents = client.conversational_ai.agents.list()
agents = client.conversational_ai.agents.list(created_by_user_id="@me")
for agent in agents.agents:
print(f"{agent.name}: {agent.agent_id}")
```
```javascript
const agents = await client.conversationalAi.agents.list();
const agents = await client.conversationalAi.agents.list({ createdByUserId: "@me" });
```
```bash
curl -X GET "https://api.elevenlabs.io/v1/convai/agents" -H "xi-api-key: $ELEVENLABS_API_KEY"
curl -X GET "https://api.elevenlabs.io/v1/convai/agents?created_by_user_id=@me" -H "xi-api-key: $ELEVENLABS_API_KEY"
```
### SDK: Get Agent