Skip to content
Primary navigation

Skills

resource openai_skill

optional Expand Collapse
files?: List[String]

Skill files to upload (directory upload) or a single zip file.

default_version?: String

The skill version number to set as default.

computed Expand Collapse
id: String

Unique identifier for the skill.

created_at: Int64

Unix timestamp (seconds) for when the skill was created.

description: String

Description of the skill.

latest_version: String

Latest version for the skill.

name: String

Name of the skill.

object: String

The object type, which is skill.

openai_skill

resource "openai_skill" "example_skill" {
  files = ["Example data"]
}

data openai_skill

optional Expand Collapse
skill_id?: String
find_one_by?: Attributes
order?: String

Sort order of results by timestamp. Use asc for ascending order or desc for descending order.

computed Expand Collapse
id: String
created_at: Int64

Unix timestamp (seconds) for when the skill was created.

default_version: String

Default version for the skill.

description: String

Description of the skill.

latest_version: String

Latest version for the skill.

name: String

Name of the skill.

object: String

The object type, which is skill.

openai_skill

data "openai_skill" "example_skill" {
  skill_id = "skill_123"
}

data openai_skills

optional Expand Collapse
order?: String

Sort order of results by timestamp. Use asc for ascending order or desc for descending order.

max_items?: Int64

Max items to fetch, default: 1000

computed Expand Collapse
items: List[Attributes]

The items returned by the data source

id: String

Unique identifier for the skill.

created_at: Int64

Unix timestamp (seconds) for when the skill was created.

default_version: String

Default version for the skill.

description: String

Description of the skill.

latest_version: String

Latest version for the skill.

name: String

Name of the skill.

object: String

The object type, which is skill.

openai_skills

data "openai_skills" "example_skills" {
  order = "asc"
}

SkillsContent

data openai_skill_content

required Expand Collapse
skill_id: String
computed Expand Collapse
content: JSON

openai_skill_content

data "openai_skill_content" "example_skill_content" {
  skill_id = "skill_123"
}

SkillsVersions

resource openai_skill_version

required Expand Collapse
skill_id: String
optional Expand Collapse
default?: Bool

Whether to set this version as the default.

files?: List[String]

Skill files to upload (directory upload) or a single zip file.

computed Expand Collapse
id: String

Unique identifier for the skill version.

created_at: Int64

Unix timestamp (seconds) for when the version was created.

description: String

Description of the skill version.

name: String

Name of the skill version.

object: String

The object type, which is skill.version.

version: String

Version number for this skill.

openai_skill_version

resource "openai_skill_version" "example_skill_version" {
  skill_id = "skill_123"
  default = true
  files = ["Example data"]
}

data openai_skill_version

required Expand Collapse
skill_id: String
optional Expand Collapse
version?: String

The version number to retrieve.

find_one_by?: Attributes
order?: String

Sort order of results by version number.

computed Expand Collapse
id: String

The version number to retrieve.

created_at: Int64

Unix timestamp (seconds) for when the version was created.

description: String

Description of the skill version.

name: String

Name of the skill version.

object: String

The object type, which is skill.version.

openai_skill_version

data "openai_skill_version" "example_skill_version" {
  skill_id = "skill_123"
  version = "version"
}

data openai_skill_versions

required Expand Collapse
skill_id: String
optional Expand Collapse
order?: String

Sort order of results by version number.

max_items?: Int64

Max items to fetch, default: 1000

computed Expand Collapse
items: List[Attributes]

The items returned by the data source

id: String

Unique identifier for the skill version.

created_at: Int64

Unix timestamp (seconds) for when the version was created.

description: String

Description of the skill version.

name: String

Name of the skill version.

object: String

The object type, which is skill.version.

skill_id: String

Identifier of the skill for this version.

version: String

Version number for this skill.

openai_skill_versions

data "openai_skill_versions" "example_skill_versions" {
  skill_id = "skill_123"
  order = "asc"
}

SkillsVersionsContent

data openai_skill_version_content

required Expand Collapse
skill_id: String
version: String

The skill version number.

computed Expand Collapse
content: JSON

openai_skill_version_content

data "openai_skill_version_content" "example_skill_version_content" {
  skill_id = "skill_123"
  version = "version"
}