Skip to main content
GET
/
api
/
platform
/
templates
List Templates
curl --request GET \
  --url https://api.example.com/api/platform/templates
{
  "templates": [
    {}
  ]
}

Request

GET /api/platform/templates

Query Parameters

service
string
Filter by service: "slack" or "linear"
visibility
string
Filter by visibility: "public" or "private"

Example Request

curl -X GET "https://api.agentdiff.dev/api/platform/templates?service=slack" \
  -H "X-API-Key: ad_live_sk_..."

Response

templates
array
List of available templates

Example Response

{
  "templates": [
    {
      "id": "template-123",
      "name": "slack_default",
      "service": "slack",
      "description": "Default Slack workspace with users and channels",
      "location": "slack_default",
      "visibility": "public",
      "createdAt": "2025-01-01T00:00:00Z"
    },
    {
      "id": "template-456",
      "name": "slack_bench_default",
      "service": "slack",
      "description": "Extended Slack workspace for benchmarks",
      "location": "slack_bench_default",
      "visibility": "public",
      "createdAt": "2025-01-01T00:00:00Z"
    }
  ]
}

Built-in Templates

Slack

TemplateContentsUse For
slack_default3 users, 2 channels (#general, #random), 3 messagesBasic testing
slack_bench_defaultExtended with threads, reactions, DMsBenchmark evaluations
slack_baseUsers and channels only (no messages)Custom scenarios
Key User IDs in Slack templates:
  • U01AGENBOT9 - Agent Bot (use for impersonateUserId)
  • U02JOHNDOE1 - John Doe
  • U03JANEDOE2 - Jane Doe
Key Channel IDs:
  • C01GENERAL99 - #general
  • C02RANDOM123 - #random

Linear

TemplateContentsUse For
linear_expanded2 teams, 40+ issues, labels, workflows, projectsBenchmark evaluations
linear_default2 teams, 5 issues, basic workflowsBasic testing
linear_baseTeams and users onlyCustom scenarios
Key Team IDs in Linear templates:
  • ad608998-915c-4bad-bcd9-85ebfccccee8 - Engineering (ENG)
  • 58c03c85-7b0c-466d-9a4c-120209fccb56 - Growth (GRO)
View full seed data: Check examples/slack/seeds/ and examples/linear/seeds/ in the repo to see all entities and their IDs.

SDK Usage

templates = client.list_templates()

for t in templates.templates:
    print(f"{t.name} ({t.service}) - {t.description}")