Skip to content

TS/JS sdk.search_agent() and sdk.search_conversations() require an empty object to be passed #1671

@langusto-ursusmaris

Description

@langusto-ursusmaris

Documentation in API:

Image

The above code results in the following error:

Image

Must be called in the following manner let results = await sdk.ok(sdk.search_conversations({}));

Python SDK handles these as optional

def search_agents(
        self,
        # Match agent id. Can be a comma-separated list of ids.
        id: Optional[str] = None,
        # Match agent name.
        name: Optional[str] = None,
        # Match agent description.
        description: Optional[str] = None,
        # Filter on agents created by a particular user.
        created_by_user_id: Optional[str] = None,
        .....

Metadata

Metadata

Labels

bugRegression or bugp3Priority 3

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions