RS Infer
Server Endpoints

/v1/classify/true-false

Identical to `POST /classify/true-false`.

POST
/v1/classify/true-false

Identical to POST /classify/true-false.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/v1/classify/true-false" \  -H "Content-Type: application/json" \  -d '{    "input": "string"  }'
{  "object": "classification.true_false",  "model": "string",  "label": true,  "is_true": true,  "true_probability": 0.1,  "assertion": "string",  "usage": {    "prompt_tokens": 0,    "total_tokens": 0  }}