curl --request POST \
--url 'http://{{baseurl}}/api/v1/analysis/image' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
[
{
"imageUrl": "https://ulgucrkicfwmrtwjntxa.supabase.co/storage/v1/object/public/public_photos/prop/3335/preview.png",
"imageName": "3335",
"uid": "3335"
},
{
"imageUrl": "https://ulgucrkicfwmrtwjntxa.supabase.co/storage/v1/object/public/public_photos/prop/3331/preview.png",
"imageName": "3331",
"uid": "3331"
},
{
"imageUrl": "https://ulgucrkicfwmrtwjntxa.supabase.co/storage/v1/object/public/public_photos/prop/3338/preview.png",
"imageName": "3338",
"uid": "3338"
}
]
'{
"imageId": "1bdba808-c1ec-48f0-88f4-d54dde42de8d",
"analysis": {
"category": "Front of Structure",
"condition": 8,
"confidence": 9,
"explanation": "The front of the structure appears to be in good condition. The exterior walls and roof look well-maintained, and the driveway is clear and in good shape. There are no visible signs of damage or significant wear."
}
}curl --request POST \
--url 'http://{{baseurl}}/api/v1/analysis/image' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
[
{
"imageUrl": "https://ulgucrkicfwmrtwjntxa.supabase.co/storage/v1/object/public/public_photos/prop/3335/preview.png",
"imageName": "3335",
"uid": "3335"
},
{
"imageUrl": "https://ulgucrkicfwmrtwjntxa.supabase.co/storage/v1/object/public/public_photos/prop/3331/preview.png",
"imageName": "3331",
"uid": "3331"
},
{
"imageUrl": "https://ulgucrkicfwmrtwjntxa.supabase.co/storage/v1/object/public/public_photos/prop/3338/preview.png",
"imageName": "3338",
"uid": "3338"
}
]
'{
"imageId": "1bdba808-c1ec-48f0-88f4-d54dde42de8d",
"analysis": {
"category": "Front of Structure",
"condition": 8,
"confidence": 9,
"explanation": "The front of the structure appears to be in good condition. The exterior walls and roof look well-maintained, and the driveway is clear and in good shape. There are no visible signs of damage or significant wear."
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The body is of type object.
OK
The response is of type object.