Skip to main content
PUT
Update a skill

Request contract

  • Method and path: PUT /apis/v1/social/messaging/business-agent/skills/{skillId}
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/social/messaging/business-agent/skills/{skillId}
  • skillId: path; required
  • connectionId: query; required
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

No additional charge for this operation.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

skillId
string
required

Query Parameters

connectionId
string
required

Your messaging connection (msc_...), from GET /apis/v1/social/messaging/connections. On a request with a JSON body it may be sent as a top-level body member instead.

Pattern: ^msc_[0-9A-Za-z]+$

Body

application/json
skill
string
required

The instructions themselves. Avoid two skills that both claim priority for the same situation.

Maximum string length: 20000
connectionId
string

The connection, when not sent as the connectionId query parameter.

Pattern: ^msc_[0-9A-Za-z]+$
description
string

When the agent should apply the skill.

Maximum string length: 1024
title
string

Lowercase letters, digits and hyphens, e.g. greeting-skill.

Maximum string length: 64
Pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$

Response

Success

skill
string
required

The instructions themselves. Avoid two skills that both claim priority for the same situation.

Maximum string length: 20000
id
string
required
description
string

When the agent should apply the skill.

Maximum string length: 1024
title
string

Lowercase letters, digits and hyphens, e.g. greeting-skill.

Maximum string length: 64
Pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
channel
string
created_at
integer

Unix seconds.

status
enum<string>

pending_review right after a write; blocked means Meta content review rejected it and the agent never applies it.

Available options:
active,
pending_review,
blocked