curl --request POST \
  --url https://{tenant_name}.{region}.techwolf.ai/job_architecture/jobs/metrics/adoption_metrics \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "queries": [
    {
      "query_id": "query-id",
      "filters": [
        {
          "filter": "attribute",
          "attribute_name": "job_family",
          "operator": "eq",
          "attribute_value": "abc-123"
        }
      ]
    }
  ]
}'
{
  "results": [
    {
      "query_id": "query-123-abc",
      "metrics": {
        "domains": [
          {
            "domain_name": "IT",
            "external_id": "abdcde-domain",
            "skill_clusters": [
              {
                "external_id": "abdcde-cluster",
                "skill_cluster_name": "Software Engineering",
                "skills": [
                  {
                    "skill_id": "abcde-skill-1",
                    "skill_name": "Automated Testing",
                    "unique_job_count": 1
                  }
                ],
                "sum_job_skill_count": 1,
                "unique_skill_count": 1,
                "unique_job_count": 1
              }
            ],
            "sum_job_skill_count": 1,
            "unique_skill_count": 1,
            "unique_job_count": 1
          }
        ],
        "skills_outside_taxonomy": {
          "skills": [
            {
              "skill_id": "abcde-skill-2",
              "skill_name": "Software Debugging",
              "unique_job_count": 15
            }
          ],
          "sum_job_skill_count": 15,
          "unique_skill_count": 1,
          "unique_job_count": 15
        },
        "sum_job_skill_count": 16,
        "unique_skill_count": 2,
        "unique_job_count": 16,
        "total_job_skill_count": 16
      }
    }
  ]
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json

List of adoption metric queries. Each query corresponds with adoption metrics aggregated across the requested collection of objects.

queries
object[]
required

Response

200
application/json
OK

Response structure for Job Architecture Metrics. Metrics are expressed in the structure of your Taxonomy. When a Skill is not represented in the Taxonomy, it will be included in the "Skills outside of the Taxonomy" Domain.

results
object[]
required

A list of metrics related to the requested collection of Jobs.