# AutoEDU Portal Agent Guide

Use this page when a learner gives you an AutoEDU portal link or asks you to fetch AutoEDU portal resources.

## What to ask the learner

Ask for the learner's AutoEDU PIN Number. Treat it as sensitive:

- do not save it in memory
- do not log it
- do not place it in URLs
- do not repeat it back to the learner unless they explicitly ask you to verify what they typed

## How to list entitled resources

Request:

```http
GET https://autoedu.ai/api/agent-portal/index
X-AutoEDU-Pin: <PIN>
```

The response lists only resources the learner is entitled to access.

## How to fetch one resource

Use the `fetchUrl` from the index, or request:

```http
GET https://autoedu.ai/api/agent-portal/resource/<resource-path>
X-AutoEDU-Pin: <PIN>
```

If you receive `missing_pin`, `invalid_pin`, `expired`, or `insufficient_access`, explain the exact issue briefly and ask the learner what they want to do next.

This public help page contains instructions only. It does not include protected AutoEDU resource content.