Lists all Skills in the current account with cursor-based pagination.
Request headers
|
Header |
Required |
Description |
|
|
Yes |
Bearer PAT — see |
Query parameters
|
Parameter |
Type |
Required |
Description |
|
|
integer |
No |
Maximum number of items to return per page. |
|
|
string |
No |
Cursor for pagination. Returns records after the given ID. |
See Pagination for the full pagination contract.
Example request
# List all Skills
curl -X GET "https://api.qoder.com.cn/api/v1/cloud/skills" \
-H "Authorization: Bearer $QODER_PAT"
# Paginate with a page size
curl -X GET "https://api.qoder.com.cn/api/v1/cloud/skills?limit=10" \
-H "Authorization: Bearer $QODER_PAT"
# Fetch the next page with a cursor
curl -X GET "https://api.qoder.com.cn/api/v1/cloud/skills?limit=10&after=skill_019e3bba474b73cfaf19eae9b5f5e66d" \
-H "Authorization: Bearer $QODER_PAT"
Example response
HTTP 200 OK
{
"data": [
{
"id": "skill_019e3bba474b73cfaf19eae9b5f5e66d",
"type": "skill",
"name": "test-skill-api-doc",
"description": "A test Skill for API documentation",
"skill_type": "custom",
"status": "active",
"version": 1,
"content_size": 309,
"content_sha256": "f253cb7d35790025f85917c0c239422cff1de067d00278db8897c585a3f28d94",
"metadata": {},
"created_at": "2026-05-18T15:35:24.248164Z",
"updated_at": "2026-05-18T15:35:24.248164Z"
}
],
"first_id": "skill_019e3bba474b73cfaf19eae9b5f5e66d",
"last_id": "skill_019e3bba474b73cfaf19eae9b5f5e66d",
"has_more": false
}
Empty list response:
{
"data": [],
"first_id": null,
"last_id": null,
"has_more": false
}
Response fields
|
Field |
Type |
Description |
|
|
array |
Array of Skill objects. |
|
|
string | null |
ID of the first Skill in the page. |
|
|
string | null |
ID of the last Skill in the page. |
|
|
boolean |
When |
Errors
|
HTTP |
Type |
Trigger |
|
401 |
|
Missing or invalid authentication token. |
For the full error envelope, see Errors.