PromptsPricingHow to UseAbout

The standard for prompt engineering. Version, test, and deploy your prompts with confidence.

A product of Sparktac

Product

  • Features
  • Pricing
  • API / Developer
  • Changelog

Company

  • About
  • Contact

Legal

  • Privacy Policy
  • Terms of Service
  • Security

© 2025 Sparktac Technologies. All rights reserved.

API Reference v1

The Context Layer API

Fetch your prompts dynamically at runtime. Decouple your AI logic from your application code.

Authentication

Secure access via API Keys

Include your API key in the x-api-key header for all requests. Do not share this key or expose it in client-side code.

Need an API Key?

Generate one in your workspace settings.

GET/api/v1/prompt
Operational

Query Parameters

slugRequired

The unique identifier string of the prompt you want to fetch.

versionOptional

Specific version number. Defaults to the latest published version.

Headers

x-api-keyRequired

Your secret API key. Used to identify your workspace and enforce rate limits.

Request Examples

curl -X GET "https://openprompt.sparktac.in/api/v1/prompt?slug=my-awesome-prompt" \
  -H "x-api-key: YOUR_API_KEY"

Response Format

{
  "meta": {
    "title": "My Awesome Prompt",
    "description": "A very useful system prompt",
    "slug": "my-awesome-prompt",
    "owner_id": 123,
    "is_public": false,
    "created_at": "2024-01-01T10:00:00.000Z",
    "updated_at": "2024-01-02T15:30:00.000Z"
  },
  "version": {
    "number": 2,
    "content": "You are a helpful AI assistant...",
    "changelog": "Improved clarity",
    "created_at": "2024-01-02T15:30:00.000Z"
  }
}