Skill

@Serializable
data class Skill(val id: SkillId, val createdAt: Long, val defaultVersion: String, val description: String, val latestVersion: String, val name: String, val objectType: String = "skill")

Hosted skill metadata; versions are selected using their version strings.

Constructors

Link copied to clipboard
constructor(id: SkillId, createdAt: Long, defaultVersion: String, description: String, latestVersion: String, name: String, objectType: String = "skill")

Properties

Link copied to clipboard
@SerialName(value = "created_at")
val createdAt: Long

Creation time in Unix seconds.

Link copied to clipboard
@SerialName(value = "default_version")
val defaultVersion: String

Version used when a consumer omits an explicit version.

Link copied to clipboard

Description read from the skill manifest.

Link copied to clipboard
val id: SkillId

Hosted skill identifier.

Link copied to clipboard
@SerialName(value = "latest_version")
val latestVersion: String

Most recently uploaded version.

Link copied to clipboard

Name read from the skill manifest.

Link copied to clipboard
@SerialName(value = "object")
val objectType: String

Resource kind.