cURL
Endpoint Examples
Moderation Models
List available content moderation models
GET
cURL
Documentation Index
Fetch the complete documentation index at: https://docs.nano-gpt.com/llms.txt
Use this file to discover all available pages before exploring further.
Overview
UseGET /api/v1/moderation-models to list the moderation models currently available to your account. The response includes model capabilities, context limits, and pricing.
Model availability and capabilities can change over time. Use this endpoint as the source of truth before choosing a model for POST /api/v1/moderations.
Endpoint
Authentication
An API key is required.Authorization: Bearer YOUR_API_KEYx-api-key: YOUR_API_KEY
Query Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
detailed | boolean | true | When false, returns a compact OpenAI-style model list. |
Examples
Response
The detailed response returns a model list with capability and pricing metadata. Exact fields can vary by model.Notes
- This is a paid API feature.
- Some moderation models support text only; others support both text and image inputs.
- Batch support can vary by model.
- Pricing details are returned by this endpoint and can vary by selected model.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
When false, returns a compact OpenAI-style model list