{
  "opencollection": "1.0.0",
  "info": {
    "name": "Composio Platform Account Management Session API",
    "version": "3.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Session",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get current user session information",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://backend.composio.dev/api/v3/auth/session/info",
            "auth": {
              "type": "apikey",
              "key": "x-api-key",
              "value": "{{x-api-key}}",
              "placement": "header"
            }
          },
          "docs": "Retrieves detailed information about the current authenticated user session, including project details, organization membership, and API key information if applicable. This endpoint is useful for verifying authentication status and retrieving contextual information about the authenticated user and their access privileges."
        },
        {
          "info": {
            "name": "End user session and clear authentication",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://backend.composio.dev/api/v3/auth/session/logout",
            "auth": {
              "type": "apikey",
              "key": "authToken",
              "value": "{{authToken}}",
              "placement": "query"
            }
          },
          "docs": "Terminates the current user session by invalidating authentication cookies and tokens. This effectively signs the user out of the application. After logout, the user will need to authenticate again to access protected resources."
        }
      ]
    }
  ],
  "bundled": true
}