For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
PlaygroundDiscordStatusDashboardSign Up >
DocumentationSDK ReferenceGraphiti
DocumentationSDK ReferenceGraphiti
  • SDK Reference
      • POSTCreate Context Template
      • GETGet Context Template
      • PUTUpdate Context Template
      • GETList Context Templates
      • DELDelete Context Template
LogoLogo
PlaygroundDiscordStatusDashboardSign Up >
SDK ReferenceContext

Create Context Template

POST
https://api.getzep.com/api/v2/context-templates
POST
/api/v2/context-templates
1from zep_cloud import Zep
2
3client = Zep(
4 api_key="YOUR_API_KEY",
5)
6client.context.create_context_template(
7 template="template",
8 template_id="template_id",
9)
1{
2 "template": "string",
3 "template_id": "string",
4 "uuid": "string"
5}
Creates a new context template.
Was this page helpful?
Previous

Get Context Template

Next
Built with

Request

The context template to create
templatestringRequired1-1200 characters

The template content (max 1200 characters).

template_idstringRequired<=100 characters

Unique identifier for the template (max 100 characters).

Response

The created context template.
templatestring
The template content.
template_idstring

Unique identifier for the template (max 100 characters).

uuidstring
Unique identifier for the template.

Errors

400
Bad Request Error
500
Internal Server Error