cadenya 0.32.0 → 0.34.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 (154) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +16 -0
  3. data/README.md +1 -1
  4. data/lib/cadenya/models/account_resource_metadata.rb +6 -3
  5. data/lib/cadenya/models/agent_list_params.rb +11 -1
  6. data/lib/cadenya/models/agents/feedback_list_params.rb +11 -1
  7. data/lib/cadenya/models/agents/schedule_list_params.rb +11 -1
  8. data/lib/cadenya/models/agents/variation_list_params.rb +11 -1
  9. data/lib/cadenya/models/agents/webhook_delivery_list_params.rb +14 -1
  10. data/lib/cadenya/models/ai_provider_key_list_params.rb +11 -1
  11. data/lib/cadenya/models/api_key_create_params.rb +6 -3
  12. data/lib/cadenya/models/api_key_list_params.rb +11 -1
  13. data/lib/cadenya/models/api_key_update_params.rb +6 -3
  14. data/lib/cadenya/models/api_keys/access_list_params.rb +14 -1
  15. data/lib/cadenya/models/create_operation_metadata.rb +6 -3
  16. data/lib/cadenya/models/create_resource_metadata.rb +6 -3
  17. data/lib/cadenya/models/memory_layer_list_params.rb +11 -1
  18. data/lib/cadenya/models/memory_layers/entry_list_params.rb +11 -1
  19. data/lib/cadenya/models/model_list_params.rb +11 -1
  20. data/lib/cadenya/models/objective_list_context_windows_params.rb +14 -1
  21. data/lib/cadenya/models/objective_list_events_params.rb +14 -1
  22. data/lib/cadenya/models/objective_list_params.rb +11 -1
  23. data/lib/cadenya/models/objectives/feedback_list_params.rb +14 -1
  24. data/lib/cadenya/models/objectives/tool_call_list_params.rb +11 -1
  25. data/lib/cadenya/models/operation_metadata.rb +6 -3
  26. data/lib/cadenya/models/resource_metadata.rb +6 -3
  27. data/lib/cadenya/models/tool_set_list_events_params.rb +14 -1
  28. data/lib/cadenya/models/tool_set_list_params.rb +11 -1
  29. data/lib/cadenya/models/tool_sets/tool_list_params.rb +11 -1
  30. data/lib/cadenya/models/update_resource_metadata.rb +6 -3
  31. data/lib/cadenya/models/workspace_admin/profile_list_params.rb +11 -1
  32. data/lib/cadenya/models/workspace_admin_create_params.rb +6 -3
  33. data/lib/cadenya/models/workspace_admin_list_params.rb +11 -1
  34. data/lib/cadenya/models/workspace_admin_update_params.rb +6 -3
  35. data/lib/cadenya/models/workspace_list_params.rb +14 -1
  36. data/lib/cadenya/models/workspace_secret_list_params.rb +14 -1
  37. data/lib/cadenya/resources/agents/feedback.rb +3 -1
  38. data/lib/cadenya/resources/agents/schedules.rb +3 -1
  39. data/lib/cadenya/resources/agents/variations.rb +3 -1
  40. data/lib/cadenya/resources/agents/webhook_deliveries.rb +6 -1
  41. data/lib/cadenya/resources/agents.rb +3 -1
  42. data/lib/cadenya/resources/ai_provider_keys.rb +3 -1
  43. data/lib/cadenya/resources/api_keys/access.rb +6 -1
  44. data/lib/cadenya/resources/api_keys.rb +3 -1
  45. data/lib/cadenya/resources/memory_layers/entries.rb +3 -1
  46. data/lib/cadenya/resources/memory_layers.rb +3 -1
  47. data/lib/cadenya/resources/models.rb +3 -1
  48. data/lib/cadenya/resources/objectives/feedback.rb +3 -1
  49. data/lib/cadenya/resources/objectives/tool_calls.rb +3 -1
  50. data/lib/cadenya/resources/objectives.rb +15 -3
  51. data/lib/cadenya/resources/tool_sets/tools.rb +3 -1
  52. data/lib/cadenya/resources/tool_sets.rb +6 -2
  53. data/lib/cadenya/resources/workspace_admin/profiles.rb +3 -1
  54. data/lib/cadenya/resources/workspace_admin.rb +3 -1
  55. data/lib/cadenya/resources/workspace_secrets.rb +6 -1
  56. data/lib/cadenya/resources/workspaces.rb +6 -1
  57. data/lib/cadenya/version.rb +1 -1
  58. data/rbi/cadenya/models/account_resource_metadata.rbi +10 -4
  59. data/rbi/cadenya/models/agent_list_params.rbi +15 -0
  60. data/rbi/cadenya/models/agents/feedback_list_params.rbi +15 -0
  61. data/rbi/cadenya/models/agents/schedule_list_params.rbi +15 -0
  62. data/rbi/cadenya/models/agents/variation_list_params.rbi +15 -0
  63. data/rbi/cadenya/models/agents/webhook_delivery_list_params.rbi +15 -0
  64. data/rbi/cadenya/models/ai_provider_key_list_params.rbi +15 -0
  65. data/rbi/cadenya/models/api_key_create_params.rbi +10 -4
  66. data/rbi/cadenya/models/api_key_list_params.rbi +15 -0
  67. data/rbi/cadenya/models/api_key_update_params.rbi +10 -4
  68. data/rbi/cadenya/models/api_keys/access_list_params.rbi +15 -0
  69. data/rbi/cadenya/models/create_operation_metadata.rbi +10 -4
  70. data/rbi/cadenya/models/create_resource_metadata.rbi +10 -4
  71. data/rbi/cadenya/models/memory_layer_list_params.rbi +15 -0
  72. data/rbi/cadenya/models/memory_layers/entry_list_params.rbi +15 -0
  73. data/rbi/cadenya/models/model_list_params.rbi +15 -0
  74. data/rbi/cadenya/models/objective_list_context_windows_params.rbi +15 -0
  75. data/rbi/cadenya/models/objective_list_events_params.rbi +15 -0
  76. data/rbi/cadenya/models/objective_list_params.rbi +15 -0
  77. data/rbi/cadenya/models/objectives/feedback_list_params.rbi +15 -0
  78. data/rbi/cadenya/models/objectives/tool_call_list_params.rbi +15 -0
  79. data/rbi/cadenya/models/operation_metadata.rbi +10 -4
  80. data/rbi/cadenya/models/resource_metadata.rbi +10 -4
  81. data/rbi/cadenya/models/tool_set_list_events_params.rbi +15 -0
  82. data/rbi/cadenya/models/tool_set_list_params.rbi +15 -0
  83. data/rbi/cadenya/models/tool_sets/tool_list_params.rbi +15 -0
  84. data/rbi/cadenya/models/update_resource_metadata.rbi +10 -4
  85. data/rbi/cadenya/models/workspace_admin/profile_list_params.rbi +15 -0
  86. data/rbi/cadenya/models/workspace_admin_create_params.rbi +10 -4
  87. data/rbi/cadenya/models/workspace_admin_list_params.rbi +15 -0
  88. data/rbi/cadenya/models/workspace_admin_update_params.rbi +10 -4
  89. data/rbi/cadenya/models/workspace_list_params.rbi +15 -0
  90. data/rbi/cadenya/models/workspace_secret_list_params.rbi +15 -0
  91. data/rbi/cadenya/resources/agents/feedback.rbi +5 -0
  92. data/rbi/cadenya/resources/agents/schedules.rbi +5 -0
  93. data/rbi/cadenya/resources/agents/variations.rbi +5 -0
  94. data/rbi/cadenya/resources/agents/webhook_deliveries.rbi +5 -0
  95. data/rbi/cadenya/resources/agents.rbi +5 -0
  96. data/rbi/cadenya/resources/ai_provider_keys.rbi +5 -0
  97. data/rbi/cadenya/resources/api_keys/access.rbi +5 -0
  98. data/rbi/cadenya/resources/api_keys.rbi +5 -0
  99. data/rbi/cadenya/resources/memory_layers/entries.rbi +5 -0
  100. data/rbi/cadenya/resources/memory_layers.rbi +5 -0
  101. data/rbi/cadenya/resources/models.rbi +5 -0
  102. data/rbi/cadenya/resources/objectives/feedback.rbi +5 -0
  103. data/rbi/cadenya/resources/objectives/tool_calls.rbi +5 -0
  104. data/rbi/cadenya/resources/objectives.rbi +15 -0
  105. data/rbi/cadenya/resources/tool_sets/tools.rbi +5 -0
  106. data/rbi/cadenya/resources/tool_sets.rbi +10 -0
  107. data/rbi/cadenya/resources/workspace_admin/profiles.rbi +5 -0
  108. data/rbi/cadenya/resources/workspace_admin.rbi +5 -0
  109. data/rbi/cadenya/resources/workspace_secrets.rbi +5 -0
  110. data/rbi/cadenya/resources/workspaces.rbi +5 -0
  111. data/sig/cadenya/models/agent_list_params.rbs +7 -0
  112. data/sig/cadenya/models/agents/feedback_list_params.rbs +7 -0
  113. data/sig/cadenya/models/agents/schedule_list_params.rbs +7 -0
  114. data/sig/cadenya/models/agents/variation_list_params.rbs +7 -0
  115. data/sig/cadenya/models/agents/webhook_delivery_list_params.rbs +7 -0
  116. data/sig/cadenya/models/ai_provider_key_list_params.rbs +7 -0
  117. data/sig/cadenya/models/api_key_list_params.rbs +7 -0
  118. data/sig/cadenya/models/api_keys/access_list_params.rbs +7 -1
  119. data/sig/cadenya/models/memory_layer_list_params.rbs +7 -0
  120. data/sig/cadenya/models/memory_layers/entry_list_params.rbs +7 -0
  121. data/sig/cadenya/models/model_list_params.rbs +7 -0
  122. data/sig/cadenya/models/objective_list_context_windows_params.rbs +7 -0
  123. data/sig/cadenya/models/objective_list_events_params.rbs +7 -0
  124. data/sig/cadenya/models/objective_list_params.rbs +7 -0
  125. data/sig/cadenya/models/objectives/feedback_list_params.rbs +7 -0
  126. data/sig/cadenya/models/objectives/tool_call_list_params.rbs +7 -0
  127. data/sig/cadenya/models/tool_set_list_events_params.rbs +7 -0
  128. data/sig/cadenya/models/tool_set_list_params.rbs +7 -0
  129. data/sig/cadenya/models/tool_sets/tool_list_params.rbs +7 -0
  130. data/sig/cadenya/models/workspace_admin/profile_list_params.rbs +7 -1
  131. data/sig/cadenya/models/workspace_admin_list_params.rbs +7 -1
  132. data/sig/cadenya/models/workspace_list_params.rbs +13 -1
  133. data/sig/cadenya/models/workspace_secret_list_params.rbs +7 -0
  134. data/sig/cadenya/resources/agents/feedback.rbs +1 -0
  135. data/sig/cadenya/resources/agents/schedules.rbs +1 -0
  136. data/sig/cadenya/resources/agents/variations.rbs +1 -0
  137. data/sig/cadenya/resources/agents/webhook_deliveries.rbs +1 -0
  138. data/sig/cadenya/resources/agents.rbs +1 -0
  139. data/sig/cadenya/resources/ai_provider_keys.rbs +1 -0
  140. data/sig/cadenya/resources/api_keys/access.rbs +1 -0
  141. data/sig/cadenya/resources/api_keys.rbs +1 -0
  142. data/sig/cadenya/resources/memory_layers/entries.rbs +1 -0
  143. data/sig/cadenya/resources/memory_layers.rbs +1 -0
  144. data/sig/cadenya/resources/models.rbs +1 -0
  145. data/sig/cadenya/resources/objectives/feedback.rbs +1 -0
  146. data/sig/cadenya/resources/objectives/tool_calls.rbs +1 -0
  147. data/sig/cadenya/resources/objectives.rbs +3 -0
  148. data/sig/cadenya/resources/tool_sets/tools.rbs +1 -0
  149. data/sig/cadenya/resources/tool_sets.rbs +2 -0
  150. data/sig/cadenya/resources/workspace_admin/profiles.rbs +1 -0
  151. data/sig/cadenya/resources/workspace_admin.rbs +1 -0
  152. data/sig/cadenya/resources/workspace_secrets.rbs +1 -0
  153. data/sig/cadenya/resources/workspaces.rbs +1 -0
  154. metadata +1 -1
@@ -24,19 +24,32 @@ module Cadenya
24
24
  # @return [String, nil]
25
25
  optional :cursor, String
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
  #
30
38
  # @return [Integer, nil]
31
39
  optional :limit, Integer
32
40
 
33
- # @!method initialize(workspace_id:, objective_id:, cursor: nil, limit: nil, request_options: {})
41
+ # @!method initialize(workspace_id:, objective_id:, cursor: nil, labels: nil, limit: nil, request_options: {})
42
+ # Some parameter documentations has been truncated, see
43
+ # {Cadenya::Models::Objectives::FeedbackListParams} for more details.
44
+ #
34
45
  # @param workspace_id [String]
35
46
  #
36
47
  # @param objective_id [String]
37
48
  #
38
49
  # @param cursor [String] Pagination cursor from previous response
39
50
  #
51
+ # @param labels [String] Filters by metadata labels. Comma-separated key=value pairs,
52
+ #
40
53
  # @param limit [Integer] Maximum number of results to return
41
54
  #
42
55
  # @param request_options [Cadenya::RequestOptions, Hash{Symbol=>Object}]
@@ -38,6 +38,14 @@ module Cadenya
38
38
  # @return [Boolean, nil]
39
39
  optional :include_info, Cadenya::Internal::Type::Boolean
40
40
 
41
+ # @!attribute labels
42
+ # Filters by metadata labels. Comma-separated key=value pairs, e.g.
43
+ # "env=prod,team=ai". A resource matches only if every pair matches exactly (AND
44
+ # semantics).
45
+ #
46
+ # @return [String, nil]
47
+ optional :labels, String
48
+
41
49
  # @!attribute limit
42
50
  # Maximum number of results to return
43
51
  #
@@ -50,7 +58,7 @@ module Cadenya
50
58
  # @return [Symbol, Cadenya::Models::Objectives::ToolCallListParams::Status, nil]
51
59
  optional :status, enum: -> { Cadenya::Objectives::ToolCallListParams::Status }
52
60
 
53
- # @!method initialize(workspace_id:, objective_id:, cursor: nil, execution_status: nil, include_info: nil, limit: nil, status: nil, request_options: {})
61
+ # @!method initialize(workspace_id:, objective_id:, cursor: nil, execution_status: nil, include_info: nil, labels: nil, limit: nil, status: nil, request_options: {})
54
62
  # Some parameter documentations has been truncated, see
55
63
  # {Cadenya::Models::Objectives::ToolCallListParams} for more details.
56
64
  #
@@ -64,6 +72,8 @@ module Cadenya
64
72
  #
65
73
  # @param include_info [Boolean] When set to true you may use more of your alloted API rate-limit
66
74
  #
75
+ # @param labels [String] Filters by metadata labels. Comma-separated key=value pairs,
76
+ #
67
77
  # @param limit [Integer] Maximum number of results to return
68
78
  #
69
79
  # @param status [Symbol, Cadenya::Models::Objectives::ToolCallListParams::Status] Filter by tool call status
@@ -10,8 +10,11 @@ module Cadenya
10
10
  optional :external_id, String, api_name: :externalId
11
11
 
12
12
  # @!attribute labels
13
- # Arbitrary key-value pairs for categorization and filtering Examples:
14
- # {"priority": "high", "source": "api", "workflow": "onboarding"}
13
+ # Key-value pairs for categorization and filtering. Values are 0-63 alphanumeric
14
+ # characters with "-", "\_", or "." allowed between; keys follow the same shape
15
+ # and additionally accept an optional DNS-subdomain prefix (e.g. "cadenya.com/")
16
+ # of at most 253 characters. Examples: {"priority": "high", "source": "api",
17
+ # "workflow": "onboarding"}
15
18
  #
16
19
  # @return [Hash{Symbol=>String}, nil]
17
20
  optional :labels, Cadenya::Internal::Type::HashOf[String]
@@ -68,7 +71,7 @@ module Cadenya
68
71
  #
69
72
  # @param external_id [String] External ID for the operation (e.g., a workflow ID from an external system)
70
73
  #
71
- # @param labels [Hash{Symbol=>String}] Arbitrary key-value pairs for categorization and filtering
74
+ # @param labels [Hash{Symbol=>String}] Key-value pairs for categorization and filtering. Values are 0-63
72
75
  end
73
76
  end
74
77
  end
@@ -17,8 +17,11 @@ module Cadenya
17
17
  optional :external_id, String, api_name: :externalId
18
18
 
19
19
  # @!attribute labels
20
- # Arbitrary key-value pairs for categorization and filtering Examples:
21
- # {"environment": "production", "team": "platform", "version": "v2"}
20
+ # Key-value pairs for categorization and filtering. Values are 0-63 alphanumeric
21
+ # characters with "-", "\_", or "." allowed between; keys follow the same shape
22
+ # and additionally accept an optional DNS-subdomain prefix (e.g. "cadenya.com/")
23
+ # of at most 253 characters. Examples: {"environment": "production", "team":
24
+ # "platform", "version": "v2"}
22
25
  #
23
26
  # @return [Hash{Symbol=>String}, nil]
24
27
  optional :labels, Cadenya::Internal::Type::HashOf[String]
@@ -81,7 +84,7 @@ module Cadenya
81
84
  #
82
85
  # @param external_id [String] External ID for the resource (e.g., a workflow ID from an external system)
83
86
  #
84
- # @param labels [Hash{Symbol=>String}] Arbitrary key-value pairs for categorization and filtering
87
+ # @param labels [Hash{Symbol=>String}] Key-value pairs for categorization and filtering. Values are 0-63
85
88
  #
86
89
  # @param updated_at [Time] Timestamp when this resource was last updated
87
90
  end
@@ -29,6 +29,14 @@ module Cadenya
29
29
  # @return [Boolean, nil]
30
30
  optional :include_info, Cadenya::Internal::Type::Boolean
31
31
 
32
+ # @!attribute labels
33
+ # Filters by metadata labels. Comma-separated key=value pairs, e.g.
34
+ # "env=prod,team=ai". A resource matches only if every pair matches exactly (AND
35
+ # semantics).
36
+ #
37
+ # @return [String, nil]
38
+ optional :labels, String
39
+
32
40
  # @!attribute limit
33
41
  # Maximum number of results to return
34
42
  #
@@ -41,7 +49,10 @@ module Cadenya
41
49
  # @return [String, nil]
42
50
  optional :sort_order, String
43
51
 
44
- # @!method initialize(workspace_id:, tool_set_id:, cursor: nil, include_info: nil, limit: nil, sort_order: nil, request_options: {})
52
+ # @!method initialize(workspace_id:, tool_set_id:, cursor: nil, include_info: nil, labels: nil, limit: nil, sort_order: nil, request_options: {})
53
+ # Some parameter documentations has been truncated, see
54
+ # {Cadenya::Models::ToolSetListEventsParams} for more details.
55
+ #
45
56
  # @param workspace_id [String]
46
57
  #
47
58
  # @param tool_set_id [String]
@@ -50,6 +61,8 @@ module Cadenya
50
61
  #
51
62
  # @param include_info [Boolean] When set to true you may use more of your alloted API rate-limit
52
63
  #
64
+ # @param labels [String] Filters by metadata labels. Comma-separated key=value pairs,
65
+ #
53
66
  # @param limit [Integer] Maximum number of results to return
54
67
  #
55
68
  # @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
  #
@@ -55,7 +63,7 @@ module Cadenya
55
63
  # @return [Symbol, Cadenya::Models::ToolSetListParams::State, nil]
56
64
  optional :state, enum: -> { Cadenya::ToolSetListParams::State }
57
65
 
58
- # @!method initialize(workspace_id:, cursor: nil, include_info: nil, limit: nil, prefix: nil, query: nil, sort_order: nil, state: nil, request_options: {})
66
+ # @!method initialize(workspace_id:, cursor: nil, include_info: nil, labels: nil, limit: nil, prefix: nil, query: nil, sort_order: nil, state: nil, request_options: {})
59
67
  # Some parameter documentations has been truncated, see
60
68
  # {Cadenya::Models::ToolSetListParams} for more details.
61
69
  #
@@ -65,6 +73,8 @@ module Cadenya
65
73
  #
66
74
  # @param include_info [Boolean] When set to true you may use more of your alloted API rate-limit
67
75
  #
76
+ # @param labels [String] Filters by metadata labels. Comma-separated key=value pairs,
77
+ #
68
78
  # @param limit [Integer] Maximum number of results to return
69
79
  #
70
80
  # @param prefix [String] Filter expression (query param: prefix)
@@ -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.
@@ -17,8 +17,11 @@ module Cadenya
17
17
  optional :external_id, String, api_name: :externalId
18
18
 
19
19
  # @!attribute labels
20
- # Arbitrary key-value pairs for categorization and filtering Examples:
21
- # {"environment": "production", "team": "platform", "version": "v2"}
20
+ # Key-value pairs for categorization and filtering. Values are 0-63 alphanumeric
21
+ # characters with "-", "\_", or "." allowed between; keys follow the same shape
22
+ # and additionally accept an optional DNS-subdomain prefix (e.g. "cadenya.com/")
23
+ # of at most 253 characters. Examples: {"environment": "production", "team":
24
+ # "platform", "version": "v2"}
22
25
  #
23
26
  # @return [Hash{Symbol=>String}, nil]
24
27
  optional :labels, Cadenya::Internal::Type::HashOf[String]
@@ -35,7 +38,7 @@ module Cadenya
35
38
  #
36
39
  # @param external_id [String] External ID for the resource (e.g., a workflow ID from an external system)
37
40
  #
38
- # @param labels [Hash{Symbol=>String}] Arbitrary key-value pairs for categorization and filtering
41
+ # @param labels [Hash{Symbol=>String}] Key-value pairs for categorization and filtering. Values are 0-63
39
42
  end
40
43
  end
41
44
  end
@@ -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
@@ -45,8 +45,11 @@ module Cadenya
45
45
  optional :external_id, String, api_name: :externalId
46
46
 
47
47
  # @!attribute labels
48
- # Arbitrary key-value pairs for categorization and filtering Examples:
49
- # {"environment": "production", "team": "platform", "version": "v2"}
48
+ # Key-value pairs for categorization and filtering. Values are 0-63 alphanumeric
49
+ # characters with "-", "\_", or "." allowed between; keys follow the same shape
50
+ # and additionally accept an optional DNS-subdomain prefix (e.g. "cadenya.com/")
51
+ # of at most 253 characters. Examples: {"environment": "production", "team":
52
+ # "platform", "version": "v2"}
50
53
  #
51
54
  # @return [Hash{Symbol=>String}, nil]
52
55
  optional :labels, Cadenya::Internal::Type::HashOf[String]
@@ -63,7 +66,7 @@ module Cadenya
63
66
  #
64
67
  # @param external_id [String] External ID for the resource (e.g., a workflow ID from an external system)
65
68
  #
66
- # @param labels [Hash{Symbol=>String}] Arbitrary key-value pairs for categorization and filtering
69
+ # @param labels [Hash{Symbol=>String}] Key-value pairs for categorization and filtering. Values are 0-63
67
70
  end
68
71
  end
69
72
  end
@@ -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}]
@@ -60,8 +60,11 @@ module Cadenya
60
60
  optional :external_id, String, api_name: :externalId
61
61
 
62
62
  # @!attribute labels
63
- # Arbitrary key-value pairs for categorization and filtering Examples:
64
- # {"environment": "production", "team": "platform", "version": "v2"}
63
+ # Key-value pairs for categorization and filtering. Values are 0-63 alphanumeric
64
+ # characters with "-", "\_", or "." allowed between; keys follow the same shape
65
+ # and additionally accept an optional DNS-subdomain prefix (e.g. "cadenya.com/")
66
+ # of at most 253 characters. Examples: {"environment": "production", "team":
67
+ # "platform", "version": "v2"}
65
68
  #
66
69
  # @return [Hash{Symbol=>String}, nil]
67
70
  optional :labels, Cadenya::Internal::Type::HashOf[String]
@@ -78,7 +81,7 @@ module Cadenya
78
81
  #
79
82
  # @param external_id [String] External ID for the resource (e.g., a workflow ID from an external system)
80
83
  #
81
- # @param labels [Hash{Symbol=>String}] Arbitrary key-value pairs for categorization and filtering
84
+ # @param labels [Hash{Symbol=>String}] Key-value pairs for categorization and filtering. Values are 0-63
82
85
  end
83
86
  end
84
87
  end
@@ -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