Volver al catálogo

Harness

harness

Harness Core CD APIs for managing pipelines, executions, services, environments, infrastructure, input sets, triggers, and templates.

Acciones
7
Triggers
0
Autenticación
—
OAuth gestionado
No
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

Acciones disponibles (7)

Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.

List EnvironmentsHARNESS_LIST_ENVIRONMENTSAcción

List one page of environments in a Harness project, optionally filtered by identifiers or search text.

Parámetros de entrada

  • sortstring[]

    Sort criteria written as field,direction, where direction is ASC or DESC.

  • cursorstring

    Continuation cursor from a previous response; omit for the first page and pass the returned value unchanged to fetch the next page.

  • page_sizeinteger

    Maximum environments to return in this page.

  • search_termstring

    Filter environments by matching name or identifier.

  • org_identifierstring

    Harness organization identifier; omit to use the connection default.

  • project_identifierstring

    Harness project identifier; omit to use the connection default.

  • environment_identifiersstring[]

    Return only environments with these identifiers.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Pipeline ExecutionsHARNESS_LIST_EXECUTIONSAcción

List one page of pipeline executions in a Harness project, optionally filtered by pipeline, status, search text, or current-user ownership.

Parámetros de entrada

  • sortstring[]

    Sort criteria written as field,direction, where direction is ASC or DESC.

  • cursorstring

    Continuation cursor from a previous response's next_cursor. Omit for the first page; pass the returned value back verbatim to fetch the next page.

  • statusesstring[]

    Return executions whose status is one of these Harness execution states.

  • page_sizeinteger

    Maximum executions to return in this page.

  • search_termstring

    Filter executions by matching pipeline name, identifier, or tags.

  • org_identifierstring

    Harness organization identifier; omit to use the connection default.

  • triggered_by_meboolean

    Whether to return only executions triggered by the connected Harness user.

  • project_identifierstring

    Harness project identifier; omit to use the connection default.

  • pipeline_identifierstring

    Return executions for this exact pipeline identifier.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List OrganizationsHARNESS_LIST_ORGANIZATIONSAcción

List one page of Harness organizations accessible to the connected account, optionally filtered by identifier or search text.

Parámetros de entrada

  • cursorstring

    Continuation cursor from a previous response; omit for the first page and pass the returned value unchanged to fetch the next page.

  • page_sizeinteger

    Maximum organizations to return in this page (1-100).

  • identifiersstring[]

    Return only organizations with these identifiers.

  • search_termstring

    Filter organizations by matching name, identifier, or tag.

  • sort_ordersstring[]

    Ordered sort criteria, each supplied as a JSON-encoded object string with fieldName and orderType, for example ['{"fieldName":"name","orderType":"ASC"}'].

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List PipelinesHARNESS_LIST_PIPELINESAcción

List one page of pipelines in a Harness project, optionally filtered by search text or Git branch.

Parámetros de entrada

  • sortstring[]

    Sort criteria written as field,direction, where direction is ASC or DESC.

  • branchstring

    Filter Git-backed pipeline definitions by branch.

  • cursorstring

    Continuation cursor from a previous call; omit for the first page.

  • page_sizeinteger

    Maximum pipelines to return in this page (1-200).

  • search_termstring

    Filter pipelines by matching name, identifier, or tags.

  • org_identifierstring

    Harness organization identifier; omit to use the connection default.

  • project_identifierstring

    Harness project identifier; omit to use the connection default.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List ProjectsHARNESS_LIST_PROJECTSAcción

List one page of Harness projects accessible to the connected account, optionally within an organization or filtered by module and search text.

Parámetros de entrada

  • cursorstring

    Continuation cursor from a previous call; omit for the first page.

  • page_sizeinteger

    Maximum projects to return in this page (1-100).

  • identifiersstring[]

    Return only projects with these identifiers.

  • module_typestringenum

    Return projects that have this Harness module, such as CD for Continuous Delivery.

    CDCICVCFCESTOCHAOSAI_TEST_AUTOMATIONSRMIACMCETIDP+19
  • search_termstring

    Filter projects by matching name, identifier, or tag.

  • sort_ordersstring[]

    Ordered sort criteria, each supplied as a JSON-encoded object string with fieldName and orderType, for example ['{"fieldName":"name","orderType":"ASC"}'].

  • only_favoritesboolean

    Whether to return only projects marked as favorites.

  • org_identifierstring

    Organization identifier to filter projects; when omitted, use the connection default if configured or search across accessible organizations.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List ServicesHARNESS_LIST_SERVICESAcción

List one page of services in a Harness project, optionally filtered by identifiers, deployment type, tags, storage, GitOps state, or search text.

Parámetros de entrada

  • sortstring[]

    Sort criteria written as field,direction, where direction is ASC or DESC.

  • tagsstring[]

    Filter by tags written as key:value or key; a service may match any supplied tag.

  • cursorstring

    Continuation cursor from a previous call; omit for the first page.

  • page_sizeinteger

    Maximum services to return in this page (1-1000).

  • store_typestringenum

    Filter by entity storage: Harness inline, Git remote, or Harness Code inline.

    INLINEREMOTEINLINE_HC
  • search_termstring

    Filter services by matching name or identifier.

  • service_typestringenum

    Filter by Harness service deployment type.

    KubernetesNativeHelmSshWinRmServerlessAwsLambdaAzureWebAppAzureFunctionCustomDeploymentECSElastigroupTASAsg+9
  • gitops_enabledboolean

    Filter services by whether GitOps is enabled.

  • org_identifierstring

    Harness organization identifier; omit to use the connection default.

  • project_identifierstring

    Harness project identifier; omit to use the connection default.

  • service_identifiersstring[]

    Return only services with these identifiers.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List TemplatesHARNESS_LIST_TEMPLATESAcción

List one page of account-scoped Harness templates, optionally filtered by template state, entity or child type, identifier, name, description, or search text.

Parámetros de entrada

  • namesstring[]

    Return only templates with these names.

  • cursorstring

    Continuation cursor from a previous call; omit for the first page.

  • sort_bystringenum

    Template field to sort by.

    identifiernameupdated
  • page_sizeinteger

    Maximum templates to return in this page (1-100).

  • recursiveboolean

    Whether to include all accessible templates below the account scope.

  • sort_orderstringenum

    Sort direction; use with sort_by.

    ASCDESC
  • child_typesstring[]

    Filter templates by step or stage child type.

  • descriptionstring

    Filter templates by description text.

  • identifiersstring[]

    Return only templates with these identifiers.

  • search_termstring

    Filter templates by matching resource attributes.

  • entity_typesstring[]

    Filter templates by the Harness entities they define.

  • template_typestringenum

    Which template revisions to list: stable, latest updates, or all.

    STABLE_TEMPLATELAST_UPDATES_TEMPLATEALL

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not