> ## Documentation Index
> Fetch the complete documentation index at: https://docs.agentscope.io/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> For AgentScope Python, use https://docs.agentscope.io/stable/en/index for new projects. For existing projects, check the installed agentscope version and use matching versioned documentation.
> The /latest/ alias points to the newest documentation and may move ahead of /stable/ when a development version exists. Do not mix AgentScope 1.x and 2.x APIs.
> State the AgentScope version when providing installation commands or code examples. ReMe uses its own continuously updated /reme/latest/ documentation.

# List realtime models for a credential provider

> Return realtime model cards supported by a credential provider.



## OpenAPI

````yaml /en/versions/2.0.10/deploy/openapi.json get /realtime/models
openapi: 3.1.0
info:
  title: AgentScope
  version: 2.0.10
servers: []
security: []
paths:
  /realtime/models:
    get:
      tags:
        - realtime
      summary: List realtime models for a credential provider
      description: Return realtime model cards supported by a credential provider.
      operationId: list_realtime_models_realtime_models_get
      parameters:
        - name: provider
          in: query
          required: true
          schema:
            type: string
            title: Provider
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListRealtimeModelsResponse'
        '404':
          description: Not found
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ListRealtimeModelsResponse:
      properties:
        models:
          items:
            $ref: '#/components/schemas/RealtimeModelCard'
          type: array
          title: Models
          description: The candidate realtime models.
        total:
          type: integer
          title: Total
          description: The total number of candidates.
      type: object
      required:
        - models
        - total
      title: ListRealtimeModelsResponse
      description: Realtime model candidates exposed by a credential provider.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    RealtimeModelCard:
      properties:
        type:
          type: string
          const: realtime_model
          title: Type
          default: realtime_model
        model_type:
          type: string
          title: Model Type
          description: >-
            The adapter class this model belongs to, e.g.
            ``dashscope_omni_realtime``.
          default: ''
        name:
          type: string
          title: Name
          description: The model identifier.
        label:
          type: string
          title: Label
          description: Human-readable label for the UI.
        status:
          type: string
          enum:
            - active
            - deprecated
            - sunset
          title: Status
          description: Lifecycle status of the model.
          default: active
        deprecated_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Deprecated At
          description: When the model was deprecated, if applicable.
        input_types:
          items:
            type: string
          type: array
          title: Input Types
          description: Accepted input media types.
        output_types:
          items:
            type: string
          type: array
          title: Output Types
          description: Media types the model produces.
        input_sample_rate:
          type: integer
          exclusiveMinimum: 0
          title: Input Sample Rate
          description: Advertised input PCM sample rate in Hz.
          default: 16000
        output_sample_rate:
          type: integer
          exclusiveMinimum: 0
          title: Output Sample Rate
          description: Advertised output PCM sample rate in Hz.
          default: 24000
        supports_tools:
          type: boolean
          title: Supports Tools
          description: Whether this model accepts tool schemas.
          default: false
        max_context_tokens:
          anyOf:
            - type: integer
              exclusiveMinimum: 0
            - type: 'null'
          title: Max Context Tokens
        max_audio_turns:
          anyOf:
            - type: integer
              exclusiveMinimum: 0
            - type: 'null'
          title: Max Audio Turns
        max_audio_duration_s:
          anyOf:
            - type: integer
              exclusiveMinimum: 0
            - type: 'null'
          title: Max Audio Duration S
        max_session_duration_s:
          anyOf:
            - type: integer
              exclusiveMinimum: 0
            - type: 'null'
          title: Max Session Duration S
        parameter_schema:
          additionalProperties: true
          type: object
          title: Parameter Schema
        parameter_overrides:
          additionalProperties:
            additionalProperties: true
            type: object
          type: object
          title: Parameter Overrides
      type: object
      required:
        - name
        - label
      title: RealtimeModelCard
      description: |-
        Describes one realtime model. Everything here varies with the model
        name; what the adapter implements lives on
        :class:`RealtimeModelBase`.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.