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

# List models

> List the models available to the current organization, including enablement and inference-provider access.



## OpenAPI

````yaml https://api.tembo.io/public-api/openapi/public get /v1/models
openapi: 3.1.0
info:
  title: Tembo Public API
  description: >-
    Manage agents, sessions, repositories, and organization resources with the
    Tembo API.
  version: 1.0.0
servers:
  - url: https://api.tembo.io
    description: Tembo API
  - url: https://{deployment-origin}/api/public-api
    description: Self-hosted Tembo
    variables:
      deployment-origin:
        default: tembo.example.com
        description: Hostname of your self-hosted Tembo deployment
security: []
paths:
  /v1/models:
    get:
      tags:
        - Models
      summary: List models
      description: >-
        List the models available to the current organization, including
        enablement and inference-provider access.
      operationId: listModels
      parameters:
        - in: query
          name: cursor
          schema:
            type: string
            minLength: 1
            maxLength: 200
          description: >-
            Continuation cursor from the previous response nextCursor. Omit for
            the first page; null nextCursor means there are no more pages.
        - in: query
          name: limit
          schema:
            type: integer
            minimum: 1
            maximum: 100
            default: 50
          description: >-
            Maximum number of items to return in one page. Use nextCursor from
            the response to fetch more items.
      responses:
        '200':
          description: List models
          content:
            application/json:
              schema:
                type: object
                properties:
                  items:
                    type: array
                    items:
                      type: object
                      properties:
                        name:
                          type: string
                          minLength: 1
                          maxLength: 200
                        label:
                          type: string
                        provider:
                          type: string
                        enabled:
                          type: boolean
                        available:
                          type: boolean
                        unavailableReason:
                          type:
                            - string
                            - 'null'
                        supportedInferenceProviders:
                          type:
                            - array
                            - 'null'
                          items:
                            type: string
                            enum:
                              - TemboManagedInference
                              - BYOK
                              - AWSBedrock
                              - GCPVertexAI
                              - OpenRouter
                        availableInferenceProviders:
                          type: array
                          items:
                            type: string
                            enum:
                              - TemboManagedInference
                              - BYOK
                              - AWSBedrock
                              - GCPVertexAI
                              - OpenRouter
                        configuredInferenceProvider:
                          type:
                            - string
                            - 'null'
                          enum:
                            - TemboManagedInference
                            - BYOK
                            - AWSBedrock
                            - GCPVertexAI
                            - OpenRouter
                            - null
                        inferenceProvider:
                          type: string
                          enum:
                            - TemboManagedInference
                            - BYOK
                            - AWSBedrock
                            - GCPVertexAI
                            - OpenRouter
                        inferenceProviderAccess:
                          type: object
                          properties:
                            TemboManagedInference:
                              anyOf:
                                - type: object
                                  properties:
                                    available:
                                      type: boolean
                                      const: true
                                    unavailableCode:
                                      type: 'null'
                                    unavailableReason:
                                      type: 'null'
                                  required:
                                    - available
                                    - unavailableCode
                                    - unavailableReason
                                  additionalProperties: false
                                - type: object
                                  properties:
                                    available:
                                      type: boolean
                                      const: false
                                    unavailableCode:
                                      type: string
                                      enum:
                                        - plan_required
                                        - missing_credentials
                                        - unsupported_provider
                                        - chatgpt_not_connected
                                        - supergrok_not_connected
                                        - claude_subscription_not_connected
                                    unavailableReason:
                                      type: string
                                  required:
                                    - available
                                    - unavailableCode
                                    - unavailableReason
                                  additionalProperties: false
                            BYOK:
                              anyOf:
                                - type: object
                                  properties:
                                    available:
                                      type: boolean
                                      const: true
                                    unavailableCode:
                                      type: 'null'
                                    unavailableReason:
                                      type: 'null'
                                  required:
                                    - available
                                    - unavailableCode
                                    - unavailableReason
                                  additionalProperties: false
                                - type: object
                                  properties:
                                    available:
                                      type: boolean
                                      const: false
                                    unavailableCode:
                                      type: string
                                      enum:
                                        - plan_required
                                        - missing_credentials
                                        - unsupported_provider
                                        - chatgpt_not_connected
                                        - supergrok_not_connected
                                        - claude_subscription_not_connected
                                    unavailableReason:
                                      type: string
                                  required:
                                    - available
                                    - unavailableCode
                                    - unavailableReason
                                  additionalProperties: false
                            AWSBedrock:
                              anyOf:
                                - type: object
                                  properties:
                                    available:
                                      type: boolean
                                      const: true
                                    unavailableCode:
                                      type: 'null'
                                    unavailableReason:
                                      type: 'null'
                                  required:
                                    - available
                                    - unavailableCode
                                    - unavailableReason
                                  additionalProperties: false
                                - type: object
                                  properties:
                                    available:
                                      type: boolean
                                      const: false
                                    unavailableCode:
                                      type: string
                                      enum:
                                        - plan_required
                                        - missing_credentials
                                        - unsupported_provider
                                        - chatgpt_not_connected
                                        - supergrok_not_connected
                                        - claude_subscription_not_connected
                                    unavailableReason:
                                      type: string
                                  required:
                                    - available
                                    - unavailableCode
                                    - unavailableReason
                                  additionalProperties: false
                            GCPVertexAI:
                              anyOf:
                                - type: object
                                  properties:
                                    available:
                                      type: boolean
                                      const: true
                                    unavailableCode:
                                      type: 'null'
                                    unavailableReason:
                                      type: 'null'
                                  required:
                                    - available
                                    - unavailableCode
                                    - unavailableReason
                                  additionalProperties: false
                                - type: object
                                  properties:
                                    available:
                                      type: boolean
                                      const: false
                                    unavailableCode:
                                      type: string
                                      enum:
                                        - plan_required
                                        - missing_credentials
                                        - unsupported_provider
                                        - chatgpt_not_connected
                                        - supergrok_not_connected
                                        - claude_subscription_not_connected
                                    unavailableReason:
                                      type: string
                                  required:
                                    - available
                                    - unavailableCode
                                    - unavailableReason
                                  additionalProperties: false
                            OpenRouter:
                              anyOf:
                                - type: object
                                  properties:
                                    available:
                                      type: boolean
                                      const: true
                                    unavailableCode:
                                      type: 'null'
                                    unavailableReason:
                                      type: 'null'
                                  required:
                                    - available
                                    - unavailableCode
                                    - unavailableReason
                                  additionalProperties: false
                                - type: object
                                  properties:
                                    available:
                                      type: boolean
                                      const: false
                                    unavailableCode:
                                      type: string
                                      enum:
                                        - plan_required
                                        - missing_credentials
                                        - unsupported_provider
                                        - chatgpt_not_connected
                                        - supergrok_not_connected
                                        - claude_subscription_not_connected
                                    unavailableReason:
                                      type: string
                                  required:
                                    - available
                                    - unavailableCode
                                    - unavailableReason
                                  additionalProperties: false
                          required:
                            - TemboManagedInference
                            - BYOK
                            - AWSBedrock
                            - GCPVertexAI
                            - OpenRouter
                          additionalProperties: false
                        selectedInferenceProviderAvailable:
                          type: boolean
                        selectedInferenceProviderUnavailableReason:
                          type:
                            - string
                            - 'null'
                        chatgptAvailable:
                          type: boolean
                        chatgptSupported:
                          type: boolean
                        workspaceChatgptAvailable:
                          type: boolean
                        claudeSubscriptionSupported:
                          type: boolean
                        workspaceClaudeSubscriptionAvailable:
                          type: boolean
                        supergrokAvailable:
                          type: boolean
                        agentInferenceAvailable:
                          type: boolean
                      required:
                        - name
                        - label
                        - provider
                        - enabled
                        - available
                        - unavailableReason
                        - supportedInferenceProviders
                        - availableInferenceProviders
                        - configuredInferenceProvider
                        - inferenceProvider
                        - inferenceProviderAccess
                        - selectedInferenceProviderAvailable
                        - selectedInferenceProviderUnavailableReason
                        - chatgptAvailable
                        - chatgptSupported
                        - workspaceChatgptAvailable
                        - claudeSubscriptionSupported
                        - workspaceClaudeSubscriptionAvailable
                        - supergrokAvailable
                        - agentInferenceAvailable
                      additionalProperties: false
                  nextCursor:
                    type:
                      - string
                      - 'null'
                    minLength: 1
                    maxLength: 200
                required:
                  - items
                  - nextCursor
                additionalProperties: false
        '400':
          description: Validation error, invalid cursor, or update conflict
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
                additionalProperties: false
        '403':
          description: The caller cannot apply the requested model update
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
                additionalProperties: false
        '404':
          description: Model not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
                additionalProperties: false
        '500':
          description: Model operation failed
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
                additionalProperties: false
      security:
        - apiKey: []
      x-codeSamples:
        - lang: typescript
          label: TypeScript SDK
          source: |
            import Tembo from '@tembo-io/sdk';

            const client = new Tembo();

            const model = await client.models.list({
              limit: 50,
            });
        - lang: rust
          label: Rust SDK
          source: |
            use tembo_rs::*;

            let client = Tembo::from_env()?;

            let response = client.models().list().send().await?;
components:
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer

````

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