CCAPI
  1. Catalog
CCAPI
  • Chat
    • Create chat completion
      POST
  • Audio
    • Convert text to speech
      POST
  • Images
    • Generate images (OpenAI-compatible)
      POST
    • Generate images (multimodal contents API)
      POST
    • Get job status
      GET
  • Catalog
    • List available models
      GET
    • List providers
      GET
    • Get provider details
      GET
  • Schemas
    • Schemas
      • ErrorObject
      • ErrorResponse
      • ChatMessage
      • ChatToolFunction
      • ChatTool
      • ChatCompletionRequest
      • ChatCompletionResponse
      • AudioSpeechRequest
      • AudioSpeechResponse
      • LegacyImageGenerationRequest
      • LegacyImageGenerationResponse
      • MultimodalInputContent
      • MultimodalImageParameters
      • MultimodalImageGenerationRequest
      • ImageDatum
      • MultimodalImageGenerationResponse
      • ModelSummary
      • ModelListResponse
      • ProviderSummary
      • ProviderListResponse
      • ProviderDetailResponse
    • Response
      • BadRequest
      • Unauthorized
      • BillingError
      • RateLimit
      • InternalError
  1. Catalog

List available models

GET
/models
Returns every model configured in CCAPI, including pricing metadata and modality support.

Request

Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
or
Query Params

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://prod-cn.your-api-server.com/models?provider&type&sort&order&limit&offset' \
--header 'Authorization: Bearer <token>'

Responses

🟢200OK
application/json
Model listing
Body

Example
{
    "object": "list",
    "data": [
        {
            "id": "string",
            "object": "model",
            "created": 0,
            "owned_by": "string",
            "provider": {
                "name": "string",
                "display_name": "string",
                "is_fundamental": true
            },
            "ccapi": {
                "display_name": "string",
                "type": "string",
                "input_modalities": [
                    "string"
                ],
                "output_modalities": [
                    "string"
                ],
                "capabilities": {
                    "context_length": 0,
                    "max_output_tokens": 0,
                    "streaming": true,
                    "function_calling": true,
                    "system_messages": true
                },
                "pricing": {
                    "input_cost_per_million": 0,
                    "output_cost_per_million": 0,
                    "per_image_cost": 0,
                    "per_second_cost": 0,
                    "currency": "USD"
                },
                "supported_sizes": [
                    "string"
                ],
                "max_duration": 0
            }
        }
    ],
    "total": 0,
    "limit": 0,
    "offset": 0,
    "has_more": true
}
🔴500Internal Server Error
Modified at 2025-11-12 07:09:16
Previous
Get job status
Next
List providers
Built with