Build with the Grimoire API
Integrate AI agents, prompts, and chat capabilities into your applications with our comprehensive REST API and SDKs.
AI providers supported
Models available
API uptime
Routing overhead
Get started in minutes
Choose your preferred language and start building
curl -X POST https://api.grimoire.tech/v1/prompts \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"title": "Code Review",
"content": "Review this code for security issues...",
"agent_id": "agent_123"
}'API capabilities
POST /v1/promptsPrompt Management API
Create, update, version, and organize prompts programmatically. Access your entire prompt library with full CRUD operations and template support.
POST /v1/agentsAgent API
Deploy and manage AI agents with custom configurations. Define personalities, capabilities, and workflows through code.
POST /v1/chat/completionsChat Completions API
Stream chat responses with support for multiple AI providers. Compatible with OpenAI format for easy migration.
GET /v1/workspacesWorkspace API
Manage team workspaces, permissions, and shared resources. Automate workspace setup and member management at scale.
From zero to production in 3 steps
From sign-up to your first API call in under 5 minutes
Get your API key
Sign up for a free account and generate an API key from your dashboard in seconds.
Install the SDK
Add the official SDK to your project with a single command. Available for Python and TypeScript.
Make your first request
Use the SDK or REST API to create prompts, deploy agents, and stream chat responses.
Built for developers
RESTful Design
Standard HTTP methods with JSON request/response format. Follows REST best practices for predictable, consistent behavior.
Official SDKs
Type-safe SDKs for Python and TypeScript. Auto-generated from OpenAPI spec with full IntelliSense support.
Webhooks
Real-time event notifications for agent completions, prompt updates, and workspace changes.
Rate Limiting
Generous rate limits with clear headers. Request increases as you scale. No surprise throttling.
API Key Auth
Secure API key authentication with multiple keys per workspace. Rotate keys without downtime.
Versioning
Semantic versioning with backward compatibility guarantees. Deprecation notices 6 months in advance.
API FAQ
Common questions about authentication, rate limits, and pricing.
Ready to start building?
Get your API key and start integrating Grimoire today.