POST

/api/compress

Compress text via OpenAI LLM

Compresses provided text content using an LLM to produce high-quality condensed content.

curl -s -X POST "$BASE/api/compress" \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"text": "Long article text here..."}'

Request Body

FieldTypeReqDefaultDescription
textstringYRaw text to compress
strategystringNCompression strategy hint

Try it out

Sign in to use your API key
Request Body
Response
Click Execute to test