API for Images

What can you do?

Initiate upload

post
Authorizations
AuthorizationstringRequired

Authenticate using SaaS Private token

Path parameters
company_idstring · uuidRequired
subject_idstring · uuidRequired
Body
frontstring · min: 1 · max: 255Optional
leftstring · min: 1 · max: 255Optional
rightstring · min: 1 · max: 255Optional
creation_timestring | nullOptional
Responses
200Success
application/json
post
/api/v3/companies/{company_id}/subjects/{subject_id}/upload/

Request

Note that you only use text keys for different sides of face: front, left, right. The value should be the name of the file or whatever you want to name it.

Response

Don't forget to save image_batch_id from the response.


Upload image(s) to storage

Perform upload to the url from previous response


Send image batch to computation by algorithms

post
Authorizations
AuthorizationstringRequired

Authenticate using SaaS Private token

Path parameters
company_idstring · uuidRequired
image_batch_idstring · uuidRequired
Body
app_argsanyOptional
Responses
200

No response body

No content

post
/api/v3/companies/{company_id}/batches/{image_batch_id}/compute/

No content


Fetch results per Algorithm Application for single image batch

get
Authorizations
AuthorizationstringRequired

Authenticate using SaaS Private token

Path parameters
company_idstring · uuidRequired
image_batch_idstring · uuidRequired
Query parameters
expiration_secondsintegerOptional

Expiration seconds for signed URLs

Default: 3600
with_masksbooleanOptional

Whether to include masks in the response

Default: true
svg_masksbooleanOptional

Whether to return masks as SVG images in the response

Default: true
Responses
200Success
application/json
get
/api/v3/companies/{company_id}/batches/{image_batch_id}/results/
200Success

(Deprecated) Fetch all computed parameters for subject

get
Authorizations
AuthorizationstringRequired

Authenticate using SaaS Private token

Path parameters
company_idstring · uuidRequired
subject_idstring · uuidRequired
Responses
200Success
application/json
get
/api/v3/companies/{company_id}/subjects/{subject_id}/parameters/
200Success

Get batch info

get
Authorizations
AuthorizationstringRequired

Authenticate using SaaS Private token

Path parameters
company_idstring · uuidRequired
image_batch_idstring · uuidRequired
Responses
200Success
application/json
get
/api/v3/companies/{company_id}/batches/{image_batch_id}/
200Success

List all batches (for company, dataset or subject)

get
Authorizations
AuthorizationstringRequired

Authenticate using SaaS Private token

Path parameters
company_idstring · uuidRequired
Query parameters
orderingstringOptional

Which field to use when ordering the results.

qstringOptional

A search term.

pageintegerOptional

A page number within the paginated result set.

page_sizeintegerOptional

Number of results to return per page.

dataset_idstring · uuidOptional
subject_idstring · uuidOptional
Responses
200Success
application/json
get
/api/v3/companies/{company_id}/batches/
200Success
  1. Tell us that everything was uploaded

  1. How to get results for 1 images batch?

  1. How to get historical parameters for subject?

  1. How to get all batches in your company, dataset or subject

Last updated

Was this helpful?