Skip to Content
Docs

Get a single prompt by ID

GET
/api/get_single_prompt

Get a single prompt by ID.

Personal access token scope: prompts:read.

Authorization

bearer
headerAuthorizationBearer <token>

A session token or a personal access token. Leave it empty when the instance runs without authentication (AUTH_TYPE unset).

Query Parameters

id?string

ID of the prompt

Response Body

Success

Example Request
curl -X GET 'http://localhost:7091/api/get_single_prompt'
Example Response200
Empty