Accessing 4Minds API
The 4Minds API can be accessed through two methods:
- Via Models Tab: Navigate to the ‘Models’ tab, select any model, and click the ‘API Access’ button in the top-right corner of the screen.
- Via Control Center: Open the Control Center for any model and click the ‘API Settings’ button to access API configuration and documentation.
You’ll be redirected to the API ‘Quick Start’ section. Select a resource from the dropdown to view all available 4Minds API endpoints. The API enables programmatic interaction with your models, conversations, datasets, evaluations, and inference.
Located next to the ‘Quick Start’ section, the ‘Code Examples’ section provides ready-to-use code snippets in cURL, Python, JavaScript, and Node.js. Simply select your preferred language from the dropdown for any endpoint.
The table below the ‘Quick Start’ section contains resource IDs required for certain API requests. Available resources in the dropdown include: models, base models, datasets, training types, use cases, and personas.
Authentication
To start working with the 4Minds API, click the ‘Create API Key’ button to generate your authentication key.
Configure your API key by entering a name, selecting the key type (Universal or Model-specific), and setting permissions (All Access, Read Only, Inference Only, or Custom). Click the ‘Create Key’ button to finalize and generate your authentication key.
You’ll receive a confirmation that your key has been created successfully.
Copy your API authentication key now and store it securely, as you won’t be able to retrieve it later.
Base URL
Support
For API access or questions, contact support at [email protected].