openapi: 3.2.0 info: title: APImetrics Session API description: API for the APImetrics platform termsOfService: http://apimetrics.io/tos/ contact: name: APIContext Support url: https://apicontext.io/ email: support@apicontext.com license: name: Apache 2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html version: v2026-09-02 tags: - name: Session description: Session endpoints preserved from the legacy API. paths: /api/2/logout: get: tags: - Session summary: Logout description: Clear the legacy session cookie. Always returns ``"OK"``. operationId: logout responses: '200': description: Successful Response content: application/json: schema: type: string title: Response Logout deprecated: true components: securitySchemes: OAuth2: type: oauth2 flows: authorizationCode: scopes: openid: OpenID Connect identity profile: User profile email: User email address authorizationUrl: https://auth.apimetrics.io/authorize?audience=https://client.apimetrics.io tokenUrl: https://auth.apimetrics.io/oauth/token ApiKey: type: apiKey in: header name: X-Api-Key