The skills area has 5 methods on the client. Each takes one object of path, query and body arguments and an optional CallOptions, and returns a promise of the response body. A refused call rejects with OverlaneApiError (see the SDK index).
skillsApprove
Approve a skill draft so tasks in the project use it (a person does this)
- Request:
POSTon/v1/tenants/{tenantId}/projects/{projectId}/skills/{name}/approve
skillsApprove(args: { tenantId: string; projectId: string; name: string; body?: Record<string, unknown> }, options?: CallOptions): Promise<ProjectSkill>skillsGet
Read a skill with its full SKILL.md text
- Request:
GETon/v1/tenants/{tenantId}/projects/{projectId}/skills/{name}
skillsGet(args: { tenantId: string; projectId: string; name: string }, options?: CallOptions): Promise<ProjectSkill>skillsList
List the project’s skills with their review state
- Request:
GETon/v1/tenants/{tenantId}/projects/{projectId}/skills
skillsList(args: { tenantId: string; projectId: string }, options?: CallOptions): Promise<ProjectSkillList>skillsReject
Reject a skill draft (a person does this)
- Request:
POSTon/v1/tenants/{tenantId}/projects/{projectId}/skills/{name}/reject
skillsReject(args: { tenantId: string; projectId: string; name: string; body?: Record<string, unknown> }, options?: CallOptions): Promise<ProjectSkill>skillsSave
Save one of your assistant conversations as a skill draft in the standard skill format; secrets are removed and the draft is not used until it is approved
- Request:
POSTon/v1/tenants/{tenantId}/projects/{projectId}/skills/from-conversation
skillsSave(args: { tenantId: string; projectId: string; body: SaveSkillRequest }, options?: CallOptions): Promise<ProjectSkill>