OpenPhn docs
Referencetemplates

Fetch a template

GET
/v1/templates/{template_id}

Path Parameters

template_id*Template Id

Response Body

application/json

application/json

curl -X GET "https://loading/v1/templates/string"
{
  "name": "string",
  "description": "string",
  "objective": "string",
  "context": "string",
  "outcome_schema": {},
  "tools": [
    {}
  ],
  "consent_type": "prior_express",
  "voice_engine": "gemini_25",
  "language": "en-US",
  "id": "string",
  "created_at": "string"
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}