AgentConnector
Example Usage
typescript
import { AgentConnector } from "@meetkai/mka1/models/components";
let value: AgentConnector = {
object: "agent.connector",
id: "<id>",
agentId: "<id>",
provider: "telegram",
name: "<value>",
status: "<value>",
providerAccountId: "<id>",
providerAccountName: "<value>",
config: "<value>",
credentialsConfigured: false,
lastError: "<value>",
createdAt: new Date("2025-05-03T15:48:57.811Z"),
updatedAt: new Date("2026-02-02T17:19:07.567Z"),
deletedAt: new Date("2025-04-14T12:20:19.070Z"),
};Fields
| Field | Type | Required | Description |
|---|---|---|---|
object | components.AgentConnectorObject | ✔️ | N/A |
id | string | ✔️ | N/A |
agentId | string | ✔️ | N/A |
provider | components.Provider | ✔️ | N/A |
name | string | ✔️ | N/A |
status | string | ✔️ | Connector lifecycle status, such as provisioning, activating, active, deleting, or error. |
providerAccountId | string | ✔️ | The provider account ID: Telegram bot user ID or WhatsApp phone-number ID. |
providerAccountName | string | ✔️ | Provider account display name when one is available. |
config | any | ✔️ | Arbitrary JSON value. |
credentialsConfigured | boolean | ✔️ | Whether encrypted provider credentials are stored for this connector. |
lastError | any | ✔️ | N/A |
createdAt | Date | ✔️ | N/A |
updatedAt | Date | ✔️ | N/A |
deletedAt | Date | ✔️ | N/A |