# Templates

Templates are used for presenting verifiable credentials to the user in a a pretty, readable and informative way. They can be used on the persisted credentials web view in Truvera workspace or for downloading credentials as PDF document. We have a [Designer function](/truvera-workspace/create-a-design.md) in the Truvera Workspace for creating Design templates.

We also have a library <https://github.com/docknetwork/prettyvc> that can be used to create templates and has samples of templates for users that want more customisation for their designs or use the same principal for their wallet credential display.

{% openapi src="<https://swagger-api.truvera.io/openapi.yaml>" path="/templates" method="post" %}
<https://swagger-api.truvera.io/openapi.yaml>
{% endopenapi %}

{% openapi src="<https://swagger-api.truvera.io/openapi.yaml>" path="/templates" method="get" %}
<https://swagger-api.truvera.io/openapi.yaml>
{% endopenapi %}

{% openapi src="<https://swagger-api.truvera.io/openapi.yaml>" path="/templates/{id}" method="get" %}
<https://swagger-api.truvera.io/openapi.yaml>
{% endopenapi %}

{% openapi src="<https://swagger-api.truvera.io/openapi.yaml>" path="/templates/{id}" method="patch" %}
<https://swagger-api.truvera.io/openapi.yaml>
{% endopenapi %}

{% openapi src="<https://swagger-api.truvera.io/openapi.yaml>" path="/templates/{id}" method="delete" %}
<https://swagger-api.truvera.io/openapi.yaml>
{% endopenapi %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.truvera.io/truvera-api/templates.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
