API Reference

Test user API

post
/inferenceTest

Test route to test format of Onairos user API

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
accessTokenstringRequired

JWT token for authentication

Responses
chevron-right
200

Successful test inference

application/json
post
/inferenceTest

Get API access token

post
/getAPIurl

Retrieve access token and approved requests for user who just agreed to connect data

Body
Responses
chevron-right
200

Successful API URL generation

application/json
post
/getAPIurl

User mind reading API

post
/inferenceNoProof

Mind reading API to generate preferences/insights and memories for approved user

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
accessTokenstringRequired

JWT token for authentication

Responses
chevron-right
200

Successful inference

application/json
post
/inferenceNoProof

User traits API

post
/traits

Generate only user personality traits

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
accessTokenstringRequired

JWT token for authentication

Responses
chevron-right
200

Successful traits inference

application/json
post
/traits

Last updated