Collections

Create a personal collection

POST/api/v1/me/collections

Create a personal collection for the API key owner.

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

API access and personal collections.

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

namerequired
string

Collection name.

Constraints: 1 to 100 characters.
descriptionoptional
string

Optional description.

Constraints: Maximum 500 characters.
JSON body
{
  "name": "Stack revue de code",
  "description": "Skills de QA avant merge"
}

Request examples

cURL
curl "https://llm-skills.com/api/v1/me/collections"
  -X POST
  -H "Authorization: Bearer llms_api_key"
  -H "Content-Type: application/json"
  -d '{ "name": "Stack revue de code", "description": "Skills de QA avant merge"}'

Responses and errors

201CreatedReturns the created collection.
JSON
{
  "data": { "collection": { "id": "collection_id", "name": "Stack revue de code" } }
}
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"
}