harness_list
List Harness resources with filtering and pagination. Accepts a URL to auto-extract scope and supports compact output.
Instructions
List Harness resources with filtering and pagination. Accepts a Harness URL to auto-extract scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| resource_type | No | Resource type to list. Auto-detected from url. | |
| url | No | Harness UI URL — auto-extracts org, project, and type | |
| org_id | No | Organization identifier (overrides default) | |
| project_id | No | Project identifier (overrides default) | |
| page | No | Page number, 0-indexed | |
| size | No | Page size (1–100) | |
| search_term | No | Filter results by name or keyword | |
| compact | No | Strip verbose metadata from list items, keeping only essential fields (default true) | |
| params | No | Additional identifiers for nested resources (e.g. repo_id for pull requests). Call harness_describe for fields per resource_type. | |
| filters | No | Resource-specific filters as key-value pairs. Available keys across enabled resource types: search_term, module, filter_type, pipeline_id, status, branch, my_deployments, execution_id, approval_status, approval_type, node_execution_id, sort, order, env_type, type, category, connector_names, connector_identifiers, connectivity_statuses, connector_connectivity_modes, description, inheriting_credentials_from_delegate, tags, environment_id, deployment_type, secret_identifier, secret_name, secret_manager_identifiers, resource_type, action, start_time, end_time, all, delegate_name, delegate_type, host_name, delegate_group_identifier, delegate_instance_filter, auto_upgrade, version_status, name, query, git_ref, path, since, until, committer, inherited, search, package_type, template_type, template_list_type, folder_id, reporting_timeframe, kind, namespace, entity_identifier, scope_level, state, after, before, offset, workspace_id, rollout_status_id, repo_creds_id, agent_id, app_name, pod_name, container, tail_lines, resource_name, group, version, scope, experiment_run_ids, notify_ids, hub_identity, infrastructure_type, infrastructure, include_all_scope, sort_field, sort_ascending, experiment_id, include_legacy_infra, is_enterprise, permissions_required, infra_type, entity_type, only_templatised_faults, environment_type, sort_type, sort_order, cloud_filter, group_by, time_filter, limit, time_resolution, min_saving, perspective_id, min_amount, min_anomalous_spend, field_id, field_identifier, aspect, cloud_account_id, start_date, end_date, team_ref_id, date_start, date_end, feature_type, granularity, metric, integration_type, profile_id, metric_type, artifact_type, source_id, artifact_id, dependency_type, purl, standards, target_version, severity_codes, issue_types, target_ids, target_types, pipeline_ids, scan_tools, exemption_statuses, principal_type, role_identifier, resource_group_identifier, include_parent_scopes, has_module, module_type, identifier_filter, exclude_rego, include_policy_set_count, entity, created_date_from, created_date_to, include_child_scopes, freeze_status, service_id. Call harness_describe for filters available on a specific resource_type. | |
| include_visual | No | Include an inline PNG chart of the results (default false). Supported for execution resource_type. Use when user asks for a visualization, chart, or graph. | |
| visual_type | No | Chart type when include_visual=true. 'timeseries' = daily execution counts, 'pie' = breakdown by status, 'bar' = breakdown by pipeline. Default 'pie'. | pie |