Skip to main content
POST
/
v2
/
models
/
infer
cURL
curl --request POST \
  --url https://api.mecha-health.ai/v2/models/infer \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "inputs": [
    {
      "name": "IMAGE",
      "data": "<string>"
    }
  ],
  "language": "en"
}
'
{
  "findings": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

The request payload containing a Base64 encoded CXR image and an optional language parameter

inputs
object[]
required
language
enum<string>

Language parameter for the response

Available options:
en,
es
Example:

"en"

Response

CXR interpretation response

findings
string
required

The findings of the CXR image