# Get the active AI prompt (internal) **GET /ai/admin/prompts/{purpose}/active** Returns the prompt the pipeline uses for one purpose: the active stored version, or the code default when none is stored. The result is cached for up to a minute and has a different shape from a stored version (the tool fields are grouped under `tool`). An unknown `purpose` returns 400. Super admins only. ## Servers - http://api.example.com: http://api.example.com () ## Authentication methods - Access token ## Parameters ### Path parameters - **purpose** (string) ## Responses ### 200 #### Body: application/json (object) - **data** (object) - **statusCode** (number) - **timestamp** (string(date-time)) [Powered by Bump.sh](https://bump.sh)