Skip to content
Hexel StudioDocs

Create a new skill

POST/compute/v1/skills

Registers a new skill definition with content hashing

Headers

Bearer <token>. STS access token. Obtain via POST https://sts.hexelstudio.com/token with X-API-Key header.

Body parameters

Skill definition

contentstring
descriptionoptional string
namestring
resourcesoptional map[string]

Resources are files written into /workspace/skills/<name>/. Include "requirements.txt" to install Python dependencies at VM boot.

Returns

201CreatedSkill

contentoptional string
content_hashoptional string
created_atoptional string
descriptionoptional string
nameoptional string
resourcesoptional map[string]
updated_atoptional string

Errors

  • 400Bad Request
  • 500Internal Server Error