---
title: "Ask the NMLP assistant a question"
method: POST
path: "/api/ask"
tags: ["actions"]
---

# Ask the NMLP assistant a question

`POST /api/ask`

## Request

- Base URL: `https://newmexicoliteracyproject.org`
- URL: `https://newmexicoliteracyproject.org/api/ask`
- Auth: none declared

Natural-language Q&A over NMLP's own guides — donation, drop-off, free-pickup, rare-collection, accepted-items, service-area, and New Mexico book questions. Backs the /ask-nmlp assistant. Returns a grounded answer with source links; can also surface the free-pickup path. Public, no key, CORS enabled.

## Request body

- object
  - `question` string, required: The user's natural-language question about donating, dropping off, or selling books in the Albuquerque metro / New Mexico.

## Response `200`

Grounded answer payload

- object: Answer text plus any source links / suggested next action.

## Other responses

- `400`: Missing or empty 'question'
- `405`: Method not allowed — use POST

---

[API](https://skmtc.dev/newmexicoliteracyproject/apis/new-mexico-literacy-project-public-api.md) · [All operations](https://skmtc.dev/newmexicoliteracyproject/apis/new-mexico-literacy-project-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/newmexicoliteracyproject/apis/new-mexico-literacy-project-public-api/revisions/a26a5b8e4177?raw)
