## Get one experience

`client.Experiences.Get(ctx, experience) (*ExperienceGetResponse, error)`

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

Get one experience

### Parameters

- `experience string`

### Returns

- `type ExperienceGetResponse struct{…}`

  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 []ExperienceGetResponseAction`

    - `Fields map[string, ExperienceGetResponseActionField]`

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

      - `Max int64`

        Maximum length, for strings.

      - `Required bool`

      - `Type string`

        - `const ExperienceGetResponseActionFieldTypeString ExperienceGetResponseActionFieldType = "string"`

        - `const ExperienceGetResponseActionFieldTypeCents ExperienceGetResponseActionFieldType = "cents"`

        - `const ExperienceGetResponseActionFieldTypeInt ExperienceGetResponseActionFieldType = "int"`

        - `const ExperienceGetResponseActionFieldTypeURL ExperienceGetResponseActionFieldType = "url"`

    - `Name string`

    - `Summary string`

  - `DisplayName string`

  - `Experience string`

### Example

```go
package main

import (
  "context"
  "fmt"

  "github.com/linq-team/linq-go"
  "github.com/linq-team/linq-go/option"
)

func main() {
  client := linqgo.NewClient(
    option.WithAPIKey("My API Key"),
  )
  experience, err := client.Experiences.Get(context.TODO(), "experience")
  if err != nil {
    panic(err.Error())
  }
  fmt.Printf("%+v\n", 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"
}
```
