authed

Publish a skill

Publish a draft revision of a skill: it becomes what agents granted the skill load. Owners only. Publish only a revision you have just read; one that isn't a draft is refused.

post/api/v1/skills/{skill_id}/publish

Request

  • Base URL
    https://api.teaflask.com (the document declares no server; this is the origin it was published from)
  • URL
    https://api.teaflask.com/api/v1/skills/{skill_id}/publish
  • Auth
    none declared

Path parameters

skill_idstring uuid required

The skill's id, as list_skills returns it.

Request body

revision_idstring uuid required

The draft revision to publish, as get_skill returns it.

Response

Successful Response

idstring uuid required

The skill's id.

organization_idstring uuid required

The organization it belongs to.

slugstring required

The skill's unique short name; an agent's configuration grants skills by it.

published_revision_idstring uuid nullable required

The revision agents load; null until the skill is first published.

descriptionstring nullable required

What the published skill is for; null until something is published.

created_atstring date-time required

When the skill was created.

updated_atstring date-time required

When the skill last changed.

Changes

No recorded changes to this operation across all 1 revision of this API.