Menu

Intents

The Intent can be retrieved by calling the intents endpoint.
To call any /intents endpoints, you need to use a API token for authorization.

POST https://api-staging-v2.logyx.it/v1/intents

When created it can be set in the header as the example below.
Authorization: Intent {INTENT Token}

Body


model_id required

company_id required

intent_uuid optional

Example

{
  "model_id": "string",
  "company_id": "string",
  "intent_uuid": "string"
}

Response

{
  "name": "string",
  "expires_at": "string"
}

Possible responses


201 Intent created.

400 Intent generation error.

400 Model id is None.

400 Failed to parse model id.

404 Version not found.

404 Parent intent not found.

500 Integrity error.

Menu