Start analysis inference run
const url = 'https://api.neuramancer.dev/v1/analysis/start';const options = { method: 'POST', headers: {Authorization: '<Authorization>', 'Content-Type': 'application/json'}, body: '{"id":"example","tenantName":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.neuramancer.dev/v1/analysis/start \ --header 'Authorization: <Authorization>' \ --header 'Content-Type: application/json' \ --data '{ "id": "example", "tenantName": "example" }'After the client uploads a file to blob storage via presigned URL, this endpoint validates trial images (if tenant is in trial mode), and triggers the inference run. Requires authentication.
Trial Mode: If the tenant has isTrial: true, the uploaded file’s MD5 checksum is validated against the approved trial images (real.jpg and fake.jpg). If the checksum does not match either, a 422 error is returned.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Request payload to start an analysis inference run after uploading the image.
object
Analysis id (ObjectId string)
Tenant name to scope the request
Examplegenerated
{ "id": "example", "tenantName": "example"}Responses
Section titled “Responses”Analysis started, inference triggered
object
Example
{ "success": true}Invalid request or error
Standardized error response following the APIResponse
object
Example
{ "success": false, "message": "Bad request"}Tenant or analysis not found
Standardized error response following the APIResponse
object
Example
{ "success": false, "message": "Bad request"}Analysis is not in a startable (pending) state (e.g. already processing, completed, or failed). Re-running a finished analysis must go through POST /v1/analysis/retry.
Standardized error response following the APIResponse
object
Example
{ "success": false, "message": "Bad request"}Trial mode: uploaded image does not match approved trial images. The analysis record is marked as ‘failed’ with a descriptive statusMessage.
Standardized error response following the APIResponse
object
Example
{ "success": false, "message": "Bad request"}