| page_title | subcategory | description |
|---|---|---|
openai_models Data Source - terraform-provider-openai |
data "openai_models" "available" {}
output "available_models" {
value = [for model in data.openai_models.available.models : model.id if startswith(model.id, "gpt-")]
}id(String) The ID of this resource.models(List of Object) (see below for nested schema)
Read-Only:
created(Number)id(String)object(String)owned_by(String)