## Get one experience

`client.experiences.retrieve(stringexperience, RequestOptionsoptions?): ExperienceRetrieveResponse`

**get** `/v3/experiences/{experience}`

Get one experience

### Parameters

- `experience: string`

### Returns

- `ExperienceRetrieveResponse`

  What an experience offers you. Deliberately a projection: where its
  templates live and how they are built is not yours to depend on, so it
  is not here.

  - `actions?: Array<Action>`

    - `fields?: Record<string, Fields>`

      Fields you may send in `params`, keyed by the exact name to use.

      - `max?: number`

        Maximum length, for strings.

      - `required?: boolean`

      - `type?: "string" | "cents" | "int" | "url"`

        - `"string"`

        - `"cents"`

        - `"int"`

        - `"url"`

    - `name?: string`

    - `summary?: string`

  - `display_name?: string`

  - `experience?: string`

### Example

```typescript
import LinqAPIV3 from '@linqapp/sdk';

const client = new LinqAPIV3({
  apiKey: process.env['LINQ_API_V3_API_KEY'], // This is the default and can be omitted
});

const experience = await client.experiences.retrieve('experience');

console.log(experience.actions);
```

#### Response

```json
{
  "actions": [
    {
      "fields": {
        "foo": {
          "max": 0,
          "required": true,
          "type": "string"
        }
      },
      "name": "attach_card",
      "summary": "Ask the customer to add a card to their wallet."
    }
  ],
  "display_name": "Agentcard",
  "experience": "agentcard"
}
```
