Bike4Mind Logo

Bike4Mind

LoginSee Pricing

API Explorer

  • POST

    User Login

    /password/login
  • GET

    Get Current User

    /identify
  • GET

    List Users

    /users
  • GET

    List Notebooks

    /sessions
  • POST

    Create Notebook

    /sessions/create
  • PUT

    Update Notebook

    /sessions/{id}
  • POST

    Clone Notebook

    /sessions/{id}/clone
  • GET

    Generate Summary

    /sessions/{id}/summary
  • POST

    Chat with AI

    /ai/llm
  • GET

    List Models

    /models
  • POST

    Direct Inference

    /infer

B4M API Reference

Interactive Bike4Mind API reference and testing tool. Access AI chat, image generation, file management, and more.

Current Endpoint

POST

/password/login

Authenticate user with email and password, get JWT token for API access.

User Login

Test this endpoint with your API key


Endpoint

POST
https://app.bike4mind.com/api/password/login

Request Body

Example Usage

const response = await fetch('https://app.bike4mind.com/api/password/login', { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ email: "user@example.com", password: "securePassword123", rememberMe: true }) }); const result = await response.json(); // Response: { "user": { "_id": "user_123", "email": "user@example.com", "name": "John Doe", "organizationId": "org_456" }, "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...", "refreshToken": "refresh_token_xyz", "expiresIn": 3600 }

Response Schema

{ "user": { "_id": "string", "email": "string", "name": "string", "organizationId": "string" }, "token": "string", "refreshToken": "string", "expiresIn": "number" }