Skip to main content

Introduction

Welcome to the Tess AI API documentation. This guide will help you integrate Tess AI's powerful agent and file management capabilities into your applications.

Getting Started​

To use the Tess AI API, you'll need an API key. You can create one by:

  1. Going directly to #Tess AI → User Tokens
  2. Or navigating through the UI:
    • Visit #Tess AI
    • Click on the User Menu
    • Select "API Tokens"
    • Click "Add New Token"

Once you have your API key, you can use it to authenticate your API requests as shown in the Authentication section below.

Available Endpoints​

Agents​

EndpointMethodDescriptionDocumentation
/agentsGETList all agentsList Agents
/agents/{id}GETGet a specific agentGet Agent
/agents/{id}/executePOSTExecute an agentExecute Agent
/agent-responses/{id}GETGet agent execution responseGet Agent Response

Agent Files​

EndpointMethodDescriptionDocumentation
/agents/{agentId}/filesGETList agent filesList Agent Files
/agents/{agentId}/filesPOSTLink files to agentLink Files to Agent
/agents/{agentId}/files/{fileId}DELETEDelete agent fileDelete Agent File

Agent Webhooks​

EndpointMethodDescriptionDocumentation
/agents/{id}/webhooksGETList agent webhooksList Agent Webhooks
/agents/{id}/webhooksPOSTCreate agent webhookCreate Agent Webhook

Memories​

EndpointMethodDescriptionDocumentation
/memoriesGETList all memoriesList Memories
/memoriesPOSTCreate a memoryCreate Memory
/memories/{memoryId}PATCHUpdate a memoryUpdate Memory
/memories/{memoryId}DELETEDelete a memoryDelete Memory

Memory Collections​

EndpointMethodDescriptionDocumentation
/memory-collectionsGETList all collectionsList Collections
/memory-collectionsPOSTCreate a collectionCreate Collection
/memory-collections/{collection_id}PUTUpdate a collectionUpdate Collection
/memory-collections/{collection_id}DELETEDelete a collectionDelete Collection

Files​

EndpointMethodDescriptionDocumentation
/filesGETList all filesList Files
/filesPOSTUpload a fileUpload File
/files/{fileId}GETGet file detailsGet File
/files/{fileId}DELETEDelete a fileDelete File
/files/{fileId}/processPOSTProcess a fileProcess File

Webhooks​

EndpointMethodDescriptionDocumentation
/webhooksGETList all webhooksList Webhooks
/webhooks/{id}DELETEDelete a webhookDelete Webhook

Authentication​

The Tess AI API uses Bearer token authentication. All API requests must include an Authorization header with a valid API key.

Authorization: Bearer YOUR_API_KEY
caution

Keep your API key secure and never share it in publicly accessible areas such as GitHub, client-side code, or public forums.

Base URL​

All API requests should be made to:

https://api.tess.im

Rate Limiting​

The default rate limit applied to all endpoint is 1 request per second.

note

Contact support if you need increased rate limits for your application.

Request/Response Format​

Unless otherwise specified, all requests and responses are in JSON format. Include the following header in your requests:

Content-Type: application/json

Pagination​

Many endpoints return paginated results. You can control pagination using these query parameters:

ParameterTypeDefaultDescriptionConstraints
pageinteger1Current page numberMinimum: 1
per_pageinteger15Items per pageMinimum: 1, Maximum: 100

Example pagination response:

{
"data": [...],
"meta": {
"current_page": 1,
"per_page": 15
}
}