---
title: "Read an assistant workflow"
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.nicer.travel/llms.txt
> Use this file to discover all available pages before exploring further.

# Read an assistant workflow

Path: Nicer API › Assistant

`GET /agent/skills`

URL: `https://api.nicer.travel/agent/skills`

Returns one of the workflow guides Nicer's assistant follows, by its name, as Markdown: how to plan an itinerary, take a hotel or a flight to a trip, collect a payment, follow up an order, work with the traveler CRM and the rest. The same guides are what the MCP servers serve as skills. Any signed-in person may call it.

## Authentication

- `bearerAuth`, http bearer, header `Authorization`, format `JWT`

## Query parameters

- `name` (`agent.skills.list.query.name`; string, required)
  - one of `"hotel-to-trip"`, `"recommend-hotels"`, `"luxury-travel"`, `"flight-search-and-hold"`, `"car-rental-to-trip"`, `"plan-itinerary"`, `"edit-segments"`, `"checkout-and-payment-link"`, `"guests-and-passengers"`, `"order-follow-up"`, `"explain-charges"`, `"capture-lead"`, `"traveler-crm"`, `"share-with-traveler"`, `"booking-support"`, `"daily-briefing"`, `"read-commissions"`, `"document-workflow"`, `"flight-confirmations"`, `"web-research"`, `"product-guide"`

## Code samples

### JavaScript SDK

```javascript
import { createClient } from "@nicertravel/sdk";

const nicer = createClient({
  baseUrl: "https://api.nicer.travel",
  token: process.env.NICER_TOKEN,
});

await nicer.agent.skills.list({
  "name": "hotel-to-trip"
});
```

### Nicer CLI

```bash
nicer agent skills list --name 'hotel-to-trip'
```

### cURL

```bash
curl --request GET \
  --url 'https://api.nicer.travel/agent/skills?name=hotel-to-trip' \
  --header 'Authorization: Bearer <token>'
```

### TypeScript

```typescript
const url = 'https://api.nicer.travel/agent/skills?name=hotel-to-trip';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://api.nicer.travel/agent/skills?name=hotel-to-trip"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
```

## Responses

### 200

OK

#### Example

```json
{
  "name": "string",
  "content": "string"
}
```

- `name` (`agent.skills.list.response.200.name`; string, required)
- `content` (`agent.skills.list.response.200.content`; string, required)

### 400

Request failed. `errorCode` is stable; `errorMessage` is for humans.

#### Example

```json
{
  "errorCode": "string",
  "errorMessage": "string"
}
```

- `errorCode` (`agent.skills.list.response.400.errorCode`; string, required)
- `errorMessage` (`agent.skills.list.response.400.errorMessage`; string, required)

### 401

Request failed. `errorCode` is stable; `errorMessage` is for humans.

#### Example

```json
{
  "errorCode": "string",
  "errorMessage": "string"
}
```

- `errorCode` (`agent.skills.list.response.401.errorCode`; string, required)
- `errorMessage` (`agent.skills.list.response.401.errorMessage`; string, required)

### 403

Request failed. `errorCode` is stable; `errorMessage` is for humans.

#### Example

```json
{
  "errorCode": "string",
  "errorMessage": "string"
}
```

- `errorCode` (`agent.skills.list.response.403.errorCode`; string, required)
- `errorMessage` (`agent.skills.list.response.403.errorMessage`; string, required)


Source: https://docs.nicer.travel/api/Assistant/agent.skills.list/index.md
