Skip to content
Subako Docs
English
Esc
↑↓navigate↵open⌘Jpreview

Get a skill version

GET/v1/skills/{skill_id}/versions/{version}
Authorization
AuthorizationBearer token · headerrequired
Path parameters
skill_idstring<uuid>required
Skill id
versioninteger<int32>required
Version number, counting from 1
Responses
200The version.
bundle_bytesinteger<int64>required
created_atstring<date-time>required
frontmatteranyrequired
idstring<uuid>required
manifestanyrequired
skill_idstring<uuid>required
versioninteger<int32>required
400Malformed path parameter.
errorErrorDetailrequired
What went wrong: a `code` to branch on and a `message` to show. The message is written for a person and may change; the code will not.
Show properties
codeErrorCoderequired
The machine-readable half of an error response, and the field a client branches on. Closed: every error carries exactly one of these.
Allowed:unauthorizedforbiddennot_foundinvalid_requestconflictclient_outdatedprecondition_failedtoo_many_requestsinternal
messagestringrequired
401Missing, malformed, or invalid bearer token.
errorErrorDetailrequired
What went wrong: a `code` to branch on and a `message` to show. The message is written for a person and may change; the code will not.
Show properties
codeErrorCoderequired
The machine-readable half of an error response, and the field a client branches on. Closed: every error carries exactly one of these.
Allowed:unauthorizedforbiddennot_foundinvalid_requestconflictclient_outdatedprecondition_failedtoo_many_requestsinternal
messagestringrequired
403Caller lacks skill.read.
errorErrorDetailrequired
What went wrong: a `code` to branch on and a `message` to show. The message is written for a person and may change; the code will not.
Show properties
codeErrorCoderequired
The machine-readable half of an error response, and the field a client branches on. Closed: every error carries exactly one of these.
Allowed:unauthorizedforbiddennot_foundinvalid_requestconflictclient_outdatedprecondition_failedtoo_many_requestsinternal
messagestringrequired
404No such skill or version, or the caller cannot see it.
errorErrorDetailrequired
What went wrong: a `code` to branch on and a `message` to show. The message is written for a person and may change; the code will not.
Show properties
codeErrorCoderequired
The machine-readable half of an error response, and the field a client branches on. Closed: every error carries exactly one of these.
Allowed:unauthorizedforbiddennot_foundinvalid_requestconflictclient_outdatedprecondition_failedtoo_many_requestsinternal
messagestringrequired
Try it
Server
Authorization
Parameters
Request
curl -X GET "https://api.us.cloud.subako.ai/v1/skills/497f6eca-6276-4993-bfeb-53cbbbba6f08/versions/0" \
  -H "Authorization: Bearer YOUR_TOKEN"
Response
{
  "bundle_bytes": 0,
  "created_at": "2019-08-24T14:15:22Z",
  "frontmatter": null,
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "manifest": null,
  "skill_id": "3cd68bb3-8b7e-48be-8232-1b99b5b4b3aa",
  "version": 0
}