ApiIntegration skills
Creates a skill for an integration.
Every tool the skill lists must be a tool of this integration; any other is refused with 400. Skill ids are unique within the workspace. To draft the definition from a markdown file instead of writing it by hand, call `generateFromMarkdown` or `generateFromGithub` first and POST the result here.
Authorization
Bearer AuthorizationBearer <token>
JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.
In: header
Path Parameters
integration*string
The integration the skill is a guide to.
tenant*string
The tenant identifier
The skill to create.
id*string
Length
1 <= lengthdisplayName*string
Length
1 <= lengthdescription*string
Length
1 <= lengthinstructions?string
tools?
Tools of the integration the skill uses. A tool of another integration is refused.
resources?
[key: string]?never
Response Body
curl -X POST "https://api.fruxon.com/v1/tenants/string/integrations/string/skills" \ -H "Content-Type: application/json" \ -d '{ "id": "string", "displayName": "string", "description": "string" }'{
"id": "string",
"integrationId": "string",
"displayName": "string",
"description": "string",
"instructions": "string",
"tools": [
{
"integrationId": "string",
"id": "string"
}
],
"resources": [
{
"assetId": "string",
"description": "string",
"vectorized": false
}
],
"author": "FRUXON",
"contentHash": "string",
"createdAt": 0,
"modifiedAt": 0
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}Empty
Empty
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}