Read-only API reference for a synthetic portfolio demo. Protected operations require valid credentials.
| Method | Path | Summary | Access |
|---|---|---|---|
POST | /api/v1/agentcore/products/ask | Ask About Products | Authentication required |
POST | /api/v1/auth/login | Exchange credentials for tokens | Public |
POST | /api/v1/auth/logout | Revoke the current refresh token | Public |
GET | /api/v1/auth/me | Current authenticated user | Authentication required |
POST | /api/v1/auth/refresh | Rotate refresh token, issue new access token | Public |
POST | /api/v1/auth/register | Create a new user account | Public |
DELETE | /api/v1/cart | Clear Cart | Authentication required |
GET | /api/v1/cart | Get Cart | Authentication required |
POST | /api/v1/cart/items | Add To Cart | Authentication required |
DELETE | /api/v1/cart/items/{item_id} | Remove Cart Item | Authentication required |
PATCH | /api/v1/cart/items/{item_id} | Update Cart Item | Authentication required |
GET | /api/v1/health | Liveness/readiness probe | Public |
GET | /api/v1/orders | List Orders | Authentication required |
POST | /api/v1/orders | Create an order from the current cart | Authentication required |
GET | /api/v1/orders/{order_id} | Get Order | Authentication required |
GET | /api/v1/products | List products with pagination and filters | Public |
POST | /api/v1/products | Create a product (admin only) | Authentication required |
DELETE | /api/v1/products/{product_id} | Delete a product (admin only) | Authentication required |
GET | /api/v1/products/{product_id} | Get Product | Public |
PATCH | /api/v1/products/{product_id} | Update a product (admin only) | Authentication required |