Skip to main content

Get Company Matrix

GET/companies/{id}/competency-matrix

Access​

RequirementValue
Scoperead:companies
Company-scoped keysSupported
Agency-scoped keysSupported within agency access

Summary​

Returns the competency requirements configured for a company. Supply projectId to resolve the effective requirements for a specific project, including applicable inherited and project-level rules.

Path Parameters​

NameTypeRequiredDescription
idstringYesCompany identifier

Query Parameters​

NameTypeRequiredDescription
projectIdstringNoProject identifier. When supplied, returns the effective competency matrix for that project. Additive project requirements are combined with the project's sector or company matrix; replacement project requirements are returned on their own.

Request Example​

curl -X GET 'https://api.requidex.com/api/open/v1/companies/{id}/competency-matrix' \
-H 'Authorization: Bearer <API_KEY>' \
-H 'Accept: application/json'

To retrieve the effective matrix for a project, pass projectId:

curl -X GET 'https://api.requidex.com/api/open/v1/companies/{id}/competency-matrix?projectId={projectId}' \
-H 'Authorization: Bearer <API_KEY>' \
-H 'Accept: application/json'

Response Fields​

FieldTypeDescription
companyobjectCompany reference with id and name
Show child attributes
  • id string or null — Entity id
  • name string — Entity name
projectobjectProject reference with id and name. Returned when projectId is supplied.
Show child attributes
  • id string or null — Entity id
  • name string — Entity name
entriesarrayCompetency matrix entries for the company, or effective project entries when projectId is supplied
Show child attributes
  • trade object or null
    Show child attributes
    • id string or null — Trade id
    • name string — Trade name
  • project object or null
    Show child attributes
    • id string or null — Entity id
    • name string — Entity name
  • sector object or null
    Show child attributes
    • id string or null — Entity id
    • name string — Entity name
  • source string — Scope that supplied this matrix entry. For projectId requests, project means a project override, sector means the project's sector fallback, and company means the company base fallback.
  • requirements array of objects
    Show child attributes
    • rule string — Requirement rule
    • items array of objects
      Show child attributes
      • name string — Qualification name
    • groups array of objects
      Show child attributes
      • items array of objects
        Show child attributes
        • name string — Qualification name

Each entry includes:

  • trade, project, sector, source, requirements
  • trade contains id and name
  • project is populated when the entry is a project override, otherwise null
  • source is project, sector, or company to show which scope supplied the entry
  • requirements is an array of rule objects with items and grouped items, each containing qualification name only

Response Example (200)​

{
"success": true,
"data": {
"company": {
"id": "67bc36db80a1616ec3f47001",
"name": "Requidex Construction Ltd"
},
"project": {
"id": "67bc36db80a1616ec3f47055",
"name": "Project Alpha"
},
"entries": [
{
"trade": {
"id": "67bc36db80a1616ec3f47031",
"name": "Electrician"
},
"project": {
"id": "67bc36db80a1616ec3f47055",
"name": "Project Alpha"
},
"sector": null,
"source": "project",
"requirements": [
{
"rule": "mandatory",
"items": [
{
"name": "ECS Gold Card"
}
],
"groups": []
}
]
}
]
}
}

MCP Tool​

The MCP server exposes this operation as open_api_get_company_competency_matrix with the inputs id and projectId.

Errors​

HTTP StatusDescription
400Invalid or missing company id
401Missing, invalid, revoked, or expired API key
403Forbidden due to scope, IP restrictions, or company access
404Company not found
405Method not allowed on Open API routes
429Rate limit exceeded
500Unexpected internal error