Skip to main content
GET
/
api
/
skills
/
{skillId}
/
versions
/
{versionId}
cURL
curl -X GET "https://app.cotool.ai/api/skills/:skillId/versions/:versionId" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json"
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "skillId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "version": 123,
  "createdByUserId": "<string>",
  "createdAt": "<string>",
  "instructionPrompt": "<string>",
  "requiredTools": [
    "<string>"
  ],
  "references": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "skillVersionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "filename": "<string>",
      "directory": "references",
      "sizeBytes": 1,
      "content": "<string>",
      "createdAt": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

API Key authentication for programmatic access. Include your API key in the Authorization header as: Bearer your_api_key_here

Path Parameters

skillId
string<uuid>
required

Unique identifier for the skill

versionId
string<uuid>
required

Unique identifier for the skill version

Response

200 - application/json

Successful response

id
string<uuid>
required

Unique identifier for the skill version

skillId
string<uuid>
required

Parent skill ID

version
integer
required

Monotonic version number for the skill

createdByUserId
string | null
required

User who created this version, if available

createdAt
string
required

Timestamp when this version was created

instructionPrompt
string
required

Instruction content for this specific version

requiredTools
string[]
required

Required tools snapshot for this specific version

references
object[]
required

References attached to this specific version