Logo IconGuided Mind
v2.4Sign In
Integration

API Overview

Connect to GuidedMind via REST API - architecture, authentication, and rate limits.

The GuidedMind REST API provides direct HTTP access to your RAG projects. Every request is authenticated via API key and follows standard REST conventions.

Architecture

Base URL

https://api.guidedmind.ai

Authentication

All requests require an API key passed via the X-API-Key header:

curl -H "X-API-Key: rk_your_key_here" \
  https://api.guidedmind.ai/rag/search

Getting Your API Key

  1. Complete the RAG Wizard (Step 5: API Endpoints)
  2. Copy your key (starts with rk_)
  3. Store it in environment variables
Do
  • Store in environment variables or secrets manager
  • Use separate keys for dev/staging/production
  • Rotate keys regularly
Don't
  • Hardcode in source code
  • Commit to version control
  • Expose in client-side JavaScript

Available Endpoints

MethodEndpointPurpose
POST/rag/searchSearch your document index
POST/rag/uploadUpload a document
POST/rag/upload-and-processUpload and process immediately

Rate Limits

PlanRequests/minRequests/day
Free301,000
Pro10010,000
EnterpriseCustomCustom

When rate limited, you'll receive a 429 response:

{
  "error": "rate_limit_exceeded",
  "message": "Too many requests. Retry after 30 seconds.",
  "retry_after": 30
}

Error Responses

All errors follow a consistent format:

{
  "error": "error_code",
  "message": "Human-readable description"
}
StatusError CodeDescription
400bad_requestInvalid request format
401authentication_failedInvalid or missing API key
403access_deniedAPI access disabled for project
429rate_limit_exceededRate limit reached
500internal_errorServer error

Integration Options

Choose your integration approach:

  1. Simple Python - Quick start with requests library
  2. Per-Route Docs - Full payload documentation for each endpoint
  3. Python SDK - Type-safe client with async support
  4. MCP - Model Context Protocol for AI agents