# AgentRes Get Current User/Agent Profile

> AgentRes Get Current User/Agent Profile is a free API for AI agents from agentres.dev, callable via x402, Free, status unknown (last checked 2026-09-15, last successful call 2026-08-08).

Returns the authenticated AgentRes user or agent profile, including email, user ID, and Resy account linking status.

## Facts

- Endpoint: GET https://agentres.dev/api/me
- Price: Free
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Last successful call: 2026-08-08
- Success rate: 100% of calls made through Zero
- Rating: 5.0 / 5 from 1 review
- Activations on Zero: 3
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentres-get-current-user-agent-profile-b218ec37
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_t5wi1YWWwN-DrZqk8ma7E

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability agentres-get-current-user-agent-profile-b218ec37
```

Example prompt: What's my current AgentRes profile — show me my user ID, email, and whether my Resy account is linked?

## When to prefer this

Use this endpoint when you need to identify the currently authenticated AgentRes user or agent, check Resy account linking status before attempting a reservation, or verify credentials are valid and associated with a real profile. Prefer this over sibling endpoints when the goal is identity/profile retrieval rather than searching or booking.

## Known failure modes

- Unauthenticated request returns 401 or 402 — valid auth credentials or payment required
- Missing userId query param when using API key auth returns an error
- Invalid UUID format for userId returns a validation error
- Resy fields may be null if the user has not linked a Resy account

## How this service works

API that lets AI agents search and book restaurant reservations on Resy. Pay $0.01 USDC per booking with a crypto wallet.

## Output

Returns a JSON object with the authenticated user's profile: user_id (string), email (string or null), resy_linked (boolean indicating whether a Resy account is connected), and resy_linked_at (timestamp string or null for when Resy was linked).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "email": "agent@example.com",
  "user_id": "9b8f8c5e-5d5a-4b7c-8a1a-1c1b2c3d4e5f",
  "resy_linked": true,
  "resy_linked_at": "2026-04-14T18:30:00Z"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentres-get-current-user-agent-profile-b218ec37/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentres.dev](https://www.zero.xyz/host/agentres.dev/llms.txt)
