overlay: 1.0.0 info: title: API Evangelist enhancements for Metriport Consolidated Facility API version: 1.0.0 x-generated: '2026-08-14' x-method: generated x-source: 'Extends openapi/metriport-facility-api-openapi.yml with the runtime semantics Metriport documents in prose but does not express in a machine-readable contract: published per-operation rate limits, ETag concurrency, cursor pagination, the error envelope, and the retirement status of the Devices API operations. The original OpenAPI is never mutated.' extends: openapi/metriport-facility-api-openapi.yml actions: - target: $.info description: Record the cross-cutting runtime semantics Metriport documents outside the spec. update: x-conventions: conventions/metriport-conventions.yml x-errors: errors/metriport-problem-types.yml x-lifecycle: lifecycle/metriport-lifecycle.yml x-rate-limits: rate-limits/metriport-rate-limits.yml x-webhooks: asyncapi/metriport-webhooks.yml x-error-envelope: Every failure returns {"status","name","title","detail"} as application/json. RFC 7807-inspired, not RFC 7807 or RFC 9457 conformant. See https://docs.metriport.com/medical-api/more-info/error-responses x-idempotency: Not supported. Metriport documents no Idempotency-Key header; retrying a POST is not safe by contract. Updates use ETag/If-Match optimistic concurrency instead (412 on mismatch). x-rate-limit-headers: None published. No X-RateLimit-* or RateLimit-* response headers and no documented status code on exhaustion. - target: $.paths['/medical/v1/facility'].get description: Annotate listFacilities. update: x-pagination: style: cursor params: - count - fromItem - toItem default_count: 50 max_count: 500 response: - meta.itemsOnPage - meta.itemsInTotal - meta.nextPage - meta.prevPage source: https://docs.metriport.com/medical-api/handling-data/pagination - target: $.paths['/medical/v1/facility/{id}'].put description: Annotate updateFacility. update: x-concurrency: mechanism: ETag request: If-Match header, or an eTag property in the body (header wins) conflict_status: 412 source: https://docs.metriport.com/medical-api/more-info/etag