templates

Get a template by ID

Changed on
get/admin/v1/templates/{id}

Request

  • Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /admin/v1/templates/{id}
  • Auth: HTTP bearer

Path parameters

idstring uuid required

Template ID

Response

Template found

contentstring required

The actual template content (system message template)

created_atstring date-time required
descriptionstring nullable

Optional description of what this template does

idstring uuid required
metadataobject nullable

Optional metadata (e.g., recommended temperature, max_tokens, tags)

namestring required

Name of the template

owner_idstring uuid required
owner_type'organization' | 'team' | 'project' | 'user' required

Owner type for templates (organization, team, project, or user)

updated_atstring date-time required

Changes