FruxonDocs
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.

POST
/v1/tenants/{tenant}/skills:generate-from-github

Path Parameters

tenant*string

The tenant identifier

The GitHub file location and access details.

owner*string
Length1 <= length
repo*string
Length1 <= length
token*string
Length1 <= length
filePath*string
Length1 <= 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