Skip to content

Authentication

Learn how to authenticate with the Tajiri Vision API.


Current Status

Public Beta

During the beta phase, the API is publicly accessible without authentication. Rate limits apply to prevent abuse.


Rate Limits

Rate limits apply per IP address. See Rate Limits for details and retry logic.


Future: API Keys (Coming Soon)

Enterprise Partners

For enterprise integrations with Orange, MTN, and other partners, we will provide dedicated API keys with:

  • Higher rate limits
  • Priority processing
  • Usage analytics
  • SLA guarantees

Planned Authentication Flow

# Future implementation
import requests

headers = {
    "X-API-Key": "your-api-key-here"
}

response = requests.post(
    "https://api.tajirifarm.com/diagnosis/",
    headers=headers,
    files={"image": open("plant.jpg", "rb")},
    data={"crop_type": "tomato"}
)

Request Tracking

Every response includes a unique request_id in both:

  1. Response body: response.json()["request_id"]
  2. Response header: X-Request-ID

Use this ID for:

  • Debugging issues
  • Contacting support
  • Correlating logs
response = requests.post(url, files=files, data=data)

# From body
request_id = response.json().get("request_id")

# From header
request_id = response.headers.get("X-Request-ID")

Contact for Enterprise Access

Interested in enterprise API access with dedicated keys?

  • Email: partners@tajirifarm.com
  • Subject: "API Enterprise Access - [Your Company]"

Include:

  • Expected monthly request volume
  • Use case description
  • Company/organization name