Team workspaces

Create a team collection

POST/api/v1/workspaces/{id}/collections

Create a shared collection inside a team workspace.

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

Team workspace access and matching permissions.

Path params

idrequired
string

Team workspace 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

namerequired
string

Collection name.

JSON body
{
  "name": "Stack revue de code",
  "description": "Skills de QA avant merge"
}

Request examples

cURL
curl "https://llm-skills.com/api/v1/workspaces/collection_id/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 team collection.
JSON
{
  "data": { "collection": { "id": "collection_id", "workspaceId": "workspace_id" } }
}
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"
}