Skip to main content
GET
/
v1
/
templates
Get Template
curl --request GET \
  --url https://api.agentmark.co/v1/templates \
  --header 'Authorization: <api-key>' \
  --header 'X-Agentmark-App-Id: <x-agentmark-app-id>'
{
  "data": "<unknown>"
}

Authorizations

Authorization
string
header
required

Your AgentMark API key. Create one in the dashboard under Settings > API Keys.

Example: Authorization: Bearer am_live_abc123

Headers

X-Agentmark-App-Id
string
required

Your application ID. Found in the dashboard under Settings > General.

Example:

"app_abc123"

Query Parameters

path
string
required

File path to the template. Must end with .mdx or .jsonl.

Maximum string length: 500
promptKind
string

Template kind/type identifier.

Response

The template content.

data
any

The parsed template content. Structure varies by template type.