harness_get
Retrieve a Harness resource by its ID or from a URL. Auto-extracts identifiers such as org, project, and resource type from the URL.
Instructions
Get a Harness resource by ID. Accepts a Harness URL to auto-extract identifiers. For failure analysis, prefer harness_diagnose.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Harness UI URL — auto-extracts org, project, type, and ID | |
| org_id | No | Organization identifier (overrides default) | |
| params | No | Additional identifiers for nested resources. Call harness_describe for fields per resource_type. | |
| project_id | No | Project identifier (overrides default) | |
| resource_id | No | Primary resource identifier. Auto-detected from url. | |
| resource_type | No | Resource type to retrieve. Auto-detected from url. | |
| resource_scope | No | Scope to query. Use account for account-level resources and to omit org/project defaults; org injects only org; project injects org+project. Auto-detected from url. | |
| return_download_url | No | For execution_log only: return a directly fetchable log download URL instead of buffering log content. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||