Obvious/Help Center

List Templates

Published February 27, 2026 · Last updated March 5, 2026 · 1 min read

GET /api/v1/templates returns all templates accessible to your API key. Use this to discover available templates and their IDs before creating a project.


Authentication

Include your API key in the Authorization header of every request. API keys are scoped to a workspace and inherit the permissions of the user who created them.

Authorization: Bearer obv_your_api_key

Generate API keys in Settings → External Access.


Parameters

No query parameters. The endpoint returns all templates visible to your API key based on these visibility rules:

  • Public — Available to everyone.

  • Workspace — Shared with your workspace.

  • Team — Shared with teams you belong to.

  • Private — Created by you.


Response

A successful request returns 200 OK with an array of template objects.

{
  "templates": [
    {
      "id": "tpl_abc123",
      "name": "Sales Analysis Template",
      "description": "Analyze quarterly sales data"
    }
  ]
}
FieldTypeDescription
templatesarrayList of templates visible to your API key.
templates[].idstringThe template ID. Pass this to Create Project from Template to start a project.
templates[].namestringThe template's display name.
templates[].descriptionstringA short description of what the template does.

Code Example

curl -X GET https://api.app.obvious.ai/api/v1/templates \
  -H "Authorization: Bearer obv_your_api_key"

Errors

StatusErrorCause
401Authorization header requiredMissing Authorization header.
401Invalid authorization formatHeader doesn't start with Bearer .
401Invalid or expired API keyThe API key doesn't exist or has been revoked.

Was this helpful?