Lunary Templates API
The Templates API from Lunary — 5 operation(s) for templates.
The Templates API from Lunary — 5 operation(s) for templates.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/lunary-templates-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Lunary Analytics Templates API
description: 'REST API for Lunary, an open-source LLM observability and evaluation
platform. Covers ingestion (runs/traces), prompt templates with versions,
datasets and dataset items, evaluations and criteria, analytics, audit
logs, checklists, playground endpoints, views, and models.
Three authentication schemes are used: project-scoped public API keys for
ingestion endpoints, project-scoped private API keys for management
endpoints, and organization-scoped API keys for org-level analytics. All
are passed as Bearer tokens in the Authorization header.
'
version: '1.0'
contact:
name: Lunary
url: https://docs.lunary.ai/
license:
name: Apache 2.0
url: https://www.apache.org/licenses/LICENSE-2.0
servers:
- url: https://api.lunary.ai
description: Lunary Cloud
security:
- ProjectPrivateApiKeyAuth: []
tags:
- name: Templates
paths:
/v1/template-versions/latest:
get:
tags:
- Templates
summary: Get latest template version
operationId: getLatestTemplateVersion
security:
- ProjectPublicApiKeyAuth: []
responses:
'200':
description: Template version
content:
application/json:
schema:
type: object
/v1/template-versions/{id}:
parameters:
- name: id
in: path
required: true
schema:
type: string
patch:
tags:
- Templates
summary: Update template version
operationId: updateTemplateVersion
requestBody:
required: true
content:
application/json:
schema:
type: object
responses:
'200':
description: Updated
content:
application/json:
schema:
type: object
/v1/templates:
get:
tags:
- Templates
summary: List templates
operationId: listTemplates
responses:
'200':
description: Templates
content:
application/json:
schema:
type: object
post:
tags:
- Templates
summary: Create template
operationId: createTemplate
requestBody:
required: true
content:
application/json:
schema:
type: object
responses:
'201':
description: Created
content:
application/json:
schema:
type: object
/v1/templates/{id}:
parameters:
- name: id
in: path
required: true
schema:
type: string
get:
tags:
- Templates
summary: Get template
operationId: getTemplate
responses:
'200':
description: Template
content:
application/json:
schema:
type: object
patch:
tags:
- Templates
summary: Update template
operationId: updateTemplate
requestBody:
required: true
content:
application/json:
schema:
type: object
responses:
'200':
description: Updated
content:
application/json:
schema:
type: object
delete:
tags:
- Templates
summary: Delete template
operationId: deleteTemplate
responses:
'204':
description: Deleted
/v1/templates/{id}/versions:
parameters:
- name: id
in: path
required: true
schema:
type: string
post:
tags:
- Templates
summary: Create template version
operationId: createTemplateVersion
requestBody:
required: true
content:
application/json:
schema:
type: object
responses:
'201':
description: Created
content:
application/json:
schema:
type: object
components:
securitySchemes:
ProjectPrivateApiKeyAuth:
type: http
scheme: bearer
bearerFormat: Lunary project private API key (UUID)
ProjectPublicApiKeyAuth:
type: http
scheme: bearer
bearerFormat: Lunary project public API key (UUID)
OrgApiKeyAuth:
type: http
scheme: bearer
bearerFormat: Lunary organization API key (UUID)