Skip to main content
POST
Restore a deleted prompt

Authorizations

Authorization
string
header
required

API key with dtk_live_ prefix. Obtain it from API Keys in the account sidebar. New keys start with all supported scopes selected for the chosen project, and you can narrow them to specific read/write scopes as needed.

Path Parameters

projectId
string<uuid>
required

The project the credential is bound to. Read it from GET /connection.

promptId
string<uuid>
required

A deleted prompt id.

Body

application/json
requestId
string<uuid>

Your id for this request. Sending it again returns the recorded result.

Response

The restored prompt

data
object
required
meta
object
required

Sent beside data on every successful response that returns data.