Skill data model

View field support, webhooks, and list parameters for each integration on the Supported Integrations page.

FieldTypeRequiredDescription
idstringNo
created_atstring (date-time)No(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
updated_atstring (date-time)No(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
namestringNo
descriptionstringNoWhat the skill does and when to use it.
versionstringNoThe version that is used when a prompt does not pin one.

TypeScript

TypeScript
export type GenaiSkill = {
	id?: string;
	created_at?: string-time; // (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
	updated_at?: string-time; // (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
	name?: string;
	description?: string; // What the skill does and when to use it.
	version?: string; // The version that is used when a prompt does not pin one.
	raw?: any;
} 

Zod

Zod
import { z } from 'zod';

export const ZodGenaiSkill = z.object({
	id: z.string().optional(),
	created_at: z.string-time().optional().describe("(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"),
	updated_at: z.string-time().optional().describe("(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"),
	name: z.string().optional(),
	description: z.string().optional().describe("What the skill does and when to use it."),
	version: z.string().optional().describe("The version that is used when a prompt does not pin one."),

});

Python

Python
import dataclasses

@dataclasses.dataclass
class GenaiSkill:
	id: Optional[str]
	"""(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"""
	created_at: Optional[str]
	"""(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"""
	updated_at: Optional[str]
	name: Optional[str]
	"""What the skill does and when to use it."""
	description: Optional[str]
	"""The version that is used when a prompt does not pin one."""
	version: Optional[str]
Are we missing anything? Let us know
Was this page helpful?