> This page is for Itential Platform On-Prem, version 6 (default).
> For other versions, use one of these documentation indexes:
> - 6 (default): https://docs.itential.com/itential-platform/6/llms.txt
> - 2023.2: https://docs.itential.com/itential-platform/2023-2/llms.txt

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.itential.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.itential.com/_mcp/server.

# List skills

GET https://example.itential.io/agent-project-service/skills

Returns a paginated list of the skills the current user can read, optionally filtered by ID, name, description, creator, last updater, or creation or update time. Filters apply across all pages.

Reference: https://docs.itential.com/itential-platform/6/api-reference/agent-project-service/list-skills

## Authentication

- `Authorization` header (basic auth, required) — Basic authentication of the form `Basic <base64(username:password)>`.

## Request

### Query parameters

- `limit` (integer, optional, default: 50) — Page size.
- `skip` (integer, optional, default: 0) — Number of Skills to skip.
- `sort` (enum, optional, default: name) — Field to sort by.
  - Allowed values: `name`, `description`, `updatedAt`
- `order` (enum, optional, default: 1) — 1 for ascending, -1 for descending.
  - Allowed values: `1`, `-1`
- `search` (string, optional) — Case-insensitive text the Skill name must contain.
- `ids` (AgentProjectServiceSkillsGetParametersIds, optional) — Only these Skills. Skill ids (UUIDs), as a string, comma-separated, or an array; invalid ids are ignored, and no valid id lists nothing.
- `excludeIds` (AgentProjectServiceSkillsGetParametersExcludeIds, optional) — Never these Skills. Same format as ids.
- `createdByMe` (enum, optional) — When "true", only Skills created by the calling user are listed. "false" is the same as omitting it.
  - Allowed values: `true`, `false`
- `sharedWithMe` (enum, optional) — When "true", only Skills the calling user can read but did not create are listed. "false" is the same as omitting it.
  - Allowed values: `true`, `false`
- `nameContains` (string, optional) — Only Skills whose name contains this text, ignoring case. The text is literal; blank is the same as omitting it.
- `descriptionContains` (string, optional) — Only Skills whose description contains this text, ignoring case. The text is literal; blank is the same as omitting it. Skills without a description never match.
- `createdByIds` (AgentProjectServiceSkillsGetParametersCreatedByIds, optional) — Only Skills first created by one of these accounts. Account ids (`_id` hex strings, as stored), as a string, comma-separated, or an array. Omitted or empty is no filter; an id no Skill carries matches nothing.
- `updatedByIds` (AgentProjectServiceSkillsGetParametersUpdatedByIds, optional) — Only Skills whose current version was stored by one of these accounts. Same format as createdByIds.
- `createdFrom` (string, optional) — Only Skills first created at or after this instant. ISO 8601 date and time with a UTC offset, such as 2025-03-04T00:00:00.000Z; blank is the same as omitting it.
- `createdTo` (string, optional) — Only Skills first created at or before this instant. Same format as createdFrom. A createdFrom after createdTo lists nothing.
- `updatedFrom` (string, optional) — Only Skills whose current version was stored at or after this instant. Same format as createdFrom.
- `updatedTo` (string, optional) — Only Skills whose current version was stored at or before this instant. Same format as createdFrom. An updatedFrom after updatedTo lists nothing.

## Response

### 200

Paginated list of Skills

- `message` (string, required)
- `data` (AgentProjectServiceSkillsGetResponsesContentApplicationJsonSchemaData, required)

## Errors

### 500 Internal Server Error

Error response from API

- `any`

## Types

### AgentProjectServiceSkillsGetParametersIds

Only these Skills. Skill ids (UUIDs), as a string, comma-separated, or an array; invalid ids are ignored, and no valid id lists nothing.

- string
- list of string

### AgentProjectServiceSkillsGetParametersExcludeIds

Never these Skills. Same format as ids.

- string
- list of string

### AgentProjectServiceSkillsGetParametersCreatedByIds

Only Skills first created by one of these accounts. Account ids (`_id` hex strings, as stored), as a string, comma-separated, or an array. Omitted or empty is no filter; an id no Skill carries matches nothing.

- string
- list of string

### AgentProjectServiceSkillsGetParametersUpdatedByIds

Only Skills whose current version was stored by one of these accounts. Same format as createdByIds.

- string
- list of string

### AgentProjectServiceSkillsGetResponsesContentApplicationJsonSchemaData

- `items` (list of AgentProjectServiceSkillsGetResponsesContentApplicationJsonSchemaDataItemsItems, required)
- `metadata` (AgentProjectServiceSkillsGetResponsesContentApplicationJsonSchemaDataMetadata, required)

### AgentProjectServiceSkillsGetResponsesContentApplicationJsonSchemaDataItemsItems

- `skillId` (string, required) — Skill id (UUID).
- `name` (string, required) — Skill name.
- `description` (string, required) — Skill description.
- `version` (integer, required) — Current version.
- `createdBy` (string, required) — Username of the account that first created the skill; "unknown" when it cannot be resolved.
- `createdByMe` (boolean, required) — Whether the calling user created the skill.
- `updatedBy` (string, required) — Username of the account that stored the current version; "unknown" when it cannot be resolved.
- `createdAt` (string, required) — When the skill was first created; the same for every version.
- `updatedAt` (string, required) — When the current version was stored.

### AgentProjectServiceSkillsGetResponsesContentApplicationJsonSchemaDataMetadata

- `skip` (integer, required)
- `end` (integer, required)
- `count` (integer, required)
- `limit` (integer, required)
- `total` (integer, required)
- `previous` (string, required, nullable)
- `next` (string, required, nullable)

## Examples

**Response**

```json
{
  "message": "string",
  "data": {
    "items": [
      {
        "skillId": "string",
        "name": "string",
        "description": "string",
        "version": 1,
        "createdBy": "string",
        "createdByMe": true,
        "updatedBy": "string",
        "createdAt": "2024-01-15T09:30:00Z",
        "updatedAt": "2024-01-15T09:30:00Z"
      }
    ],
    "metadata": {
      "skip": 1,
      "end": 1,
      "count": 1,
      "limit": 1,
      "total": 1,
      "previous": "string",
      "next": "string"
    }
  }
}
```

**SDK Code**

```python
import requests

url = "https://example.itential.io/agent-project-service/skills"

response = requests.get(url)

print(response.json())
```

```javascript
const url = 'https://example.itential.io/agent-project-service/skills';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://example.itential.io/agent-project-service/skills"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://example.itential.io/agent-project-service/skills")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://example.itential.io/agent-project-service/skills")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://example.itential.io/agent-project-service/skills');

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://example.itential.io/agent-project-service/skills");
var request = new RestRequest(Method.GET);
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let request = NSMutableURLRequest(url: NSURL(string: "https://example.itential.io/agent-project-service/skills")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```