Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "elevenlabs"

[tool.poetry]
name = "elevenlabs"
version = "v2.22.1"
version = "v2.23.0"
description = ""
readme = "README.md"
authors = []
Expand Down
182 changes: 181 additions & 1 deletion reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -7009,6 +7009,8 @@ client.conversational_ai.conversations.list(
call_successful="success",
call_start_before_unix=1,
call_start_after_unix=1,
call_duration_min_secs=1,
call_duration_max_secs=1,
user_id="user_id",
page_size=1,
summary_mode="exclude",
Expand Down Expand Up @@ -7069,6 +7071,22 @@ client.conversational_ai.conversations.list(
<dl>
<dd>

**call_duration_min_secs:** `typing.Optional[int]` — Minimum call duration in seconds.

</dd>
</dl>

<dl>
<dd>

**call_duration_max_secs:** `typing.Optional[int]` — Maximum call duration in seconds.

</dd>
</dl>

<dl>
<dd>

**user_id:** `typing.Optional[str]` — Filter conversations by the user ID who initiated them.

</dd>
Expand All @@ -7077,6 +7095,30 @@ client.conversational_ai.conversations.list(
<dl>
<dd>

**evaluation_params:** `typing.Optional[typing.Union[str, typing.Sequence[str]]]` — Evaluation filters. Repeat param. Format: criteria_id:result. Example: eval=value_framing:success

</dd>
</dl>

<dl>
<dd>

**data_collection_params:** `typing.Optional[typing.Union[str, typing.Sequence[str]]]` — Data collection filters. Repeat param. Format: id:op:value where op is one of eq|neq|gt|gte|lt|lte|in|exists|missing. For in, pipe-delimit values.

</dd>
</dl>

<dl>
<dd>

**tool_names:** `typing.Optional[typing.Union[str, typing.Sequence[str]]]` — Filter conversations by tool names used during the call.

</dd>
</dl>

<dl>
<dd>

**page_size:** `typing.Optional[int]` — How many conversations to return at maximum. Can not exceed 100, defaults to 30.

</dd>
Expand Down Expand Up @@ -8185,6 +8227,14 @@ client.conversational_ai.agents.run_tests(
<dl>
<dd>

**branch_id:** `typing.Optional[str]` — ID of the branch to run the tests on. If not provided, the tests will be run on the agent default configuration.

</dd>
</dl>

<dl>
<dd>

**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.

</dd>
Expand Down Expand Up @@ -9522,8 +9572,12 @@ Add a new tool to the available tools in the workspace.
```python
from elevenlabs import (
ElevenLabs,
LiteralJsonSchemaProperty,
ObjectJsonSchemaPropertyInput,
QueryParamsJsonSchema,
ToolRequestModel,
ToolRequestModelToolConfig_ApiIntegrationWebhook,
WebhookToolApiSchemaConfigInput,
)

client = ElevenLabs(
Expand All @@ -9536,6 +9590,28 @@ client.conversational_ai.tools.create(
description="description",
api_integration_id="api_integration_id",
api_integration_connection_id="api_integration_connection_id",
base_api_schema=WebhookToolApiSchemaConfigInput(
url="https://example.com/agents/{agent_id}",
method="GET",
path_params_schema={
"agent_id": LiteralJsonSchemaProperty(
type="string",
)
},
query_params_schema=QueryParamsJsonSchema(
properties={
"key": LiteralJsonSchemaProperty(
type="string",
description="My property",
is_system_provided=False,
dynamic_variable="",
constant_value="",
)
},
),
request_body_schema=ObjectJsonSchemaPropertyInput(),
request_headers={"Authorization": "Bearer {api_key}"},
),
),
),
)
Expand Down Expand Up @@ -9743,8 +9819,12 @@ Update tool that is available in the workspace.
```python
from elevenlabs import (
ElevenLabs,
LiteralJsonSchemaProperty,
ObjectJsonSchemaPropertyInput,
QueryParamsJsonSchema,
ToolRequestModel,
ToolRequestModelToolConfig_ApiIntegrationWebhook,
WebhookToolApiSchemaConfigInput,
)

client = ElevenLabs(
Expand All @@ -9758,6 +9838,28 @@ client.conversational_ai.tools.update(
description="description",
api_integration_id="api_integration_id",
api_integration_connection_id="api_integration_connection_id",
base_api_schema=WebhookToolApiSchemaConfigInput(
url="https://example.com/agents/{agent_id}",
method="GET",
path_params_schema={
"agent_id": LiteralJsonSchemaProperty(
type="string",
)
},
query_params_schema=QueryParamsJsonSchema(
properties={
"key": LiteralJsonSchemaProperty(
type="string",
description="My property",
is_system_provided=False,
dynamic_variable="",
constant_value="",
)
},
),
request_body_schema=ObjectJsonSchemaPropertyInput(),
request_headers={"Authorization": "Bearer {api_key}"},
),
),
),
)
Expand Down Expand Up @@ -11050,6 +11152,76 @@ client.conversational_ai.mcp_servers.get(
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.conversational_ai.mcp_servers.<a href="src/elevenlabs/conversational_ai/mcp_servers/client.py">delete</a>(...)</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Delete a specific MCP server configuration from the workspace.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```python
from elevenlabs import ElevenLabs

client = ElevenLabs(
api_key="YOUR_API_KEY",
)
client.conversational_ai.mcp_servers.delete(
mcp_server_id="mcp_server_id",
)

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**mcp_server_id:** `str` — ID of the MCP Server.

</dd>
</dl>

<dl>
<dd>

**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.

</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>
Expand Down Expand Up @@ -11714,7 +11886,7 @@ client.conversational_ai.conversations.feedback.create(
<dl>
<dd>

**feedback:** `UserFeedbackScore` — Either 'like' or 'dislike' to indicate the feedback for the conversation.
**feedback:** `typing.Optional[UserFeedbackScore]` — Either 'like' or 'dislike' to indicate the feedback for the conversation.

</dd>
</dl>
Expand Down Expand Up @@ -13644,6 +13816,14 @@ client.conversational_ai.tests.invocations.resubmit(
<dl>
<dd>

**branch_id:** `typing.Optional[str]` — ID of the branch to run the tests on. If not provided, the tests will be run on the agent default configuration.

</dd>
</dl>

<dl>
<dd>

**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.

</dd>
Expand Down
Loading
Loading