POST
/
private
/
v2
/
interactions
/
{id}
/
classification
/
binary
curl --request POST \
  --url https://api.{environment}.corti.app/v2/private/v2/interactions/{id}/classification/binary/ \
  --header 'Content-Type: application/json' \
  --data '{
  "inputs": [
    "<string>"
  ],
  "taskId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}'
{
  "result": {
    "prediction": "<string>"
  }
}

Headers

Tenant-Name
string

Identifies a distinct entity within Corti's multi-tenant system. Ensures correct routing and authentication of the request.

Example:

"copiloteu"

Path Parameters

id
string
required

The interaction ID representing the context for the request.

Body

application/json
inputs
string[]
taskId
string

Response

200
application/json
result
object