---
title: "Get AWS credentials to access experimentation events export data."
method: GET
path: "/export/credentials"
tags: ["Export Credentials"]
---

# Get AWS credentials to access experimentation events export data.

`GET /export/credentials`

Get temporary credentials for experimentation events export data hosted on AWS.

## Query parameters

- `duration` string

## Response `200`

Return AWS credentials

- E3Credentials
  - `credentials` CredentialsItem — Credentials item containing information on access key and secrets
    - `accessKeyId` string — AWS access key
    - `expiration` integer — expiration time of the token in epoch time
    - `secretAccessKey` string — AWS secret access key
    - `sessionToken` string — AWS session token
  - `s3Path` string — s3 path of the enriched events dataset of the account

## Other responses

- `400` — Bad Request
- `401` — Invalid/Expired credentials
- `default` — Unexpected error

---

[API](https://skmtc.dev/optimizely/apis/optimizely-api.md) · [All operations](https://skmtc.dev/optimizely/apis/optimizely-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/optimizely/optimizely-api/revisions/5151fe6a2297/schema)
