List available recognition models.
GET
/Model/V1/AllListRequest
curl -X GET 'https://api.docsintel.com/Model/V1/AllList' \
-H 'api-key: <api-key>'OkHttpClient client = new OkHttpClient();
String url = "https://api.docsintel.com/Model/V1/AllList";
Request request = new Request.Builder()
.url(url)
.addHeader("api-key", "<api-key>")
.build();
Response response = client.newCall(request).execute();import requests
url = 'https://api.docsintel.com/Model/V1/AllList'
headers = {
'api-key': '<api-key>',
}
response = requests.get(url, headers=headers)
print(response.status_code)
print(response.text)Response200
{
"is_moderated": true,
"code": 200,
"message": "请求成功",
"data": [
{
"modelId": "systemHospitalBill",
"modelStatus": "ENABLED",
"modelType": "Hospital Bill",
"alternateName": "hospital_bill",
"modelDesc": "Medical invoice extraction"
}
]
}Authorization#
Header
api-key
stringrequiredAPI keyRequest#
Base URL
Response#
200#
Model list. application/json
is_moderatedboolean
Nullable.
code
integermessage
stringdataarray<object>
modelId
stringmodelStatus
stringmodelType
stringalternateName
stringmodelDesc
string