ApiIntegration skills
Updates one of an integration's skills.
Changes the catalog only: agents that copied the skill keep their copy, and see a new `contentHash` to compare against. Fields left out keep their value. A skill Fruxon ships with the integration can't be changed (400): copy it into an agent and change the copy.
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 belongs to.
skill*string
The skill's id.
tenant*string
The tenant identifier
The fields to change.
displayName?string|null
description?string|null
instructions?string|null
tools?|null
resources?|null
[key: string]?never
Response Body
curl -X PUT "https://api.fruxon.com/v1/tenants/string/integrations/string/skills/string" \ -H "Content-Type: application/json" \ -d '{}'{
"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
}