Skip to content

Latest commit

 

History

History
39 lines (26 loc) · 762 Bytes

File metadata and controls

39 lines (26 loc) · 762 Bytes
page_title subcategory description
openai_models Data Source - terraform-provider-openai

openai_models (Data Source)

Example Usage

data "openai_models" "available" {}

output "available_models" {
  value = [for model in data.openai_models.available.models : model.id if startswith(model.id, "gpt-")]
}

Schema

Read-Only

Nested Schema for models

Read-Only:

  • created (Number)
  • id (String)
  • object (String)
  • owned_by (String)