{"info":{"title":"RTCOB Api Wrapper Sandbox","contact":{"name":"Realtime COB","email":"rtcob@optum.com"},"version":"v1","description":"Api Wrapper for RTCOB Integration Sandbox","termsOfService":"https://github.optum.com/pages/eaip-core-payer/legal/","x-shortDescription":"Api Wrapper for RTCOB Integration Sandbox"},"paths":{"/api/lookup":{"post":{"tags":["Cob"],"security":[{"gateway":["ben/rtcob:rtcob-lookup","ben/rtcob:rtcob-full-access"]}],"responses":{"200":{"content":{"text/json":{"schema":{"$ref":"#/components/schemas/ApiResponseContract"}},"text/plain":{"schema":{"$ref":"#/components/schemas/ApiResponseContract"}},"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponseContract"}}},"description":"Success"},"400":{"content":{"text/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}},"text/plain":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"text/json":{"schema":{}},"text/plain":{"schema":{}},"application/json":{"schema":{}}},"description":"Unauthorized"},"500":{"content":{"text/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}},"text/plain":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Server Error"},"504":{"content":{"text/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}},"text/plain":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Server Error"}},"requestBody":{"content":{"text/json":{"schema":{"$ref":"#/components/schemas/ApiRequestContract"}},"application/json":{"schema":{"$ref":"#/components/schemas/ApiRequestContract"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/ApiRequestContract"}}}}}},"/api/v1/mcp":{"post":{"tags":["MCP"],"summary":"Invoke an MCP tool","security":[{"gateway":["ben/rtcob:rtcob-full-access"]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/McpToolsCallResponse"}}},"description":"MCP tool result"},"400":{"description":"Invalid JSON-RPC request"},"401":{"description":"Unauthorized"}},"description":"JSON-RPC endpoint for MCP tool invocation. Use method `tools/call` and the `CobLookupV1` tool name to retrieve member details.","operationId":"McpToolsCall","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/McpToolsCallRequest"},"example":{"id":"lookup-1","method":"tools/call","params":{"name":"CobLookupV1","arguments":{"clientId":"00000000-0000-0000-0000-000000000000","consumerId":"00000000-0000-0000-0000-000000000000","memberInformation":{}}},"jsonrpc":"2.0"}}},"required":true}}},"/dep/pay-or-deny":{"post":{"tags":["Dep"],"security":[{"gateway":["ben/rtcob:rtcob-pay-or-deny","ben/rtcob:rtcob-full-access"]}],"responses":{"200":{"content":{"text/json":{"schema":{"$ref":"#/components/schemas/DepResponseContract"}},"text/plain":{"schema":{"$ref":"#/components/schemas/DepResponseContract"}},"application/json":{"schema":{"$ref":"#/components/schemas/DepResponseContract"}}},"description":"Success"},"400":{"content":{"text/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}},"text/plain":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"text/json":{"schema":{}},"text/plain":{"schema":{}},"application/json":{"schema":{}}},"description":"Unauthorized"},"500":{"content":{"text/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}},"text/plain":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Server Error"},"504":{"content":{"text/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}},"text/plain":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Server Error"}},"requestBody":{"content":{"text/json":{"schema":{"$ref":"#/components/schemas/ApiRequestContract"}},"application/json":{"schema":{"$ref":"#/components/schemas/ApiRequestContract"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/ApiRequestContract"}}}}}}},"x-slug":"rtcob","openapi":"3.0.1","servers":[{"url":"https://sandbox-apigw.optum.com/rtcob/lookup/v1","description":"Nonprod API Gateway"}],"security":[{"gateway":["ben/rtcob:rtcob-full-access"]},{"gateway":[]}],"x-domain":{"domain":"benefits"},"components":{"schemas":{"DateOnly":{"type":"object","properties":{"day":{"type":"integer","format":"int32"},"year":{"type":"integer","format":"int32"},"month":{"type":"integer","format":"int32"},"dayNumber":{"type":"integer","format":"int32","readOnly":true},"dayOfWeek":{"$ref":"#/components/schemas/DayOfWeek"},"dayOfYear":{"type":"integer","format":"int32","readOnly":true}},"additionalProperties":false},"DayOfWeek":{"enum":[0,1,2,3,4,5,6],"type":"integer","format":"int32"},"ErrorResponse":{"type":"object","properties":{"requestId":{"type":"string","nullable":true},"responseId":{"type":"string","nullable":true},"errorMessage":{"type":"string","nullable":true},"payIndicator":{"type":"boolean"},"memberPolicyInformation":{"$ref":"#/components/schemas/MemberPolicyInformation"}},"additionalProperties":false},"MemberInformation":{"type":"object","properties":{"ssn":{"type":"string","nullable":true},"zip":{"type":"string","nullable":true},"city":{"type":"string","nullable":true},"phone":{"type":"string","nullable":true},"state":{"type":"string","nullable":true},"gender":{"type":"string","nullable":true},"lastName":{"type":"string","nullable":true},"memberId":{"type":"string","nullable":true},"firstName":{"type":"string","nullable":true},"middleName":{"type":"string","nullable":true},"dateOfBirth":{"type":"string","nullable":true},"addressLineOne":{"type":"string","nullable":true},"addressLineTwo":{"type":"string","nullable":true},"memberPolicyId":{"type":"string","nullable":true},"dateOfServiceEnd":{"type":"string","nullable":true},"dateOfServiceBegin":{"type":"string","nullable":true}},"additionalProperties":false},"ApiRequestContract":{"type":"object","properties":{"clientId":{"type":"string","format":"uuid"},"requestId":{"type":"string","nullable":true},"consumerId":{"type":"string","format":"uuid"},"memberInformation":{"$ref":"#/components/schemas/MemberInformation"}},"additionalProperties":false},"ApiResponseContract":{"type":"object","properties":{"requestId":{"type":"string","nullable":true},"responseId":{"type":"string","nullable":true},"payIndicator":{"type":"boolean"},"memberPolicyInformation":{"$ref":"#/components/schemas/MemberPolicyInformation"}},"additionalProperties":false},"DepResponseContract":{"type":"object","properties":{"requestId":{"type":"string","nullable":true},"responseId":{"type":"string","nullable":true},"payIndicator":{"type":"boolean"},"memberPolicyInformation":{"$ref":"#/components/schemas/MemberPolicyInformation"}},"additionalProperties":false},"McpToolsCallRequest":{"type":"object","required":["jsonrpc","id","method","params"],"properties":{"id":{"type":"string","description":"Client-generated JSON-RPC request identifier."},"method":{"enum":["tools/call"],"type":"string"},"params":{"type":"object","required":["name","arguments"],"properties":{"name":{"enum":["CobLookupV1"],"type":"string"},"arguments":{"$ref":"#/components/schemas/ApiRequestContract"}},"additionalProperties":false},"jsonrpc":{"enum":["2.0"],"type":"string"}},"additionalProperties":false},"McpToolsCallResponse":{"type":"object","required":["jsonrpc","id"],"properties":{"id":{"type":"string","description":"Identifier copied from the JSON-RPC request."},"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"integer"},"data":{},"message":{"type":"string"}}},"result":{"type":"object","properties":{"content":{"type":"array","items":{"type":"object","required":["type","text"],"properties":{"text":{"type":"string"},"type":{"enum":["text"],"type":"string"}}}},"structuredContent":{"$ref":"#/components/schemas/ApiResponseContract"}}},"jsonrpc":{"enum":["2.0"],"type":"string"}}},"MemberPolicyInformation":{"type":"object","properties":{"bin":{"type":"string","nullable":true},"pcn":{"type":"string","nullable":true},"policyId":{"type":"string","nullable":true},"groupName":{"type":"string","nullable":true},"payerName":{"type":"string","nullable":true},"carrierName":{"type":"string","nullable":true},"groupNumber":{"type":"string","nullable":true},"coverageType":{"type":"string","nullable":true},"relationship":{"type":"string","nullable":true},"subGroupNumber":{"type":"string","nullable":true},"coverageTypeGrp":{"type":"string","nullable":true},"orderOfBenefits":{"type":"string","nullable":true},"coverageTypeDesc":{"type":"string","nullable":true},"ohiEffectiveDate":{"$ref":"#/components/schemas/DateOnly"},"policyPersonCode":{"type":"string","nullable":true},"ohiTerminationDate":{"$ref":"#/components/schemas/DateOnly"}},"additionalProperties":false}},"securitySchemes":{"gateway":{"type":"oauth2","flows":{"clientCredentials":{"scopes":{"ben/rtcob:rtcob-lookup":"Scope to access lookup","ben/rtcob:rtcob-full-access":"Scope to access all endpoints","ben/rtcob:rtcob-pay-or-deny":"Scope to access pay or deny","https://api.uhg.com/.default":"Default scope assigned to all clients"},"tokenUrl":"https://api-stg.uhg.com/oauth2/token"}},"x-auth":{"idp":{"headers":["default","oauth2"]}},"description":"This API uses oauth2"},"oidc-introspection-sentinel":{"type":"openIdConnect","x-auth":{"idp":{"type":"sentinel","headers":["sentinel"]},"validation":"introspection"},"openIdConnectUrl":"https://idx.linkhealth.com/auth/realms/developer-platform/.well-known/openid-configuration"}}},"x-apiState":"active","x-instance":{"path":"/","probe":{"path":"/","method":"GET"},"backends":[{"host":"rtcob-api-uat.optum.com","port":443,"weight":100,"location":"azure-centralus"}],"protocol":"https","timeouts":{"read":30000,"write":9000,"connect":2000},"rate-limit":{"by":"consumer","limits":[{"limit":{"rate":30,"unit":"second"},"consumerId":"ab22a4b1-b397-4e7c-82c5-0360183a8dac"},{"limit":{"rate":30,"unit":"second"},"consumerId":"36df48b6-2e90-476e-8f93-a5cd210a499f"},{"limit":{"rate":30,"unit":"second"},"consumerId":"439081d8-cc62-43dc-9e40-3bb7809a5ef9"},{"limit":{"rate":200,"unit":"second"},"consumerId":"e62437fc-2185-4d90-895f-e073003bb317"},{"limit":{"rate":30,"unit":"second"},"consumerId":"728a3039-e6ef-4d37-abf3-4ace27b63b84"}],"enabled":true},"x-spec-expose":{"enabled":false,"specExposeUrl":""}},"x-comingSoon":{"comingSoonEnabled":false,"replacementResources":[]},"x-idp-header":"Authentication_IDP","x-environment":"uat","x-catalogEnabled":true,"x-sensitive-data":{"isSensitiveData":false},"x-serviceLevelObjectives":{"x-throughput":"10","x-availability":"99.99","x-responseTime":"9000","x-maxMsgsPerDay":"10000","x-maxMsgsPerHour":"500","x-maxPayloadSize":"10","x-expectedMsgsPerDay":"10000"},"x-readme":{"explorer-enabled":true,"proxy-enabled":true}}