List or search current managed Skills

POST
/v1/skill/library

Return current managed Skill heads with lifecycle governance; retired Skills remain exact-read only.

Authorization

BearerAuth
AuthorizationBearer <token>

Static bearer token used when local Server authentication is enabled.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/skill/library" \  -H "Content-Type: application/json" \  -d '{    "scope_id": "string"  }'
{  "skills": [    {      "artifact": {        "family": "string",        "artifact_id": "string",        "revision": 1      },      "content": {        "name": "string",        "description": "string",        "instructions": "string",        "validation": [          "string"        ],        "package": {          "tree_digest": "string",          "archive_digest": "string",          "file_count": 1,          "uncompressed_size": 1,          "archive_size": 1        },        "license": "string",        "compatibility": "string",        "metadata": {          "property1": "string",          "property2": "string"        },        "allowed_tools": "string"      },      "source_refs": [        {          "name": "string",          "source_id": "string"        }      ],      "artifact_refs": [        {          "family": "string",          "artifact_id": "string",          "revision": 1        }      ],      "governance": {        "artifact": {          "family": "string",          "artifact_id": "string",          "revision": 1        },        "lifecycle_state": "active",        "replacement_artifact_id": "string",        "governance_generation": 0      }    }  ]}