Collections

Update a personal collection

PATCH/api/v1/me/collections/{id}

Rename a collection, update its description, add or remove skills.

Base URLhttps://llm-skills.com
AuthenticationBearer token
Access

API access and personal collections.

Path params

idrequired
string

Collection id.

Headers

Authorizationrequired
string

Bearer header containing an active API key.

Example: Bearer llms_api_keyConstraints: Create it from Profile > API keys. Keep it server side.

JSON body

skillSlugoptional
string

Add a public skill by slug.

removeSkillSlugoptional
string

Remove a public skill by slug.

privateSkillIdoptional
string

Add a private personal skill.

JSON body
{
  "skillSlug": "code-review"
}

Request examples

cURL
curl "https://llm-skills.com/api/v1/me/collections/collection_id"
  -X PATCH
  -H "Authorization: Bearer llms_api_key"
  -H "Content-Type: application/json"
  -d '{ "skillSlug": "code-review"}'

Responses and errors

200SuccessReturns the updated collection.
JSON
{
  "data": { "collection": { "id": "collection_id", "skills": [{ "slug": "code-review" }] } }
}
401Missing or invalid keyAuthorization header missing, malformed or revoked key.
JSON
{
  "error": "Invalid or revoked API key"
}
403Unauthorized accessThe current plan or permissions do not allow this route.
JSON
{
  "error": "API access is available with a plan that includes API access"
}