mavenagi 1.2.71 → 1.2.73
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/BaseClient.js +2 -2
- package/Client.d.ts +3 -0
- package/Client.js +47 -42
- package/api/resources/agentVariants/client/Client.d.ts +484 -0
- package/api/resources/agentVariants/client/Client.js +1888 -0
- package/api/resources/agentVariants/client/index.d.ts +1 -0
- package/api/resources/agentVariants/client/index.js +17 -0
- package/api/resources/agentVariants/client/requests/AgentVariantBaseGetRequest.d.ts +8 -0
- package/api/resources/agentVariants/client/requests/AgentVariantBaseGetRequest.js +3 -0
- package/api/resources/agentVariants/client/requests/AgentVariantCommitRequest.d.ts +27 -0
- package/api/resources/agentVariants/client/requests/AgentVariantCommitRequest.js +3 -0
- package/api/resources/agentVariants/client/requests/AgentVariantDeleteRequest.d.ts +8 -0
- package/api/resources/agentVariants/client/requests/AgentVariantDeleteRequest.js +3 -0
- package/api/resources/agentVariants/client/requests/DiscardWorkingSetEditsRequest.d.ts +10 -0
- package/api/resources/agentVariants/client/requests/DiscardWorkingSetEditsRequest.js +3 -0
- package/api/resources/agentVariants/client/requests/GetEntityEditByIdRequest.d.ts +17 -0
- package/api/resources/agentVariants/client/requests/GetEntityEditByIdRequest.js +3 -0
- package/api/resources/agentVariants/client/requests/GetSettingEditRequest.d.ts +13 -0
- package/api/resources/agentVariants/client/requests/GetSettingEditRequest.js +3 -0
- package/api/resources/agentVariants/client/requests/GetTrafficConfigRequest.d.ts +8 -0
- package/api/resources/agentVariants/client/requests/GetTrafficConfigRequest.js +3 -0
- package/api/resources/agentVariants/client/requests/ListTrafficConfigsRequest.d.ts +12 -0
- package/api/resources/agentVariants/client/requests/ListTrafficConfigsRequest.js +3 -0
- package/api/resources/agentVariants/client/requests/PatchAgentVariantRequest.d.ts +15 -0
- package/api/resources/agentVariants/client/requests/PatchAgentVariantRequest.js +3 -0
- package/api/resources/agentVariants/client/requests/WorkingSetDiffRequest.d.ts +8 -0
- package/api/resources/agentVariants/client/requests/WorkingSetDiffRequest.js +3 -0
- package/api/resources/agentVariants/client/requests/index.d.ts +10 -0
- package/api/resources/agentVariants/client/requests/index.js +2 -0
- package/api/resources/agentVariants/exports.d.ts +2 -0
- package/api/resources/agentVariants/exports.js +21 -0
- package/api/resources/agentVariants/index.d.ts +2 -0
- package/api/resources/agentVariants/index.js +18 -0
- package/api/resources/agentVariants/types/AddedCharterDiff.d.ts +5 -0
- package/api/resources/agentVariants/types/AddedCharterDiff.js +3 -0
- package/api/resources/agentVariants/types/AddedIntelligentFieldDiff.d.ts +5 -0
- package/api/resources/agentVariants/types/AddedIntelligentFieldDiff.js +3 -0
- package/api/resources/agentVariants/types/AgentSettingEdits.d.ts +16 -0
- package/api/resources/agentVariants/types/AgentSettingEdits.js +3 -0
- package/api/resources/agentVariants/types/AgentSettingsDiff.d.ts +12 -0
- package/api/resources/agentVariants/types/AgentSettingsDiff.js +3 -0
- package/api/resources/agentVariants/types/AgentVariantCompareRequest.d.ts +14 -0
- package/api/resources/agentVariants/types/AgentVariantCompareRequest.js +3 -0
- package/api/resources/agentVariants/types/AgentVariantCompareResponse.d.ts +78 -0
- package/api/resources/agentVariants/types/AgentVariantCompareResponse.js +3 -0
- package/api/resources/agentVariants/types/AgentVariantDiff.d.ts +9 -0
- package/api/resources/agentVariants/types/AgentVariantDiff.js +3 -0
- package/api/resources/agentVariants/types/AgentVariantFilter.d.ts +9 -0
- package/api/resources/agentVariants/types/AgentVariantFilter.js +3 -0
- package/api/resources/agentVariants/types/AgentVariantListRequest.d.ts +3 -0
- package/api/resources/agentVariants/types/AgentVariantListRequest.js +3 -0
- package/api/resources/agentVariants/types/AgentVariantRequest.d.ts +28 -0
- package/api/resources/agentVariants/types/AgentVariantRequest.js +3 -0
- package/api/resources/agentVariants/types/AgentVariantResponse.d.ts +43 -0
- package/api/resources/agentVariants/types/AgentVariantResponse.js +3 -0
- package/api/resources/agentVariants/types/AgentVariantSearchResult.d.ts +7 -0
- package/api/resources/agentVariants/types/AgentVariantSearchResult.js +3 -0
- package/api/resources/agentVariants/types/AgentVariantSortField.d.ts +6 -0
- package/api/resources/agentVariants/types/AgentVariantSortField.js +9 -0
- package/api/resources/agentVariants/types/AgentVariantStatus.d.ts +9 -0
- package/api/resources/agentVariants/types/AgentVariantStatus.js +12 -0
- package/api/resources/agentVariants/types/AgentVariantTraffic.d.ts +7 -0
- package/api/resources/agentVariants/types/AgentVariantTraffic.js +3 -0
- package/api/resources/agentVariants/types/AgentVariantsSearchRequest.d.ts +6 -0
- package/api/resources/agentVariants/types/AgentVariantsSearchRequest.js +3 -0
- package/api/resources/agentVariants/types/AgentVariantsSearchResponse.d.ts +63 -0
- package/api/resources/agentVariants/types/AgentVariantsSearchResponse.js +3 -0
- package/api/resources/agentVariants/types/CharterDiff.d.ts +29 -0
- package/api/resources/agentVariants/types/CharterDiff.js +3 -0
- package/api/resources/agentVariants/types/CharterEntityEdit.d.ts +5 -0
- package/api/resources/agentVariants/types/CharterEntityEdit.js +3 -0
- package/api/resources/agentVariants/types/DeletedCharterDiff.d.ts +5 -0
- package/api/resources/agentVariants/types/DeletedCharterDiff.js +3 -0
- package/api/resources/agentVariants/types/DeletedIntelligentFieldDiff.d.ts +5 -0
- package/api/resources/agentVariants/types/DeletedIntelligentFieldDiff.js +3 -0
- package/api/resources/agentVariants/types/EntityEdit.d.ts +16 -0
- package/api/resources/agentVariants/types/EntityEdit.js +3 -0
- package/api/resources/agentVariants/types/EntityEditResponse.d.ts +7 -0
- package/api/resources/agentVariants/types/EntityEditResponse.js +3 -0
- package/api/resources/agentVariants/types/IntelligentFieldDiff.d.ts +27 -0
- package/api/resources/agentVariants/types/IntelligentFieldDiff.js +3 -0
- package/api/resources/agentVariants/types/IntelligentFieldEntityEdit.d.ts +5 -0
- package/api/resources/agentVariants/types/IntelligentFieldEntityEdit.js +3 -0
- package/api/resources/agentVariants/types/ListAgentVariantsResponse.d.ts +42 -0
- package/api/resources/agentVariants/types/ListAgentVariantsResponse.js +3 -0
- package/api/resources/agentVariants/types/ListTrafficConfigsResponse.d.ts +5 -0
- package/api/resources/agentVariants/types/ListTrafficConfigsResponse.js +3 -0
- package/api/resources/agentVariants/types/ModifiedCharterDiff.d.ts +7 -0
- package/api/resources/agentVariants/types/ModifiedCharterDiff.js +3 -0
- package/api/resources/agentVariants/types/ModifiedIntelligentFieldDiff.d.ts +7 -0
- package/api/resources/agentVariants/types/ModifiedIntelligentFieldDiff.js +3 -0
- package/api/resources/agentVariants/types/TrafficAllocation.d.ts +15 -0
- package/api/resources/agentVariants/types/TrafficAllocation.js +3 -0
- package/api/resources/agentVariants/types/TrafficConfigResponse.d.ts +16 -0
- package/api/resources/agentVariants/types/TrafficConfigResponse.js +3 -0
- package/api/resources/agentVariants/types/TrafficFraction.d.ts +4 -0
- package/api/resources/agentVariants/types/TrafficFraction.js +3 -0
- package/api/resources/agentVariants/types/TrafficRule.d.ts +9 -0
- package/api/resources/agentVariants/types/TrafficRule.js +3 -0
- package/api/resources/agentVariants/types/UpdateTrafficConfigRequest.d.ts +7 -0
- package/api/resources/agentVariants/types/UpdateTrafficConfigRequest.js +3 -0
- package/api/resources/agentVariants/types/WorkingSetDiffResponse.d.ts +12 -0
- package/api/resources/agentVariants/types/WorkingSetDiffResponse.js +3 -0
- package/api/resources/agentVariants/types/index.d.ts +35 -0
- package/api/resources/agentVariants/types/index.js +51 -0
- package/api/resources/agents/client/Client.d.ts +62 -0
- package/api/resources/agents/client/Client.js +234 -0
- package/api/resources/agents/client/requests/AgentPatchRequest.d.ts +8 -3
- package/api/resources/agents/client/requests/GetVersionedAgentSettingsRequest.d.ts +10 -0
- package/api/resources/agents/client/requests/GetVersionedAgentSettingsRequest.js +3 -0
- package/api/resources/agents/client/requests/VersionedAgentSettingsPatchRequest.d.ts +17 -0
- package/api/resources/agents/client/requests/VersionedAgentSettingsPatchRequest.js +3 -0
- package/api/resources/agents/client/requests/index.d.ts +2 -0
- package/api/resources/agents/types/Agent.d.ts +9 -1
- package/api/resources/agents/types/AgentMigrations.d.ts +20 -0
- package/api/resources/agents/types/AgentMigrations.js +3 -0
- package/api/resources/agents/types/AgentMigrationsPatch.d.ts +7 -0
- package/api/resources/agents/types/AgentMigrationsPatch.js +3 -0
- package/api/resources/agents/types/AgentPrompting.d.ts +1 -1
- package/api/resources/agents/types/AgentSettingName.d.ts +6 -0
- package/api/resources/agents/types/AgentSettingName.js +9 -0
- package/api/resources/agents/types/VersionedAgentSettings.d.ts +13 -0
- package/api/resources/agents/types/VersionedAgentSettings.js +3 -0
- package/api/resources/agents/types/VersionedEntityTypeOrSetting.d.ts +5 -0
- package/api/resources/agents/types/VersionedEntityTypeOrSetting.js +3 -0
- package/api/resources/agents/types/index.d.ts +5 -0
- package/api/resources/agents/types/index.js +5 -0
- package/api/resources/analytics/client/Client.d.ts +1 -1
- package/api/resources/analytics/client/Client.js +1 -1
- package/api/resources/analytics/types/AgentUserTableRequest.d.ts +2 -0
- package/api/resources/analytics/types/ConversationAnalyticsRequest.d.ts +7 -1
- package/api/resources/analytics/types/ConversationTableRequest.d.ts +7 -1
- package/api/resources/analytics/types/EventTableRequest.d.ts +1 -0
- package/api/resources/analytics/types/GroupByBase.d.ts +1 -1
- package/api/resources/analytics/types/TimeInterval.d.ts +11 -0
- package/api/resources/analytics/types/TimeInterval.js +11 -0
- package/api/resources/appDirectory/client/Client.d.ts +41 -2
- package/api/resources/appDirectory/client/Client.js +49 -2
- package/api/resources/appDirectory/types/InstallDirectoryAppRequest.d.ts +27 -5
- package/api/resources/appSettings/client/Client.d.ts +11 -4
- package/api/resources/appSettings/client/Client.js +11 -4
- package/api/resources/capabilities/client/Client.d.ts +3 -3
- package/api/resources/capabilities/client/Client.js +3 -3
- package/api/resources/capabilities/types/CapabilityExecutionCompletionReason.d.ts +4 -0
- package/api/resources/capabilities/types/CapabilityExecutionCompletionReason.js +4 -0
- package/api/resources/charters/client/Client.d.ts +8 -1
- package/api/resources/charters/client/Client.js +8 -1
- package/api/resources/charters/client/requests/CharterPatchRequest.d.ts +7 -4
- package/api/resources/charters/types/CharterBase.d.ts +5 -3
- package/api/resources/charters/types/CharterEdit.d.ts +18 -0
- package/api/resources/charters/types/CharterEdit.js +3 -0
- package/api/resources/charters/types/CharterPayload.d.ts +10 -0
- package/api/resources/charters/types/CharterPayload.js +3 -0
- package/api/resources/charters/types/CharterResponse.d.ts +17 -2
- package/api/resources/charters/types/CharterSummary.d.ts +17 -2
- package/api/resources/charters/types/index.d.ts +2 -0
- package/api/resources/charters/types/index.js +2 -0
- package/api/resources/commons/types/BotLogicKnowledgeItem.d.ts +2 -0
- package/api/resources/commons/types/BotResponseMetadata.d.ts +5 -0
- package/api/resources/commons/types/CapabilityBase.d.ts +4 -0
- package/api/resources/commons/types/ErrorReason.d.ts +2 -2
- package/api/resources/commons/types/ErrorReason.js +2 -2
- package/api/resources/commons/types/FieldCondition.d.ts +3 -2
- package/api/resources/commons/types/IntelligentFieldPrecondition.d.ts +9 -1
- package/api/resources/commons/types/MetadataPrecondition.d.ts +27 -3
- package/api/resources/commons/types/PresenceOperator.d.ts +2 -1
- package/api/resources/commons/types/PresenceOperator.js +2 -1
- package/api/resources/commons/types/ResolutionStatus.d.ts +9 -5
- package/api/resources/commons/types/ResolutionStatus.js +9 -5
- package/api/resources/commons/types/SimulationContext.d.ts +5 -0
- package/api/resources/commons/types/SimulationSetupFields.d.ts +2 -3
- package/api/resources/commons/types/SystemEventName.d.ts +6 -0
- package/api/resources/commons/types/SystemEventName.js +6 -0
- package/api/resources/commons/types/TagsPrecondition.d.ts +12 -1
- package/api/resources/conversation/client/Client.d.ts +20 -0
- package/api/resources/conversation/client/Client.js +20 -0
- package/api/resources/conversation/client/requests/ConversationGetRequest.d.ts +1 -1
- package/api/resources/conversation/types/ConversationRequest.d.ts +2 -1
- package/api/resources/conversation/types/NumericConversationField.d.ts +13 -0
- package/api/resources/conversation/types/NumericConversationField.js +13 -0
- package/api/resources/developersCommons/types/MarketplaceAppDetail.d.ts +3 -2
- package/api/resources/index.d.ts +5 -0
- package/api/resources/index.js +6 -1
- package/api/resources/intelligentFields/client/Client.d.ts +13 -4
- package/api/resources/intelligentFields/client/Client.js +13 -4
- package/api/resources/intelligentFields/types/IntelligentFieldBase.d.ts +1 -1
- package/api/resources/intelligentFields/types/IntelligentFieldEdit.d.ts +16 -0
- package/api/resources/intelligentFields/types/IntelligentFieldEdit.js +3 -0
- package/api/resources/intelligentFields/types/IntelligentFieldPayload.d.ts +12 -0
- package/api/resources/intelligentFields/types/IntelligentFieldPayload.js +3 -0
- package/api/resources/intelligentFields/types/IntelligentFieldResponse.d.ts +3 -4
- package/api/resources/intelligentFields/types/index.d.ts +2 -0
- package/api/resources/intelligentFields/types/index.js +2 -0
- package/api/resources/knowledge/client/Client.d.ts +33 -2
- package/api/resources/knowledge/client/Client.js +33 -2
- package/api/resources/knowledge/types/KnowledgeBaseResponse.d.ts +4 -0
- package/api/resources/knowledge/types/KnowledgeBaseType.d.ts +2 -0
- package/api/resources/knowledge/types/KnowledgeBaseType.js +2 -0
- package/api/resources/knowledge/types/KnowledgeBaseVersion.d.ts +4 -0
- package/api/resources/knowledge/types/KnowledgeDocumentSearchResponse.d.ts +4 -0
- package/api/resources/organizations/types/Organization.d.ts +8 -0
- package/api/resources/triggers/client/Client.d.ts +6 -1
- package/api/resources/triggers/client/Client.js +6 -1
- package/api/resources/triggers/client/requests/PartialUpdateRequest.d.ts +6 -0
- package/api/resources/triggers/types/DebounceWait.d.ts +14 -0
- package/api/resources/triggers/types/DebounceWait.js +3 -0
- package/api/resources/triggers/types/DelayWait.d.ts +13 -0
- package/api/resources/triggers/types/DelayWait.js +3 -0
- package/api/resources/triggers/types/EventTriggerBase.d.ts +21 -0
- package/api/resources/triggers/types/EventTriggerResponse.d.ts +12 -0
- package/api/resources/triggers/types/IntervalSchedule.d.ts +17 -0
- package/api/resources/triggers/types/IntervalSchedule.js +3 -0
- package/api/resources/triggers/types/ScheduleInterval.d.ts +9 -0
- package/api/resources/triggers/types/ScheduleInterval.js +12 -0
- package/api/resources/triggers/types/ScheduleSpec.d.ts +11 -0
- package/api/resources/triggers/types/ScheduleSpec.js +3 -0
- package/api/resources/triggers/types/TimeSpan.d.ts +10 -0
- package/api/resources/triggers/types/TimeSpan.js +3 -0
- package/api/resources/triggers/types/TimeSpanUnit.d.ts +7 -0
- package/api/resources/triggers/types/TimeSpanUnit.js +10 -0
- package/api/resources/triggers/types/TriggerRateLimit.d.ts +20 -0
- package/api/resources/triggers/types/TriggerRateLimit.js +3 -0
- package/api/resources/triggers/types/TriggerSchedule.d.ts +30 -0
- package/api/resources/triggers/types/TriggerSchedule.js +3 -0
- package/api/resources/triggers/types/TriggerWait.d.ts +16 -0
- package/api/resources/triggers/types/TriggerWait.js +3 -0
- package/api/resources/triggers/types/TriggerWaitBase.d.ts +9 -0
- package/api/resources/triggers/types/TriggerWaitBase.js +3 -0
- package/api/resources/triggers/types/index.d.ts +11 -0
- package/api/resources/triggers/types/index.js +11 -0
- package/api/resources/users/client/Client.d.ts +1 -3
- package/api/resources/users/client/Client.js +1 -3
- package/api/resources/workingSet/index.d.ts +1 -0
- package/api/resources/workingSet/index.js +17 -0
- package/api/resources/workingSet/types/VariantDebugInfo.d.ts +15 -0
- package/api/resources/workingSet/types/VariantDebugInfo.js +3 -0
- package/api/resources/workingSet/types/index.d.ts +1 -0
- package/api/resources/workingSet/types/index.js +17 -0
- package/package.json +1 -1
- package/reference.md +1542 -15
- package/serialization/resources/agentVariants/client/index.d.ts +1 -0
- package/serialization/resources/agentVariants/client/index.js +17 -0
- package/serialization/resources/agentVariants/client/requests/AgentVariantCommitRequest.d.ts +15 -0
- package/serialization/resources/agentVariants/client/requests/AgentVariantCommitRequest.js +47 -0
- package/serialization/resources/agentVariants/client/requests/GetEntityEditByIdRequest.d.ts +11 -0
- package/serialization/resources/agentVariants/client/requests/GetEntityEditByIdRequest.js +43 -0
- package/serialization/resources/agentVariants/client/requests/GetSettingEditRequest.d.ts +11 -0
- package/serialization/resources/agentVariants/client/requests/GetSettingEditRequest.js +43 -0
- package/serialization/resources/agentVariants/client/requests/PatchAgentVariantRequest.d.ts +13 -0
- package/serialization/resources/agentVariants/client/requests/PatchAgentVariantRequest.js +45 -0
- package/serialization/resources/agentVariants/client/requests/WorkingSetDiffRequest.d.ts +9 -0
- package/serialization/resources/agentVariants/client/requests/WorkingSetDiffRequest.js +41 -0
- package/serialization/resources/agentVariants/client/requests/index.d.ts +5 -0
- package/serialization/resources/agentVariants/client/requests/index.js +13 -0
- package/serialization/resources/agentVariants/index.d.ts +2 -0
- package/serialization/resources/agentVariants/index.js +18 -0
- package/serialization/resources/agentVariants/types/AddedCharterDiff.d.ts +10 -0
- package/serialization/resources/agentVariants/types/AddedCharterDiff.js +42 -0
- package/serialization/resources/agentVariants/types/AddedIntelligentFieldDiff.d.ts +10 -0
- package/serialization/resources/agentVariants/types/AddedIntelligentFieldDiff.js +42 -0
- package/serialization/resources/agentVariants/types/AgentSettingEdits.d.ts +17 -0
- package/serialization/resources/agentVariants/types/AgentSettingEdits.js +49 -0
- package/serialization/resources/agentVariants/types/AgentSettingsDiff.d.ts +13 -0
- package/serialization/resources/agentVariants/types/AgentSettingsDiff.js +45 -0
- package/serialization/resources/agentVariants/types/AgentVariantCompareRequest.d.ts +14 -0
- package/serialization/resources/agentVariants/types/AgentVariantCompareRequest.js +46 -0
- package/serialization/resources/agentVariants/types/AgentVariantCompareResponse.d.ts +13 -0
- package/serialization/resources/agentVariants/types/AgentVariantCompareResponse.js +45 -0
- package/serialization/resources/agentVariants/types/AgentVariantDiff.d.ts +14 -0
- package/serialization/resources/agentVariants/types/AgentVariantDiff.js +46 -0
- package/serialization/resources/agentVariants/types/AgentVariantFilter.d.ts +13 -0
- package/serialization/resources/agentVariants/types/AgentVariantFilter.js +45 -0
- package/serialization/resources/agentVariants/types/AgentVariantListRequest.d.ts +9 -0
- package/serialization/resources/agentVariants/types/AgentVariantListRequest.js +40 -0
- package/serialization/resources/agentVariants/types/AgentVariantRequest.d.ts +14 -0
- package/serialization/resources/agentVariants/types/AgentVariantRequest.js +46 -0
- package/serialization/resources/agentVariants/types/AgentVariantResponse.d.ts +21 -0
- package/serialization/resources/agentVariants/types/AgentVariantResponse.js +53 -0
- package/serialization/resources/agentVariants/types/AgentVariantSearchResult.d.ts +12 -0
- package/serialization/resources/agentVariants/types/AgentVariantSearchResult.js +46 -0
- package/serialization/resources/agentVariants/types/AgentVariantSortField.d.ts +7 -0
- package/serialization/resources/agentVariants/types/AgentVariantSortField.js +39 -0
- package/serialization/resources/agentVariants/types/AgentVariantStatus.d.ts +7 -0
- package/serialization/resources/agentVariants/types/AgentVariantStatus.js +39 -0
- package/serialization/resources/agentVariants/types/AgentVariantTraffic.d.ts +11 -0
- package/serialization/resources/agentVariants/types/AgentVariantTraffic.js +43 -0
- package/serialization/resources/agentVariants/types/AgentVariantsSearchRequest.d.ts +13 -0
- package/serialization/resources/agentVariants/types/AgentVariantsSearchRequest.js +47 -0
- package/serialization/resources/agentVariants/types/AgentVariantsSearchResponse.d.ts +11 -0
- package/serialization/resources/agentVariants/types/AgentVariantsSearchResponse.js +45 -0
- package/serialization/resources/agentVariants/types/CharterDiff.d.ts +19 -0
- package/serialization/resources/agentVariants/types/CharterDiff.js +51 -0
- package/serialization/resources/agentVariants/types/CharterEntityEdit.d.ts +10 -0
- package/serialization/resources/agentVariants/types/CharterEntityEdit.js +42 -0
- package/serialization/resources/agentVariants/types/DeletedCharterDiff.d.ts +10 -0
- package/serialization/resources/agentVariants/types/DeletedCharterDiff.js +42 -0
- package/serialization/resources/agentVariants/types/DeletedIntelligentFieldDiff.d.ts +10 -0
- package/serialization/resources/agentVariants/types/DeletedIntelligentFieldDiff.js +42 -0
- package/serialization/resources/agentVariants/types/EntityEdit.d.ts +15 -0
- package/serialization/resources/agentVariants/types/EntityEdit.js +49 -0
- package/serialization/resources/agentVariants/types/EntityEditResponse.d.ts +12 -0
- package/serialization/resources/agentVariants/types/EntityEditResponse.js +44 -0
- package/serialization/resources/agentVariants/types/IntelligentFieldDiff.d.ts +19 -0
- package/serialization/resources/agentVariants/types/IntelligentFieldDiff.js +51 -0
- package/serialization/resources/agentVariants/types/IntelligentFieldEntityEdit.d.ts +10 -0
- package/serialization/resources/agentVariants/types/IntelligentFieldEntityEdit.js +42 -0
- package/serialization/resources/agentVariants/types/ListAgentVariantsResponse.d.ts +11 -0
- package/serialization/resources/agentVariants/types/ListAgentVariantsResponse.js +45 -0
- package/serialization/resources/agentVariants/types/ListTrafficConfigsResponse.d.ts +11 -0
- package/serialization/resources/agentVariants/types/ListTrafficConfigsResponse.js +45 -0
- package/serialization/resources/agentVariants/types/ModifiedCharterDiff.d.ts +11 -0
- package/serialization/resources/agentVariants/types/ModifiedCharterDiff.js +43 -0
- package/serialization/resources/agentVariants/types/ModifiedIntelligentFieldDiff.d.ts +11 -0
- package/serialization/resources/agentVariants/types/ModifiedIntelligentFieldDiff.js +43 -0
- package/serialization/resources/agentVariants/types/TrafficAllocation.d.ts +11 -0
- package/serialization/resources/agentVariants/types/TrafficAllocation.js +47 -0
- package/serialization/resources/agentVariants/types/TrafficConfigResponse.d.ts +16 -0
- package/serialization/resources/agentVariants/types/TrafficConfigResponse.js +48 -0
- package/serialization/resources/agentVariants/types/TrafficFraction.d.ts +9 -0
- package/serialization/resources/agentVariants/types/TrafficFraction.js +41 -0
- package/serialization/resources/agentVariants/types/TrafficRule.d.ts +12 -0
- package/serialization/resources/agentVariants/types/TrafficRule.js +44 -0
- package/serialization/resources/agentVariants/types/UpdateTrafficConfigRequest.d.ts +11 -0
- package/serialization/resources/agentVariants/types/UpdateTrafficConfigRequest.js +43 -0
- package/serialization/resources/agentVariants/types/WorkingSetDiffResponse.d.ts +13 -0
- package/serialization/resources/agentVariants/types/WorkingSetDiffResponse.js +45 -0
- package/serialization/resources/agentVariants/types/index.d.ts +35 -0
- package/serialization/resources/agentVariants/types/index.js +51 -0
- package/serialization/resources/agents/client/requests/AgentPatchRequest.d.ts +2 -0
- package/serialization/resources/agents/client/requests/AgentPatchRequest.js +2 -0
- package/serialization/resources/agents/client/requests/VersionedAgentSettingsPatchRequest.d.ts +12 -0
- package/serialization/resources/agents/client/requests/VersionedAgentSettingsPatchRequest.js +44 -0
- package/serialization/resources/agents/client/requests/index.d.ts +1 -0
- package/serialization/resources/agents/client/requests/index.js +3 -1
- package/serialization/resources/agents/types/Agent.d.ts +6 -0
- package/serialization/resources/agents/types/Agent.js +6 -0
- package/serialization/resources/agents/types/AgentMigrations.d.ts +11 -0
- package/serialization/resources/agents/types/AgentMigrations.js +43 -0
- package/serialization/resources/agents/types/AgentMigrationsPatch.d.ts +9 -0
- package/serialization/resources/agents/types/AgentMigrationsPatch.js +41 -0
- package/serialization/resources/agents/types/AgentSettingName.d.ts +7 -0
- package/serialization/resources/agents/types/AgentSettingName.js +42 -0
- package/serialization/resources/agents/types/VersionedAgentSettings.d.ts +10 -0
- package/serialization/resources/agents/types/VersionedAgentSettings.js +42 -0
- package/serialization/resources/agents/types/VersionedEntityTypeOrSetting.d.ts +9 -0
- package/serialization/resources/agents/types/VersionedEntityTypeOrSetting.js +41 -0
- package/serialization/resources/agents/types/index.d.ts +5 -0
- package/serialization/resources/agents/types/index.js +5 -0
- package/serialization/resources/capabilities/types/CapabilityExecutionCompletionReason.d.ts +1 -1
- package/serialization/resources/capabilities/types/CapabilityExecutionCompletionReason.js +1 -0
- package/serialization/resources/charters/types/CharterEdit.d.ts +17 -0
- package/serialization/resources/charters/types/CharterEdit.js +49 -0
- package/serialization/resources/charters/types/CharterPayload.d.ts +11 -0
- package/serialization/resources/charters/types/CharterPayload.js +45 -0
- package/serialization/resources/charters/types/CharterResponse.d.ts +3 -0
- package/serialization/resources/charters/types/CharterResponse.js +3 -0
- package/serialization/resources/charters/types/CharterSummary.d.ts +3 -0
- package/serialization/resources/charters/types/CharterSummary.js +3 -0
- package/serialization/resources/charters/types/index.d.ts +2 -0
- package/serialization/resources/charters/types/index.js +2 -0
- package/serialization/resources/commons/types/CapabilityBase.d.ts +3 -0
- package/serialization/resources/commons/types/CapabilityBase.js +3 -0
- package/serialization/resources/commons/types/MetadataPrecondition.d.ts +2 -0
- package/serialization/resources/commons/types/MetadataPrecondition.js +2 -0
- package/serialization/resources/commons/types/SystemEventName.d.ts +1 -1
- package/serialization/resources/commons/types/SystemEventName.js +2 -0
- package/serialization/resources/conversation/types/NumericConversationField.d.ts +1 -1
- package/serialization/resources/conversation/types/NumericConversationField.js +1 -0
- package/serialization/resources/index.d.ts +5 -0
- package/serialization/resources/index.js +6 -1
- package/serialization/resources/intelligentFields/types/IntelligentFieldEdit.d.ts +17 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldEdit.js +49 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldPayload.d.ts +13 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldPayload.js +47 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldResponse.d.ts +0 -3
- package/serialization/resources/intelligentFields/types/IntelligentFieldResponse.js +0 -3
- package/serialization/resources/intelligentFields/types/index.d.ts +2 -0
- package/serialization/resources/intelligentFields/types/index.js +2 -0
- package/serialization/resources/knowledge/types/KnowledgeBaseResponse.d.ts +3 -0
- package/serialization/resources/knowledge/types/KnowledgeBaseResponse.js +3 -0
- package/serialization/resources/knowledge/types/KnowledgeBaseVersion.d.ts +3 -0
- package/serialization/resources/knowledge/types/KnowledgeBaseVersion.js +3 -0
- package/serialization/resources/knowledge/types/KnowledgeDocumentSearchResponse.d.ts +3 -0
- package/serialization/resources/knowledge/types/KnowledgeDocumentSearchResponse.js +3 -0
- package/serialization/resources/organizations/types/Organization.d.ts +5 -0
- package/serialization/resources/organizations/types/Organization.js +5 -0
- package/serialization/resources/triggers/client/requests/PartialUpdateRequest.d.ts +6 -0
- package/serialization/resources/triggers/client/requests/PartialUpdateRequest.js +6 -0
- package/serialization/resources/triggers/types/DebounceWait.d.ts +11 -0
- package/serialization/resources/triggers/types/DebounceWait.js +45 -0
- package/serialization/resources/triggers/types/DelayWait.d.ts +11 -0
- package/serialization/resources/triggers/types/DelayWait.js +45 -0
- package/serialization/resources/triggers/types/EventTriggerBase.d.ts +6 -0
- package/serialization/resources/triggers/types/EventTriggerBase.js +6 -0
- package/serialization/resources/triggers/types/EventTriggerResponse.d.ts +2 -0
- package/serialization/resources/triggers/types/EventTriggerResponse.js +2 -0
- package/serialization/resources/triggers/types/IntervalSchedule.d.ts +14 -0
- package/serialization/resources/triggers/types/IntervalSchedule.js +46 -0
- package/serialization/resources/triggers/types/ScheduleInterval.d.ts +7 -0
- package/serialization/resources/triggers/types/ScheduleInterval.js +39 -0
- package/serialization/resources/triggers/types/ScheduleSpec.d.ts +11 -0
- package/serialization/resources/triggers/types/ScheduleSpec.js +47 -0
- package/serialization/resources/triggers/types/TimeSpan.d.ts +11 -0
- package/serialization/resources/triggers/types/TimeSpan.js +43 -0
- package/serialization/resources/triggers/types/TimeSpanUnit.d.ts +7 -0
- package/serialization/resources/triggers/types/TimeSpanUnit.js +39 -0
- package/serialization/resources/triggers/types/TriggerRateLimit.d.ts +13 -0
- package/serialization/resources/triggers/types/TriggerRateLimit.js +45 -0
- package/serialization/resources/triggers/types/TriggerSchedule.d.ts +12 -0
- package/serialization/resources/triggers/types/TriggerSchedule.js +44 -0
- package/serialization/resources/triggers/types/TriggerWait.d.ts +15 -0
- package/serialization/resources/triggers/types/TriggerWait.js +49 -0
- package/serialization/resources/triggers/types/TriggerWaitBase.d.ts +10 -0
- package/serialization/resources/triggers/types/TriggerWaitBase.js +42 -0
- package/serialization/resources/triggers/types/index.d.ts +11 -0
- package/serialization/resources/triggers/types/index.js +11 -0
- package/serialization/resources/workingSet/index.d.ts +1 -0
- package/serialization/resources/workingSet/index.js +17 -0
- package/serialization/resources/workingSet/types/VariantDebugInfo.d.ts +10 -0
- package/serialization/resources/workingSet/types/VariantDebugInfo.js +42 -0
- package/serialization/resources/workingSet/types/index.d.ts +1 -0
- package/serialization/resources/workingSet/types/index.js +17 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
package/reference.md
CHANGED
|
@@ -382,6 +382,1238 @@ await client.actions.delete("get-balance");
|
|
|
382
382
|
</dl>
|
|
383
383
|
|
|
384
384
|
|
|
385
|
+
</dd>
|
|
386
|
+
</dl>
|
|
387
|
+
</details>
|
|
388
|
+
|
|
389
|
+
## AgentVariants
|
|
390
|
+
<details><summary><code>client.agentVariants.<a href="/src/api/resources/agentVariants/client/Client.ts">createOrUpdate</a>({ ...params }) -> MavenAGI.AgentVariantResponse</code></summary>
|
|
391
|
+
<dl>
|
|
392
|
+
<dd>
|
|
393
|
+
|
|
394
|
+
#### 📝 Description
|
|
395
|
+
|
|
396
|
+
<dl>
|
|
397
|
+
<dd>
|
|
398
|
+
|
|
399
|
+
<dl>
|
|
400
|
+
<dd>
|
|
401
|
+
|
|
402
|
+
Creates a new agent variant, optionally based on an existing variant, or updates it if it already exists.
|
|
403
|
+
|
|
404
|
+
If a baseVariantId is provided, the new variant is forked from the specified base variant: it shares the base's configuration and starts with an empty working set. A variant's base is fixed when it is created: an update must pass the same baseVariantId (or omit it, if the variant has no base), and is otherwise rejected.
|
|
405
|
+
|
|
406
|
+
Updating an existing agent variant sets its title and description, clearing the description if the request omits it, and leaves its status unchanged. Updating a deleted one resurrects it in place as an ACTIVE variant, keeping its original ID, creation metadata, and configuration. Creating or resurrecting a variant needs an ACTIVE base (reason `VARIANT_NOT_ACTIVE` otherwise), so resurrect a deleted base variant before its children. Updating an existing variant doesn't, so a retried create still succeeds after its base is archived.
|
|
407
|
+
|
|
408
|
+
Creating or resurrecting a variant is rejected with reason `VARIANT_LIMIT_REACHED` while the agent is at its limit of ACTIVE variants (25 by default; the error message gives the agent's limit). Archived and deleted variants don't count, so archive one to make room. Updating an existing ACTIVE variant isn't limited.
|
|
409
|
+
|
|
410
|
+
The response includes the details of the created or updated agent variant.
|
|
411
|
+
|
|
412
|
+
<Note>**Required permission:** `edit:agents`</Note>
|
|
413
|
+
</dd>
|
|
414
|
+
</dl>
|
|
415
|
+
</dd>
|
|
416
|
+
</dl>
|
|
417
|
+
|
|
418
|
+
#### 🔌 Usage
|
|
419
|
+
|
|
420
|
+
<dl>
|
|
421
|
+
<dd>
|
|
422
|
+
|
|
423
|
+
<dl>
|
|
424
|
+
<dd>
|
|
425
|
+
|
|
426
|
+
```typescript
|
|
427
|
+
await client.agentVariants.createOrUpdate({
|
|
428
|
+
baseVariantId: {
|
|
429
|
+
referenceId: "variant_456",
|
|
430
|
+
appId: "zendesk",
|
|
431
|
+
type: "AGENT_VARIANT"
|
|
432
|
+
},
|
|
433
|
+
variantId: {
|
|
434
|
+
referenceId: "variant_789"
|
|
435
|
+
},
|
|
436
|
+
title: "Support agent Working 2",
|
|
437
|
+
description: ""
|
|
438
|
+
});
|
|
439
|
+
|
|
440
|
+
```
|
|
441
|
+
</dd>
|
|
442
|
+
</dl>
|
|
443
|
+
</dd>
|
|
444
|
+
</dl>
|
|
445
|
+
|
|
446
|
+
#### ⚙️ Parameters
|
|
447
|
+
|
|
448
|
+
<dl>
|
|
449
|
+
<dd>
|
|
450
|
+
|
|
451
|
+
<dl>
|
|
452
|
+
<dd>
|
|
453
|
+
|
|
454
|
+
**request:** `MavenAGI.AgentVariantRequest`
|
|
455
|
+
|
|
456
|
+
</dd>
|
|
457
|
+
</dl>
|
|
458
|
+
|
|
459
|
+
<dl>
|
|
460
|
+
<dd>
|
|
461
|
+
|
|
462
|
+
**requestOptions:** `AgentVariantsClient.RequestOptions`
|
|
463
|
+
|
|
464
|
+
</dd>
|
|
465
|
+
</dl>
|
|
466
|
+
</dd>
|
|
467
|
+
</dl>
|
|
468
|
+
|
|
469
|
+
|
|
470
|
+
</dd>
|
|
471
|
+
</dl>
|
|
472
|
+
</details>
|
|
473
|
+
|
|
474
|
+
<details><summary><code>client.agentVariants.<a href="/src/api/resources/agentVariants/client/Client.ts">list</a>({ ...params }) -> MavenAGI.ListAgentVariantsResponse</code></summary>
|
|
475
|
+
<dl>
|
|
476
|
+
<dd>
|
|
477
|
+
|
|
478
|
+
#### 📝 Description
|
|
479
|
+
|
|
480
|
+
<dl>
|
|
481
|
+
<dd>
|
|
482
|
+
|
|
483
|
+
<dl>
|
|
484
|
+
<dd>
|
|
485
|
+
|
|
486
|
+
List all agent variants for an agent
|
|
487
|
+
|
|
488
|
+
<Note>**Required permission:** `read:agents`</Note>
|
|
489
|
+
</dd>
|
|
490
|
+
</dl>
|
|
491
|
+
</dd>
|
|
492
|
+
</dl>
|
|
493
|
+
|
|
494
|
+
#### 🔌 Usage
|
|
495
|
+
|
|
496
|
+
<dl>
|
|
497
|
+
<dd>
|
|
498
|
+
|
|
499
|
+
<dl>
|
|
500
|
+
<dd>
|
|
501
|
+
|
|
502
|
+
```typescript
|
|
503
|
+
await client.agentVariants.list({
|
|
504
|
+
page: 0,
|
|
505
|
+
size: 20,
|
|
506
|
+
sortDesc: true
|
|
507
|
+
});
|
|
508
|
+
|
|
509
|
+
```
|
|
510
|
+
</dd>
|
|
511
|
+
</dl>
|
|
512
|
+
</dd>
|
|
513
|
+
</dl>
|
|
514
|
+
|
|
515
|
+
#### ⚙️ Parameters
|
|
516
|
+
|
|
517
|
+
<dl>
|
|
518
|
+
<dd>
|
|
519
|
+
|
|
520
|
+
<dl>
|
|
521
|
+
<dd>
|
|
522
|
+
|
|
523
|
+
**request:** `MavenAGI.AgentVariantListRequest`
|
|
524
|
+
|
|
525
|
+
</dd>
|
|
526
|
+
</dl>
|
|
527
|
+
|
|
528
|
+
<dl>
|
|
529
|
+
<dd>
|
|
530
|
+
|
|
531
|
+
**requestOptions:** `AgentVariantsClient.RequestOptions`
|
|
532
|
+
|
|
533
|
+
</dd>
|
|
534
|
+
</dl>
|
|
535
|
+
</dd>
|
|
536
|
+
</dl>
|
|
537
|
+
|
|
538
|
+
|
|
539
|
+
</dd>
|
|
540
|
+
</dl>
|
|
541
|
+
</details>
|
|
542
|
+
|
|
543
|
+
<details><summary><code>client.agentVariants.<a href="/src/api/resources/agentVariants/client/Client.ts">search</a>({ ...params }) -> MavenAGI.AgentVariantsSearchResponse</code></summary>
|
|
544
|
+
<dl>
|
|
545
|
+
<dd>
|
|
546
|
+
|
|
547
|
+
#### 📝 Description
|
|
548
|
+
|
|
549
|
+
<dl>
|
|
550
|
+
<dd>
|
|
551
|
+
|
|
552
|
+
<dl>
|
|
553
|
+
<dd>
|
|
554
|
+
|
|
555
|
+
Search an agent's variants, most recently updated first by default. A variant must match every filter given; omitting `filter` returns every ACTIVE variant.
|
|
556
|
+
|
|
557
|
+
Each result carries the variant's traffic in the agent's latest traffic configuration revision and the number of edits staged in its working set.
|
|
558
|
+
|
|
559
|
+
<Note>**Required permission:** `read:agents`</Note>
|
|
560
|
+
</dd>
|
|
561
|
+
</dl>
|
|
562
|
+
</dd>
|
|
563
|
+
</dl>
|
|
564
|
+
|
|
565
|
+
#### 🔌 Usage
|
|
566
|
+
|
|
567
|
+
<dl>
|
|
568
|
+
<dd>
|
|
569
|
+
|
|
570
|
+
<dl>
|
|
571
|
+
<dd>
|
|
572
|
+
|
|
573
|
+
```typescript
|
|
574
|
+
await client.agentVariants.search({
|
|
575
|
+
filter: {
|
|
576
|
+
live: true
|
|
577
|
+
}
|
|
578
|
+
});
|
|
579
|
+
|
|
580
|
+
```
|
|
581
|
+
</dd>
|
|
582
|
+
</dl>
|
|
583
|
+
</dd>
|
|
584
|
+
</dl>
|
|
585
|
+
|
|
586
|
+
#### ⚙️ Parameters
|
|
587
|
+
|
|
588
|
+
<dl>
|
|
589
|
+
<dd>
|
|
590
|
+
|
|
591
|
+
<dl>
|
|
592
|
+
<dd>
|
|
593
|
+
|
|
594
|
+
**request:** `MavenAGI.AgentVariantsSearchRequest`
|
|
595
|
+
|
|
596
|
+
</dd>
|
|
597
|
+
</dl>
|
|
598
|
+
|
|
599
|
+
<dl>
|
|
600
|
+
<dd>
|
|
601
|
+
|
|
602
|
+
**requestOptions:** `AgentVariantsClient.RequestOptions`
|
|
603
|
+
|
|
604
|
+
</dd>
|
|
605
|
+
</dl>
|
|
606
|
+
</dd>
|
|
607
|
+
</dl>
|
|
608
|
+
|
|
609
|
+
|
|
610
|
+
</dd>
|
|
611
|
+
</dl>
|
|
612
|
+
</details>
|
|
613
|
+
|
|
614
|
+
<details><summary><code>client.agentVariants.<a href="/src/api/resources/agentVariants/client/Client.ts">get</a>(variantReferenceId, { ...params }) -> MavenAGI.AgentVariantResponse</code></summary>
|
|
615
|
+
<dl>
|
|
616
|
+
<dd>
|
|
617
|
+
|
|
618
|
+
#### 📝 Description
|
|
619
|
+
|
|
620
|
+
<dl>
|
|
621
|
+
<dd>
|
|
622
|
+
|
|
623
|
+
<dl>
|
|
624
|
+
<dd>
|
|
625
|
+
|
|
626
|
+
Retrieve the details of a specific agent variant by its ID
|
|
627
|
+
|
|
628
|
+
<Note>**Required permission:** `read:agents`</Note>
|
|
629
|
+
</dd>
|
|
630
|
+
</dl>
|
|
631
|
+
</dd>
|
|
632
|
+
</dl>
|
|
633
|
+
|
|
634
|
+
#### 🔌 Usage
|
|
635
|
+
|
|
636
|
+
<dl>
|
|
637
|
+
<dd>
|
|
638
|
+
|
|
639
|
+
<dl>
|
|
640
|
+
<dd>
|
|
641
|
+
|
|
642
|
+
```typescript
|
|
643
|
+
await client.agentVariants.get("variantReferenceId_123");
|
|
644
|
+
|
|
645
|
+
```
|
|
646
|
+
</dd>
|
|
647
|
+
</dl>
|
|
648
|
+
</dd>
|
|
649
|
+
</dl>
|
|
650
|
+
|
|
651
|
+
#### ⚙️ Parameters
|
|
652
|
+
|
|
653
|
+
<dl>
|
|
654
|
+
<dd>
|
|
655
|
+
|
|
656
|
+
<dl>
|
|
657
|
+
<dd>
|
|
658
|
+
|
|
659
|
+
**variantReferenceId:** `string` — The referenceId of the agent variant to retrieve.
|
|
660
|
+
|
|
661
|
+
</dd>
|
|
662
|
+
</dl>
|
|
663
|
+
|
|
664
|
+
<dl>
|
|
665
|
+
<dd>
|
|
666
|
+
|
|
667
|
+
**request:** `MavenAGI.AgentVariantBaseGetRequest`
|
|
668
|
+
|
|
669
|
+
</dd>
|
|
670
|
+
</dl>
|
|
671
|
+
|
|
672
|
+
<dl>
|
|
673
|
+
<dd>
|
|
674
|
+
|
|
675
|
+
**requestOptions:** `AgentVariantsClient.RequestOptions`
|
|
676
|
+
|
|
677
|
+
</dd>
|
|
678
|
+
</dl>
|
|
679
|
+
</dd>
|
|
680
|
+
</dl>
|
|
681
|
+
|
|
682
|
+
|
|
683
|
+
</dd>
|
|
684
|
+
</dl>
|
|
685
|
+
</details>
|
|
686
|
+
|
|
687
|
+
<details><summary><code>client.agentVariants.<a href="/src/api/resources/agentVariants/client/Client.ts">patch</a>(variantReferenceId, { ...params }) -> MavenAGI.AgentVariantResponse</code></summary>
|
|
688
|
+
<dl>
|
|
689
|
+
<dd>
|
|
690
|
+
|
|
691
|
+
#### 📝 Description
|
|
692
|
+
|
|
693
|
+
<dl>
|
|
694
|
+
<dd>
|
|
695
|
+
|
|
696
|
+
<dl>
|
|
697
|
+
<dd>
|
|
698
|
+
|
|
699
|
+
Update a specific agent variant's metadata, such as description or status. The request body can include any of the updatable fields.
|
|
700
|
+
|
|
701
|
+
A deleted variant can't be patched (reason `VARIANT_NOT_ACTIVE`). Bring it back with createOrUpdate instead, which resurrects it (its base, if it has one, must be ACTIVE).
|
|
702
|
+
|
|
703
|
+
Setting an archived variant's status back to ACTIVE is rejected with reason `VARIANT_LIMIT_REACHED` while the agent is at its limit of ACTIVE variants.
|
|
704
|
+
|
|
705
|
+
<Note>**Required permission:** `edit:agents`</Note>
|
|
706
|
+
</dd>
|
|
707
|
+
</dl>
|
|
708
|
+
</dd>
|
|
709
|
+
</dl>
|
|
710
|
+
|
|
711
|
+
#### 🔌 Usage
|
|
712
|
+
|
|
713
|
+
<dl>
|
|
714
|
+
<dd>
|
|
715
|
+
|
|
716
|
+
<dl>
|
|
717
|
+
<dd>
|
|
718
|
+
|
|
719
|
+
```typescript
|
|
720
|
+
await client.agentVariants.patch("variantReferenceId");
|
|
721
|
+
|
|
722
|
+
```
|
|
723
|
+
</dd>
|
|
724
|
+
</dl>
|
|
725
|
+
</dd>
|
|
726
|
+
</dl>
|
|
727
|
+
|
|
728
|
+
#### ⚙️ Parameters
|
|
729
|
+
|
|
730
|
+
<dl>
|
|
731
|
+
<dd>
|
|
732
|
+
|
|
733
|
+
<dl>
|
|
734
|
+
<dd>
|
|
735
|
+
|
|
736
|
+
**variantReferenceId:** `string` — The referenceId of the agent variant to patch.
|
|
737
|
+
|
|
738
|
+
</dd>
|
|
739
|
+
</dl>
|
|
740
|
+
|
|
741
|
+
<dl>
|
|
742
|
+
<dd>
|
|
743
|
+
|
|
744
|
+
**request:** `MavenAGI.PatchAgentVariantRequest`
|
|
745
|
+
|
|
746
|
+
</dd>
|
|
747
|
+
</dl>
|
|
748
|
+
|
|
749
|
+
<dl>
|
|
750
|
+
<dd>
|
|
751
|
+
|
|
752
|
+
**requestOptions:** `AgentVariantsClient.RequestOptions`
|
|
753
|
+
|
|
754
|
+
</dd>
|
|
755
|
+
</dl>
|
|
756
|
+
</dd>
|
|
757
|
+
</dl>
|
|
758
|
+
|
|
759
|
+
|
|
760
|
+
</dd>
|
|
761
|
+
</dl>
|
|
762
|
+
</details>
|
|
763
|
+
|
|
764
|
+
<details><summary><code>client.agentVariants.<a href="/src/api/resources/agentVariants/client/Client.ts">updateTrafficConfig</a>({ ...params }) -> MavenAGI.TrafficConfigResponse</code></summary>
|
|
765
|
+
<dl>
|
|
766
|
+
<dd>
|
|
767
|
+
|
|
768
|
+
#### 📝 Description
|
|
769
|
+
|
|
770
|
+
<dl>
|
|
771
|
+
<dd>
|
|
772
|
+
|
|
773
|
+
<dl>
|
|
774
|
+
<dd>
|
|
775
|
+
|
|
776
|
+
Adds a new traffic configuration revision for the agent in the request context. Traffic
|
|
777
|
+
configuration is agent-wide: each rule names the variant it routes to, and the rules
|
|
778
|
+
together define how the agent's live traffic is split across its variants.
|
|
779
|
+
|
|
780
|
+
Revisions are never overwritten in place: each call inserts a new revision as the successor to the agent's current one. `expectedRevisionSequence` is required once a revision already exists and acts as a compare-and-swap guard -- it must match the agent's current revision sequence or the call is rejected, ensuring only one caller's update is accepted as the successor to the revision it actually observed.
|
|
781
|
+
|
|
782
|
+
Every rule's variant must be ACTIVE and have no staged edits in its working set (`VARIANT_HAS_STAGED_EDITS`), even at 0%. The rules must route all of the agent's traffic: their percentages sum to 100, so an empty list is rejected. A revision holds only the split; there is no production or default variant, and a read or write that names no variant is rejected while its entity type is versioned (`VARIANT_REQUIRED`).
|
|
783
|
+
|
|
784
|
+
Traffic can be changed only while at least one entity type is versioned for the agent (see the agent's `migrations.versionedEntityTypes`). Otherwise the call is rejected with 501.
|
|
785
|
+
|
|
786
|
+
Shown in Agent Designer as "Traffic Control".
|
|
787
|
+
|
|
788
|
+
<Note>**Required permission:** `edit:agents`</Note>
|
|
789
|
+
</dd>
|
|
790
|
+
</dl>
|
|
791
|
+
</dd>
|
|
792
|
+
</dl>
|
|
793
|
+
|
|
794
|
+
#### 🔌 Usage
|
|
795
|
+
|
|
796
|
+
<dl>
|
|
797
|
+
<dd>
|
|
798
|
+
|
|
799
|
+
<dl>
|
|
800
|
+
<dd>
|
|
801
|
+
|
|
802
|
+
```typescript
|
|
803
|
+
await client.agentVariants.updateTrafficConfig({
|
|
804
|
+
rules: [{
|
|
805
|
+
variantId: {
|
|
806
|
+
organizationId: "organizationId",
|
|
807
|
+
agentId: "agentId",
|
|
808
|
+
type: "AGENT",
|
|
809
|
+
appId: "appId",
|
|
810
|
+
referenceId: "x"
|
|
811
|
+
},
|
|
812
|
+
percentage: 1.1,
|
|
813
|
+
condition: "condition"
|
|
814
|
+
}, {
|
|
815
|
+
variantId: {
|
|
816
|
+
organizationId: "organizationId",
|
|
817
|
+
agentId: "agentId",
|
|
818
|
+
type: "AGENT",
|
|
819
|
+
appId: "appId",
|
|
820
|
+
referenceId: "x"
|
|
821
|
+
},
|
|
822
|
+
percentage: 1.1,
|
|
823
|
+
condition: "condition"
|
|
824
|
+
}]
|
|
825
|
+
});
|
|
826
|
+
|
|
827
|
+
```
|
|
828
|
+
</dd>
|
|
829
|
+
</dl>
|
|
830
|
+
</dd>
|
|
831
|
+
</dl>
|
|
832
|
+
|
|
833
|
+
#### ⚙️ Parameters
|
|
834
|
+
|
|
835
|
+
<dl>
|
|
836
|
+
<dd>
|
|
837
|
+
|
|
838
|
+
<dl>
|
|
839
|
+
<dd>
|
|
840
|
+
|
|
841
|
+
**request:** `MavenAGI.UpdateTrafficConfigRequest`
|
|
842
|
+
|
|
843
|
+
</dd>
|
|
844
|
+
</dl>
|
|
845
|
+
|
|
846
|
+
<dl>
|
|
847
|
+
<dd>
|
|
848
|
+
|
|
849
|
+
**requestOptions:** `AgentVariantsClient.RequestOptions`
|
|
850
|
+
|
|
851
|
+
</dd>
|
|
852
|
+
</dl>
|
|
853
|
+
</dd>
|
|
854
|
+
</dl>
|
|
855
|
+
|
|
856
|
+
|
|
857
|
+
</dd>
|
|
858
|
+
</dl>
|
|
859
|
+
</details>
|
|
860
|
+
|
|
861
|
+
<details><summary><code>client.agentVariants.<a href="/src/api/resources/agentVariants/client/Client.ts">getTrafficConfig</a>(trafficConfigReferenceId, { ...params }) -> MavenAGI.TrafficConfigResponse</code></summary>
|
|
862
|
+
<dl>
|
|
863
|
+
<dd>
|
|
864
|
+
|
|
865
|
+
#### 📝 Description
|
|
866
|
+
|
|
867
|
+
<dl>
|
|
868
|
+
<dd>
|
|
869
|
+
|
|
870
|
+
<dl>
|
|
871
|
+
<dd>
|
|
872
|
+
|
|
873
|
+
Get a specific traffic configuration revision of the agent in the request context.
|
|
874
|
+
|
|
875
|
+
<Note>**Required permission:** `read:agents`</Note>
|
|
876
|
+
</dd>
|
|
877
|
+
</dl>
|
|
878
|
+
</dd>
|
|
879
|
+
</dl>
|
|
880
|
+
|
|
881
|
+
#### 🔌 Usage
|
|
882
|
+
|
|
883
|
+
<dl>
|
|
884
|
+
<dd>
|
|
885
|
+
|
|
886
|
+
<dl>
|
|
887
|
+
<dd>
|
|
888
|
+
|
|
889
|
+
```typescript
|
|
890
|
+
await client.agentVariants.getTrafficConfig("trafficConfigReferenceId");
|
|
891
|
+
|
|
892
|
+
```
|
|
893
|
+
</dd>
|
|
894
|
+
</dl>
|
|
895
|
+
</dd>
|
|
896
|
+
</dl>
|
|
897
|
+
|
|
898
|
+
#### ⚙️ Parameters
|
|
899
|
+
|
|
900
|
+
<dl>
|
|
901
|
+
<dd>
|
|
902
|
+
|
|
903
|
+
<dl>
|
|
904
|
+
<dd>
|
|
905
|
+
|
|
906
|
+
**trafficConfigReferenceId:** `string` — The unique identifier of the traffic configuration to retrieve.
|
|
907
|
+
|
|
908
|
+
</dd>
|
|
909
|
+
</dl>
|
|
910
|
+
|
|
911
|
+
<dl>
|
|
912
|
+
<dd>
|
|
913
|
+
|
|
914
|
+
**request:** `MavenAGI.GetTrafficConfigRequest`
|
|
915
|
+
|
|
916
|
+
</dd>
|
|
917
|
+
</dl>
|
|
918
|
+
|
|
919
|
+
<dl>
|
|
920
|
+
<dd>
|
|
921
|
+
|
|
922
|
+
**requestOptions:** `AgentVariantsClient.RequestOptions`
|
|
923
|
+
|
|
924
|
+
</dd>
|
|
925
|
+
</dl>
|
|
926
|
+
</dd>
|
|
927
|
+
</dl>
|
|
928
|
+
|
|
929
|
+
|
|
930
|
+
</dd>
|
|
931
|
+
</dl>
|
|
932
|
+
</details>
|
|
933
|
+
|
|
934
|
+
<details><summary><code>client.agentVariants.<a href="/src/api/resources/agentVariants/client/Client.ts">getActiveTrafficConfig</a>() -> MavenAGI.TrafficConfigResponse</code></summary>
|
|
935
|
+
<dl>
|
|
936
|
+
<dd>
|
|
937
|
+
|
|
938
|
+
#### 📝 Description
|
|
939
|
+
|
|
940
|
+
<dl>
|
|
941
|
+
<dd>
|
|
942
|
+
|
|
943
|
+
<dl>
|
|
944
|
+
<dd>
|
|
945
|
+
|
|
946
|
+
Get the traffic configuration currently routing live traffic for the agent in the request context.
|
|
947
|
+
|
|
948
|
+
<Note>**Required permission:** `read:agents`</Note>
|
|
949
|
+
</dd>
|
|
950
|
+
</dl>
|
|
951
|
+
</dd>
|
|
952
|
+
</dl>
|
|
953
|
+
|
|
954
|
+
#### 🔌 Usage
|
|
955
|
+
|
|
956
|
+
<dl>
|
|
957
|
+
<dd>
|
|
958
|
+
|
|
959
|
+
<dl>
|
|
960
|
+
<dd>
|
|
961
|
+
|
|
962
|
+
```typescript
|
|
963
|
+
await client.agentVariants.getActiveTrafficConfig();
|
|
964
|
+
|
|
965
|
+
```
|
|
966
|
+
</dd>
|
|
967
|
+
</dl>
|
|
968
|
+
</dd>
|
|
969
|
+
</dl>
|
|
970
|
+
|
|
971
|
+
#### ⚙️ Parameters
|
|
972
|
+
|
|
973
|
+
<dl>
|
|
974
|
+
<dd>
|
|
975
|
+
|
|
976
|
+
<dl>
|
|
977
|
+
<dd>
|
|
978
|
+
|
|
979
|
+
**requestOptions:** `AgentVariantsClient.RequestOptions`
|
|
980
|
+
|
|
981
|
+
</dd>
|
|
982
|
+
</dl>
|
|
983
|
+
</dd>
|
|
984
|
+
</dl>
|
|
985
|
+
|
|
986
|
+
|
|
987
|
+
</dd>
|
|
988
|
+
</dl>
|
|
989
|
+
</details>
|
|
990
|
+
|
|
991
|
+
<details><summary><code>client.agentVariants.<a href="/src/api/resources/agentVariants/client/Client.ts">listTrafficConfigs</a>({ ...params }) -> MavenAGI.ListTrafficConfigsResponse</code></summary>
|
|
992
|
+
<dl>
|
|
993
|
+
<dd>
|
|
994
|
+
|
|
995
|
+
#### 📝 Description
|
|
996
|
+
|
|
997
|
+
<dl>
|
|
998
|
+
<dd>
|
|
999
|
+
|
|
1000
|
+
<dl>
|
|
1001
|
+
<dd>
|
|
1002
|
+
|
|
1003
|
+
List the traffic configuration revisions of the agent in the request context, newest first by default.
|
|
1004
|
+
|
|
1005
|
+
<Note>**Required permission:** `read:agents`</Note>
|
|
1006
|
+
</dd>
|
|
1007
|
+
</dl>
|
|
1008
|
+
</dd>
|
|
1009
|
+
</dl>
|
|
1010
|
+
|
|
1011
|
+
#### 🔌 Usage
|
|
1012
|
+
|
|
1013
|
+
<dl>
|
|
1014
|
+
<dd>
|
|
1015
|
+
|
|
1016
|
+
<dl>
|
|
1017
|
+
<dd>
|
|
1018
|
+
|
|
1019
|
+
```typescript
|
|
1020
|
+
await client.agentVariants.listTrafficConfigs();
|
|
1021
|
+
|
|
1022
|
+
```
|
|
1023
|
+
</dd>
|
|
1024
|
+
</dl>
|
|
1025
|
+
</dd>
|
|
1026
|
+
</dl>
|
|
1027
|
+
|
|
1028
|
+
#### ⚙️ Parameters
|
|
1029
|
+
|
|
1030
|
+
<dl>
|
|
1031
|
+
<dd>
|
|
1032
|
+
|
|
1033
|
+
<dl>
|
|
1034
|
+
<dd>
|
|
1035
|
+
|
|
1036
|
+
**request:** `MavenAGI.ListTrafficConfigsRequest`
|
|
1037
|
+
|
|
1038
|
+
</dd>
|
|
1039
|
+
</dl>
|
|
1040
|
+
|
|
1041
|
+
<dl>
|
|
1042
|
+
<dd>
|
|
1043
|
+
|
|
1044
|
+
**requestOptions:** `AgentVariantsClient.RequestOptions`
|
|
1045
|
+
|
|
1046
|
+
</dd>
|
|
1047
|
+
</dl>
|
|
1048
|
+
</dd>
|
|
1049
|
+
</dl>
|
|
1050
|
+
|
|
1051
|
+
|
|
1052
|
+
</dd>
|
|
1053
|
+
</dl>
|
|
1054
|
+
</details>
|
|
1055
|
+
|
|
1056
|
+
<details><summary><code>client.agentVariants.<a href="/src/api/resources/agentVariants/client/Client.ts">getEntityEdit</a>(variantReferenceId, { ...params }) -> MavenAGI.EntityEditResponse</code></summary>
|
|
1057
|
+
<dl>
|
|
1058
|
+
<dd>
|
|
1059
|
+
|
|
1060
|
+
#### 📝 Description
|
|
1061
|
+
|
|
1062
|
+
<dl>
|
|
1063
|
+
<dd>
|
|
1064
|
+
|
|
1065
|
+
<dl>
|
|
1066
|
+
<dd>
|
|
1067
|
+
|
|
1068
|
+
Get the edit staged for one entity in an agent variant's working set. A 404 means nothing is staged for it. `entityId.type` must be `INTELLIGENT_FIELD` or `CHARTER`; any other type is rejected with a 400. A versioned agent setting's staged edit is read with `getSettingEdit`.
|
|
1069
|
+
|
|
1070
|
+
<Note>**Required permission:** `read:agents`</Note>
|
|
1071
|
+
</dd>
|
|
1072
|
+
</dl>
|
|
1073
|
+
</dd>
|
|
1074
|
+
</dl>
|
|
1075
|
+
|
|
1076
|
+
#### 🔌 Usage
|
|
1077
|
+
|
|
1078
|
+
<dl>
|
|
1079
|
+
<dd>
|
|
1080
|
+
|
|
1081
|
+
<dl>
|
|
1082
|
+
<dd>
|
|
1083
|
+
|
|
1084
|
+
```typescript
|
|
1085
|
+
await client.agentVariants.getEntityEdit("variantReferenceId", {
|
|
1086
|
+
entityId: {
|
|
1087
|
+
type: "AGENT",
|
|
1088
|
+
appId: "appId",
|
|
1089
|
+
referenceId: "x"
|
|
1090
|
+
}
|
|
1091
|
+
});
|
|
1092
|
+
|
|
1093
|
+
```
|
|
1094
|
+
</dd>
|
|
1095
|
+
</dl>
|
|
1096
|
+
</dd>
|
|
1097
|
+
</dl>
|
|
1098
|
+
|
|
1099
|
+
#### ⚙️ Parameters
|
|
1100
|
+
|
|
1101
|
+
<dl>
|
|
1102
|
+
<dd>
|
|
1103
|
+
|
|
1104
|
+
<dl>
|
|
1105
|
+
<dd>
|
|
1106
|
+
|
|
1107
|
+
**variantReferenceId:** `string` — The referenceId of the agent variant.
|
|
1108
|
+
|
|
1109
|
+
</dd>
|
|
1110
|
+
</dl>
|
|
1111
|
+
|
|
1112
|
+
<dl>
|
|
1113
|
+
<dd>
|
|
1114
|
+
|
|
1115
|
+
**request:** `MavenAGI.GetEntityEditByIdRequest`
|
|
1116
|
+
|
|
1117
|
+
</dd>
|
|
1118
|
+
</dl>
|
|
1119
|
+
|
|
1120
|
+
<dl>
|
|
1121
|
+
<dd>
|
|
1122
|
+
|
|
1123
|
+
**requestOptions:** `AgentVariantsClient.RequestOptions`
|
|
1124
|
+
|
|
1125
|
+
</dd>
|
|
1126
|
+
</dl>
|
|
1127
|
+
</dd>
|
|
1128
|
+
</dl>
|
|
1129
|
+
|
|
1130
|
+
|
|
1131
|
+
</dd>
|
|
1132
|
+
</dl>
|
|
1133
|
+
</details>
|
|
1134
|
+
|
|
1135
|
+
<details><summary><code>client.agentVariants.<a href="/src/api/resources/agentVariants/client/Client.ts">getSettingEdit</a>(variantReferenceId, { ...params }) -> MavenAGI.AgentSettingEdits</code></summary>
|
|
1136
|
+
<dl>
|
|
1137
|
+
<dd>
|
|
1138
|
+
|
|
1139
|
+
#### 📝 Description
|
|
1140
|
+
|
|
1141
|
+
<dl>
|
|
1142
|
+
<dd>
|
|
1143
|
+
|
|
1144
|
+
<dl>
|
|
1145
|
+
<dd>
|
|
1146
|
+
|
|
1147
|
+
Get the edit staged for one versioned agent setting in an agent variant's working set, the `getEntityEdit` counterpart for settings. A 404 means nothing is staged for it.
|
|
1148
|
+
|
|
1149
|
+
<Note>**Required permission:** `read:agents`</Note>
|
|
1150
|
+
</dd>
|
|
1151
|
+
</dl>
|
|
1152
|
+
</dd>
|
|
1153
|
+
</dl>
|
|
1154
|
+
|
|
1155
|
+
#### 🔌 Usage
|
|
1156
|
+
|
|
1157
|
+
<dl>
|
|
1158
|
+
<dd>
|
|
1159
|
+
|
|
1160
|
+
<dl>
|
|
1161
|
+
<dd>
|
|
1162
|
+
|
|
1163
|
+
```typescript
|
|
1164
|
+
await client.agentVariants.getSettingEdit("variantReferenceId", {
|
|
1165
|
+
setting: "SYSTEM_FALLBACK_MESSAGE"
|
|
1166
|
+
});
|
|
1167
|
+
|
|
1168
|
+
```
|
|
1169
|
+
</dd>
|
|
1170
|
+
</dl>
|
|
1171
|
+
</dd>
|
|
1172
|
+
</dl>
|
|
1173
|
+
|
|
1174
|
+
#### ⚙️ Parameters
|
|
1175
|
+
|
|
1176
|
+
<dl>
|
|
1177
|
+
<dd>
|
|
1178
|
+
|
|
1179
|
+
<dl>
|
|
1180
|
+
<dd>
|
|
1181
|
+
|
|
1182
|
+
**variantReferenceId:** `string` — The referenceId of the agent variant.
|
|
1183
|
+
|
|
1184
|
+
</dd>
|
|
1185
|
+
</dl>
|
|
1186
|
+
|
|
1187
|
+
<dl>
|
|
1188
|
+
<dd>
|
|
1189
|
+
|
|
1190
|
+
**request:** `MavenAGI.GetSettingEditRequest`
|
|
1191
|
+
|
|
1192
|
+
</dd>
|
|
1193
|
+
</dl>
|
|
1194
|
+
|
|
1195
|
+
<dl>
|
|
1196
|
+
<dd>
|
|
1197
|
+
|
|
1198
|
+
**requestOptions:** `AgentVariantsClient.RequestOptions`
|
|
1199
|
+
|
|
1200
|
+
</dd>
|
|
1201
|
+
</dl>
|
|
1202
|
+
</dd>
|
|
1203
|
+
</dl>
|
|
1204
|
+
|
|
1205
|
+
|
|
1206
|
+
</dd>
|
|
1207
|
+
</dl>
|
|
1208
|
+
</details>
|
|
1209
|
+
|
|
1210
|
+
<details><summary><code>client.agentVariants.<a href="/src/api/resources/agentVariants/client/Client.ts">diffWorkingSet</a>(variantReferenceId, { ...params }) -> MavenAGI.WorkingSetDiffResponse</code></summary>
|
|
1211
|
+
<dl>
|
|
1212
|
+
<dd>
|
|
1213
|
+
|
|
1214
|
+
#### 📝 Description
|
|
1215
|
+
|
|
1216
|
+
<dl>
|
|
1217
|
+
<dd>
|
|
1218
|
+
|
|
1219
|
+
<dl>
|
|
1220
|
+
<dd>
|
|
1221
|
+
|
|
1222
|
+
Shows what committing an agent variant's working set would change. For each intelligent field that would change, returns one `IntelligentFieldDiff`, and for each charter one `CharterDiff`: `before` is it as the variant's snapshot has it, and `after` is it once the staged edits are applied. Each list is ordered as `compare` orders it. `agentSettings` holds the versioned agent settings the same way, and is absent when the working set changes none.
|
|
1223
|
+
|
|
1224
|
+
A field or charter the working set deletes is `deleted`. One created and deleted within the same working set doesn't appear.
|
|
1225
|
+
|
|
1226
|
+
To read one entity's staged edit, use `getEntityEdit`, or `getSettingEdit` for a versioned agent setting.
|
|
1227
|
+
|
|
1228
|
+
<Note>**Required permission:** `read:agents`</Note>
|
|
1229
|
+
</dd>
|
|
1230
|
+
</dl>
|
|
1231
|
+
</dd>
|
|
1232
|
+
</dl>
|
|
1233
|
+
|
|
1234
|
+
#### 🔌 Usage
|
|
1235
|
+
|
|
1236
|
+
<dl>
|
|
1237
|
+
<dd>
|
|
1238
|
+
|
|
1239
|
+
<dl>
|
|
1240
|
+
<dd>
|
|
1241
|
+
|
|
1242
|
+
```typescript
|
|
1243
|
+
await client.agentVariants.diffWorkingSet("variantReferenceId");
|
|
1244
|
+
|
|
1245
|
+
```
|
|
1246
|
+
</dd>
|
|
1247
|
+
</dl>
|
|
1248
|
+
</dd>
|
|
1249
|
+
</dl>
|
|
1250
|
+
|
|
1251
|
+
#### ⚙️ Parameters
|
|
1252
|
+
|
|
1253
|
+
<dl>
|
|
1254
|
+
<dd>
|
|
1255
|
+
|
|
1256
|
+
<dl>
|
|
1257
|
+
<dd>
|
|
1258
|
+
|
|
1259
|
+
**variantReferenceId:** `string` — The referenceId of the agent variant whose working set to diff.
|
|
1260
|
+
|
|
1261
|
+
</dd>
|
|
1262
|
+
</dl>
|
|
1263
|
+
|
|
1264
|
+
<dl>
|
|
1265
|
+
<dd>
|
|
1266
|
+
|
|
1267
|
+
**request:** `MavenAGI.WorkingSetDiffRequest`
|
|
1268
|
+
|
|
1269
|
+
</dd>
|
|
1270
|
+
</dl>
|
|
1271
|
+
|
|
1272
|
+
<dl>
|
|
1273
|
+
<dd>
|
|
1274
|
+
|
|
1275
|
+
**requestOptions:** `AgentVariantsClient.RequestOptions`
|
|
1276
|
+
|
|
1277
|
+
</dd>
|
|
1278
|
+
</dl>
|
|
1279
|
+
</dd>
|
|
1280
|
+
</dl>
|
|
1281
|
+
|
|
1282
|
+
|
|
1283
|
+
</dd>
|
|
1284
|
+
</dl>
|
|
1285
|
+
</details>
|
|
1286
|
+
|
|
1287
|
+
<details><summary><code>client.agentVariants.<a href="/src/api/resources/agentVariants/client/Client.ts">discardEdits</a>(variantReferenceId, { ...params }) -> MavenAGI.AgentVariantResponse</code></summary>
|
|
1288
|
+
<dl>
|
|
1289
|
+
<dd>
|
|
1290
|
+
|
|
1291
|
+
#### 📝 Description
|
|
1292
|
+
|
|
1293
|
+
<dl>
|
|
1294
|
+
<dd>
|
|
1295
|
+
|
|
1296
|
+
<dl>
|
|
1297
|
+
<dd>
|
|
1298
|
+
|
|
1299
|
+
Discards every edit staged in an agent variant's working set, returning the variant to its
|
|
1300
|
+
committed configuration. Unrecoverable: the discarded edits are gone.
|
|
1301
|
+
|
|
1302
|
+
Succeeds with the variant unchanged when the working set is already empty. Published
|
|
1303
|
+
versions of the affected entities are untouched -- only the staged edits are removed.
|
|
1304
|
+
|
|
1305
|
+
Pass `expectedWorkingSetRevision` to discard only what you last read: if an edit was staged
|
|
1306
|
+
since, the request fails with reason `STALE_WORKING_SET` and nothing is discarded. An
|
|
1307
|
+
empty working set succeeds whatever revision is passed, so resending a discard is safe.
|
|
1308
|
+
|
|
1309
|
+
<Note>**Required permission:** `edit:agents`</Note>
|
|
1310
|
+
</dd>
|
|
1311
|
+
</dl>
|
|
1312
|
+
</dd>
|
|
1313
|
+
</dl>
|
|
1314
|
+
|
|
1315
|
+
#### 🔌 Usage
|
|
1316
|
+
|
|
1317
|
+
<dl>
|
|
1318
|
+
<dd>
|
|
1319
|
+
|
|
1320
|
+
<dl>
|
|
1321
|
+
<dd>
|
|
1322
|
+
|
|
1323
|
+
```typescript
|
|
1324
|
+
await client.agentVariants.discardEdits("variantReferenceId_123");
|
|
1325
|
+
|
|
1326
|
+
```
|
|
1327
|
+
</dd>
|
|
1328
|
+
</dl>
|
|
1329
|
+
</dd>
|
|
1330
|
+
</dl>
|
|
1331
|
+
|
|
1332
|
+
#### ⚙️ Parameters
|
|
1333
|
+
|
|
1334
|
+
<dl>
|
|
1335
|
+
<dd>
|
|
1336
|
+
|
|
1337
|
+
<dl>
|
|
1338
|
+
<dd>
|
|
1339
|
+
|
|
1340
|
+
**variantReferenceId:** `string` — The referenceId of the agent variant whose working set should be discarded.
|
|
1341
|
+
|
|
1342
|
+
</dd>
|
|
1343
|
+
</dl>
|
|
1344
|
+
|
|
1345
|
+
<dl>
|
|
1346
|
+
<dd>
|
|
1347
|
+
|
|
1348
|
+
**request:** `MavenAGI.DiscardWorkingSetEditsRequest`
|
|
1349
|
+
|
|
1350
|
+
</dd>
|
|
1351
|
+
</dl>
|
|
1352
|
+
|
|
1353
|
+
<dl>
|
|
1354
|
+
<dd>
|
|
1355
|
+
|
|
1356
|
+
**requestOptions:** `AgentVariantsClient.RequestOptions`
|
|
1357
|
+
|
|
1358
|
+
</dd>
|
|
1359
|
+
</dl>
|
|
1360
|
+
</dd>
|
|
1361
|
+
</dl>
|
|
1362
|
+
|
|
1363
|
+
|
|
1364
|
+
</dd>
|
|
1365
|
+
</dl>
|
|
1366
|
+
</details>
|
|
1367
|
+
|
|
1368
|
+
<details><summary><code>client.agentVariants.<a href="/src/api/resources/agentVariants/client/Client.ts">delete</a>(variantReferenceId, { ...params }) -> MavenAGI.AgentVariantResponse</code></summary>
|
|
1369
|
+
<dl>
|
|
1370
|
+
<dd>
|
|
1371
|
+
|
|
1372
|
+
#### 📝 Description
|
|
1373
|
+
|
|
1374
|
+
<dl>
|
|
1375
|
+
<dd>
|
|
1376
|
+
|
|
1377
|
+
<dl>
|
|
1378
|
+
<dd>
|
|
1379
|
+
|
|
1380
|
+
Delete an agent variant, and every variant forked from it. A deleted variant is marked DELETED, not erased: `createOrUpdate` with the same ID resurrects it with its configuration. Rejected while the variant has live traffic (reason `CANNOT_ARCHIVE_LIVE_VARIANT`) or while any variant forked from it is ACTIVE.
|
|
1381
|
+
|
|
1382
|
+
<Note>**Required permission:** `edit:agents`</Note>
|
|
1383
|
+
</dd>
|
|
1384
|
+
</dl>
|
|
1385
|
+
</dd>
|
|
1386
|
+
</dl>
|
|
1387
|
+
|
|
1388
|
+
#### 🔌 Usage
|
|
1389
|
+
|
|
1390
|
+
<dl>
|
|
1391
|
+
<dd>
|
|
1392
|
+
|
|
1393
|
+
<dl>
|
|
1394
|
+
<dd>
|
|
1395
|
+
|
|
1396
|
+
```typescript
|
|
1397
|
+
await client.agentVariants.delete("variantReferenceId_123");
|
|
1398
|
+
|
|
1399
|
+
```
|
|
1400
|
+
</dd>
|
|
1401
|
+
</dl>
|
|
1402
|
+
</dd>
|
|
1403
|
+
</dl>
|
|
1404
|
+
|
|
1405
|
+
#### ⚙️ Parameters
|
|
1406
|
+
|
|
1407
|
+
<dl>
|
|
1408
|
+
<dd>
|
|
1409
|
+
|
|
1410
|
+
<dl>
|
|
1411
|
+
<dd>
|
|
1412
|
+
|
|
1413
|
+
**variantReferenceId:** `string` — The referenceId of the agent variant to delete.
|
|
1414
|
+
|
|
1415
|
+
</dd>
|
|
1416
|
+
</dl>
|
|
1417
|
+
|
|
1418
|
+
<dl>
|
|
1419
|
+
<dd>
|
|
1420
|
+
|
|
1421
|
+
**request:** `MavenAGI.AgentVariantDeleteRequest`
|
|
1422
|
+
|
|
1423
|
+
</dd>
|
|
1424
|
+
</dl>
|
|
1425
|
+
|
|
1426
|
+
<dl>
|
|
1427
|
+
<dd>
|
|
1428
|
+
|
|
1429
|
+
**requestOptions:** `AgentVariantsClient.RequestOptions`
|
|
1430
|
+
|
|
1431
|
+
</dd>
|
|
1432
|
+
</dl>
|
|
1433
|
+
</dd>
|
|
1434
|
+
</dl>
|
|
1435
|
+
|
|
1436
|
+
|
|
1437
|
+
</dd>
|
|
1438
|
+
</dl>
|
|
1439
|
+
</details>
|
|
1440
|
+
|
|
1441
|
+
<details><summary><code>client.agentVariants.<a href="/src/api/resources/agentVariants/client/Client.ts">commit</a>(variantReferenceId, { ...params }) -> MavenAGI.AgentVariantResponse</code></summary>
|
|
1442
|
+
<dl>
|
|
1443
|
+
<dd>
|
|
1444
|
+
|
|
1445
|
+
#### 📝 Description
|
|
1446
|
+
|
|
1447
|
+
<dl>
|
|
1448
|
+
<dd>
|
|
1449
|
+
|
|
1450
|
+
<dl>
|
|
1451
|
+
<dd>
|
|
1452
|
+
|
|
1453
|
+
Commits the source variant's staged edits: creates a new agent variant, named by `newVariantId`, whose configuration is the source's plus the edits staged in its working set. The source keeps its own configuration. The response describes the new variant.
|
|
1454
|
+
|
|
1455
|
+
The new variant's base is the source's base, even if that base has since been archived, so it takes the source's place next to the same variants. Its `committedFromVariantId` names the source. It's created in the calling app. By default the source's working set is cleared; pass `clearWorkingSet: false` to keep it.
|
|
1456
|
+
|
|
1457
|
+
Pass `archiveSource: true` to replace the source: the source is archived in the same transaction that creates the new variant, so either both happen or neither does. The source then no longer counts toward the agent's limit of ACTIVE variants, so a replace succeeds at the limit.
|
|
1458
|
+
|
|
1459
|
+
Mint a new `newVariantId` for each commit. A request naming a variant that already exists, deleted ones included, is rejected, so a resend after a lost response fails with `VARIANT_ALREADY_EXISTS`: read the variant by `newVariantId` to see what the first attempt committed.
|
|
1460
|
+
|
|
1461
|
+
Rejections:
|
|
1462
|
+
- `VARIANT_NOT_ACTIVE`: the source is archived or deleted.
|
|
1463
|
+
- `STALE_WORKING_SET`: `expectedWorkingSetRevision` isn't the source's current `workingSetRevision`. Re-read the working set and retry.
|
|
1464
|
+
- `WORKING_SET_HAS_UNVERSIONED_EDITS`: the working set holds edits of an entity type or agent setting that isn't versioned for the agent now. This can only happen after Maven turns versioning off for the agent; contact Maven support.
|
|
1465
|
+
- `NOTHING_TO_COMMIT`: the staged edits don't change the source's configuration.
|
|
1466
|
+
- `VARIANT_ALREADY_EXISTS`: a variant named `newVariantId` already exists.
|
|
1467
|
+
- `CANNOT_ARCHIVE_LIVE_VARIANT`: `archiveSource` is true and the source has live traffic, so it can't be archived. Move its traffic elsewhere, or commit without `archiveSource`.
|
|
1468
|
+
- `VARIANT_LIMIT_REACHED`: the agent is at its limit of ACTIVE variants (25 by default; the error message gives the agent's limit), and the new variant would exceed it. A commit with `archiveSource: true` doesn't add one, so it isn't refused at the limit. Otherwise, archive or delete a variant, then retry.
|
|
1469
|
+
|
|
1470
|
+
`archiveSource: true` can't be combined with `clearWorkingSet: false` (a 400 with no reason), since the kept edits would be left on an archived variant.
|
|
1471
|
+
|
|
1472
|
+
Shown in Agent Designer as "Publish".
|
|
1473
|
+
|
|
1474
|
+
<Note>**Required permission:** `edit:agents`</Note>
|
|
1475
|
+
</dd>
|
|
1476
|
+
</dl>
|
|
1477
|
+
</dd>
|
|
1478
|
+
</dl>
|
|
1479
|
+
|
|
1480
|
+
#### 🔌 Usage
|
|
1481
|
+
|
|
1482
|
+
<dl>
|
|
1483
|
+
<dd>
|
|
1484
|
+
|
|
1485
|
+
<dl>
|
|
1486
|
+
<dd>
|
|
1487
|
+
|
|
1488
|
+
```typescript
|
|
1489
|
+
await client.agentVariants.commit("variantReferenceId", {
|
|
1490
|
+
newVariantId: {
|
|
1491
|
+
referenceId: "x"
|
|
1492
|
+
},
|
|
1493
|
+
expectedWorkingSetRevision: 1000000,
|
|
1494
|
+
title: "title"
|
|
1495
|
+
});
|
|
1496
|
+
|
|
1497
|
+
```
|
|
1498
|
+
</dd>
|
|
1499
|
+
</dl>
|
|
1500
|
+
</dd>
|
|
1501
|
+
</dl>
|
|
1502
|
+
|
|
1503
|
+
#### ⚙️ Parameters
|
|
1504
|
+
|
|
1505
|
+
<dl>
|
|
1506
|
+
<dd>
|
|
1507
|
+
|
|
1508
|
+
<dl>
|
|
1509
|
+
<dd>
|
|
1510
|
+
|
|
1511
|
+
**variantReferenceId:** `string` — The referenceId of the agent variant whose staged edits to commit.
|
|
1512
|
+
|
|
1513
|
+
</dd>
|
|
1514
|
+
</dl>
|
|
1515
|
+
|
|
1516
|
+
<dl>
|
|
1517
|
+
<dd>
|
|
1518
|
+
|
|
1519
|
+
**request:** `MavenAGI.AgentVariantCommitRequest`
|
|
1520
|
+
|
|
1521
|
+
</dd>
|
|
1522
|
+
</dl>
|
|
1523
|
+
|
|
1524
|
+
<dl>
|
|
1525
|
+
<dd>
|
|
1526
|
+
|
|
1527
|
+
**requestOptions:** `AgentVariantsClient.RequestOptions`
|
|
1528
|
+
|
|
1529
|
+
</dd>
|
|
1530
|
+
</dl>
|
|
1531
|
+
</dd>
|
|
1532
|
+
</dl>
|
|
1533
|
+
|
|
1534
|
+
|
|
1535
|
+
</dd>
|
|
1536
|
+
</dl>
|
|
1537
|
+
</details>
|
|
1538
|
+
|
|
1539
|
+
<details><summary><code>client.agentVariants.<a href="/src/api/resources/agentVariants/client/Client.ts">compare</a>({ ...params }) -> MavenAGI.AgentVariantCompareResponse</code></summary>
|
|
1540
|
+
<dl>
|
|
1541
|
+
<dd>
|
|
1542
|
+
|
|
1543
|
+
#### 📝 Description
|
|
1544
|
+
|
|
1545
|
+
<dl>
|
|
1546
|
+
<dd>
|
|
1547
|
+
|
|
1548
|
+
<dl>
|
|
1549
|
+
<dd>
|
|
1550
|
+
|
|
1551
|
+
Compares the intelligent fields, charters and versioned agent settings in two variants' snapshots: what changed going from `fromVariantId`, the baseline, to `toVariantId`, as `git diff <from> <to>` reads. So comparing from a variant's `baseVariantId` to the variant shows what the variant changed. Staged edits aren't included; diff those with `diffWorkingSet`.
|
|
1552
|
+
|
|
1553
|
+
Each field that differs is one `IntelligentFieldDiff`, and each charter one `CharterDiff`, oldest change first: `before` is it as `fromVariantId` has it and `after` as `toVariantId` has it. `agentSettings` holds every versioned agent setting on each side when any differs, and is absent when none does. A field or charter at a DELETED version counts as absent, so one deleted in `toVariantId` is `deleted`.
|
|
1554
|
+
|
|
1555
|
+
`entityId` narrows the differences to one intelligent field or charter, and `setting` to one versioned agent setting; naming both is rejected with a 400.
|
|
1556
|
+
|
|
1557
|
+
Either variant can be archived or deleted. Comparing a variant with itself returns no differences.
|
|
1558
|
+
|
|
1559
|
+
<Note>**Required permission:** `read:agents`</Note>
|
|
1560
|
+
</dd>
|
|
1561
|
+
</dl>
|
|
1562
|
+
</dd>
|
|
1563
|
+
</dl>
|
|
1564
|
+
|
|
1565
|
+
#### 🔌 Usage
|
|
1566
|
+
|
|
1567
|
+
<dl>
|
|
1568
|
+
<dd>
|
|
1569
|
+
|
|
1570
|
+
<dl>
|
|
1571
|
+
<dd>
|
|
1572
|
+
|
|
1573
|
+
```typescript
|
|
1574
|
+
await client.agentVariants.compare({
|
|
1575
|
+
fromVariantId: {
|
|
1576
|
+
referenceId: "variant_123",
|
|
1577
|
+
appId: "zendesk",
|
|
1578
|
+
type: "AGENT_VARIANT"
|
|
1579
|
+
},
|
|
1580
|
+
toVariantId: {
|
|
1581
|
+
referenceId: "variant_456",
|
|
1582
|
+
appId: "zendesk",
|
|
1583
|
+
type: "AGENT_VARIANT"
|
|
1584
|
+
}
|
|
1585
|
+
});
|
|
1586
|
+
|
|
1587
|
+
```
|
|
1588
|
+
</dd>
|
|
1589
|
+
</dl>
|
|
1590
|
+
</dd>
|
|
1591
|
+
</dl>
|
|
1592
|
+
|
|
1593
|
+
#### ⚙️ Parameters
|
|
1594
|
+
|
|
1595
|
+
<dl>
|
|
1596
|
+
<dd>
|
|
1597
|
+
|
|
1598
|
+
<dl>
|
|
1599
|
+
<dd>
|
|
1600
|
+
|
|
1601
|
+
**request:** `MavenAGI.AgentVariantCompareRequest`
|
|
1602
|
+
|
|
1603
|
+
</dd>
|
|
1604
|
+
</dl>
|
|
1605
|
+
|
|
1606
|
+
<dl>
|
|
1607
|
+
<dd>
|
|
1608
|
+
|
|
1609
|
+
**requestOptions:** `AgentVariantsClient.RequestOptions`
|
|
1610
|
+
|
|
1611
|
+
</dd>
|
|
1612
|
+
</dl>
|
|
1613
|
+
</dd>
|
|
1614
|
+
</dl>
|
|
1615
|
+
|
|
1616
|
+
|
|
385
1617
|
</dd>
|
|
386
1618
|
</dl>
|
|
387
1619
|
</details>
|
|
@@ -827,6 +2059,180 @@ await client.agents.delete("organizationReferenceId", "agentReferenceId");
|
|
|
827
2059
|
</dl>
|
|
828
2060
|
|
|
829
2061
|
|
|
2062
|
+
</dd>
|
|
2063
|
+
</dl>
|
|
2064
|
+
</details>
|
|
2065
|
+
|
|
2066
|
+
<details><summary><code>client.agents.<a href="/src/api/resources/agents/client/Client.ts">getVersionedSettings</a>(organizationReferenceId, agentReferenceId, { ...params }) -> MavenAGI.VersionedAgentSettings</code></summary>
|
|
2067
|
+
<dl>
|
|
2068
|
+
<dd>
|
|
2069
|
+
|
|
2070
|
+
#### 📝 Description
|
|
2071
|
+
|
|
2072
|
+
<dl>
|
|
2073
|
+
<dd>
|
|
2074
|
+
|
|
2075
|
+
<dl>
|
|
2076
|
+
<dd>
|
|
2077
|
+
|
|
2078
|
+
Get the agent's settings that can be versioned per agent variant (see `AgentSettingName`).
|
|
2079
|
+
|
|
2080
|
+
Name a variant exactly when a setting is versioned on the agent (listed in its
|
|
2081
|
+
`migrations.versionedEntityTypes`); otherwise it is a 400, with reason `VARIANT_REQUIRED` when no
|
|
2082
|
+
variant is named. Each versioned setting is returned as the variant sees it, its staged
|
|
2083
|
+
edit over its published snapshot; the rest as the agent holds them.
|
|
2084
|
+
|
|
2085
|
+
<Note>**Required permission:** `read:agents`</Note>
|
|
2086
|
+
</dd>
|
|
2087
|
+
</dl>
|
|
2088
|
+
</dd>
|
|
2089
|
+
</dl>
|
|
2090
|
+
|
|
2091
|
+
#### 🔌 Usage
|
|
2092
|
+
|
|
2093
|
+
<dl>
|
|
2094
|
+
<dd>
|
|
2095
|
+
|
|
2096
|
+
<dl>
|
|
2097
|
+
<dd>
|
|
2098
|
+
|
|
2099
|
+
```typescript
|
|
2100
|
+
await client.agents.getVersionedSettings("organizationReferenceId", "agentReferenceId");
|
|
2101
|
+
|
|
2102
|
+
```
|
|
2103
|
+
</dd>
|
|
2104
|
+
</dl>
|
|
2105
|
+
</dd>
|
|
2106
|
+
</dl>
|
|
2107
|
+
|
|
2108
|
+
#### ⚙️ Parameters
|
|
2109
|
+
|
|
2110
|
+
<dl>
|
|
2111
|
+
<dd>
|
|
2112
|
+
|
|
2113
|
+
<dl>
|
|
2114
|
+
<dd>
|
|
2115
|
+
|
|
2116
|
+
**organizationReferenceId:** `string` — The ID of the organization.
|
|
2117
|
+
|
|
2118
|
+
</dd>
|
|
2119
|
+
</dl>
|
|
2120
|
+
|
|
2121
|
+
<dl>
|
|
2122
|
+
<dd>
|
|
2123
|
+
|
|
2124
|
+
**agentReferenceId:** `string` — The ID of the agent.
|
|
2125
|
+
|
|
2126
|
+
</dd>
|
|
2127
|
+
</dl>
|
|
2128
|
+
|
|
2129
|
+
<dl>
|
|
2130
|
+
<dd>
|
|
2131
|
+
|
|
2132
|
+
**request:** `MavenAGI.GetVersionedAgentSettingsRequest`
|
|
2133
|
+
|
|
2134
|
+
</dd>
|
|
2135
|
+
</dl>
|
|
2136
|
+
|
|
2137
|
+
<dl>
|
|
2138
|
+
<dd>
|
|
2139
|
+
|
|
2140
|
+
**requestOptions:** `AgentsClient.RequestOptions`
|
|
2141
|
+
|
|
2142
|
+
</dd>
|
|
2143
|
+
</dl>
|
|
2144
|
+
</dd>
|
|
2145
|
+
</dl>
|
|
2146
|
+
|
|
2147
|
+
|
|
2148
|
+
</dd>
|
|
2149
|
+
</dl>
|
|
2150
|
+
</details>
|
|
2151
|
+
|
|
2152
|
+
<details><summary><code>client.agents.<a href="/src/api/resources/agents/client/Client.ts">patchVersionedSettings</a>(organizationReferenceId, agentReferenceId, { ...params }) -> MavenAGI.VersionedAgentSettings</code></summary>
|
|
2153
|
+
<dl>
|
|
2154
|
+
<dd>
|
|
2155
|
+
|
|
2156
|
+
#### 📝 Description
|
|
2157
|
+
|
|
2158
|
+
<dl>
|
|
2159
|
+
<dd>
|
|
2160
|
+
|
|
2161
|
+
<dl>
|
|
2162
|
+
<dd>
|
|
2163
|
+
|
|
2164
|
+
Update the agent's settings that can be versioned per agent variant (see `AgentSettingName`).
|
|
2165
|
+
Only the specified fields change; a null value clears one.
|
|
2166
|
+
|
|
2167
|
+
A specified setting that is versioned on the agent is staged in the named variant, live once
|
|
2168
|
+
the variant is published; the rest are updated on the agent directly. The variant rule of
|
|
2169
|
+
`getVersionedSettings` applies to the specified settings (to all, when none is specified).
|
|
2170
|
+
The response is what `getVersionedSettings` returns for the same variant; with none named,
|
|
2171
|
+
versioned settings are omitted.
|
|
2172
|
+
|
|
2173
|
+
<Note>**Required permission:** `edit:agents`</Note>
|
|
2174
|
+
</dd>
|
|
2175
|
+
</dl>
|
|
2176
|
+
</dd>
|
|
2177
|
+
</dl>
|
|
2178
|
+
|
|
2179
|
+
#### 🔌 Usage
|
|
2180
|
+
|
|
2181
|
+
<dl>
|
|
2182
|
+
<dd>
|
|
2183
|
+
|
|
2184
|
+
<dl>
|
|
2185
|
+
<dd>
|
|
2186
|
+
|
|
2187
|
+
```typescript
|
|
2188
|
+
await client.agents.patchVersionedSettings("organizationReferenceId", "agentReferenceId");
|
|
2189
|
+
|
|
2190
|
+
```
|
|
2191
|
+
</dd>
|
|
2192
|
+
</dl>
|
|
2193
|
+
</dd>
|
|
2194
|
+
</dl>
|
|
2195
|
+
|
|
2196
|
+
#### ⚙️ Parameters
|
|
2197
|
+
|
|
2198
|
+
<dl>
|
|
2199
|
+
<dd>
|
|
2200
|
+
|
|
2201
|
+
<dl>
|
|
2202
|
+
<dd>
|
|
2203
|
+
|
|
2204
|
+
**organizationReferenceId:** `string` — The ID of the organization.
|
|
2205
|
+
|
|
2206
|
+
</dd>
|
|
2207
|
+
</dl>
|
|
2208
|
+
|
|
2209
|
+
<dl>
|
|
2210
|
+
<dd>
|
|
2211
|
+
|
|
2212
|
+
**agentReferenceId:** `string` — The ID of the agent.
|
|
2213
|
+
|
|
2214
|
+
</dd>
|
|
2215
|
+
</dl>
|
|
2216
|
+
|
|
2217
|
+
<dl>
|
|
2218
|
+
<dd>
|
|
2219
|
+
|
|
2220
|
+
**request:** `MavenAGI.VersionedAgentSettingsPatchRequest`
|
|
2221
|
+
|
|
2222
|
+
</dd>
|
|
2223
|
+
</dl>
|
|
2224
|
+
|
|
2225
|
+
<dl>
|
|
2226
|
+
<dd>
|
|
2227
|
+
|
|
2228
|
+
**requestOptions:** `AgentsClient.RequestOptions`
|
|
2229
|
+
|
|
2230
|
+
</dd>
|
|
2231
|
+
</dl>
|
|
2232
|
+
</dd>
|
|
2233
|
+
</dl>
|
|
2234
|
+
|
|
2235
|
+
|
|
830
2236
|
</dd>
|
|
831
2237
|
</dl>
|
|
832
2238
|
</details>
|
|
@@ -1014,7 +2420,7 @@ await client.analytics.getConversationChart({
|
|
|
1014
2420
|
|
|
1015
2421
|
Export the conversation analytics table to a CSV file.
|
|
1016
2422
|
|
|
1017
|
-
This outputs the current table view defined by the request. For most programmatic use cases, prefer `getConversationTable` and format client-side. The CSV format may change and should not be relied upon by code consumers.
|
|
2423
|
+
This outputs the current table view defined by the request. For most programmatic use cases, prefer `getConversationTable` and format client-side. The CSV format may change and should not be relied upon by code consumers.
|
|
1018
2424
|
|
|
1019
2425
|
<Note>**Required permission:** `read:conversations`</Note>
|
|
1020
2426
|
</dd>
|
|
@@ -1388,6 +2794,31 @@ await client.appDirectory.search({});
|
|
|
1388
2794
|
<dd>
|
|
1389
2795
|
|
|
1390
2796
|
Gets an app and its installation status for the agent.
|
|
2797
|
+
|
|
2798
|
+
Before installing, read `installationInstructions` for what to gather and set up first, and
|
|
2799
|
+
`settingsSchema` for the settings `install` takes.
|
|
2800
|
+
|
|
2801
|
+
Installing is often not the last step. Once the app is installed:
|
|
2802
|
+
|
|
2803
|
+
1. Follow `instructions`, the app's post-install steps, filled in for this agent. They can
|
|
2804
|
+
name changes to make in the other system, such as a webhook to add.
|
|
2805
|
+
2. Each `settingsSchema` entry of type `oauth`, including one nested in a `section`, needs a
|
|
2806
|
+
person to sign in to the other system, which the API cannot do. Ask someone with access to
|
|
2807
|
+
it to open the agent in Agent Designer, go to **Apps**, open this app and click
|
|
2808
|
+
**Connect**. Its value sits at the same path in `settings` as the entry in the schema:
|
|
2809
|
+
`settings.<key>`, or `settings.<section key>.<key>` inside a section. It is connected once
|
|
2810
|
+
that value has an `accessToken` (returned redacted). `status.ok: false` means the
|
|
2811
|
+
connection failed and needs **Reconnect**; a missing value means it was never connected.
|
|
2812
|
+
Connecting re-runs the app's postInstall hook.
|
|
2813
|
+
3. An app that imports knowledge creates knowledge bases under its own `appId`, often only
|
|
2814
|
+
once its connection works. Find them with `knowledge.searchKnowledgeBases`, request body
|
|
2815
|
+
`{"filter": {"appIds": [appId]}}`. Check each import with
|
|
2816
|
+
`knowledge.listKnowledgeBaseVersions`: pass the returned `knowledgeBaseId.referenceId` as
|
|
2817
|
+
`knowledgeBaseReferenceId` and the same `appId`. `IN_PROGRESS` is still running,
|
|
2818
|
+
`SUCCEEDED` is done, `FAILED` needs a look, and `CANCELED` was stopped by a cancel request.
|
|
2819
|
+
Both calls need `read:agents`, which a caller holding only app permissions lacks.
|
|
2820
|
+
|
|
2821
|
+
<Note>**Required permission:** `read:apps`</Note>
|
|
1391
2822
|
</dd>
|
|
1392
2823
|
</dl>
|
|
1393
2824
|
</dd>
|
|
@@ -1438,7 +2869,7 @@ await client.appDirectory.get("appId");
|
|
|
1438
2869
|
</dl>
|
|
1439
2870
|
</details>
|
|
1440
2871
|
|
|
1441
|
-
<details><summary><code>client.appDirectory.<a href="/src/api/resources/appDirectory/client/Client.ts">install</a>(appId, { ...params }) ->
|
|
2872
|
+
<details><summary><code>client.appDirectory.<a href="/src/api/resources/appDirectory/client/Client.ts">install</a>(appId, { ...params }) -> MavenAGI.MarketplaceAppDetail</code></summary>
|
|
1442
2873
|
<dl>
|
|
1443
2874
|
<dd>
|
|
1444
2875
|
|
|
@@ -1450,7 +2881,15 @@ await client.appDirectory.get("appId");
|
|
|
1450
2881
|
<dl>
|
|
1451
2882
|
<dd>
|
|
1452
2883
|
|
|
1453
|
-
Installs the app on the agent, or updates settings for an existing installation. Re-runs the
|
|
2884
|
+
Installs the app on the agent, or updates settings for an existing installation. Re-runs the
|
|
2885
|
+
postInstall lifecycle hook on each call. Returns the app as `get` does once the install is
|
|
2886
|
+
done, with its settings and post-install `instructions` filled in for the agent.
|
|
2887
|
+
|
|
2888
|
+
The app may not work yet. Finish its setup as `get` describes: follow `instructions`, hand
|
|
2889
|
+
each `oauth` setting to a person to connect in Agent Designer, and check any knowledge
|
|
2890
|
+
import.
|
|
2891
|
+
|
|
2892
|
+
<Note>**Required permission:** `install:apps`</Note>
|
|
1454
2893
|
</dd>
|
|
1455
2894
|
</dl>
|
|
1456
2895
|
</dd>
|
|
@@ -1662,6 +3101,12 @@ await client.appDirectory.getSettingDownloadUrl("appId", "settingsKey");
|
|
|
1662
3101
|
<dd>
|
|
1663
3102
|
|
|
1664
3103
|
Gets a presigned url for uploading a file app setting before installation.
|
|
3104
|
+
Upload the file by sending its bytes in an HTTP PUT to the returned url.
|
|
3105
|
+
The file must be a PNG, JPEG or web font of at most 2 MB. Once uploaded, it is read back
|
|
3106
|
+
as the key's value, including for a key that was cleared.
|
|
3107
|
+
|
|
3108
|
+
`settingsKey` is the setting's full path in the app's settings schema. For an image inside a
|
|
3109
|
+
`section`, join the section's key and the image's key with a dot, such as `branding.logo`.
|
|
1665
3110
|
</dd>
|
|
1666
3111
|
</dl>
|
|
1667
3112
|
</dd>
|
|
@@ -1746,6 +3191,8 @@ await client.appDirectory.getSettingUploadUrl("appId", "settingsKey", {
|
|
|
1746
3191
|
|
|
1747
3192
|
Search for app settings which have the `$index` key set to the provided value.
|
|
1748
3193
|
|
|
3194
|
+
Searches only the installations of the calling app, the app whose credentials make the request.
|
|
3195
|
+
|
|
1749
3196
|
You can set the `$index` key using the Update app settings API.
|
|
1750
3197
|
|
|
1751
3198
|
<Warning>This API currently requires an organization ID and agent ID for any agent which is installed on the app. This requirement will be removed in a future update.</Warning>
|
|
@@ -1813,7 +3260,10 @@ await client.appSettings.search({
|
|
|
1813
3260
|
<dl>
|
|
1814
3261
|
<dd>
|
|
1815
3262
|
|
|
1816
|
-
Get
|
|
3263
|
+
Get the settings of the calling app's installation on the agent. The calling app is the app
|
|
3264
|
+
whose credentials make the request, so this cannot read another app's settings. Returns 404
|
|
3265
|
+
when the calling app is not installed on the agent. To read another app's settings, use the
|
|
3266
|
+
app directory `get` endpoint with that app's ID.
|
|
1817
3267
|
</dd>
|
|
1818
3268
|
</dl>
|
|
1819
3269
|
</dd>
|
|
@@ -1868,7 +3318,11 @@ await client.appSettings.get();
|
|
|
1868
3318
|
<dl>
|
|
1869
3319
|
<dd>
|
|
1870
3320
|
|
|
1871
|
-
Update
|
|
3321
|
+
Update the settings of the calling app's installation on the agent. The calling app is the
|
|
3322
|
+
app whose credentials make the request, so this cannot change another app's settings. To
|
|
3323
|
+
change another app's settings, use the app directory `install` endpoint with that app's ID.
|
|
3324
|
+
|
|
3325
|
+
Performs a merge of the provided settings with the existing app settings.
|
|
1872
3326
|
|
|
1873
3327
|
- If a new key is provided, it will be added to the app settings.
|
|
1874
3328
|
- If an existing key is provided, it will be updated.
|
|
@@ -2353,9 +3807,9 @@ await client.capabilities.deleteCapability("ACTION", "referenceId");
|
|
|
2353
3807
|
Run one of an agent's capabilities once, as a simulation, and return what it produced.
|
|
2354
3808
|
|
|
2355
3809
|
The caller supplies everything the capability reads, so it runs in isolation: no
|
|
2356
|
-
conversation or agent user has to exist first. The capability is
|
|
2357
|
-
`SIMULATION
|
|
2358
|
-
|
|
3810
|
+
conversation or agent user has to exist first. The capability's app is called with mode
|
|
3811
|
+
`SIMULATION`. What the app does in that mode is up to the app, and the platform does not
|
|
3812
|
+
stop it from acting on real systems.
|
|
2359
3813
|
|
|
2360
3814
|
A simulated run is not recorded. It returns its result here and never appears in
|
|
2361
3815
|
capability execution search.
|
|
@@ -2625,6 +4079,12 @@ for leaf charters as we enforce mutual exclusion among the leafs and
|
|
|
2625
4079
|
pick only the highest ranked (lowest numerical value) leaf to include in
|
|
2626
4080
|
the round. userRank may have gaps.
|
|
2627
4081
|
|
|
4082
|
+
A charter saved as `ACTIVE` applies to the agent's conversations from its next reply. Create a new
|
|
4083
|
+
charter `INACTIVE` and activate it with `patch` once its manual, precondition and references are
|
|
4084
|
+
complete. An agent has a limit on how many charters can be `ACTIVE` at once. A change into `ACTIVE`
|
|
4085
|
+
past that limit is rejected with a 400 whose message gives the limit; charters that are already
|
|
4086
|
+
`ACTIVE` stay editable. `childrenExclusionPolicy` is not part of this request; set it with `patch`.
|
|
4087
|
+
|
|
2628
4088
|
<Note>**Required permission:** `edit:agents`</Note>
|
|
2629
4089
|
</dd>
|
|
2630
4090
|
</dl>
|
|
@@ -2962,7 +4422,8 @@ Search for charters matching the provided filters. Supports filtering by
|
|
|
2962
4422
|
referenced action IDs and knowledge base IDs to find charters that make
|
|
2963
4423
|
specific context items available.
|
|
2964
4424
|
|
|
2965
|
-
Returns both ACTIVE and INACTIVE charters (DELETED charters are excluded).
|
|
4425
|
+
Returns both ACTIVE and INACTIVE charters (DELETED charters are excluded). Each result is a
|
|
4426
|
+
summary without `description`, `manual`, `references` or `userRank`; read those with `get`.
|
|
2966
4427
|
|
|
2967
4428
|
Results are ordered by the `sort` field (defaults to CreatedAt). Use `sortDesc`
|
|
2968
4429
|
to control direction (defaults to descending). An empty filter list is
|
|
@@ -3281,6 +4742,9 @@ Only required if the ask request wishes to supply conversation level data or whe
|
|
|
3281
4742
|
|
|
3282
4743
|
Conversations can not be modified using this API. If the conversation already exists then the existing conversation will be returned.
|
|
3283
4744
|
|
|
4745
|
+
The conversation belongs to the calling app. Whether it is a simulation is fixed here, when it is created: pass
|
|
4746
|
+
`simulationContext` to make it one.
|
|
4747
|
+
|
|
3284
4748
|
After initialization,
|
|
3285
4749
|
- metadata can be changed using the `updateConversationMetadata` API.
|
|
3286
4750
|
- messages can be added to the conversation with the `appendNewMessages` or `ask` APIs.
|
|
@@ -3690,6 +5154,16 @@ await client.conversation.appendNewMessages("conversationId", [{
|
|
|
3690
5154
|
Get an answer from Maven for a given user question. If the user question or its answer already exists,
|
|
3691
5155
|
they will be reused and will not be updated. Messages do not allow modification once generated.
|
|
3692
5156
|
|
|
5157
|
+
If no conversation with this ID exists for the calling app, `ask` creates one, and it is live, not a simulation:
|
|
5158
|
+
its actions run against real systems. To test without acting on real systems, call `initialize` first with a
|
|
5159
|
+
`simulationContext` whose `defaultActionBehavior` is a `fixedResponse`. The lookup uses the calling app only, so
|
|
5160
|
+
the ID of a conversation another app created starts a new conversation under the calling app rather than
|
|
5161
|
+
continuing that one.
|
|
5162
|
+
|
|
5163
|
+
The response leaves out each message's `logic`. Its `summary` and `analysis` are calculated on a delay, so they
|
|
5164
|
+
may not reflect this answer yet (for example `summary.matchedCharterIds` or `analysis.intelligentFieldValues`);
|
|
5165
|
+
read them later with `get`.
|
|
5166
|
+
|
|
3693
5167
|
A closed conversation (`open` set to false) takes no new questions and returns a 400.
|
|
3694
5168
|
|
|
3695
5169
|
Concurrency Behavior:
|
|
@@ -3791,6 +5265,12 @@ Get an answer from Maven for a given user question with a streaming response. Th
|
|
|
3791
5265
|
The text portions of stream responses should be concatenated to form the full response text.
|
|
3792
5266
|
Action and metadata events should overwrite past data and do not need concatenation.
|
|
3793
5267
|
|
|
5268
|
+
If no conversation with this ID exists for the calling app, `askStream` creates one, and it is live, not a
|
|
5269
|
+
simulation: its actions run against real systems. To test without acting on real systems, call `initialize`
|
|
5270
|
+
first with a `simulationContext` whose `defaultActionBehavior` is a `fixedResponse`. The lookup uses the calling
|
|
5271
|
+
app only, so the ID of a conversation another app created starts a new conversation under the calling app rather
|
|
5272
|
+
than continuing that one.
|
|
5273
|
+
|
|
3794
5274
|
If the user question or its answer already exists, they will be reused and will not be updated.
|
|
3795
5275
|
Messages do not allow modification once generated.
|
|
3796
5276
|
|
|
@@ -5903,16 +7383,21 @@ Create a new intelligent field, or replace it if one already exists with the sam
|
|
|
5903
7383
|
`fieldId.referenceId`. Intelligent fields hold LLM-generated values computed for
|
|
5904
7384
|
entities such as conversations.
|
|
5905
7385
|
|
|
7386
|
+
To list an agent's fields, or read one, use the capabilities `searchCapabilities` and
|
|
7387
|
+
`getCapability` endpoints with capability type `INTELLIGENT_FIELD`.
|
|
7388
|
+
|
|
5906
7389
|
New fields are created with `status: INACTIVE` and are not evaluated until activated
|
|
5907
7390
|
with the patch endpoint. A new field created in a `variantId` starts `ACTIVE` instead,
|
|
5908
7391
|
since it is evaluated only once that variant is published and given traffic; it starts
|
|
5909
7392
|
`INACTIVE` while the agent is at its limit of active fields. `definition` is limited
|
|
5910
7393
|
to 5,000 characters.
|
|
5911
7394
|
|
|
5912
|
-
A replace
|
|
5913
|
-
|
|
5914
|
-
a different type, create a new field. A
|
|
5915
|
-
with any type
|
|
7395
|
+
A replace must keep the field's `validationType`, or it is rejected with reason
|
|
7396
|
+
`INTELLIGENT_FIELD_TYPE_CHANGED`; one that names a `variantId` keeps the type as that
|
|
7397
|
+
variant has it. To use a different type, create a new field. A deleted field may be
|
|
7398
|
+
recreated with any type (for a variant write, one deleted in that variant), but the
|
|
7399
|
+
values it computed before the delete keep their old type and drop out of analytics for
|
|
7400
|
+
the new one. A replace may change the field's `name`.
|
|
5916
7401
|
|
|
5917
7402
|
<Note>**Required permission:** `edit:agents`</Note>
|
|
5918
7403
|
</dd>
|
|
@@ -6244,6 +7729,10 @@ value was computed.
|
|
|
6244
7729
|
Values only exist for fields that were ACTIVE when the entity was evaluated, so a
|
|
6245
7730
|
newly activated field returns nothing until evaluation has run.
|
|
6246
7731
|
|
|
7732
|
+
A field can be evaluated again as a conversation goes on, and every successful evaluation is
|
|
7733
|
+
returned here, not only the latest. A conversation's `analysis.intelligentFieldValues` shows only the latest
|
|
7734
|
+
value for each field; use `createdAfter` and `createdBefore` to see how it changed.
|
|
7735
|
+
|
|
6247
7736
|
<Note>**Required permission:** `read:agents`</Note>
|
|
6248
7737
|
</dd>
|
|
6249
7738
|
</dl>
|
|
@@ -6402,6 +7891,13 @@ await client.knowledge.searchKnowledgeBases({});
|
|
|
6402
7891
|
|
|
6403
7892
|
Update a knowledge base or create it if it doesn't exist.
|
|
6404
7893
|
|
|
7894
|
+
Every knowledge base this endpoint creates has type `API`. The request has no type field.
|
|
7895
|
+
|
|
7896
|
+
Creating a knowledge base also opens its first version. To load it, add documents with
|
|
7897
|
+
`createKnowledgeDocument` and then call `finalizeKnowledgeBaseVersion`. Do not call
|
|
7898
|
+
`createKnowledgeBaseVersion` right after creating the knowledge base: it fails that first
|
|
7899
|
+
version and opens a second one. Updating an existing knowledge base does not open a version.
|
|
7900
|
+
|
|
6405
7901
|
<Note>**Required permission:** `edit:agents`</Note>
|
|
6406
7902
|
</dd>
|
|
6407
7903
|
</dl>
|
|
@@ -6702,6 +8198,10 @@ await client.knowledge.cancelKnowledgeBaseVersion("knowledgeBaseReferenceId", {}
|
|
|
6702
8198
|
|
|
6703
8199
|
Rolls the knowledge base back to its previous published version.
|
|
6704
8200
|
|
|
8201
|
+
<Warning>This endpoint is in development and is not supported on every agent yet. Where it
|
|
8202
|
+
isn't, it returns 404. It also returns 404 when the knowledge base has no earlier published
|
|
8203
|
+
version to roll back to.</Warning>
|
|
8204
|
+
|
|
6705
8205
|
<Note>**Required permission:** `edit:agents`</Note>
|
|
6706
8206
|
</dd>
|
|
6707
8207
|
</dl>
|
|
@@ -6852,9 +8352,14 @@ await client.knowledge.patchKnowledgeBase("help-center", {
|
|
|
6852
8352
|
<dd>
|
|
6853
8353
|
|
|
6854
8354
|
Create a new knowledge base version.
|
|
8355
|
+
The knowledge base is looked up under the calling app, so these calls can't reach a knowledge base another app created.
|
|
6855
8356
|
|
|
6856
8357
|
If an existing version is in progress, then that version will be finalized in an error state.
|
|
6857
8358
|
|
|
8359
|
+
A new knowledge base already has an open first version from `createOrUpdateKnowledgeBase`.
|
|
8360
|
+
Add the first documents to that version and finalize it. Call this endpoint for later
|
|
8361
|
+
refreshes. Calling it right after creating the knowledge base leaves the first version `FAILED`.
|
|
8362
|
+
|
|
6858
8363
|
If another version create for the same knowledge base is still in progress, this request may
|
|
6859
8364
|
return 503 with a `Retry-After` header. Nothing is changed in that case, so it is safe to retry.
|
|
6860
8365
|
|
|
@@ -6932,6 +8437,13 @@ await client.knowledge.createKnowledgeBaseVersion("help-center", {
|
|
|
6932
8437
|
<dd>
|
|
6933
8438
|
|
|
6934
8439
|
Finalize the latest knowledge base version. Required to indicate the version is complete. Will throw an exception if the latest version is not in progress.
|
|
8440
|
+
The knowledge base is looked up under the calling app, so these calls can't reach a knowledge base another app created.
|
|
8441
|
+
|
|
8442
|
+
A `FULL` version starts empty and replaces the live documents. Finalizing a `FULL` version
|
|
8443
|
+
with status `SUCCEEDED` (the default when `status` is omitted) succeeds even if no
|
|
8444
|
+
documents were added to it, and once it is processed the knowledge base has no documents.
|
|
8445
|
+
A `PARTIAL` version starts from the live version's documents, so finalizing it keeps the
|
|
8446
|
+
documents it didn't change.
|
|
6935
8447
|
|
|
6936
8448
|
<Note>**Required permission:** `edit:agents`</Note>
|
|
6937
8449
|
</dd>
|
|
@@ -7243,6 +8755,7 @@ await client.knowledge.searchKnowledgeDocuments({});
|
|
|
7243
8755
|
|
|
7244
8756
|
Create or update a knowledge document. Requires an existing knowledge base with an in progress version.
|
|
7245
8757
|
Will throw an exception if the latest version is not in progress.
|
|
8758
|
+
The knowledge base is looked up under the calling app, so these calls can't reach a knowledge base another app created.
|
|
7246
8759
|
|
|
7247
8760
|
<Tip>
|
|
7248
8761
|
This API maintains document version history. If for the same reference ID none of the `title`, `text`, `sourceUrl`, `metadata` fields
|
|
@@ -7337,6 +8850,7 @@ await client.knowledge.createKnowledgeDocument("help-center", {
|
|
|
7337
8850
|
|
|
7338
8851
|
Delete knowledge document from a specific version.
|
|
7339
8852
|
Requires an existing knowledge base with an in progress version of type PARTIAL. Will throw an exception if the version is not in progress.
|
|
8853
|
+
The knowledge base is looked up under the calling app, so these calls can't reach a knowledge base another app created.
|
|
7340
8854
|
|
|
7341
8855
|
<Note>**Required permission:** `delete:documents`</Note>
|
|
7342
8856
|
</dd>
|
|
@@ -7425,6 +8939,10 @@ await client.knowledge.deleteKnowledgeDocument("help-center", "getting-started",
|
|
|
7425
8939
|
|
|
7426
8940
|
Get a knowledge document by its supplied version and document IDs. Response includes document content in markdown format.
|
|
7427
8941
|
|
|
8942
|
+
The path takes the reference ID of a knowledge base version, not of the knowledge base.
|
|
8943
|
+
`searchKnowledgeDocuments` returns it as `knowledgeBaseVersionId.referenceId` when the
|
|
8944
|
+
document has one.
|
|
8945
|
+
|
|
7428
8946
|
<Note>**Required permission:** `read:documents`</Note>
|
|
7429
8947
|
</dd>
|
|
7430
8948
|
</dl>
|
|
@@ -7508,6 +9026,10 @@ await client.knowledge.getKnowledgeDocument("knowledgeBaseVersionReferenceId", "
|
|
|
7508
9026
|
|
|
7509
9027
|
Update mutable knowledge document fields that can be set independently of a knowledge base version.
|
|
7510
9028
|
|
|
9029
|
+
Unlike `getKnowledgeDocument`, the path takes the knowledge base's reference ID, not a
|
|
9030
|
+
version's. The document is looked up in the knowledge base's live version, so a document
|
|
9031
|
+
that is only in a version still in progress is not found.
|
|
9032
|
+
|
|
7511
9033
|
For any changes in document content see the `createKnowledgeBaseVersion` and `createKnowledgeDocument` endpoints.
|
|
7512
9034
|
|
|
7513
9035
|
The `knowledgeBaseAppId` field can be provided to update a knowledge document in a knowledge base owned by a different app.
|
|
@@ -8772,7 +10294,12 @@ await client.triggers.delete("store-in-snowflake");
|
|
|
8772
10294
|
<dl>
|
|
8773
10295
|
<dd>
|
|
8774
10296
|
|
|
8775
|
-
Updates an event trigger. `enabled` and `
|
|
10297
|
+
Updates an event trigger. `enabled`, `condition`, `schedule`, `wait` and `rateLimit` are
|
|
10298
|
+
the editable fields.
|
|
10299
|
+
|
|
10300
|
+
While timing is not available for the agent, setting `schedule`, `wait` or `rateLimit`
|
|
10301
|
+
answers 400. Clearing one with an explicit null still succeeds; a trigger whose
|
|
10302
|
+
`timingActive` is false is delivered again once none of the three is left.
|
|
8776
10303
|
|
|
8777
10304
|
`PATCH /v1/capabilities/TRIGGER/{referenceId}` with a `status` also turns a trigger on and
|
|
8778
10305
|
off, the same way it publishes and unpublishes any kind of capability.
|
|
@@ -9073,7 +10600,7 @@ Update an app user or create it if it doesn't exist.
|
|
|
9073
10600
|
|
|
9074
10601
|
When a metadata size limit is enforced for the agent, each `data` entry may be at most 8,192 bytes by default, counting the key and value together, plus one byte, in UTF-8. A larger entry returns a 400 that names the key.
|
|
9075
10602
|
|
|
9076
|
-
<Note>**Required permission:** `
|
|
10603
|
+
<Note>**Required permission:** `ask:agent`. A user with `executionMode` `SIMULATION` also needs `create:simulations`.</Note>
|
|
9077
10604
|
</dd>
|
|
9078
10605
|
</dl>
|
|
9079
10606
|
</dd>
|