StepAction APIs
List the Hub StepActions visible from a Workspace Namespace or retrieve a requested set of StepActions in one batch. Text search is performed by clients over the list response; this endpoint does not accept a server-side search expression.
/api/v1alpha1/stepactions
get List Hub StepActions
Returns the StepActions visible from the requested Namespace. Visibility filtering happens before pagination. The API does not provide a server-side text-search parameter; clients can search or filter the returned list. This operation requires list permission on hub.tekton.dev/resources.
Parameters
namespace(in query):stringWorkspace Namespace used for authorization and catalog visibility filtering. It must be a DNS-1123 label. When omitted, the response uses the legacy unscoped catalog view. Generated
apiPathandmanifestURLvalues preserve this parameter.includeContent(in query):booleanWhether list items include README and manifest content. Detail and batch responses always include content.
offset(in query):integerZero-based offset applied after visibility filtering.
limit(in query):integerMaximum number of items to return. When supplied, the server caps it at
config.maxBatchQuerySize, which defaults to 200. When omitted, all items afteroffsetare returned.
Response
200HubResourceList: The requested Hub resources.400ErrorResponse: The Namespace, query parameter, path, or request body is invalid.401ErrorResponse: The Authorization header is missing or the Bearer token is invalid.403ErrorResponse: The authenticated caller is not allowed to access Hub resources in the Namespace.404ErrorResponse: The Namespace or resource does not exist, or the catalog is not visible from the Namespace. Hidden catalogs intentionally use the same status as missing resources.500ErrorResponse: Indexed README or manifest content could not be resolved.503ErrorResponse: The Hub index, authentication service, or Namespace lookup service is temporarily unavailable.
post Batch-query Hub StepActions
Returns the requested StepActions in request order. The request is atomic: if any resource is missing or not visible from the Namespace, the entire request returns 404. The default deployment accepts at most 200 entries and limits the JSON body to 1 MiB. This operation requires list permission on hub.tekton.dev/resources.
Parameters
namespace(in query):stringWorkspace Namespace used for authorization and catalog visibility filtering. It must be a DNS-1123 label. When omitted, the response uses the legacy unscoped catalog view. Generated
apiPathandmanifestURLvalues preserve this parameter.
Request Body
StepActionBatchRequestrequired
Response
200HubResourceList: The requested Hub resources.400ErrorResponse: The Namespace, query parameter, path, or request body is invalid.401ErrorResponse: The Authorization header is missing or the Bearer token is invalid.403ErrorResponse: The authenticated caller is not allowed to access Hub resources in the Namespace.404ErrorResponse: The Namespace or resource does not exist, or the catalog is not visible from the Namespace. Hidden catalogs intentionally use the same status as missing resources.413ErrorResponse: The batch request body exceeds 1 MiB.500ErrorResponse: Indexed README or manifest content could not be resolved.503ErrorResponse: The Hub index, authentication service, or Namespace lookup service is temporarily unavailable.
HubResourceList
metadata: ListMetadataitems:[]HubResource
ListMetadata
resourceVersion:stringReserved for Kubernetes list compatibility; normally empty.
HubResource
metadata: ObjectMetadataspec: HubResourceSpec
ObjectMetadata
name:stringHub resource name.
uid:stringDeterministic Artifact Hub Shim identifier.
labels:map[string]stringannotations:map[string]string
HubResourceSpec
version:stringSelected original catalog version.
available_versions:[]stringOriginal catalog versions sorted from oldest to newest.
apiPath:stringVersionless resource-detail path relative to
/api/v1alpha1/.tags:[]stringreadme:stringREADME Markdown. Empty when
includeContent=falseon a list request.platforms:[]stringmanifest:stringRaw Tekton YAML. Empty when
includeContent=falseon a list request.manifestURL:stringPath to the raw YAML endpoint for the selected version.
description:stringHuman-readable resource description.
raw:objectReserved compatibility field for additional resource data.
BadRequest
The Namespace, query parameter, path, or request body is invalid.
ErrorResponse
error:stringHuman-readable error message.
Unauthorized
The Authorization header is missing or the Bearer token is invalid.
Forbidden
The authenticated caller is not allowed to access Hub resources in the Namespace.
NotFound
The Namespace or resource does not exist, or the catalog is not visible from the Namespace. Hidden catalogs intentionally use the same status as missing resources.
InternalServerError
Indexed README or manifest content could not be resolved.
ServiceUnavailable
The Hub index, authentication service, or Namespace lookup service is temporarily unavailable.
StepActionBatchRequest
Metadata for the StepActions to retrieve.
HubResourceBatchRequest
Batch lookup entries. The configured maximum can differ from the documented default of 200.
HubResourceLookup
catalog:stringRepository or catalog name.
kind:stringname:stringHub resource name.
version:stringOptional version. When omitted, the latest version is returned.
HubResourceKind
PayloadTooLarge
The batch request body exceeds 1 MiB.