Skip to main content
GET
/
api
/
v2
/
projects
/
{project_id}
/
prompt-templates
/
id
/
{template_id}
Get Projects
curl --request GET \
  --url https://api.example.com/api/v2/projects/{project_id}/prompt-templates/id/{template_id} \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "latest_template_version_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Path Parameters

project_id
string
required
template_id
string
required

Body

application/json

The body is of type EmptyResponse · object.

Response

200 - application/json

PromptTemplateInfo(id: uuid.UUID, name: str, latest_template_version_id: Optional[uuid.UUID])

id
string<uuid>
required
name
string
required
latest_template_version_id
string<uuid> | null
required