Get a single RAG chunk
GET/wp-json/wp2tutor/rag/v1/chunk/:id_chunk
Full text of one RAG chunk by id. Missing from the index returns 404.
Request
Responses
- 200
- 401
- 403
- 404
OK
Not authenticated. WordPress REST: rest_not_logged_in / rest_forbidden. Use cookie + X-WP-Nonce or Application Password.
Insufficient capability or invalid REST nonce. WordPress REST: rest_forbidden / rest_cookie_invalid_nonce.
Chunk not found. PHP returns JSON {message: Not found}, not WP_Error.