Kestra Plugin List

Kestra Plugin List

Certified

List assets with filters

Searches assets for the current tenant with optional namespace, type, and metadata filters. Supports pagination (size defaults to 100) or fetches all pages when no page is set.

yaml
type: io.kestra.plugin.kestra.ee.assets.List

List assets matching the filters.

yaml
id: asset_list
namespace: company.team

tasks:
  - id: list_assets
    type: io.kestra.plugin.kestra.ee.assets.List
    namespace: "assets.data"
    types:
        - TABLE
    metadataQuery:
        - field: system
          type: EQUAL_TO
          value: "{{ outputs.task.system }}"
        - field: database
          type: EQUAL_TO
          value: "my-project"
        - field: schema
          type: NOT_EQUAL_TO
          value: "public"
        - field: name
          type: EQUAL_TO
          value: "customers_by_country"
    fetchType: FETCH # or STORE to get an ION file in output with the list of assets
Properties

Select API authentication

Use either an API token or HTTP Basic (username/password); do not provide both.

Definitions
apiTokenstring

API token for bearer auth

autobooleanstring
Defaulttrue

Automatically retrieve credentials from Kestra's configuration if available

The default configuration can be configured globally inside the Kestra configuration file:

  • Set kestra.tasks.sdk.authentication.api-token to use an API token
  • Set kestra.tasks.sdk.authentication.username and kestra.tasks.sdk.authentication.password for HTTP basic authentication
  • Set kestra.tasks.sdk.authentication.url to also default the Kestra API endpoint (see kestraUrl above) The Enterprise edition also provides setting a default configuration at the Namespace or Tenant level by an administrator. Set to false to also opt out of the default URL.
passwordstring

Password for HTTP Basic auth

usernamestring

Username for HTTP Basic auth

DefaultSTORE
Possible Values
STOREFETCHFETCH_ONENONE

Output fetch type

Defines how results are returned (e.g., FETCH for direct output, STORE to persist as a file).

Override Kestra API endpoint

URL used for calls to the Kestra API. When null, falls back to the url configured alongside the default SDK authentication (Namespace or Tenant level, Enterprise edition), then renders {{ kestra.url }} from configuration; if still empty, defaults to http://localhost: 8080. Trailing slashes are stripped before use.

Metadata filters

Definitions
fieldstring
typestring
Possible Values
EQUAL_TONOT_EQUAL_TO
valuestring

Namespace filter

Page number

If omitted, all pages are iterated. Set to 1+ to fetch a single page with size items.

Reference (ref) of the pluginDefaults to apply to this task.

Default100

Page size

Number of assets per page; defaults to 100.

Override target tenant

Tenant identifier applied to API calls; defaults to the current execution tenant.

SubTypestring

Asset types to match

First fetched asset

Only populated if using fetchType=FETCH_ONE.

Definitions
createdstring
Formatdate-time
deletedboolean
descriptionstring
displayNamestring
idstring
metadataobject
namespacestring
typestring
updatedstring
Formatdate-time

List containing the fetched assets

Only populated if using fetchType=FETCH.

Definitions
createdstring
Formatdate-time
deletedboolean
descriptionstring
displayNamestring
idstring
metadataobject
namespacestring
typestring
updatedstring
Formatdate-time

The number of fetched assets. Only populated if FetchType != NONE

Formaturi

Kestra's internal storage URI of the stored assets

Only populated if using fetchType=STORE.