Harness · Schema

Account

Account details defined in Harness.

DevOpsGitOpsInternal Developer PortalLifecycleSoftware DeliveryCI/CDContinuous DeliveryContinuous Integration

Properties

Name Type Description
identifier string Account Identifier.
name string Name of the Account.
companyName string Name of the Company.
accountType string Type of the Account
accountStatus string Status of the Account
cluster string Name of the cluster associated with this Account.
defaultExperience string Default experience of the Account.
authenticationMechanism string Authentication mechanism associated with the account.
serviceAccountConfig object
createdAt integer Account creation time in epoch
expiryTime integer Account's license expiry time in epoch
ringName string Specifies delegate ring version for account
subdomainURL string Specifies subdomain url for account
sessionTimeoutInMinutes integer SessionTimeout in minutes
publicAccessEnabled boolean Specifies if Account has public access enabled.
absoluteSessionTimeoutInMinutes integer Absolute SessionTimeout in minutes
pricingType string Specifies the pricing type of account
edition string Specified the edition of account in flex pricing model
contractStartDate integer Contract Start Date in epoch
contractEndDate integer Contract End Date in epoch
harnessSupportAccessAllowed boolean
twoFactorAdminEnforced boolean
nextGenEnabled boolean
crossGenerationAccessEnabled boolean
cannyUsernameAbbreviationEnabled boolean
productLed boolean
oauthEnabled boolean
View JSON Schema on GitHub

JSON Schema

harness-account-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/harness/main/json-schema/harness-account-schema.json",
  "title": "Account",
  "description": "Account details defined in Harness.",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/harness-accounts-api-openapi.yml#/components/schemas/Account",
  "type": "object",
  "properties": {
    "identifier": {
      "type": "string",
      "description": "Account Identifier."
    },
    "name": {
      "type": "string",
      "description": "Name of the Account."
    },
    "companyName": {
      "type": "string",
      "description": "Name of the Company."
    },
    "accountType": {
      "type": "string",
      "description": "Type of the Account"
    },
    "accountStatus": {
      "type": "string",
      "description": "Status of the Account"
    },
    "cluster": {
      "type": "string",
      "description": "Name of the cluster associated with this Account."
    },
    "defaultExperience": {
      "type": "string",
      "description": "Default experience of the Account.",
      "enum": [
        "NG",
        "CG"
      ]
    },
    "authenticationMechanism": {
      "type": "string",
      "description": "Authentication mechanism associated with the account.",
      "enum": [
        "USER_PASSWORD",
        "SAML",
        "LDAP",
        "OAUTH",
        "OIDC"
      ]
    },
    "serviceAccountConfig": {
      "$ref": "#/$defs/ServiceAccountConfig"
    },
    "createdAt": {
      "type": "integer",
      "description": "Account creation time in epoch",
      "format": "int64"
    },
    "expiryTime": {
      "type": "integer",
      "description": "Account's license expiry time in epoch",
      "format": "int64"
    },
    "ringName": {
      "type": "string",
      "description": "Specifies delegate ring version for account"
    },
    "subdomainURL": {
      "type": "string",
      "description": "Specifies subdomain url for account"
    },
    "sessionTimeoutInMinutes": {
      "type": "integer",
      "description": "SessionTimeout in minutes",
      "format": "int32"
    },
    "publicAccessEnabled": {
      "type": "boolean",
      "description": "Specifies if Account has public access enabled."
    },
    "absoluteSessionTimeoutInMinutes": {
      "type": "integer",
      "description": "Absolute SessionTimeout in minutes",
      "format": "int32"
    },
    "pricingType": {
      "type": "string",
      "description": "Specifies the pricing type of account",
      "enum": [
        "FLEX",
        "CLASSIC"
      ]
    },
    "edition": {
      "type": "string",
      "description": "Specified the edition of account in flex pricing model",
      "enum": [
        "COMMUNITY",
        "FREE",
        "TEAM",
        "ENTERPRISE",
        "STARTUP",
        "DEVOPS_ESSENTIALS",
        "ESSENTIALS"
      ]
    },
    "contractStartDate": {
      "type": "integer",
      "description": "Contract Start Date in epoch",
      "format": "int64"
    },
    "contractEndDate": {
      "type": "integer",
      "description": "Contract End Date in epoch",
      "format": "int64"
    },
    "harnessSupportAccessAllowed": {
      "type": "boolean"
    },
    "twoFactorAdminEnforced": {
      "type": "boolean"
    },
    "nextGenEnabled": {
      "type": "boolean"
    },
    "crossGenerationAccessEnabled": {
      "type": "boolean"
    },
    "cannyUsernameAbbreviationEnabled": {
      "type": "boolean"
    },
    "productLed": {
      "type": "boolean"
    },
    "oauthEnabled": {
      "type": "boolean"
    }
  },
  "$defs": {
    "ServiceAccountConfig": {
      "type": "object",
      "properties": {
        "apiKeyLimit": {
          "type": "integer",
          "format": "int64"
        },
        "tokenLimit": {
          "type": "integer",
          "format": "int64"
        }
      },
      "description": "Service Account configuration associated with this Account."
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/harness-account"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.