ApiSkills
Fetches a file from GitHub and generates a skill definition from it.
Combines the GitHub fetch and skill generation into a single call. Returns a draft skill definition for review — does not create the skill.
Path Parameters
tenant*string
The tenant identifier
The GitHub file location and access details.
owner*string
Length
1 <= lengthrepo*string
Length
1 <= lengthtoken*string
Length
1 <= lengthfilePath*string
Length
1 <= length[key: string]?never
Response Body
curl -X POST "https://api.fruxon.com/v1/tenants/string/skills:generate-from-github" \ -H "Content-Type: application/json" \ -d '{ "owner": "string", "repo": "string", "token": "string", "filePath": "string" }'{
"id": "string",
"displayName": "string",
"description": "string",
"instructions": "string",
"tools": [
{
"integrationId": "string",
"id": "string"
}
],
"resources": [
{
"assetId": "string",
"description": "string",
"vectorized": false
}
]
}Empty
Empty