---
title: "Nail Lookup"
method: GET
path: "/api/admin/app-debug/nail/lookup"
tags: ["admin-app-debug"]
---

# Nail Lookup

`GET /api/admin/app-debug/nail/lookup`

## Request

- Base URL: `https://api.tintin-x.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.tintin-x.com/api/admin/app-debug/nail/lookup`
- Auth: HTTP bearer

Resolve users for nail debug. Nail jobs are keyed by tintin user_id;
this service holds the users table, so we map email→user(s) here and
the detail view forwards user_id to the nail backend.

`job_id` is the reverse path: nail jobs live in the nail-art service, so
we forward `/jobs/{job_id}` to read the job's `user_id`, then map that
back to the local users table — letting an operator paste a bare job id
and land on the owning user's history. Upstream 404 (unknown job)
propagates verbatim.

## Query parameters

- `user_email` string, nullable: Partial email (ilike)
- `user_id` string, uuid, nullable: Exact tintin user id
- `job_id` string, uuid, nullable: Exact nail job id — resolves to the owning user
- `limit` integer

## Response `200`

Successful Response

- NailLookupResponse
  - `users` NailLookupUserItem[], required
    - `user_id` string, required
    - `user_email` string, required
  - `total` integer, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/tintin-x/apis/tintin-api.md) · [All operations](https://skmtc.dev/tintin-x/apis/tintin-api/llms.txt) · [OpenAPI document](https://skmtc.dev/tintin-x/apis/tintin-api/revisions/8839a8d0a66c?raw)
