Base URL
https://oncology-ai.net/apiProductionhttp://localhost:8000/apiDevelopmentFPGA Job Management
Submit and monitor FPGA-accelerated computation jobs
POST
/fpga/jobsSubmit a new job to the FPGA queue
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| type | FPGAJobType | Required | Type of computation to run |
| name | string | Required | Human-readable job name |
| parameters | object | Required | Job-specific parameters |
| priority | integer | Optional | Queue priority (1-10, default: 5) |
Request Body
Response
GET
/fpga/jobsList all jobs in the queue
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| status | string | Optional | Filter by status (queued, running, completed, failed) |
| limit | integer | Optional | Max results (default: 50) |
Response
GET
/fpga/jobs/{job_id}Get detailed status of a specific job
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| job_id | string | Required | The job identifier |
Response
GET
/fpga/statusGet current FPGA hardware status
Response
FPGAJobType Enum
Valid values for the job type parameter
tumor_growthCellular automaton tumor simulationdrug_screeningIC50/EC50 dose-response analysisgenomic_analysisMutation counting and variant detectionimmunotherapyT-cell dynamics simulationtreatment_optimizationMulti-objective protocol optimizationError Codes
Common API error responses
| Code | Status | Description |
|---|---|---|
| 400 | Bad Request | Invalid request parameters or body |
| 401 | Unauthorized | Missing or invalid authentication |
| 404 | Not Found | Resource does not exist |
| 429 | Too Many Requests | Rate limit exceeded |
| 500 | Internal Error | Server error, contact support |
| 503 | Service Unavailable | FPGA or database unavailable |
Error Response Format
SDK Examples
Quick start code snippets