Get an existing prompt

Get a specific prompt by name, optionally with inputs and override. This endpoint retrieves a specific prompt and allows for optional inputs and template override. Only superusers can access this endpoint.

Path parameters

namestringRequired
Prompt name

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

X-API-KeystringRequired

Query parameters

prompt_overridestringOptional
Prompt override

Request

Prompt inputs

Response

Successful Response
resultsobject

Errors