API Reference

API documentation for integrating with ThetchedAI services. Authentication, endpoints, and code examples.

Introduction

The ThetchedAI API allows you to programmatically access AI agent capabilities, trigger automation workflows, and integrate Claude-powered features into your applications.

Authentication

All API requests require authentication using a Bearer token. Include your API key in the Authorization header:

# Request Header
Authorization: Bearer your_api_key

API keys can be generated from your dashboard. Keep your keys secure and never expose them in client-side code.

Endpoints

POST/api/v1/agents/run

Execute an AI agent workflow with the provided input parameters.

{
"agent_id": "legal-research-001",
"input": {"query": "contract law precedents..."}
}
GET/api/v1/agents/{id}/status

Check the status of a running agent workflow.

POST/api/v1/automation/trigger

Trigger an automated workflow with custom parameters.

Rate Limits

100

Requests per minute (Standard)

1,000

Requests per minute (Enterprise)

10,000

Tokens per request

SDKs & Libraries

TypeScript SDK

npm install @thatchedai/sdk

Python SDK

pip install thatchedai

Need API Access?

Contact us to get API credentials for your project. We'll help you integrate our AI capabilities into your applications.

Request API Access