Skip to main content
GET
/
api
/
public
/
v2
/
skill-collections
List Skill Collections
curl --request GET \
  --url https://api.promptlayer.com/api/public/v2/skill-collections \
  --header 'X-API-KEY: <x-api-key>'
{
  "success": true,
  "skill_collections": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "workspace_id": 123,
      "folder_id": 123,
      "root_path": "<string>",
      "name": "<string>",
      "provider": "<string>",
      "is_deleted": true,
      "created_by": 123,
      "created_at": "2023-11-07T05:31:56Z",
      "updated_by": 123,
      "updated_at": "2023-11-07T05:31:56Z"
    }
  ]
}
Retrieve all non-deleted skill collections available in the authenticated workspace.

Authentication

This endpoint follows the existing REST API docs pattern and requires an API key in the X-API-KEY header.

Headers

X-API-KEY
string
required

Your PromptLayer API key.

Response

List of skill collections.

success
enum<boolean>
required
Available options:
true
skill_collections
object[]
required