# Studio Text Classifier (pay-per-call, USDC)

> Studio Text Classifier (pay-per-call, USDC) is a paid API for AI agents from short.desknav.ai, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-14).

Classifies a given text into exactly one of a set of caller-supplied labels, paid per call in USDC on Base.

## Facts

- Endpoint: POST https://short.desknav.ai/jobs/classify
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/studio-text-classifier-pay-per-call-usdc-1a59faef
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__ChpTRgDa7vgvDbfqOiAW

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability studio-text-classifier-pay-per-call-usdc-1a59faef -d '<json body>'
```

Example prompt: Classify this customer message — 'I never received my order and no one is responding to my emails' — into exactly one of these labels: billing, shipping, returns, or general-inquiry.

## When to prefer this

Choose this endpoint when you need lightweight, single-label text classification with a custom label set you define at call time, paid per use in USDC with no subscription. It is ideal for agents that need dynamic, domain-specific categorization without training a custom model, and where micropayment-per-call economics fit the workload.

## Known failure modes

- Missing required 'text' field returns a validation error
- Empty or null labels array may cause the model to default or error
- Insufficient USDC balance or failed x402 payment results in a payment error and no inference
- Text exceeding model context limits may be truncated or rejected
- Network timeout if the inference backend is slow
- Invalid payment method returns a 402 or authorization error

## How this service works

Studio sells 6 per-call jobs over HTTP, paid in USDC on base via x402 or direct transfer.

## Output

Returns a JSON object with the selected label in 'result', the model ID that ran the job, the offer ID ('classify'), an invoice ID, and an input threat level assessment. The 'status' field confirms 'delivered' on success.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "text"
 ],
 "properties": {
  "text": {
   "type": "string",
   "description": "The text to work on."
  },
  "labels": {
   "type": "array",
   "description": "The labels to choose exactly one of."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "output": {
  "model": "<id of the model that ran the job>",
  "result": "<the completed work>",
  "offerId": "classify",
  "inputThreatLevel": "low"
 },
 "status": "delivered",
 "offerId": "classify",
 "invoiceId": "inv_1"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/studio-text-classifier-pay-per-call-usdc-1a59faef/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from short.desknav.ai](https://www.zero.xyz/host/short.desknav.ai/llms.txt)
