cadenya 0.32.0 → 0.33.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (134) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +8 -0
  3. data/README.md +1 -1
  4. data/lib/cadenya/models/agent_list_params.rb +11 -1
  5. data/lib/cadenya/models/agents/feedback_list_params.rb +11 -1
  6. data/lib/cadenya/models/agents/schedule_list_params.rb +11 -1
  7. data/lib/cadenya/models/agents/variation_list_params.rb +11 -1
  8. data/lib/cadenya/models/agents/webhook_delivery_list_params.rb +14 -1
  9. data/lib/cadenya/models/ai_provider_key_list_params.rb +11 -1
  10. data/lib/cadenya/models/api_key_list_params.rb +11 -1
  11. data/lib/cadenya/models/api_keys/access_list_params.rb +14 -1
  12. data/lib/cadenya/models/memory_layer_list_params.rb +11 -1
  13. data/lib/cadenya/models/memory_layers/entry_list_params.rb +11 -1
  14. data/lib/cadenya/models/model_list_params.rb +11 -1
  15. data/lib/cadenya/models/objective_list_context_windows_params.rb +14 -1
  16. data/lib/cadenya/models/objective_list_events_params.rb +14 -1
  17. data/lib/cadenya/models/objective_list_params.rb +11 -1
  18. data/lib/cadenya/models/objectives/feedback_list_params.rb +14 -1
  19. data/lib/cadenya/models/objectives/tool_call_list_params.rb +11 -1
  20. data/lib/cadenya/models/tool_set_list_events_params.rb +14 -1
  21. data/lib/cadenya/models/tool_set_list_params.rb +11 -1
  22. data/lib/cadenya/models/tool_sets/tool_list_params.rb +11 -1
  23. data/lib/cadenya/models/workspace_admin/profile_list_params.rb +11 -1
  24. data/lib/cadenya/models/workspace_admin_list_params.rb +11 -1
  25. data/lib/cadenya/models/workspace_list_params.rb +14 -1
  26. data/lib/cadenya/models/workspace_secret_list_params.rb +14 -1
  27. data/lib/cadenya/resources/agents/feedback.rb +3 -1
  28. data/lib/cadenya/resources/agents/schedules.rb +3 -1
  29. data/lib/cadenya/resources/agents/variations.rb +3 -1
  30. data/lib/cadenya/resources/agents/webhook_deliveries.rb +6 -1
  31. data/lib/cadenya/resources/agents.rb +3 -1
  32. data/lib/cadenya/resources/ai_provider_keys.rb +3 -1
  33. data/lib/cadenya/resources/api_keys/access.rb +6 -1
  34. data/lib/cadenya/resources/api_keys.rb +3 -1
  35. data/lib/cadenya/resources/memory_layers/entries.rb +3 -1
  36. data/lib/cadenya/resources/memory_layers.rb +3 -1
  37. data/lib/cadenya/resources/models.rb +3 -1
  38. data/lib/cadenya/resources/objectives/feedback.rb +3 -1
  39. data/lib/cadenya/resources/objectives/tool_calls.rb +3 -1
  40. data/lib/cadenya/resources/objectives.rb +15 -3
  41. data/lib/cadenya/resources/tool_sets/tools.rb +3 -1
  42. data/lib/cadenya/resources/tool_sets.rb +6 -2
  43. data/lib/cadenya/resources/workspace_admin/profiles.rb +3 -1
  44. data/lib/cadenya/resources/workspace_admin.rb +3 -1
  45. data/lib/cadenya/resources/workspace_secrets.rb +6 -1
  46. data/lib/cadenya/resources/workspaces.rb +6 -1
  47. data/lib/cadenya/version.rb +1 -1
  48. data/rbi/cadenya/models/agent_list_params.rbi +15 -0
  49. data/rbi/cadenya/models/agents/feedback_list_params.rbi +15 -0
  50. data/rbi/cadenya/models/agents/schedule_list_params.rbi +15 -0
  51. data/rbi/cadenya/models/agents/variation_list_params.rbi +15 -0
  52. data/rbi/cadenya/models/agents/webhook_delivery_list_params.rbi +15 -0
  53. data/rbi/cadenya/models/ai_provider_key_list_params.rbi +15 -0
  54. data/rbi/cadenya/models/api_key_list_params.rbi +15 -0
  55. data/rbi/cadenya/models/api_keys/access_list_params.rbi +15 -0
  56. data/rbi/cadenya/models/memory_layer_list_params.rbi +15 -0
  57. data/rbi/cadenya/models/memory_layers/entry_list_params.rbi +15 -0
  58. data/rbi/cadenya/models/model_list_params.rbi +15 -0
  59. data/rbi/cadenya/models/objective_list_context_windows_params.rbi +15 -0
  60. data/rbi/cadenya/models/objective_list_events_params.rbi +15 -0
  61. data/rbi/cadenya/models/objective_list_params.rbi +15 -0
  62. data/rbi/cadenya/models/objectives/feedback_list_params.rbi +15 -0
  63. data/rbi/cadenya/models/objectives/tool_call_list_params.rbi +15 -0
  64. data/rbi/cadenya/models/tool_set_list_events_params.rbi +15 -0
  65. data/rbi/cadenya/models/tool_set_list_params.rbi +15 -0
  66. data/rbi/cadenya/models/tool_sets/tool_list_params.rbi +15 -0
  67. data/rbi/cadenya/models/workspace_admin/profile_list_params.rbi +15 -0
  68. data/rbi/cadenya/models/workspace_admin_list_params.rbi +15 -0
  69. data/rbi/cadenya/models/workspace_list_params.rbi +15 -0
  70. data/rbi/cadenya/models/workspace_secret_list_params.rbi +15 -0
  71. data/rbi/cadenya/resources/agents/feedback.rbi +5 -0
  72. data/rbi/cadenya/resources/agents/schedules.rbi +5 -0
  73. data/rbi/cadenya/resources/agents/variations.rbi +5 -0
  74. data/rbi/cadenya/resources/agents/webhook_deliveries.rbi +5 -0
  75. data/rbi/cadenya/resources/agents.rbi +5 -0
  76. data/rbi/cadenya/resources/ai_provider_keys.rbi +5 -0
  77. data/rbi/cadenya/resources/api_keys/access.rbi +5 -0
  78. data/rbi/cadenya/resources/api_keys.rbi +5 -0
  79. data/rbi/cadenya/resources/memory_layers/entries.rbi +5 -0
  80. data/rbi/cadenya/resources/memory_layers.rbi +5 -0
  81. data/rbi/cadenya/resources/models.rbi +5 -0
  82. data/rbi/cadenya/resources/objectives/feedback.rbi +5 -0
  83. data/rbi/cadenya/resources/objectives/tool_calls.rbi +5 -0
  84. data/rbi/cadenya/resources/objectives.rbi +15 -0
  85. data/rbi/cadenya/resources/tool_sets/tools.rbi +5 -0
  86. data/rbi/cadenya/resources/tool_sets.rbi +10 -0
  87. data/rbi/cadenya/resources/workspace_admin/profiles.rbi +5 -0
  88. data/rbi/cadenya/resources/workspace_admin.rbi +5 -0
  89. data/rbi/cadenya/resources/workspace_secrets.rbi +5 -0
  90. data/rbi/cadenya/resources/workspaces.rbi +5 -0
  91. data/sig/cadenya/models/agent_list_params.rbs +7 -0
  92. data/sig/cadenya/models/agents/feedback_list_params.rbs +7 -0
  93. data/sig/cadenya/models/agents/schedule_list_params.rbs +7 -0
  94. data/sig/cadenya/models/agents/variation_list_params.rbs +7 -0
  95. data/sig/cadenya/models/agents/webhook_delivery_list_params.rbs +7 -0
  96. data/sig/cadenya/models/ai_provider_key_list_params.rbs +7 -0
  97. data/sig/cadenya/models/api_key_list_params.rbs +7 -0
  98. data/sig/cadenya/models/api_keys/access_list_params.rbs +7 -1
  99. data/sig/cadenya/models/memory_layer_list_params.rbs +7 -0
  100. data/sig/cadenya/models/memory_layers/entry_list_params.rbs +7 -0
  101. data/sig/cadenya/models/model_list_params.rbs +7 -0
  102. data/sig/cadenya/models/objective_list_context_windows_params.rbs +7 -0
  103. data/sig/cadenya/models/objective_list_events_params.rbs +7 -0
  104. data/sig/cadenya/models/objective_list_params.rbs +7 -0
  105. data/sig/cadenya/models/objectives/feedback_list_params.rbs +7 -0
  106. data/sig/cadenya/models/objectives/tool_call_list_params.rbs +7 -0
  107. data/sig/cadenya/models/tool_set_list_events_params.rbs +7 -0
  108. data/sig/cadenya/models/tool_set_list_params.rbs +7 -0
  109. data/sig/cadenya/models/tool_sets/tool_list_params.rbs +7 -0
  110. data/sig/cadenya/models/workspace_admin/profile_list_params.rbs +7 -1
  111. data/sig/cadenya/models/workspace_admin_list_params.rbs +7 -1
  112. data/sig/cadenya/models/workspace_list_params.rbs +13 -1
  113. data/sig/cadenya/models/workspace_secret_list_params.rbs +7 -0
  114. data/sig/cadenya/resources/agents/feedback.rbs +1 -0
  115. data/sig/cadenya/resources/agents/schedules.rbs +1 -0
  116. data/sig/cadenya/resources/agents/variations.rbs +1 -0
  117. data/sig/cadenya/resources/agents/webhook_deliveries.rbs +1 -0
  118. data/sig/cadenya/resources/agents.rbs +1 -0
  119. data/sig/cadenya/resources/ai_provider_keys.rbs +1 -0
  120. data/sig/cadenya/resources/api_keys/access.rbs +1 -0
  121. data/sig/cadenya/resources/api_keys.rbs +1 -0
  122. data/sig/cadenya/resources/memory_layers/entries.rbs +1 -0
  123. data/sig/cadenya/resources/memory_layers.rbs +1 -0
  124. data/sig/cadenya/resources/models.rbs +1 -0
  125. data/sig/cadenya/resources/objectives/feedback.rbs +1 -0
  126. data/sig/cadenya/resources/objectives/tool_calls.rbs +1 -0
  127. data/sig/cadenya/resources/objectives.rbs +3 -0
  128. data/sig/cadenya/resources/tool_sets/tools.rbs +1 -0
  129. data/sig/cadenya/resources/tool_sets.rbs +2 -0
  130. data/sig/cadenya/resources/workspace_admin/profiles.rbs +1 -0
  131. data/sig/cadenya/resources/workspace_admin.rbs +1 -0
  132. data/sig/cadenya/resources/workspace_secrets.rbs +1 -0
  133. data/sig/cadenya/resources/workspaces.rbs +1 -0
  134. metadata +1 -1
@@ -30,6 +30,14 @@ module Cadenya
30
30
  # @return [Boolean, nil]
31
31
  optional :include_info, Cadenya::Internal::Type::Boolean
32
32
 
33
+ # @!attribute labels
34
+ # Filters by metadata labels. Comma-separated key=value pairs, e.g.
35
+ # "env=prod,team=ai". A resource matches only if every pair matches exactly (AND
36
+ # semantics).
37
+ #
38
+ # @return [String, nil]
39
+ optional :labels, String
40
+
33
41
  # @!attribute limit
34
42
  # Maximum number of results to return
35
43
  #
@@ -73,7 +81,7 @@ module Cadenya
73
81
  # @return [Array<Symbol, Cadenya::Models::ToolSets::ToolListParams::State>, nil]
74
82
  optional :states, -> { Cadenya::Internal::Type::ArrayOf[enum: Cadenya::ToolSets::ToolListParams::State] }
75
83
 
76
- # @!method initialize(workspace_id:, tool_set_id:, cursor: nil, include_info: nil, limit: nil, names: nil, prefix: nil, query: nil, requires_approval: nil, sort_order: nil, states: nil, request_options: {})
84
+ # @!method initialize(workspace_id:, tool_set_id:, cursor: nil, include_info: nil, labels: nil, limit: nil, names: nil, prefix: nil, query: nil, requires_approval: nil, sort_order: nil, states: nil, request_options: {})
77
85
  # Some parameter documentations has been truncated, see
78
86
  # {Cadenya::Models::ToolSets::ToolListParams} for more details.
79
87
  #
@@ -85,6 +93,8 @@ module Cadenya
85
93
  #
86
94
  # @param include_info [Boolean] When set to true you may use more of your alloted API rate-limit
87
95
  #
96
+ # @param labels [String] Filters by metadata labels. Comma-separated key=value pairs,
97
+ #
88
98
  # @param limit [Integer] Maximum number of results to return
89
99
  #
90
100
  # @param names [Array<String>] Filter by tool name (exact match). Multiple values are OR'd together.
@@ -14,6 +14,14 @@ module Cadenya
14
14
  # @return [String, nil]
15
15
  optional :cursor, String
16
16
 
17
+ # @!attribute labels
18
+ # Filters by metadata labels. Comma-separated key=value pairs, e.g.
19
+ # "env=prod,team=ai". A resource matches only if every pair matches exactly (AND
20
+ # semantics).
21
+ #
22
+ # @return [String, nil]
23
+ optional :labels, String
24
+
17
25
  # @!attribute limit
18
26
  # Maximum number of results to return
19
27
  #
@@ -27,12 +35,14 @@ module Cadenya
27
35
  # @return [String, nil]
28
36
  optional :query, String
29
37
 
30
- # @!method initialize(cursor: nil, limit: nil, query: nil, request_options: {})
38
+ # @!method initialize(cursor: nil, labels: nil, limit: nil, query: nil, request_options: {})
31
39
  # Some parameter documentations has been truncated, see
32
40
  # {Cadenya::Models::WorkspaceAdmin::ProfileListParams} for more details.
33
41
  #
34
42
  # @param cursor [String] Pagination cursor from previous response
35
43
  #
44
+ # @param labels [String] Filters by metadata labels. Comma-separated key=value pairs,
45
+ #
36
46
  # @param limit [Integer] Maximum number of results to return
37
47
  #
38
48
  # @param query [String] Free-form search over profile name and email. Case-insensitive substring
@@ -20,13 +20,21 @@ module Cadenya
20
20
  # @return [Boolean, nil]
21
21
  optional :include_archived, Cadenya::Internal::Type::Boolean
22
22
 
23
+ # @!attribute labels
24
+ # Filters by metadata labels. Comma-separated key=value pairs, e.g.
25
+ # "env=prod,team=ai". A resource matches only if every pair matches exactly (AND
26
+ # semantics).
27
+ #
28
+ # @return [String, nil]
29
+ optional :labels, String
30
+
23
31
  # @!attribute limit
24
32
  # Maximum number of results to return
25
33
  #
26
34
  # @return [Integer, nil]
27
35
  optional :limit, Integer
28
36
 
29
- # @!method initialize(cursor: nil, include_archived: nil, limit: nil, request_options: {})
37
+ # @!method initialize(cursor: nil, include_archived: nil, labels: nil, limit: nil, request_options: {})
30
38
  # Some parameter documentations has been truncated, see
31
39
  # {Cadenya::Models::WorkspaceAdminListParams} for more details.
32
40
  #
@@ -34,6 +42,8 @@ module Cadenya
34
42
  #
35
43
  # @param include_archived [Boolean] When true, archived workspaces are included in the results. Defaults to
36
44
  #
45
+ # @param labels [String] Filters by metadata labels. Comma-separated key=value pairs,
46
+ #
37
47
  # @param limit [Integer] Maximum number of results to return
38
48
  #
39
49
  # @param request_options [Cadenya::RequestOptions, Hash{Symbol=>Object}]
@@ -19,6 +19,14 @@ module Cadenya
19
19
  # @return [Boolean, nil]
20
20
  optional :include_info, Cadenya::Internal::Type::Boolean
21
21
 
22
+ # @!attribute labels
23
+ # Filters by metadata labels. Comma-separated key=value pairs, e.g.
24
+ # "env=prod,team=ai". A resource matches only if every pair matches exactly (AND
25
+ # semantics).
26
+ #
27
+ # @return [String, nil]
28
+ optional :labels, String
29
+
22
30
  # @!attribute limit
23
31
  # Maximum number of results to return
24
32
  #
@@ -31,11 +39,16 @@ module Cadenya
31
39
  # @return [String, nil]
32
40
  optional :sort_order, String
33
41
 
34
- # @!method initialize(cursor: nil, include_info: nil, limit: nil, sort_order: nil, request_options: {})
42
+ # @!method initialize(cursor: nil, include_info: nil, labels: nil, limit: nil, sort_order: nil, request_options: {})
43
+ # Some parameter documentations has been truncated, see
44
+ # {Cadenya::Models::WorkspaceListParams} for more details.
45
+ #
35
46
  # @param cursor [String] Pagination cursor from previous response
36
47
  #
37
48
  # @param include_info [Boolean] When set to true you may use more of your alloted API rate-limit
38
49
  #
50
+ # @param labels [String] Filters by metadata labels. Comma-separated key=value pairs,
51
+ #
39
52
  # @param limit [Integer] Maximum number of results to return
40
53
  #
41
54
  # @param sort_order [String] Sort order for results (asc or desc by creation time)
@@ -24,6 +24,14 @@ module Cadenya
24
24
  # @return [Boolean, nil]
25
25
  optional :include_info, Cadenya::Internal::Type::Boolean
26
26
 
27
+ # @!attribute labels
28
+ # Filters by metadata labels. Comma-separated key=value pairs, e.g.
29
+ # "env=prod,team=ai". A resource matches only if every pair matches exactly (AND
30
+ # semantics).
31
+ #
32
+ # @return [String, nil]
33
+ optional :labels, String
34
+
27
35
  # @!attribute limit
28
36
  # Maximum number of results to return
29
37
  #
@@ -48,13 +56,18 @@ module Cadenya
48
56
  # @return [String, nil]
49
57
  optional :sort_order, String
50
58
 
51
- # @!method initialize(workspace_id:, cursor: nil, include_info: nil, limit: nil, prefix: nil, query: nil, sort_order: nil, request_options: {})
59
+ # @!method initialize(workspace_id:, cursor: nil, include_info: nil, labels: nil, limit: nil, prefix: nil, query: nil, sort_order: nil, request_options: {})
60
+ # Some parameter documentations has been truncated, see
61
+ # {Cadenya::Models::WorkspaceSecretListParams} for more details.
62
+ #
52
63
  # @param workspace_id [String]
53
64
  #
54
65
  # @param cursor [String] Pagination cursor from previous response
55
66
  #
56
67
  # @param include_info [Boolean] When set to true you may use more of your alloted API rate-limit
57
68
  #
69
+ # @param labels [String] Filters by metadata labels. Comma-separated key=value pairs,
70
+ #
58
71
  # @param limit [Integer] Maximum number of results to return
59
72
  #
60
73
  # @param prefix [String] Filter expression (query param: prefix)
@@ -12,7 +12,7 @@ module Cadenya
12
12
  # search by comment, sentiment filter, agent variation filter, and creation date
13
13
  # range. Results are ordered by creation time, newest first.
14
14
  #
15
- # @overload list(agent_id, workspace_id:, agent_variation_id: nil, created_after: nil, created_before: nil, cursor: nil, include_info: nil, limit: nil, query: nil, sentiment: nil, request_options: {})
15
+ # @overload list(agent_id, workspace_id:, agent_variation_id: nil, created_after: nil, created_before: nil, cursor: nil, include_info: nil, labels: nil, limit: nil, query: nil, sentiment: nil, request_options: {})
16
16
  #
17
17
  # @param agent_id [String] Path param: The ID of the agent. Supports "external_id:" prefix for external IDs
18
18
  #
@@ -28,6 +28,8 @@ module Cadenya
28
28
  #
29
29
  # @param include_info [Boolean] Query param: When set to true you may use more of your alloted API rate-limit
30
30
  #
31
+ # @param labels [String] Query param: Filters by metadata labels. Comma-separated key=value pairs,
32
+ #
31
33
  # @param limit [Integer] Query param: Maximum number of results to return.
32
34
  #
33
35
  # @param query [String] Query param: Free-text search applied to the feedback comment. Case-insensitive
@@ -125,7 +125,7 @@ module Cadenya
125
125
  #
126
126
  # Lists all schedules for an agent
127
127
  #
128
- # @overload list(agent_id, workspace_id:, cursor: nil, include_info: nil, limit: nil, prefix: nil, query: nil, sort_order: nil, request_options: {})
128
+ # @overload list(agent_id, workspace_id:, cursor: nil, include_info: nil, labels: nil, limit: nil, prefix: nil, query: nil, sort_order: nil, request_options: {})
129
129
  #
130
130
  # @param agent_id [String] Path param: Agent ID. Accepts the canonical `agent_…` form or the `external_id:<
131
131
  #
@@ -135,6 +135,8 @@ module Cadenya
135
135
  #
136
136
  # @param include_info [Boolean] Query param: When true, the `info` field on each returned schedule is populated.
137
137
  #
138
+ # @param labels [String] Query param: Filters by metadata labels. Comma-separated key=value pairs,
139
+ #
138
140
  # @param limit [Integer] Query param: Maximum number of results to return.
139
141
  #
140
142
  # @param prefix [String] Query param: Filter expression (query param: prefix).
@@ -125,7 +125,7 @@ module Cadenya
125
125
  #
126
126
  # Lists all variations for an agent
127
127
  #
128
- # @overload list(agent_id, workspace_id:, cursor: nil, include_info: nil, limit: nil, sort_order: nil, request_options: {})
128
+ # @overload list(agent_id, workspace_id:, cursor: nil, include_info: nil, labels: nil, limit: nil, sort_order: nil, request_options: {})
129
129
  #
130
130
  # @param agent_id [String] Path param: Agent ID. Accepts the canonical `agent_…` form or the `external_id:<
131
131
  #
@@ -135,6 +135,8 @@ module Cadenya
135
135
  #
136
136
  # @param include_info [Boolean] Query param: When true, the `info` field on each returned variation is populated
137
137
  #
138
+ # @param labels [String] Query param: Filters by metadata labels. Comma-separated key=value pairs,
139
+ #
138
140
  # @param limit [Integer] Query param: Maximum number of results to return
139
141
  #
140
142
  # @param sort_order [String] Query param: Sort order for results (asc or desc by creation time)
@@ -5,9 +5,12 @@ module Cadenya
5
5
  class Agents
6
6
  # Manage AI agents within a workspace. Agents define AI behavior and tool access.
7
7
  class WebhookDeliveries
8
+ # Some parameter documentations has been truncated, see
9
+ # {Cadenya::Models::Agents::WebhookDeliveryListParams} for more details.
10
+ #
8
11
  # Lists all webhook deliveries for an agent
9
12
  #
10
- # @overload list(agent_id, workspace_id:, cursor: nil, event_type: nil, limit: nil, objective_id: nil, request_options: {})
13
+ # @overload list(agent_id, workspace_id:, cursor: nil, event_type: nil, labels: nil, limit: nil, objective_id: nil, request_options: {})
11
14
  #
12
15
  # @param agent_id [String] Path param
13
16
  #
@@ -17,6 +20,8 @@ module Cadenya
17
20
  #
18
21
  # @param event_type [Symbol, Cadenya::Models::Agents::WebhookDeliveryListParams::EventType] Query param: Optional filter by event type
19
22
  #
23
+ # @param labels [String] Query param: Filters by metadata labels. Comma-separated key=value pairs,
24
+ #
20
25
  # @param limit [Integer] Query param: Maximum number of results to return
21
26
  #
22
27
  # @param objective_id [String] Query param: Optional filter by objective ID
@@ -125,7 +125,7 @@ module Cadenya
125
125
  #
126
126
  # Lists all agents in the workspace
127
127
  #
128
- # @overload list(workspace_id, cursor: nil, include_info: nil, limit: nil, prefix: nil, query: nil, sort_order: nil, state: nil, variation_selection_mode: nil, request_options: {})
128
+ # @overload list(workspace_id, cursor: nil, include_info: nil, labels: nil, limit: nil, prefix: nil, query: nil, sort_order: nil, state: nil, variation_selection_mode: nil, request_options: {})
129
129
  #
130
130
  # @param workspace_id [String] Workspace ID.
131
131
  #
@@ -133,6 +133,8 @@ module Cadenya
133
133
  #
134
134
  # @param include_info [Boolean] When true, the `info` field on each returned agent is populated. Requests
135
135
  #
136
+ # @param labels [String] Filters by metadata labels. Comma-separated key=value pairs,
137
+ #
136
138
  # @param limit [Integer] Maximum number of results to return
137
139
  #
138
140
  # @param prefix [String] Filter expression (query param: prefix)
@@ -101,7 +101,7 @@ module Cadenya
101
101
  #
102
102
  # Lists all customer-provided AI provider keys in the workspace
103
103
  #
104
- # @overload list(workspace_id, cursor: nil, include_info: nil, limit: nil, prefix: nil, promotional: nil, query: nil, sort_order: nil, request_options: {})
104
+ # @overload list(workspace_id, cursor: nil, include_info: nil, labels: nil, limit: nil, prefix: nil, promotional: nil, query: nil, sort_order: nil, request_options: {})
105
105
  #
106
106
  # @param workspace_id [String] The workspace whose keys will be listed.
107
107
  #
@@ -109,6 +109,8 @@ module Cadenya
109
109
  #
110
110
  # @param include_info [Boolean] When true, populate each item's info (model counts), at the cost of extra
111
111
  #
112
+ # @param labels [String] Filters by metadata labels. Comma-separated key=value pairs,
113
+ #
112
114
  # @param limit [Integer] Maximum number of results to return
113
115
  #
114
116
  # @param prefix [String] Filter expression (query param: prefix)
@@ -6,14 +6,19 @@ module Cadenya
6
6
  # Issue, rotate, and revoke API keys for the account, and grant or revoke each
7
7
  # key's access to individual workspaces.
8
8
  class Access
9
+ # Some parameter documentations has been truncated, see
10
+ # {Cadenya::Models::APIKeys::AccessListParams} for more details.
11
+ #
9
12
  # Lists the workspaces this API key has access to. Cursor-paginated.
10
13
  #
11
- # @overload list(id, cursor: nil, limit: nil, request_options: {})
14
+ # @overload list(id, cursor: nil, labels: nil, limit: nil, request_options: {})
12
15
  #
13
16
  # @param id [String] The API key whose workspace associations will be listed.
14
17
  #
15
18
  # @param cursor [String] Pagination cursor from previous response.
16
19
  #
20
+ # @param labels [String] Filters by metadata labels. Comma-separated key=value pairs,
21
+ #
17
22
  # @param limit [Integer] Maximum number of results to return.
18
23
  #
19
24
  # @param request_options [Cadenya::RequestOptions, Hash{Symbol=>Object}, nil]
@@ -96,12 +96,14 @@ module Cadenya
96
96
  #
97
97
  # Lists all API keys on the account.
98
98
  #
99
- # @overload list(cursor: nil, include_info: nil, limit: nil, prefix: nil, query: nil, sort_order: nil, request_options: {})
99
+ # @overload list(cursor: nil, include_info: nil, labels: nil, limit: nil, prefix: nil, query: nil, sort_order: nil, request_options: {})
100
100
  #
101
101
  # @param cursor [String] Pagination cursor from previous response.
102
102
  #
103
103
  # @param include_info [Boolean] When true, included info fields are populated. Requests with this
104
104
  #
105
+ # @param labels [String] Filters by metadata labels. Comma-separated key=value pairs,
106
+ #
105
107
  # @param limit [Integer] Maximum number of results to return.
106
108
  #
107
109
  # @param prefix [String] Filter by ID prefix.
@@ -129,7 +129,7 @@ module Cadenya
129
129
  #
130
130
  # Lists all entries in a memory layer
131
131
  #
132
- # @overload list(memory_layer_id, workspace_id:, cursor: nil, include_info: nil, limit: nil, prefix: nil, query: nil, sort_order: nil, request_options: {})
132
+ # @overload list(memory_layer_id, workspace_id:, cursor: nil, include_info: nil, labels: nil, limit: nil, prefix: nil, query: nil, sort_order: nil, request_options: {})
133
133
  #
134
134
  # @param memory_layer_id [String] Path param: Memory layer ID. Accepts canonical memlyr\_… form or
135
135
  # external_id:<val
@@ -140,6 +140,8 @@ module Cadenya
140
140
  #
141
141
  # @param include_info [Boolean] Query param: When set to true you may use more of your alloted API rate-limit
142
142
  #
143
+ # @param labels [String] Query param: Filters by metadata labels. Comma-separated key=value pairs,
144
+ #
143
145
  # @param limit [Integer] Query param: Maximum number of results to return
144
146
  #
145
147
  # @param prefix [String] Query param: Filter by key prefix (e.g., "skills/postmortem/" to list all entrie
@@ -113,7 +113,7 @@ module Cadenya
113
113
  #
114
114
  # Lists all memory layers in the workspace
115
115
  #
116
- # @overload list(workspace_id, agent_id: nil, cursor: nil, episodic_key_prefix: nil, include_info: nil, limit: nil, prefix: nil, query: nil, sort_order: nil, type: nil, request_options: {})
116
+ # @overload list(workspace_id, agent_id: nil, cursor: nil, episodic_key_prefix: nil, include_info: nil, labels: nil, limit: nil, prefix: nil, query: nil, sort_order: nil, type: nil, request_options: {})
117
117
  #
118
118
  # @param workspace_id [String]
119
119
  #
@@ -125,6 +125,8 @@ module Cadenya
125
125
  #
126
126
  # @param include_info [Boolean] When set to true you may use more of your alloted API rate-limit
127
127
  #
128
+ # @param labels [String] Filters by metadata labels. Comma-separated key=value pairs,
129
+ #
128
130
  # @param limit [Integer] Maximum number of results to return
129
131
  #
130
132
  # @param prefix [String] Filter expression (query param: prefix)
@@ -38,7 +38,7 @@ module Cadenya
38
38
  #
39
39
  # Lists all models in the workspace
40
40
  #
41
- # @overload list(workspace_id, ai_provider_key_id: nil, cursor: nil, include_info: nil, is_assigned: nil, limit: nil, prefix: nil, query: nil, sort_order: nil, state: nil, request_options: {})
41
+ # @overload list(workspace_id, ai_provider_key_id: nil, cursor: nil, include_info: nil, is_assigned: nil, labels: nil, limit: nil, prefix: nil, query: nil, sort_order: nil, state: nil, request_options: {})
42
42
  #
43
43
  # @param workspace_id [String] Workspace ID.
44
44
  #
@@ -50,6 +50,8 @@ module Cadenya
50
50
  #
51
51
  # @param is_assigned [Boolean] Filter models to only ones assigned to an active agent variation/agent.
52
52
  #
53
+ # @param labels [String] Filters by metadata labels. Comma-separated key=value pairs,
54
+ #
53
55
  # @param limit [Integer] Maximum number of results to return
54
56
  #
55
57
  # @param prefix [String] Filter by name prefix
@@ -45,7 +45,7 @@ module Cadenya
45
45
  #
46
46
  # Lists all feedback submitted for an objective
47
47
  #
48
- # @overload list(objective_id, workspace_id:, cursor: nil, limit: nil, request_options: {})
48
+ # @overload list(objective_id, workspace_id:, cursor: nil, labels: nil, limit: nil, request_options: {})
49
49
  #
50
50
  # @param objective_id [String] Path param: The ID of the objective. Supports "external_id:" prefix for external
51
51
  #
@@ -53,6 +53,8 @@ module Cadenya
53
53
  #
54
54
  # @param cursor [String] Query param: Pagination cursor from previous response
55
55
  #
56
+ # @param labels [String] Query param: Filters by metadata labels. Comma-separated key=value pairs,
57
+ #
56
58
  # @param limit [Integer] Query param: Maximum number of results to return
57
59
  #
58
60
  # @param request_options [Cadenya::RequestOptions, Hash{Symbol=>Object}, nil]
@@ -48,7 +48,7 @@ module Cadenya
48
48
  #
49
49
  # Lists all tool calls for an objective
50
50
  #
51
- # @overload list(objective_id, workspace_id:, cursor: nil, execution_status: nil, include_info: nil, limit: nil, status: nil, request_options: {})
51
+ # @overload list(objective_id, workspace_id:, cursor: nil, execution_status: nil, include_info: nil, labels: nil, limit: nil, status: nil, request_options: {})
52
52
  #
53
53
  # @param objective_id [String] Path param: The objective ID to return tool calls for
54
54
  #
@@ -60,6 +60,8 @@ module Cadenya
60
60
  #
61
61
  # @param include_info [Boolean] Query param: When set to true you may use more of your alloted API rate-limit
62
62
  #
63
+ # @param labels [String] Query param: Filters by metadata labels. Comma-separated key=value pairs,
64
+ #
63
65
  # @param limit [Integer] Query param: Maximum number of results to return
64
66
  #
65
67
  # @param status [Symbol, Cadenya::Models::Objectives::ToolCallListParams::Status] Query param: Filter by tool call status
@@ -88,7 +88,7 @@ module Cadenya
88
88
  #
89
89
  # Lists all objectives in the workspace
90
90
  #
91
- # @overload list(workspace_id, agent_id: nil, agent_schedule_id: nil, cursor: nil, include_info: nil, limit: nil, parent_objective_id: nil, profile_id: nil, sort_order: nil, state: nil, request_options: {})
91
+ # @overload list(workspace_id, agent_id: nil, agent_schedule_id: nil, cursor: nil, include_info: nil, labels: nil, limit: nil, parent_objective_id: nil, profile_id: nil, sort_order: nil, state: nil, request_options: {})
92
92
  #
93
93
  # @param workspace_id [String]
94
94
  #
@@ -100,6 +100,8 @@ module Cadenya
100
100
  #
101
101
  # @param include_info [Boolean] When set to true you may use more of your alloted API rate-limit
102
102
  #
103
+ # @param labels [String] Filters by metadata labels. Comma-separated key=value pairs,
104
+ #
103
105
  # @param limit [Integer] Maximum number of results to return
104
106
  #
105
107
  # @param parent_objective_id [String] Optional filters
@@ -238,10 +240,13 @@ module Cadenya
238
240
  )
239
241
  end
240
242
 
243
+ # Some parameter documentations has been truncated, see
244
+ # {Cadenya::Models::ObjectiveListContextWindowsParams} for more details.
245
+ #
241
246
  # Read-only list of the last five windows of execution for this objective, ordered
242
247
  # by most recent first
243
248
  #
244
- # @overload list_context_windows(objective_id, workspace_id:, cursor: nil, include_info: nil, limit: nil, request_options: {})
249
+ # @overload list_context_windows(objective_id, workspace_id:, cursor: nil, include_info: nil, labels: nil, limit: nil, request_options: {})
245
250
  #
246
251
  # @param objective_id [String] Path param: The objective ID to return windows for
247
252
  #
@@ -251,6 +256,8 @@ module Cadenya
251
256
  #
252
257
  # @param include_info [Boolean] Query param: When set to true you may use more of your alloted API rate-limit
253
258
  #
259
+ # @param labels [String] Query param: Filters by metadata labels. Comma-separated key=value pairs,
260
+ #
254
261
  # @param limit [Integer] Query param: Maximum number of results to return
255
262
  #
256
263
  # @param request_options [Cadenya::RequestOptions, Hash{Symbol=>Object}, nil]
@@ -275,9 +282,12 @@ module Cadenya
275
282
  )
276
283
  end
277
284
 
285
+ # Some parameter documentations has been truncated, see
286
+ # {Cadenya::Models::ObjectiveListEventsParams} for more details.
287
+ #
278
288
  # Lists all events for an objective
279
289
  #
280
- # @overload list_events(objective_id, workspace_id:, cursor: nil, include_info: nil, limit: nil, since_event_id: nil, sort_order: nil, window_id: nil, request_options: {})
290
+ # @overload list_events(objective_id, workspace_id:, cursor: nil, include_info: nil, labels: nil, limit: nil, since_event_id: nil, sort_order: nil, window_id: nil, request_options: {})
281
291
  #
282
292
  # @param objective_id [String] Path param: Objective ID for filtering
283
293
  #
@@ -287,6 +297,8 @@ module Cadenya
287
297
  #
288
298
  # @param include_info [Boolean] Query param: When set to true you may use more of your alloted API rate-limit
289
299
  #
300
+ # @param labels [String] Query param: Filters by metadata labels. Comma-separated key=value pairs,
301
+ #
290
302
  # @param limit [Integer] Query param: Maximum number of results to return
291
303
  #
292
304
  # @param since_event_id [String] Query param: Optional string to fetch events since an ID
@@ -128,7 +128,7 @@ module Cadenya
128
128
  #
129
129
  # Lists all tools in the tool set
130
130
  #
131
- # @overload list(tool_set_id, workspace_id:, cursor: nil, include_info: nil, limit: nil, names: nil, prefix: nil, query: nil, requires_approval: nil, sort_order: nil, states: nil, request_options: {})
131
+ # @overload list(tool_set_id, workspace_id:, cursor: nil, include_info: nil, labels: nil, limit: nil, names: nil, prefix: nil, query: nil, requires_approval: nil, sort_order: nil, states: nil, request_options: {})
132
132
  #
133
133
  # @param tool_set_id [String] Path param: Tool set ID. Accepts the canonical ts\_… form or the
134
134
  #
@@ -138,6 +138,8 @@ module Cadenya
138
138
  #
139
139
  # @param include_info [Boolean] Query param: When set to true you may use more of your alloted API rate-limit
140
140
  #
141
+ # @param labels [String] Query param: Filters by metadata labels. Comma-separated key=value pairs,
142
+ #
141
143
  # @param limit [Integer] Query param: Maximum number of results to return
142
144
  #
143
145
  # @param names [Array<String>] Query param: Filter by tool name (exact match). Multiple values are OR'd togethe
@@ -125,7 +125,7 @@ module Cadenya
125
125
  #
126
126
  # Lists all tool sets in the workspace
127
127
  #
128
- # @overload list(workspace_id, cursor: nil, include_info: nil, limit: nil, prefix: nil, query: nil, sort_order: nil, state: nil, request_options: {})
128
+ # @overload list(workspace_id, cursor: nil, include_info: nil, labels: nil, limit: nil, prefix: nil, query: nil, sort_order: nil, state: nil, request_options: {})
129
129
  #
130
130
  # @param workspace_id [String] Workspace ID.
131
131
  #
@@ -133,6 +133,8 @@ module Cadenya
133
133
  #
134
134
  # @param include_info [Boolean] When set to true you may use more of your alloted API rate-limit
135
135
  #
136
+ # @param labels [String] Filters by metadata labels. Comma-separated key=value pairs,
137
+ #
136
138
  # @param limit [Integer] Maximum number of results to return
137
139
  #
138
140
  # @param prefix [String] Filter expression (query param: prefix)
@@ -261,7 +263,7 @@ module Cadenya
261
263
  #
262
264
  # Lists all events (including sync status) for a tool set
263
265
  #
264
- # @overload list_events(tool_set_id, workspace_id:, cursor: nil, include_info: nil, limit: nil, sort_order: nil, request_options: {})
266
+ # @overload list_events(tool_set_id, workspace_id:, cursor: nil, include_info: nil, labels: nil, limit: nil, sort_order: nil, request_options: {})
265
267
  #
266
268
  # @param tool_set_id [String] Path param: Tool set ID. Accepts the canonical ts\_… form or the
267
269
  #
@@ -271,6 +273,8 @@ module Cadenya
271
273
  #
272
274
  # @param include_info [Boolean] Query param: When set to true you may use more of your alloted API rate-limit
273
275
  #
276
+ # @param labels [String] Query param: Filters by metadata labels. Comma-separated key=value pairs,
277
+ #
274
278
  # @param limit [Integer] Query param: Maximum number of results to return
275
279
  #
276
280
  # @param sort_order [String] Query param: Sort order for results (asc or desc by creation time)
@@ -16,10 +16,12 @@ module Cadenya
16
16
  # Searches the account's profiles for a member picker, with free-form name/email
17
17
  # search and an optional type filter. Account-scoped; admin only.
18
18
  #
19
- # @overload list(cursor: nil, limit: nil, query: nil, request_options: {})
19
+ # @overload list(cursor: nil, labels: nil, limit: nil, query: nil, request_options: {})
20
20
  #
21
21
  # @param cursor [String] Pagination cursor from previous response
22
22
  #
23
+ # @param labels [String] Filters by metadata labels. Comma-separated key=value pairs,
24
+ #
23
25
  # @param limit [Integer] Maximum number of results to return
24
26
  #
25
27
  # @param query [String] Free-form search over profile name and email. Case-insensitive substring
@@ -111,12 +111,14 @@ module Cadenya
111
111
  # Lists every workspace in the account, optionally including archived ones. Admin
112
112
  # only.
113
113
  #
114
- # @overload list(cursor: nil, include_archived: nil, limit: nil, request_options: {})
114
+ # @overload list(cursor: nil, include_archived: nil, labels: nil, limit: nil, request_options: {})
115
115
  #
116
116
  # @param cursor [String] Pagination cursor from previous response
117
117
  #
118
118
  # @param include_archived [Boolean] When true, archived workspaces are included in the results. Defaults to
119
119
  #
120
+ # @param labels [String] Filters by metadata labels. Comma-separated key=value pairs,
121
+ #
120
122
  # @param limit [Integer] Maximum number of results to return
121
123
  #
122
124
  # @param request_options [Cadenya::RequestOptions, Hash{Symbol=>Object}, nil]
@@ -96,9 +96,12 @@ module Cadenya
96
96
  )
97
97
  end
98
98
 
99
+ # Some parameter documentations has been truncated, see
100
+ # {Cadenya::Models::WorkspaceSecretListParams} for more details.
101
+ #
99
102
  # Lists all workspace secrets in the workspace
100
103
  #
101
- # @overload list(workspace_id, cursor: nil, include_info: nil, limit: nil, prefix: nil, query: nil, sort_order: nil, request_options: {})
104
+ # @overload list(workspace_id, cursor: nil, include_info: nil, labels: nil, limit: nil, prefix: nil, query: nil, sort_order: nil, request_options: {})
102
105
  #
103
106
  # @param workspace_id [String] The workspace whose secrets will be listed.
104
107
  #
@@ -106,6 +109,8 @@ module Cadenya
106
109
  #
107
110
  # @param include_info [Boolean] When set to true you may use more of your alloted API rate-limit
108
111
  #
112
+ # @param labels [String] Filters by metadata labels. Comma-separated key=value pairs,
113
+ #
109
114
  # @param limit [Integer] Maximum number of results to return
110
115
  #
111
116
  # @param prefix [String] Filter expression (query param: prefix)
@@ -9,14 +9,19 @@ module Cadenya
9
9
  # (create / archive workspaces, manage members) live in WorkspaceAdminService
10
10
  # under /v1/account/workspaces and require the admin role.
11
11
  class Workspaces
12
+ # Some parameter documentations has been truncated, see
13
+ # {Cadenya::Models::WorkspaceListParams} for more details.
14
+ #
12
15
  # Lists all workspaces for the current account
13
16
  #
14
- # @overload list(cursor: nil, include_info: nil, limit: nil, sort_order: nil, request_options: {})
17
+ # @overload list(cursor: nil, include_info: nil, labels: nil, limit: nil, sort_order: nil, request_options: {})
15
18
  #
16
19
  # @param cursor [String] Pagination cursor from previous response
17
20
  #
18
21
  # @param include_info [Boolean] When set to true you may use more of your alloted API rate-limit
19
22
  #
23
+ # @param labels [String] Filters by metadata labels. Comma-separated key=value pairs,
24
+ #
20
25
  # @param limit [Integer] Maximum number of results to return
21
26
  #
22
27
  # @param sort_order [String] Sort order for results (asc or desc by creation time)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Cadenya
4
- VERSION = "0.32.0"
4
+ VERSION = "0.33.0"
5
5
  end