AI Model API

Model Context Protocol (MCP) API for ethical AI data access and training

Model Context Protocol (MCP)

This API follows the Model Context Protocol standard, providing AI models with ethical access to user data based on explicit consent and opt-in preferences. All data access is tracked for transparency and royalty distribution.

Base URL

https://opttab.com/api/v1/ai

API Capabilities

Quick Example

curl "https://opttab.com/api/v1/ai/server-info" \
  -H "X-API-Key: opttab_abc123..." \
  -H "X-API-Secret: your-secret-here"

Response

{
  "name": "Opttab AI Access Server",
  "version": "1.0.0",
  "description": "Provides AI models with ethical access to user data",
  "tools": [
    "check_opt_status",
    "get_opted_in_content",
    "get_campaign_content",
    "update_campaign_metrics"
  ]
}

Typical Workflow

1

Check Opt-in Status

Before accessing any user data, check if they've opted in for your AI model.

2

Create Content Request

Define what content you need, set budget and targeting criteria.

3

Review Submissions

Users submit content. You review and accept/reject via API.

4

Automatic Payment

On acceptance, 80% goes to creator, 20% to platform. Budget auto-deducted.

5

Track Usage

Monitor your budget status, usage quotas, and submission statistics.