Skip to content
Maua.Culturewire

Harness

Continuous delivery: pipelines, executions, services, environments

Developer toolsCatalog1 tool · 0 triggers

Managed auth

Authentication

Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.

  • API key

    Your users enter

    • Access token (pat.… or sat.…)SecretRequired
    • Harness addressOptionalHTTPS URL

    Where to find them

    1. In Harness open your profile (bottom left) → “My Profile” → “+ API Key” and create a key (or use a service account in “Account Settings” → “Access Control” → “Service Accounts”).
    2. Inside the key click “+ Token”, give it a name and an expiration and copy the token (pat.… or sat.…): it is shown only once.
    3. You do not need to enter the account ID: it is read from the token itself.

Tools (1)

  • Harness API requestHARNESS_SEND_REQUEST

    Authenticated call to the Harness API ({url}). Any endpoint of the API is allowed. Examples (accountIdentifier is added automatically): GET /ng/api/projects?pageSize=20, GET /ng/api/organizations, POST /pipeline/api/pipelines/list?orgIdentifier=default&projectIdentifier=…&page=0&size=20 {"filterType": "PipelineSetup"}.

    Required scopes

    No scopes required

    Input

    Harness API request input
    NameTypeDescription
    methodstringHTTP methodOne of: GET, POST, PUT, PATCH, DELETEDefault: "GET"
    pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link)
    queryobjectQuery string parameters
    bodyunknownJSON body
    formobjectBody as application/x-www-form-urlencoded instead of JSON
    body_base64stringBinary body, base64 (at most 960000 characters)
    content_typestringContent-Type of body_base64
    headersobjectExtra headers such as Accept. Authentication is added automatically.