Class: Anthropic::Models::Beta::DeploymentRunListParams

Inherits:
Internal::Type::BaseModel show all
Extended by:
Internal::Type::RequestParameters::Converter
Includes:
Internal::Type::RequestParameters
Defined in:
lib/anthropic/models/beta/deployment_run_list_params.rb,
sig/anthropic/models/beta/deployment_run_list_params.rbs

Overview

See Also:

  • Anthropic::Resources::Beta::DeploymentRuns#list

Instance Attribute Summary collapse

Attributes included from Internal::Type::RequestParameters

#request_options

Instance Method Summary collapse

Methods included from Internal::Type::RequestParameters::Converter

dump_request

Methods included from Internal::Type::RequestParameters

included

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(created_at_gt: nil, created_at_gte: nil, created_at_lt: nil, created_at_lte: nil, deployment_id: nil, has_error: nil, limit: nil, page: nil, trigger_type: nil, betas: nil, workspace_id: nil, request_options: {}) ⇒ DeploymentRunListParams

Some parameter documentations has been truncated, see Anthropic::Models::Beta::DeploymentRunListParams for more details.

Parameters:

  • created_at_gt (Time) (defaults to: nil) —

    Return runs created strictly after this time (exclusive).

  • created_at_gte (Time) (defaults to: nil) —

    Return runs created at or after this time (inclusive).

  • created_at_lt (Time) (defaults to: nil) —

    Return runs created strictly before this time (exclusive).

  • created_at_lte (Time) (defaults to: nil) —

    Return runs created at or before this time (inclusive).

  • deployment_id (String) (defaults to: nil) —

    Filter to a specific deployment. Omit to list across all deployments in the work

  • has_error (Boolean) (defaults to: nil) —

    Filter: true for runs with non-null error, false for runs with non-null

  • limit (Integer) (defaults to: nil) —

    Maximum results per page. Default 20, maximum 1000.

  • page (String) (defaults to: nil) —

    Opaque pagination cursor. Pass next_page from the previous response. Invalid o

  • trigger_type (Symbol, Anthropic::Models::Beta::BetaManagedAgentsTriggerType) (defaults to: nil) —

    Filter runs by what triggered them. Omit to return all runs.

  • betas (Array<Symbol, String, Anthropic::Models::AnthropicBeta>) (defaults to: nil) —

    This endpoint is in beta: requests must send managed-agents-2026-04-01 in this

  • workspace_id (String) (defaults to: nil) —

    Optional header to select the Workspace for this request. The value is a Workspa

  • request_options (Anthropic::RequestOptions, Hash{Symbol=>Object}) (defaults to: {})
  • created_at_gt: (Time) (defaults to: nil)
  • created_at_gte: (Time) (defaults to: nil)
  • created_at_lt: (Time) (defaults to: nil)
  • created_at_lte: (Time) (defaults to: nil)
  • deployment_id: (String) (defaults to: nil)
  • has_error: (Boolean) (defaults to: nil)
  • limit: (Integer) (defaults to: nil)
  • page: (String) (defaults to: nil)
  • trigger_type: (Anthropic::Models::Beta::beta_managed_agents_trigger_type) (defaults to: nil)
  • betas: (::Array[Anthropic::Models::anthropic_beta]) (defaults to: nil)
  • workspace_id: (String) (defaults to: nil)
  • request_options: (Anthropic::request_opts) (defaults to: {})


# File 'lib/anthropic/models/beta/deployment_run_list_params.rb', line 87

Instance Attribute Details

#betas ⇒ Array<Symbol, String, Anthropic::Models::AnthropicBeta>?

This endpoint is in beta: requests must send managed-agents-2026-04-01 in this header.

Parameters:

  • (::Array[Anthropic::Models::anthropic_beta])

Returns:



74
# File 'lib/anthropic/models/beta/deployment_run_list_params.rb', line 74

optional :betas, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::AnthropicBeta] }

#created_at_gt ⇒ Time?

Return runs created strictly after this time (exclusive).

Parameters:

  • (Time)

Returns:

  • (Time, nil)


15
# File 'lib/anthropic/models/beta/deployment_run_list_params.rb', line 15

optional :created_at_gt, Time

#created_at_gte ⇒ Time?

Return runs created at or after this time (inclusive).

Parameters:

  • (Time)

Returns:

  • (Time, nil)


21
# File 'lib/anthropic/models/beta/deployment_run_list_params.rb', line 21

optional :created_at_gte, Time

#created_at_lt ⇒ Time?

Return runs created strictly before this time (exclusive).

Parameters:

  • (Time)

Returns:

  • (Time, nil)


27
# File 'lib/anthropic/models/beta/deployment_run_list_params.rb', line 27

optional :created_at_lt, Time

#created_at_lte ⇒ Time?

Return runs created at or before this time (inclusive).

Parameters:

  • (Time)

Returns:

  • (Time, nil)


33
# File 'lib/anthropic/models/beta/deployment_run_list_params.rb', line 33

optional :created_at_lte, Time

#deployment_id ⇒ String?

Filter to a specific deployment. Omit to list across all deployments in the workspace. Filtering by a non-existent deployment_id returns 200 with empty data.

Parameters:

  • (String)

Returns:

  • (String, nil)


41
# File 'lib/anthropic/models/beta/deployment_run_list_params.rb', line 41

optional :deployment_id, String

#has_error ⇒ Boolean?

Filter: true for runs with non-null error, false for runs with non-null session_id. Omit for all.

Parameters:

Returns:



48
# File 'lib/anthropic/models/beta/deployment_run_list_params.rb', line 48

optional :has_error, Anthropic::Internal::Type::Boolean

#limit ⇒ Integer?

Maximum results per page. Default 20, maximum 1000.

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


54
# File 'lib/anthropic/models/beta/deployment_run_list_params.rb', line 54

optional :limit, Integer

#page ⇒ String?

Opaque pagination cursor. Pass next_page from the previous response. Invalid or expired cursors return 400.

Parameters:

  • (String)

Returns:

  • (String, nil)


61
# File 'lib/anthropic/models/beta/deployment_run_list_params.rb', line 61

optional :page, String

#trigger_type ⇒ Symbol, ...

Filter runs by what triggered them. Omit to return all runs.

Parameters:

  • (Anthropic::Models::Beta::beta_managed_agents_trigger_type)

Returns:



67
# File 'lib/anthropic/models/beta/deployment_run_list_params.rb', line 67

optional :trigger_type, enum: -> { Anthropic::Beta::BetaManagedAgentsTriggerType }

#workspace_id ⇒ String?

Optional header to select the Workspace for this request. The value is a Workspace ID (for example, wrkspc_011CZkZaBF1tNoB5wlCeusgy).

Only needed for credentials that can act on more than one Workspace. A credential that belongs to a specific Workspace may omit it; if sent, it must match that Workspace.

Parameters:

  • (String)

Returns:

  • (String, nil)


85
# File 'lib/anthropic/models/beta/deployment_run_list_params.rb', line 85

optional :workspace_id, String

Instance Method Details

#to_hash ⇒ { created_at_gt: Time, created_at_gte: Time, created_at_lt: Time, created_at_lte: Time, deployment_id: String, has_error: bool, limit: Integer, page: String, trigger_type: Anthropic::Models::Beta::beta_managed_agents_trigger_type, betas: ::Array[Anthropic::Models::anthropic_beta], workspace_id: String, request_options: Anthropic::RequestOptions }

Returns:

  • ({ created_at_gt: Time, created_at_gte: Time, created_at_lt: Time, created_at_lte: Time, deployment_id: String, has_error: bool, limit: Integer, page: String, trigger_type: Anthropic::Models::Beta::beta_managed_agents_trigger_type, betas: ::Array[Anthropic::Models::anthropic_beta], workspace_id: String, request_options: Anthropic::RequestOptions })


87
88
89
90
91
92
93
94
95
96
97
98
99
100
# File 'sig/anthropic/models/beta/deployment_run_list_params.rbs', line 87

def to_hash: -> {
  created_at_gt: Time,
  created_at_gte: Time,
  created_at_lt: Time,
  created_at_lte: Time,
  deployment_id: String,
  has_error: bool,
  limit: Integer,
  page: String,
  trigger_type: Anthropic::Models::Beta::beta_managed_agents_trigger_type,
  betas: ::Array[Anthropic::Models::anthropic_beta],
  workspace_id: String,
  request_options: Anthropic::RequestOptions
}