@roarkanalytics/sdk-mcp 6.7.0 → 6.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## [6.9.0](https://github.com/roarkhq/mcp-roark-analytics/compare/v6.8.0...v6.9.0) (2026-11-24)
4
+
5
+
6
+ ### Features
7
+
8
+ * **mcp:** mcp update ([#317](https://github.com/roarkhq/mcp-roark-analytics/issues/317)) ([92f52a8](https://github.com/roarkhq/mcp-roark-analytics/commit/92f52a8c7772ba929b456c58f5b236fb2e89d7ce))
9
+
10
+ ## [6.8.0](https://github.com/roarkhq/mcp-roark-analytics/compare/v6.7.0...v6.8.0) (2026-11-24)
11
+
12
+
13
+ ### Features
14
+
15
+ * **mcp:** mcp update ([#315](https://github.com/roarkhq/mcp-roark-analytics/issues/315)) ([873b17e](https://github.com/roarkhq/mcp-roark-analytics/commit/873b17ef1445b593cf2387c15571718397e2b816))
16
+
3
17
  ## [6.7.0](https://github.com/roarkhq/mcp-roark-analytics/compare/v6.6.1...v6.7.0) (2026-11-23)
4
18
 
5
19
 
@@ -1,10 +1,10 @@
1
- export declare const MCP_SERVER_VERSION = "6.7.0";
1
+ export declare const MCP_SERVER_VERSION = "6.9.0";
2
2
  /**
3
3
  * Sent on every request the server's SDK clients make, including the sandbox that
4
4
  * runs model-written code. The SDK's user agent is the same for every program built
5
5
  * on it, so this is how the API tells MCP traffic from direct SDK use.
6
6
  */
7
7
  export declare const MCP_CLIENT_HEADERS: {
8
- readonly 'X-Roark-Client': "mcp/6.7.0";
8
+ readonly 'X-Roark-Client': "mcp/6.9.0";
9
9
  };
10
10
  //# sourceMappingURL=client-headers.d.mts.map
@@ -1,10 +1,10 @@
1
- export declare const MCP_SERVER_VERSION = "6.7.0";
1
+ export declare const MCP_SERVER_VERSION = "6.9.0";
2
2
  /**
3
3
  * Sent on every request the server's SDK clients make, including the sandbox that
4
4
  * runs model-written code. The SDK's user agent is the same for every program built
5
5
  * on it, so this is how the API tells MCP traffic from direct SDK use.
6
6
  */
7
7
  export declare const MCP_CLIENT_HEADERS: {
8
- readonly 'X-Roark-Client': "mcp/6.7.0";
8
+ readonly 'X-Roark-Client': "mcp/6.9.0";
9
9
  };
10
10
  //# sourceMappingURL=client-headers.d.ts.map
package/client-headers.js CHANGED
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.MCP_CLIENT_HEADERS = exports.MCP_SERVER_VERSION = void 0;
4
4
  // Kept in step with package.json by scripts/sync-version.cjs, which `pnpm build` runs,
5
5
  // alongside the literal src/server.ts reports in the MCP handshake.
6
- exports.MCP_SERVER_VERSION = '6.7.0'; // x-release-please-version
6
+ exports.MCP_SERVER_VERSION = '6.9.0'; // x-release-please-version
7
7
  /**
8
8
  * Sent on every request the server's SDK clients make, including the sandbox that
9
9
  * runs model-written code. The SDK's user agent is the same for every program built
@@ -1,6 +1,6 @@
1
1
  // Kept in step with package.json by scripts/sync-version.cjs, which `pnpm build` runs,
2
2
  // alongside the literal src/server.ts reports in the MCP handshake.
3
- export const MCP_SERVER_VERSION = '6.7.0'; // x-release-please-version
3
+ export const MCP_SERVER_VERSION = '6.9.0'; // x-release-please-version
4
4
  /**
5
5
  * Sent on every request the server's SDK clients make, including the sandbox that
6
6
  * runs model-written code. The SDK's user agent is the same for every program built
@@ -3547,8 +3547,8 @@ const EMBEDDED_METHODS = [
3547
3547
  stainlessPath: '(resource) autoimproveJob > (method) getById',
3548
3548
  qualified: 'client.autoimproveJob.getByID',
3549
3549
  params: ['jobId: string;'],
3550
- response: "{ data: { id: string; agentId: string; baselineValue: number; concludedAt: string; createdAt: string; currentValue: number; customerIntegrationId: string; finalReport: string; initiatedByUserId: string; issueId: string; iterationCount: number; logEntries: { id: string; configPushId: string; createdAt: string; kind: string; orderIndex: number; passRateAfter: number; passRateBefore: number; questionOptions: string[]; simulationRunPlanJobId: string; text: string; trialCount: number; }[]; maxIterations: number; maxSimCalls: number; objectiveId: string; objectiveLabel: string; objectiveMetricDefinitionId: string; organizationId: string; projectId: string; simCallsUsed: number; stagingAgentId: string; stagingKind: 'DESIGNATED' | 'SHADOW' | 'CHANNEL'; status: string; targetValue: number; trigger: 'ISSUE' | 'RUN_THRESHOLD_FAILED' | 'USER' | 'DEGRADATION'; updatedAt: string; validationRunPlanId: string; workingMemory: string; }; }",
3551
- markdown: "## getById\n\n`client.autoimproveJob.getByID(jobId: string): { data: object; }`\n\n**get** `/v1/autoimprove/job/{jobId}`\n\nFetch one job with its full worklog: every step Roark took, the validation batches with their pass-rate movement, any question it is waiting on, and its final report once concluded.\n\n### Parameters\n\n- `jobId: string`\n\n### Returns\n\n- `{ data: { id: string; agentId: string; baselineValue: number; concludedAt: string; createdAt: string; currentValue: number; customerIntegrationId: string; finalReport: string; initiatedByUserId: string; issueId: string; iterationCount: number; logEntries: { id: string; configPushId: string; createdAt: string; kind: string; orderIndex: number; passRateAfter: number; passRateBefore: number; questionOptions: string[]; simulationRunPlanJobId: string; text: string; trialCount: number; }[]; maxIterations: number; maxSimCalls: number; objectiveId: string; objectiveLabel: string; objectiveMetricDefinitionId: string; organizationId: string; projectId: string; simCallsUsed: number; stagingAgentId: string; stagingKind: 'DESIGNATED' | 'SHADOW' | 'CHANNEL'; status: string; targetValue: number; trigger: 'ISSUE' | 'RUN_THRESHOLD_FAILED' | 'USER' | 'DEGRADATION'; updatedAt: string; validationRunPlanId: string; workingMemory: string; }; }`\n\n - `data: { id: string; agentId: string; baselineValue: number; concludedAt: string; createdAt: string; currentValue: number; customerIntegrationId: string; finalReport: string; initiatedByUserId: string; issueId: string; iterationCount: number; logEntries: { id: string; configPushId: string; createdAt: string; kind: string; orderIndex: number; passRateAfter: number; passRateBefore: number; questionOptions: string[]; simulationRunPlanJobId: string; text: string; trialCount: number; }[]; maxIterations: number; maxSimCalls: number; objectiveId: string; objectiveLabel: string; objectiveMetricDefinitionId: string; organizationId: string; projectId: string; simCallsUsed: number; stagingAgentId: string; stagingKind: 'DESIGNATED' | 'SHADOW' | 'CHANNEL'; status: string; targetValue: number; trigger: 'ISSUE' | 'RUN_THRESHOLD_FAILED' | 'USER' | 'DEGRADATION'; updatedAt: string; validationRunPlanId: string; workingMemory: string; }`\n\n### Example\n\n```typescript\nimport Roark from '@roarkanalytics/sdk';\n\nconst client = new Roark();\n\nconst response = await client.autoimproveJob.getByID('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e');\n\nconsole.log(response);\n```",
3550
+ response: "{ data: { id: string; agentId: string; baselineValue: number; concludedAt: string; createdAt: string; currentValue: number; customerIntegrationId: string; finalReport: string; initiatedByUserId: string; issueId: string; iterationCount: number; logEntries: { id: string; configPushId: string; createdAt: string; kind: string; orderIndex: number; passRateAfter: number; passRateBefore: number; questionOptions: string[]; sentById: string; sentVia: 'PLATFORM' | 'ROARKY' | 'API'; simulationRunPlanJobId: string; text: string; trialCount: number; }[]; maxIterations: number; maxSimCalls: number; objectiveId: string; objectiveLabel: string; objectiveMetricDefinitionId: string; organizationId: string; projectId: string; simCallsUsed: number; stagingAgentId: string; stagingKind: 'DESIGNATED' | 'SHADOW' | 'CHANNEL'; status: string; targetValue: number; trigger: 'ISSUE' | 'RUN_THRESHOLD_FAILED' | 'USER' | 'DEGRADATION'; updatedAt: string; validationRunPlanId: string; workingMemory: string; }; }",
3551
+ markdown: "## getById\n\n`client.autoimproveJob.getByID(jobId: string): { data: object; }`\n\n**get** `/v1/autoimprove/job/{jobId}`\n\nFetch one job with its full worklog: every step Roark took, the validation batches with their pass-rate movement, any question it is waiting on, and its final report once concluded.\n\n### Parameters\n\n- `jobId: string`\n\n### Returns\n\n- `{ data: { id: string; agentId: string; baselineValue: number; concludedAt: string; createdAt: string; currentValue: number; customerIntegrationId: string; finalReport: string; initiatedByUserId: string; issueId: string; iterationCount: number; logEntries: { id: string; configPushId: string; createdAt: string; kind: string; orderIndex: number; passRateAfter: number; passRateBefore: number; questionOptions: string[]; sentById: string; sentVia: 'PLATFORM' | 'ROARKY' | 'API'; simulationRunPlanJobId: string; text: string; trialCount: number; }[]; maxIterations: number; maxSimCalls: number; objectiveId: string; objectiveLabel: string; objectiveMetricDefinitionId: string; organizationId: string; projectId: string; simCallsUsed: number; stagingAgentId: string; stagingKind: 'DESIGNATED' | 'SHADOW' | 'CHANNEL'; status: string; targetValue: number; trigger: 'ISSUE' | 'RUN_THRESHOLD_FAILED' | 'USER' | 'DEGRADATION'; updatedAt: string; validationRunPlanId: string; workingMemory: string; }; }`\n\n - `data: { id: string; agentId: string; baselineValue: number; concludedAt: string; createdAt: string; currentValue: number; customerIntegrationId: string; finalReport: string; initiatedByUserId: string; issueId: string; iterationCount: number; logEntries: { id: string; configPushId: string; createdAt: string; kind: string; orderIndex: number; passRateAfter: number; passRateBefore: number; questionOptions: string[]; sentById: string; sentVia: 'PLATFORM' | 'ROARKY' | 'API'; simulationRunPlanJobId: string; text: string; trialCount: number; }[]; maxIterations: number; maxSimCalls: number; objectiveId: string; objectiveLabel: string; objectiveMetricDefinitionId: string; organizationId: string; projectId: string; simCallsUsed: number; stagingAgentId: string; stagingKind: 'DESIGNATED' | 'SHADOW' | 'CHANNEL'; status: string; targetValue: number; trigger: 'ISSUE' | 'RUN_THRESHOLD_FAILED' | 'USER' | 'DEGRADATION'; updatedAt: string; validationRunPlanId: string; workingMemory: string; }`\n\n### Example\n\n```typescript\nimport Roark from '@roarkanalytics/sdk';\n\nconst client = new Roark();\n\nconst response = await client.autoimproveJob.getByID('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e');\n\nconsole.log(response);\n```",
3552
3552
  perLanguage: {
3553
3553
  typescript: {
3554
3554
  method: 'client.autoimproveJob.getByID',
@@ -5845,11 +5845,11 @@ const EMBEDDED_METHODS = [
5845
5845
  endpoint: '/v1/connections/agent',
5846
5846
  httpMethod: 'post',
5847
5847
  summary: 'Connect an agent',
5848
- description: 'Connects the platform a project’s agents run on. The body is shaped by `provider`; `GET /v1/connections/agent/providers` lists what each needs. Retell, Vapi, ElevenLabs and Bland keys are checked by listing agents first, so a refused key returns 400 and nothing is stored. Platforms that pull agents start syncing straight away. For LIVEKIT_SELF_HOSTED and the Pipecat providers, the response carries `observerApiKey`, shown once, for your SDK to report calls with. Most platforms connect once per project, and a second create returns 409; LiveKit Cloud may connect several accounts.',
5848
+ description: 'Connects the platform a project’s agents run on. The body is shaped by `provider`; `GET /v1/connections/agent/providers` lists what each needs. Retell, Vapi, ElevenLabs and Bland keys are checked by listing agents first, so a refused key returns 400 and nothing is stored. An account with more agents than the project allows for `agentScope` ALL (25 unless raised for the project) returns 400 `too_many_agents`, including when `agentScope` is left out: send SELECTED with the `agentIds` to bring in, up to 1,000. Platforms that pull agents start syncing straight away. For LIVEKIT_SELF_HOSTED and the Pipecat providers, the response carries `observerApiKey`, shown once, for your SDK to report calls with. Most platforms connect once per project, and a second create returns 409; LiveKit Cloud may connect several accounts.',
5849
5849
  stainlessPath: '(resource) agentConnection > (method) create',
5850
5850
  qualified: 'client.agentConnection.create',
5851
5851
  response: "{ data: { id: string; agentIds: string[]; agentNames: string[]; agentScope: 'ALL' | 'SELECTED'; capabilities: 'PULL_AGENTS' | 'PULL_CALLS' | 'PUSH_AGENT_CONFIG'[]; createdAt: string; googleCes: { appId: string; deploymentId: string; gcpProjectId: string; location: string; serviceAccountEmail: string; versionId: string; }; kore: { appId: string; baseUrl: string; envName: string; }; livekit: { metadataEgressStrategy: 'EAGER' | 'DEFERRED'; metadataFilteringEnabled: boolean; url: string; }; name: string; pipecat: { appendAgentId: boolean; baseSignalingUrl: string; hasAuthToken: boolean; hasPccPublicKey: boolean; pccRoomProperties: object; pccStartBody: object; }; provider: string; samplingRate: number; status: 'ACTIVE' | 'INACTIVE'; sync: { createdAgentCount: number; endedAt: string; intervalMinutes: number; isUpToDate: boolean; startedAt: string; status: 'IN_PROGRESS' | 'COMPLETED' | 'FAILED'; }; syncProblems: { agentId: string; agentName: string; at: string; reason: string; }[]; updatedAt: string; vapi: { outboundRequestBodyTemplate: object; }; }; observerApiKey: string; }",
5852
- markdown: "## create\n\n`client.agentConnection.create(): { data: object; observerApiKey: string; }`\n\n**post** `/v1/connections/agent`\n\nConnects the platform a project’s agents run on. The body is shaped by `provider`; `GET /v1/connections/agent/providers` lists what each needs. Retell, Vapi, ElevenLabs and Bland keys are checked by listing agents first, so a refused key returns 400 and nothing is stored. Platforms that pull agents start syncing straight away. For LIVEKIT_SELF_HOSTED and the Pipecat providers, the response carries `observerApiKey`, shown once, for your SDK to report calls with. Most platforms connect once per project, and a second create returns 409; LiveKit Cloud may connect several accounts.\n\n### Returns\n\n- `{ data: { id: string; agentIds: string[]; agentNames: string[]; agentScope: 'ALL' | 'SELECTED'; capabilities: 'PULL_AGENTS' | 'PULL_CALLS' | 'PUSH_AGENT_CONFIG'[]; createdAt: string; googleCes: { appId: string; deploymentId: string; gcpProjectId: string; location: string; serviceAccountEmail: string; versionId: string; }; kore: { appId: string; baseUrl: string; envName: string; }; livekit: { metadataEgressStrategy: 'EAGER' | 'DEFERRED'; metadataFilteringEnabled: boolean; url: string; }; name: string; pipecat: { appendAgentId: boolean; baseSignalingUrl: string; hasAuthToken: boolean; hasPccPublicKey: boolean; pccRoomProperties: object; pccStartBody: object; }; provider: string; samplingRate: number; status: 'ACTIVE' | 'INACTIVE'; sync: { createdAgentCount: number; endedAt: string; intervalMinutes: number; isUpToDate: boolean; startedAt: string; status: 'IN_PROGRESS' | 'COMPLETED' | 'FAILED'; }; syncProblems: { agentId: string; agentName: string; at: string; reason: string; }[]; updatedAt: string; vapi: { outboundRequestBodyTemplate: object; }; }; observerApiKey: string; }`\n\n - `data: { id: string; agentIds: string[]; agentNames: string[]; agentScope: 'ALL' | 'SELECTED'; capabilities: 'PULL_AGENTS' | 'PULL_CALLS' | 'PUSH_AGENT_CONFIG'[]; createdAt: string; googleCes: { appId: string; deploymentId: string; gcpProjectId: string; location: string; serviceAccountEmail: string; versionId: string; }; kore: { appId: string; baseUrl: string; envName: string; }; livekit: { metadataEgressStrategy: 'EAGER' | 'DEFERRED'; metadataFilteringEnabled: boolean; url: string; }; name: string; pipecat: { appendAgentId: boolean; baseSignalingUrl: string; hasAuthToken: boolean; hasPccPublicKey: boolean; pccRoomProperties: object; pccStartBody: object; }; provider: string; samplingRate: number; status: 'ACTIVE' | 'INACTIVE'; sync: { createdAgentCount: number; endedAt: string; intervalMinutes: number; isUpToDate: boolean; startedAt: string; status: 'IN_PROGRESS' | 'COMPLETED' | 'FAILED'; }; syncProblems: { agentId: string; agentName: string; at: string; reason: string; }[]; updatedAt: string; vapi: { outboundRequestBodyTemplate: object; }; }`\n - `observerApiKey: string`\n\n### Example\n\n```typescript\nimport Roark from '@roarkanalytics/sdk';\n\nconst client = new Roark();\n\nconst agentConnection = await client.agentConnection.create({\n apiKey: 'x',\n name: 'Production Retell',\n provider: 'RETELL',\n});\n\nconsole.log(agentConnection);\n```",
5852
+ markdown: "## create\n\n`client.agentConnection.create(): { data: object; observerApiKey: string; }`\n\n**post** `/v1/connections/agent`\n\nConnects the platform a project’s agents run on. The body is shaped by `provider`; `GET /v1/connections/agent/providers` lists what each needs. Retell, Vapi, ElevenLabs and Bland keys are checked by listing agents first, so a refused key returns 400 and nothing is stored. An account with more agents than the project allows for `agentScope` ALL (25 unless raised for the project) returns 400 `too_many_agents`, including when `agentScope` is left out: send SELECTED with the `agentIds` to bring in, up to 1,000. Platforms that pull agents start syncing straight away. For LIVEKIT_SELF_HOSTED and the Pipecat providers, the response carries `observerApiKey`, shown once, for your SDK to report calls with. Most platforms connect once per project, and a second create returns 409; LiveKit Cloud may connect several accounts.\n\n### Returns\n\n- `{ data: { id: string; agentIds: string[]; agentNames: string[]; agentScope: 'ALL' | 'SELECTED'; capabilities: 'PULL_AGENTS' | 'PULL_CALLS' | 'PUSH_AGENT_CONFIG'[]; createdAt: string; googleCes: { appId: string; deploymentId: string; gcpProjectId: string; location: string; serviceAccountEmail: string; versionId: string; }; kore: { appId: string; baseUrl: string; envName: string; }; livekit: { metadataEgressStrategy: 'EAGER' | 'DEFERRED'; metadataFilteringEnabled: boolean; url: string; }; name: string; pipecat: { appendAgentId: boolean; baseSignalingUrl: string; hasAuthToken: boolean; hasPccPublicKey: boolean; pccRoomProperties: object; pccStartBody: object; }; provider: string; samplingRate: number; status: 'ACTIVE' | 'INACTIVE'; sync: { createdAgentCount: number; endedAt: string; intervalMinutes: number; isUpToDate: boolean; startedAt: string; status: 'IN_PROGRESS' | 'COMPLETED' | 'FAILED'; }; syncProblems: { agentId: string; agentName: string; at: string; reason: string; }[]; updatedAt: string; vapi: { outboundRequestBodyTemplate: object; }; }; observerApiKey: string; }`\n\n - `data: { id: string; agentIds: string[]; agentNames: string[]; agentScope: 'ALL' | 'SELECTED'; capabilities: 'PULL_AGENTS' | 'PULL_CALLS' | 'PUSH_AGENT_CONFIG'[]; createdAt: string; googleCes: { appId: string; deploymentId: string; gcpProjectId: string; location: string; serviceAccountEmail: string; versionId: string; }; kore: { appId: string; baseUrl: string; envName: string; }; livekit: { metadataEgressStrategy: 'EAGER' | 'DEFERRED'; metadataFilteringEnabled: boolean; url: string; }; name: string; pipecat: { appendAgentId: boolean; baseSignalingUrl: string; hasAuthToken: boolean; hasPccPublicKey: boolean; pccRoomProperties: object; pccStartBody: object; }; provider: string; samplingRate: number; status: 'ACTIVE' | 'INACTIVE'; sync: { createdAgentCount: number; endedAt: string; intervalMinutes: number; isUpToDate: boolean; startedAt: string; status: 'IN_PROGRESS' | 'COMPLETED' | 'FAILED'; }; syncProblems: { agentId: string; agentName: string; at: string; reason: string; }[]; updatedAt: string; vapi: { outboundRequestBodyTemplate: object; }; }`\n - `observerApiKey: string`\n\n### Example\n\n```typescript\nimport Roark from '@roarkanalytics/sdk';\n\nconst client = new Roark();\n\nconst agentConnection = await client.agentConnection.create({\n apiKey: 'x',\n name: 'Production Retell',\n provider: 'RETELL',\n});\n\nconsole.log(agentConnection);\n```",
5853
5853
  perLanguage: {
5854
5854
  typescript: {
5855
5855
  method: 'client.agentConnection.create',
@@ -5869,12 +5869,12 @@ const EMBEDDED_METHODS = [
5869
5869
  endpoint: '/v1/connections/agent/{connectionId}',
5870
5870
  httpMethod: 'patch',
5871
5871
  summary: 'Update an agent connection',
5872
- description: 'Changes a connection’s settings or rotates its credential. Send `provider` (it must match the connection’s) and only the fields to change; the rest keep their stored values. A new Retell, Vapi, ElevenLabs or Bland key is checked by listing agents first. Set `status` to INACTIVE to pause syncing without deleting anything.',
5872
+ description: 'Changes a connection’s settings or rotates its credential. Send `provider` (it must match the connection’s) and only the fields to change; the rest keep their stored values. A new Retell, Vapi, ElevenLabs or Bland key is checked by listing agents first. Moving to `agentScope` ALL, or giving an ALL connection a new key, on an account with more agents than the project allows returns 400 `too_many_agents`, as does selecting more than 1,000. Set `status` to INACTIVE to pause syncing without deleting anything.',
5873
5873
  stainlessPath: '(resource) agentConnection > (method) update',
5874
5874
  qualified: 'client.agentConnection.update',
5875
5875
  params: ['connectionId: string;'],
5876
5876
  response: "{ data: { id: string; agentIds: string[]; agentNames: string[]; agentScope: 'ALL' | 'SELECTED'; capabilities: 'PULL_AGENTS' | 'PULL_CALLS' | 'PUSH_AGENT_CONFIG'[]; createdAt: string; googleCes: { appId: string; deploymentId: string; gcpProjectId: string; location: string; serviceAccountEmail: string; versionId: string; }; kore: { appId: string; baseUrl: string; envName: string; }; livekit: { metadataEgressStrategy: 'EAGER' | 'DEFERRED'; metadataFilteringEnabled: boolean; url: string; }; name: string; pipecat: { appendAgentId: boolean; baseSignalingUrl: string; hasAuthToken: boolean; hasPccPublicKey: boolean; pccRoomProperties: object; pccStartBody: object; }; provider: string; samplingRate: number; status: 'ACTIVE' | 'INACTIVE'; sync: { createdAgentCount: number; endedAt: string; intervalMinutes: number; isUpToDate: boolean; startedAt: string; status: 'IN_PROGRESS' | 'COMPLETED' | 'FAILED'; }; syncProblems: { agentId: string; agentName: string; at: string; reason: string; }[]; updatedAt: string; vapi: { outboundRequestBodyTemplate: object; }; }; }",
5877
- markdown: "## update\n\n`client.agentConnection.update(connectionId: string): { data: object; }`\n\n**patch** `/v1/connections/agent/{connectionId}`\n\nChanges a connection’s settings or rotates its credential. Send `provider` (it must match the connection’s) and only the fields to change; the rest keep their stored values. A new Retell, Vapi, ElevenLabs or Bland key is checked by listing agents first. Set `status` to INACTIVE to pause syncing without deleting anything.\n\n### Parameters\n\n- `connectionId: string`\n\n### Returns\n\n- `{ data: { id: string; agentIds: string[]; agentNames: string[]; agentScope: 'ALL' | 'SELECTED'; capabilities: 'PULL_AGENTS' | 'PULL_CALLS' | 'PUSH_AGENT_CONFIG'[]; createdAt: string; googleCes: { appId: string; deploymentId: string; gcpProjectId: string; location: string; serviceAccountEmail: string; versionId: string; }; kore: { appId: string; baseUrl: string; envName: string; }; livekit: { metadataEgressStrategy: 'EAGER' | 'DEFERRED'; metadataFilteringEnabled: boolean; url: string; }; name: string; pipecat: { appendAgentId: boolean; baseSignalingUrl: string; hasAuthToken: boolean; hasPccPublicKey: boolean; pccRoomProperties: object; pccStartBody: object; }; provider: string; samplingRate: number; status: 'ACTIVE' | 'INACTIVE'; sync: { createdAgentCount: number; endedAt: string; intervalMinutes: number; isUpToDate: boolean; startedAt: string; status: 'IN_PROGRESS' | 'COMPLETED' | 'FAILED'; }; syncProblems: { agentId: string; agentName: string; at: string; reason: string; }[]; updatedAt: string; vapi: { outboundRequestBodyTemplate: object; }; }; }`\n\n - `data: { id: string; agentIds: string[]; agentNames: string[]; agentScope: 'ALL' | 'SELECTED'; capabilities: 'PULL_AGENTS' | 'PULL_CALLS' | 'PUSH_AGENT_CONFIG'[]; createdAt: string; googleCes: { appId: string; deploymentId: string; gcpProjectId: string; location: string; serviceAccountEmail: string; versionId: string; }; kore: { appId: string; baseUrl: string; envName: string; }; livekit: { metadataEgressStrategy: 'EAGER' | 'DEFERRED'; metadataFilteringEnabled: boolean; url: string; }; name: string; pipecat: { appendAgentId: boolean; baseSignalingUrl: string; hasAuthToken: boolean; hasPccPublicKey: boolean; pccRoomProperties: object; pccStartBody: object; }; provider: string; samplingRate: number; status: 'ACTIVE' | 'INACTIVE'; sync: { createdAgentCount: number; endedAt: string; intervalMinutes: number; isUpToDate: boolean; startedAt: string; status: 'IN_PROGRESS' | 'COMPLETED' | 'FAILED'; }; syncProblems: { agentId: string; agentName: string; at: string; reason: string; }[]; updatedAt: string; vapi: { outboundRequestBodyTemplate: object; }; }`\n\n### Example\n\n```typescript\nimport Roark from '@roarkanalytics/sdk';\n\nconst client = new Roark();\n\nconst agentConnection = await client.agentConnection.update(\n '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',\n { provider: 'RETELL' },\n);\n\nconsole.log(agentConnection);\n```",
5877
+ markdown: "## update\n\n`client.agentConnection.update(connectionId: string): { data: object; }`\n\n**patch** `/v1/connections/agent/{connectionId}`\n\nChanges a connection’s settings or rotates its credential. Send `provider` (it must match the connection’s) and only the fields to change; the rest keep their stored values. A new Retell, Vapi, ElevenLabs or Bland key is checked by listing agents first. Moving to `agentScope` ALL, or giving an ALL connection a new key, on an account with more agents than the project allows returns 400 `too_many_agents`, as does selecting more than 1,000. Set `status` to INACTIVE to pause syncing without deleting anything.\n\n### Parameters\n\n- `connectionId: string`\n\n### Returns\n\n- `{ data: { id: string; agentIds: string[]; agentNames: string[]; agentScope: 'ALL' | 'SELECTED'; capabilities: 'PULL_AGENTS' | 'PULL_CALLS' | 'PUSH_AGENT_CONFIG'[]; createdAt: string; googleCes: { appId: string; deploymentId: string; gcpProjectId: string; location: string; serviceAccountEmail: string; versionId: string; }; kore: { appId: string; baseUrl: string; envName: string; }; livekit: { metadataEgressStrategy: 'EAGER' | 'DEFERRED'; metadataFilteringEnabled: boolean; url: string; }; name: string; pipecat: { appendAgentId: boolean; baseSignalingUrl: string; hasAuthToken: boolean; hasPccPublicKey: boolean; pccRoomProperties: object; pccStartBody: object; }; provider: string; samplingRate: number; status: 'ACTIVE' | 'INACTIVE'; sync: { createdAgentCount: number; endedAt: string; intervalMinutes: number; isUpToDate: boolean; startedAt: string; status: 'IN_PROGRESS' | 'COMPLETED' | 'FAILED'; }; syncProblems: { agentId: string; agentName: string; at: string; reason: string; }[]; updatedAt: string; vapi: { outboundRequestBodyTemplate: object; }; }; }`\n\n - `data: { id: string; agentIds: string[]; agentNames: string[]; agentScope: 'ALL' | 'SELECTED'; capabilities: 'PULL_AGENTS' | 'PULL_CALLS' | 'PUSH_AGENT_CONFIG'[]; createdAt: string; googleCes: { appId: string; deploymentId: string; gcpProjectId: string; location: string; serviceAccountEmail: string; versionId: string; }; kore: { appId: string; baseUrl: string; envName: string; }; livekit: { metadataEgressStrategy: 'EAGER' | 'DEFERRED'; metadataFilteringEnabled: boolean; url: string; }; name: string; pipecat: { appendAgentId: boolean; baseSignalingUrl: string; hasAuthToken: boolean; hasPccPublicKey: boolean; pccRoomProperties: object; pccStartBody: object; }; provider: string; samplingRate: number; status: 'ACTIVE' | 'INACTIVE'; sync: { createdAgentCount: number; endedAt: string; intervalMinutes: number; isUpToDate: boolean; startedAt: string; status: 'IN_PROGRESS' | 'COMPLETED' | 'FAILED'; }; syncProblems: { agentId: string; agentName: string; at: string; reason: string; }[]; updatedAt: string; vapi: { outboundRequestBodyTemplate: object; }; }`\n\n### Example\n\n```typescript\nimport Roark from '@roarkanalytics/sdk';\n\nconst client = new Roark();\n\nconst agentConnection = await client.agentConnection.update(\n '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',\n { provider: 'RETELL' },\n);\n\nconsole.log(agentConnection);\n```",
5878
5878
  perLanguage: {
5879
5879
  typescript: {
5880
5880
  method: 'client.agentConnection.update',