Add fields retrieval endpoint.