---
title: "The runner keeps a test user’s session"
method: POST
path: "/v1/worker/runs/{runId}/resident-sign-in"
tags: ["The runner"]
---

# The runner keeps a test user’s session

`POST /v1/worker/runs/{runId}/resident-sign-in`

## Request

- Base URL: `https://api.taada.dev`
- URL: `https://api.taada.dev/v1/worker/runs/{runId}/resident-sign-in`
- Auth: HTTP bearer

Tada’s own worker pool only, or the pass pinned to this very run. After a run signs a test user in, the session it ended with is sealed here so the next run on the same address starts signed in.

## Path parameters

- `runId` string, uuid, required

## Request body

- object
  - `origin` string, uri, required
  - `localStorage` array[], required
    - union[]
      - union
        - string
        - string
  - `sessionStorage` array[], required
    - union[]
      - union
        - string
        - string
  - `cookies` object[], required
    - `name` string, required
    - `value` string, required
    - `domain` string, required
    - `path` string, required
    - `expires` number, required
    - `httpOnly` boolean, required
    - `secure` boolean, required
    - `sameSite` 'Strict' | 'Lax' | 'None', required
  - `dropped` string[]
  - `role` string

## Response `200`

Default Response

---

[API](https://skmtc.dev/taada/apis/tada.md) · [All operations](https://skmtc.dev/taada/apis/tada/llms.txt) · [OpenAPI document](https://skmtc.dev/taada/apis/tada/revisions/9079c5c8a580?raw)
