Skill Files
Apply skill file changes
Applies up to 100 put, delete and move changes one after another, in order. Every change is validated before any is applied, but changes are not applied atomically: if a change fails while being applied, the changes before it stay applied. Every change can carry its own if_match precondition.
post/skills/{skill_id}/files/batch
Request
- Base URLhttps://api.metorial.com
- AuthHTTP bearer
Path parameters
skill_idstring required
Unique identifier of the skill.
Headers
Metorial-Versionstring
Example:2025-01-01
Pin the dated API version for this request, e.g. 2025-01-01. Defaults to the version configured for the environment.
Request body
Example request
{
"changes": [
{
"path": "/SKILL.md"
}
]
}Response
Successful response
Example response
{
"items": [
{
"file": {
"path": "/SKILL.md"
}
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.