---
title: "Get First Week"
method: GET
path: "/v1/auth/oauth/connect-attempts/{attempt_id}/first-week"
tags: ["auth-oauth"]
---

# Get First Week

`GET /v1/auth/oauth/connect-attempts/{attempt_id}/first-week`

## Request

- Base URL: `https://api.usekeel.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.usekeel.io/v1/auth/oauth/connect-attempts/{attempt_id}/first-week`
- Auth: none declared

The consent page's first-week line (connect-onboarding §1.4).

Authenticated with the user's normal session. ``eligible`` is
``platform_auth.welcome.welcome_eligibility`` -- the ONE rule
authorize-complete grants on -- so the page never promises a grant the
consent will not write. Never a 5xx into the page: any internal failure
answers ``eligible: false`` (and a malformed id is simply not eligible).

## Path parameters

- `attempt_id` string, required

## Headers

- `Authorization` string, nullable
- `X-Org-Id` string, nullable

## Response `200`

Successful Response

- FirstWeekResponse: ``GET /v1/auth/oauth/connect-attempts/{attempt_id}/first-week`` (connect-onboarding spec 01 §1.4): the consent page's first-week line. ``backtest_runs`` is the free plan's weekly limit plus the bonus delta, computed (50 + 200), never typed. ``ends_at`` is the existing welcome grant's expiry, else ``now + 7 days`` as a preview, and ``null`` when not eligible. ``eligible`` comes from ``platform_auth.welcome .welcome_eligibility`` -- the same rule authorize-complete grants on.
  - `eligible` boolean, required
  - `backtest_runs` integer, required
  - `ends_at` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/usekeel/apis/keel-api.md) · [All operations](https://skmtc.dev/usekeel/apis/keel-api/llms.txt) · [OpenAPI document](https://skmtc.dev/usekeel/apis/keel-api/revisions/3191ca10b0ab?raw)
