model_path parameter. Please refer to the Predict endpoint documentation for detailed instructions.
1. Get Your Access Token
- Visit ux.priorlabs.ai and sign up/in to your Prior Labs account.
- Complete your account setup by entering the required details.
- Navigate to Account → Access Tokens.
- Click Unmask to reveal your personal API token, then copy it securely.
Your access token grants full API access to your account. Store it securely and never share or commit it to version control.
2. Set Up Authentication
You can authenticate and define dataset paths once, and reuse them across both/v1/fit and /v1/predict calls.
3. Train a Model with /v1/fit
Upload your training dataset to the /v1/fit endpoint. The API automatically handles preprocessing and schema inference.
model_id - use this ID for subsequent prediction requests.
Dataset Size LimitsThe Prior Labs API currently has the following limits:
- Per Request Limit: Maximum of 20 million cells per request (e.g., 50K rows × 400 columns)
- Daily Limit: Total of 100 million cells per day
4. Next Steps
Refer to the POST /v1/predict endpoint in the API Reference for detailed request formats, parameters, and response examples.Security Reminder
- Keep your access token private and rotate it periodically.
- All requests are fully encrypted in transit (TLS 1.2+).
- Prior Labs does not store or share your datasets without your consent.
FAQ
Have questions? Check out the FAQ for answers to common topics about GPUs, limits, API usage, and more.