Collections
Update a personal collection
PATCH
/api/v1/me/collections/{id}Rename a collection, update its description, add or remove skills.
Path params
idrequiredstring
Collection id.
Headers
Authorizationrequiredstring
Bearer header containing an active API key.
Example:Bearer llms_api_keyConstraints: Create it from Profile > API keys. Keep it server side.JSON body
skillSlugoptionalstring
Add a public skill by slug.
removeSkillSlugoptionalstring
Remove a public skill by slug.
privateSkillIdoptionalstring
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"
}