openapi: 3.2.0 info: description: 'The API for Relay by Flume Health. For more information about how Flume can power your health plan, please [contact us](mailto:sales@flumehealth.com). [Redoc](/api/docs/) | [Swagger - Try It](/api/swagger/) ' title: Flume Console Reports API contact: {} version: '1.0' x-logo: altText: Flume Health url: https://public-static.flume.health/front/logo-margin-512.png servers: - url: https://console.flumehealth.com/ - url: http://console.flumehealth.com/ tags: - name: Reports paths: /api/v1/reports/groupsTraded: get: description: Generates the Groups Traded Report tags: - Reports summary: Groups Traded Report operationId: groupsTradedReport parameters: - description: X-Flume-Account-ID name: X-Flume-Account-ID in: header schema: type: string - description: Filetype to return (csv or json) name: view in: query schema: type: string responses: '200': description: OK content: application/json: schema: type: array items: $ref: '#/components/schemas/report.GroupsTradedLine' '400': description: Bad Request content: application/json: schema: $ref: '#/components/schemas/responses.ErrorResponse' '500': description: Internal Server Error content: application/json: schema: $ref: '#/components/schemas/responses.ErrorResponse' default: description: '' content: application/json: schema: $ref: '#/components/schemas/responses.ErrorResponse' security: - OAuth2Implicit: - openid - profile - email components: schemas: report.GroupsTradedLine: type: object properties: accountId: type: integer groups: type: integer month: type: string tradingPartner: type: string responses.ErrorResponse: type: object properties: code: type: integer details: type: array items: type: string message: type: string securitySchemes: OAuth2Implicit: type: oauth2 flows: implicit: scopes: email: User email address openid: OpenID Connect scope profile: User profile information authorizationUrl: https://auth.flumehealth.com/authorize?audience=https://console.flumehealth.com/api