Skip to main content
GET
/
prompts
/
{prompt_id}
Get prompt details by ID
curl --request GET \
  --url https://sdk.senso.ai/api/v1/prompts/{prompt_id} \
  --header 'X-API-Key: <api-key>'
{
  "prompt_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "text": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "deleted_at": "2023-11-07T05:31:56Z"
}

Authorizations

X-API-Key
string
header
required

API key authorization

Path Parameters

prompt_id
string<uuid>
required

The unique identifier (UUID) of the prompt

Response

Prompt details successfully retrieved

prompt_id
string<uuid>

The unique identifier of the prompt

name
string

The name of the prompt

text
string

The prompt text with variables

created_at
string<date-time>

When the prompt was created

updated_at
string<date-time>

When the prompt was last updated

deleted_at
string<date-time> | null

When the prompt was deleted (null if not deleted)

I