Core Endpoints
Status API
Check the progress and results of deep research investigations
GET
Status API
Documentation Index
Fetch the complete documentation index at: https://mintlify.com/bio-xyz/BioAgents/llms.txt
Use this file to discover all available pages before exploring further.
Overview
The Status API allows you to check the progress of deep research jobs, retrieve completed results, and monitor active research cycles.Authentication
Authentication is required and enforces ownership validation.Bearer token for JWT authentication
Alternative API key authentication
GET /api/deep-research/status/:messageId
Retrieve the current status of a deep research investigation.Path Parameters
The message ID returned from POST /api/deep-research/start
Security
- User can only access their own research jobs
- userId extracted from authenticated context (never from query params)
- Returns
403 Forbiddenif accessing another user’s job
Response: Processing
Returned when research is still running.Current status:
processingThe message ID being tracked
Associated conversation ID
Progress information
Response: Completed
Returned when research has finished successfully.Status:
completedThe message ID
Conversation ID
Research results
Response: Failed
Returned when research encountered an error.Status:
failedThe message ID
Conversation ID
Error message describing what went wrong
Examples
Example: Check Status (Processing)
Example: Check Status (Completed)
Example: Check Status (Failed)
POST /api/deep-research/retry/:jobId
Manually retry a failed deep research job (only available in queue mode).Authentication
Must be the owner of the job being retried.Path Parameters
The job ID to retry
Response
Whether retry was successful
The job ID being retried
New status:
retryingHuman-readable status message
Number of previous retry attempts
Example: Retry Failed Job
Error Codes
- Missing required parameter: messageId
- Cannot retry job in current state (must be failed)
Missing or invalid authentication credentials
Attempting to access another user’s research job
- Message not found
- Job not found
- Queue mode not enabled (for retry endpoint)
Deep research already running for this conversation (retry blocked)
- Message has no associated state
- State not found
- Failed to check status
- Job missing conversation run metadata
Polling Best Practices
Recommended Polling Strategy
WebSocket Alternative
For real-time updates, connect to WebSocket endpoint:State Tracking
The status endpoint reads from the message’s associated state record:state.values.status: Overall status flagstate.values.steps: Map of step names to execution timestampsstate.values.finalResponse: Completed research summarystate.values.error: Error message if failedstate.values.rawFiles: Generated artifactsstate.values.*Papers: Papers from various sources
Related Endpoints
- Deep Research API - Start new research
- Chat API - Simple queries without iteration
- Health API - Service health check
Status API