Skip to main content
POST
Rubric Classify
Classify text against a rubric you define. Unlike /v1/classify, which returns NAWA’s fixed intent taxonomy, this endpoint returns your category names, exactly as you spelled them.
Cost: $0.003 per request (3 credits). Sandbox keys get 100 free requests per account, counted across every sandbox key you have ever created, including revoked and expired ones. This endpoint does not use the semantic cache, so every request is a live model call.

Request

Body parameters

Query parameters

Example request

Response

Success response (200)

Result fields

An empty categories array is a valid answer. It means nothing in your rubric scored above the threshold. The endpoint will never substitute a generic category such as other to avoid returning an empty list, and it will never return a name that was not in your rubric.

Response headers

Errors

Categories must be objects. "categories": ["praise", "question"] returns a 400: each entry needs a name field. This was documented incorrectly before 2026-09-13.