Get Media Asset
nasa.get_media_asset
ActionBusiness appsconnection required
Calls the NASA API with the connection's credentials.
List every file that makes up one Image and Video Library asset.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- API key
- Providers
- NASA
- Secret shape
- the API key, or {"api_key": "…"}
- Config it needs
- base_url, images_base_url
- Resolved by
- config.connection_id, else node.connection_id
Configuration
1 field, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
nasa_id The media asset's NASA ID, as returned by a library search. | string | Yes | — | — | as11-40-5874 |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"nasa_id": "as11-40-5874"
}Output
One shape.
result
| Field | Type | Example |
|---|---|---|
nasa_id The asset that was read. | string | — |
items The asset's files, as the library returned them. | array | — |
hrefs Just the file URLs, in the same order. | array | — |
count How many files the asset has. | number | — |
{
"count": 0,
"hrefs": [],
"items": [],
"nasa_id": ""
}Notes
- images-api.nasa.gov is a separate host that takes no API key, so this node sends no credential.
See Get Media Asset run in a workflow.
In a technical demo we add the NASA connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.