For the complete documentation index, see llms.txt. This page is also available as Markdown.

Authentication, input and response

Fetch the condition score

Post url to retrieve the condition score of bathrooms & kitchens.

POST https://api.altum.ai/condition-score/url

Headers

Name
Type
Description

x-api-key*

string

Unique API Key from Altum. Create one on https://platform.altum.ai

Content-Type

string

application/json

Request Body

Name
Type
Description

url*

string

The public URL of the image you wish to send int he request

{
	"Output": {
		"label": "bathroom",
		"confidence": "98.17",
		"condition_score": "4.09"
	}
}
{
  "detail": "The URL is not valid"
}
{
	"detail": [
		{
			"loc": [
				"body",
				"image"
			],
			"msg": "field required",
			"type": "value_error.missing"
		}
	]
}

Upload image file to retrieve the condition score of bathrooms & kitchens.

POST https://api.altum.ai/condition-score/img

Headers

Name
Type
Description

x-api-key*

string

API Key from Altum. Create one via Mopsus(https://mopsus.altum.ai)

Content-Type

string

multipath/form-data

Request Body

Name
Type
Description

image*

object

The image to be sent in the request must be uploaded as a multipath/form-data type.

FREE Ping for availability

Post url to confirm if the image contains a kitchen or a bathroom.

POST https://api.altum.ai/condition-score/url/ping

This endpoint enables you to verify whether an image features a bathroom or kitchen before requesting their condition scores. This preliminary check is necessary given that the Condition Score API cannot generate scores if the image does not depict a kitchen or a bathroom.

Headers

Name
Type
Description

x-api-key*

string

API Key from Altum. Create one via Mopsus(https://mopsus.altum.ai)

Content-Type

string

application/json

Request Body

Name
Type
Description

url*

string

The public URL of the image you wish to send int he request

Upload image file to confirm if the image contains a kitchen or a bathroom.

POST https://api.altum.ai/condition-score/img/ping

This endpoint enables you to verify whether an image features a bathroom or kitchen before requesting their condition scores. This preliminary check is necessary given that the Condition Score API cannot generate scores if the image does not depict a kitchen or a bathroom.

Headers

Name
Type
Description

x-api-key*

string

API Key from Altum. Create one via Mopsus(https://mopsus.altum.ai)

Content-Type

string

multipath/form-data

Request Body

Name
Type
Description

image*

object

The image to be sent in the request must be uploaded as a multipath/form-data type.

Request body

Example request

Laatst bijgewerkt