Skip to content

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

FieldTypeRequiredDescription
objectcomponents.AgentConnectorObject✔️N/A
idstring✔️N/A
agentIdstring✔️N/A
providercomponents.Provider✔️N/A
namestring✔️N/A
statusstring✔️Connector lifecycle status, such as provisioning, activating, active, deleting, or error.
providerAccountIdstring✔️The provider account ID: Telegram bot user ID or WhatsApp phone-number ID.
providerAccountNamestring✔️Provider account display name when one is available.
configany✔️Arbitrary JSON value.
credentialsConfiguredboolean✔️Whether encrypted provider credentials are stored for this connector.
lastErrorany✔️N/A
createdAtDate✔️N/A
updatedAtDate✔️N/A
deletedAtDate✔️N/A