# Humanitec MatchingCriteria API

**Canonical:** https://apis.io/apis/humanitec/humanitec-matchingcriteria-api/  
**Provider:** Humanitec — https://apis.io/providers/humanitec/  
**Base URL:** https://api.humanitec.io  
**Documentation:** https://developer.humanitec.com/platform-orchestrator/reference/api-references/

Humanitec MatchingCriteria API is one of 45 APIs that [Humanitec](https://apis.io/providers/humanitec/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. Tagged areas include MatchingCriteria. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, a getting-started guide, and authentication docs.

Matching Criteria are a set of rules used to choose which Resource Definition to use to provision a particular Resource Type. Matching criteria are made up in order of specificity with least specific first: - Environment Type (`env_type`) - Application (`app_id`) - Environment (`env_id`) - Resource (`res_id`) When selecting matching criteria, the most specific one is selected. In general, this means of all the Matching Criteria fully matching the context, the Matching Criteria Rule with the most specific element filled is chosen. If there is a tie, the next most specific elements are compared and so on until one is chosen. **NOTE:** Humanitec will reject the registration of matching criteria rules that duplicate rules already present for a Resource Type. <SchemaDefinition schemaRef="#/components/schemas/MatchingCriteriaResponse" />

## Machine-readable artifacts (5)

- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/humanitec/refs/heads/main/openapi/humanitec-matchingcriteria-api-openapi.yml
- **Documentation** — https://developer.humanitec.com/platform-orchestrator/reference/api-references/
- **GettingStarted** — https://developer.humanitec.com/introduction/overview/
- **Authentication** — https://developer.humanitec.com/platform-orchestrator/security/api-tokens/
- **Rules** — https://raw.githubusercontent.com/api-evangelist/humanitec/refs/heads/main/humanitec-rules.yml

## Other Humanitec APIs (12)

- [Humanitec AccountType API](https://apis.io/apis/humanitec/humanitec-accounttype-api/)
- [Humanitec ActiveResource API](https://apis.io/apis/humanitec/humanitec-activeresource-api/)
- [Humanitec Agents API](https://apis.io/apis/humanitec/humanitec-agents-api/)
- [Humanitec Application API](https://apis.io/apis/humanitec/humanitec-application-api/)
- [Humanitec Artefact API](https://apis.io/apis/humanitec/humanitec-artefact-api/)
- [Humanitec ArtefactVersion API](https://apis.io/apis/humanitec/humanitec-artefactversion-api/)
- [Humanitec AuditLogs API](https://apis.io/apis/humanitec/humanitec-auditlogs-api/)
- [Humanitec AutomationRule API](https://apis.io/apis/humanitec/humanitec-automationrule-api/)
- [Humanitec Delta API](https://apis.io/apis/humanitec/humanitec-delta-api/)
- [Humanitec Deployment API](https://apis.io/apis/humanitec/humanitec-deployment-api/)
- [Humanitec DriverDefinition API](https://apis.io/apis/humanitec/humanitec-driverdefinition-api/)
- [Humanitec Environment API](https://apis.io/apis/humanitec/humanitec-environment-api/)

## Tags

MatchingCriteria

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/humanitec/humanitec-matchingcriteria-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/humanitec/.
