---
title: AI Text Content Classification API
slug: content-classification
url: https://apyhub.com/apyhub/service/content-classification
provider: ApyHub
categories: [Artificial Intelligence]
auth: api_key
---

# AI Text Content Classification API

Classify text with a Google-backed response. Send text plus requested_service and get structured classification data for moderation and routing.

## Endpoints

| Method | Path | Description | Atoms |
| --- | --- | --- | --- |
| POST | `/ai/text/content/classification` | What it does Classifies the supplied text using the requested service and returns a JSON object con… | 500 |

## About

## What it does
Content Classification lets you send text and get a Google-backed classification response in return. The endpoint accepts a `body` object with `text` and `requested_service`, and supports a `google` object with a `key` and optional `google_language` when you need to pass Google-specific settings.

Use it when you need to label or route user-generated text, sort incoming support content, or add lightweight content analysis to a workflow. Because the response wraps the result under `data.google` when `requested_service` is `google`, you can integrate it into an existing parser without guessing at extra fields.

The schema is intentionally narrow: you provide the text to classify and the requested service, and the API returns a structured result object. That makes Content Classification a fit for pipelines that need deterministic responses for moderation, enrichment, or downstream AI workflows.

If your app already stores language preferences or API credentials, you can pass them through the `google` object alongside the text and keep the integration focused on a single classification call.

| Provider (requested_service) | Atoms |
|------------------------------|------:|
| Google                       |  500 |

## Usage

Authenticate with an ApyHub API key in the `apy-token` header.
Full docs and a live playground: https://apyhub.com/apyhub/service/content-classification
