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

Documentation Index

Fetch the complete documentation index at: https://docs.agentmark.co/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-Agentmark-App-Id
string
header
required

Application ID for tenant scoping

Authorization
string
header
required

API key (sk_agentmark_*)

Query Parameters

path
string
required

File path relative to the agentmark directory (e.g. "my-prompt.prompt.mdx" or "my-data.jsonl")

promptKind
string

Prompt kind hint: image, speech, text, or object

Response

The template content.

data
object
required

Parsed template AST