Create Skill
POST
/v1/skills?beta=true https://api.anthropic.com
Parameters
header Header Parameters
| Name | Type |
|---|---|
anthropic-beta Optional header to specify the beta version(s) you want to use. To use multiple betas, use a comma separated list like | string |
anthropic-version The version of the Claude API you want to use. Read more about versioning and our version history here. | string |
Request Body
multipart/form-data
interface BetaBodyCreateSkillV1SkillsPost {
display_title?: string | null;
files?: string[] | null;
}
display_title?: string | null;
files?: string[] | null;
}
Responses
200 application/json
Successful Response
interface BetaCreateSkillResponse {
created_at: string;
display_title: string | null;
id: string;
latest_version: string | null;
source: string;
type: string;
updated_at: string;
}
created_at: string;
display_title: string | null;
id: string;
latest_version: string | null;
source: string;
type: string;
updated_at: string;
}
Client Errors
4XX application/json
Error response.
See our errors documentation for more details.
interface BetaErrorResponse {
error:BetaInvalidRequestError | BetaAuthenticationError | BetaBillingError | BetaPermissionError | BetaNotFoundError | BetaRateLimitError | BetaGatewayTimeoutError | BetaAPIError | BetaOverloadedError ;
request_id: string | null;
type: "error";
}
error:
request_id: string | null;
type: "error";
}