> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tess.im/llms.txt
> Use this file to discover all available pages before exploring further.

# Overview

Welcome to the Tess API documentation! This guide will help you get started with our API and understand how to integrate Tess's powerful capabilities into your applications.

### **Base URL**

All API requests should be made to the following base URL:

```text theme={null}
https://api.tess.im
```

## **Authentication**

All API requests require authentication using an API key. You can obtain your API key from the [Tess Dashboard](https://tess.im/dashboard).

To authenticate your requests, include your API key in the `Authorization` header:

```text theme={null}
Authorization: Bearer YOUR_API_KEY
```

## **Workspace header**

Authenticated API requests must include the workspace context header:

```text theme={null}
x-workspace-id: YOUR_WORKSPACE_ID
```

**Required as of 2026-09-01** for agent execution and other authenticated API endpoints. Until then, if omitted, the API falls back to the user's selected workspace (deprecated). After the cutoff, a missing header returns **422**. See [Errors](https://docs.tess.im/en/errors.md).

## **API Endpoints**

The Tess API provides the following main categories of endpoints:

#### **Agents**

| **Endpoint** | **Method** | **Description** | **Documentation** |
| :- | :- | :- | :- |
| `/agents` | GET | List all agents | [List Agents](https://docs.tess.im/en/list-agents.md) |
| `/agents/{id}` | GET | Get a specific agent | [Get Agent](https://docs.tess.im/en/get-agent.md) |
| `/agents/{id}/execute` | POST | Execute an agent | [Execute Agent](https://docs.tess.im/en/execute-agent.md) |
| `/agent-responses/{id}` | GET | Get agent execution response | [Get Agent Response](https://docs.tess.im/en/agent-response.md) |

#### **Agent Files**

| **Endpoint** | **Method** | **Description** | **Documentation** |
| :- | :- | :- | :- |
| `/agents/{agentId}/files` | GET | List agent files | [List Agent Files](https://docs.tess.im/en/list-agent-files.md) |
| `/agents/{agentId}/files` | POST | Link files to agent | [Link Files to Agent](https://docs.tess.im/en/link-files.md) |
| `/agents/{agentId}/files/{fileId}` | DELETE | Delete agent file | [Delete Agent File](https://docs.tess.im/en/delete-agent-file.md) |

#### **Agent Webhooks**

| **Endpoint** | **Method** | **Description** | **Documentation** |
| :- | :- | :- | :- |
| `/agents/{id}/webhooks` | GET | List agent webhooks | [List Agent Webhooks](https://docs.tess.im/en/list-agent-webhooks.md) |
| `/agents/{id}/webhooks` | POST | Create agent webhook | [Create Agent Webhook](https://docs.tess.im/en/create-agent-webhook.md) |

#### **Workspaces**

| **Endpoint** | **Method** | **Description** | **Documentation** |
| :- | :- | :- | :- |
| `/workspaces/usage` | GET | List agent execution history (usage) | [Workspace usage](https://docs.tess.im/en/workspace-usage.md) |

#### **Mission Control**

| **Endpoint** | **Method** | **Description** | **Documentation** |
| :- | :- | :- | :- |
| `/mission-control/usage` | GET | Workspace AI consumption, executions and adoption | [Mission Control usage](https://docs.tess.im/en/mission-control-usage.md) |

#### **Audit Events**

| **Endpoint** | **Method** | **Description** | **Documentation** |
| :- | :- | :- | :- |
| `/audit-events` | GET | Pull workspace-scoped audit events for SIEM ingestion | [Audit events](https://docs.tess.im/en/audit-events.md) |

#### **Memories**

| **Endpoint** | **Method** | **Description** | **Documentation** |
| :- | :- | :- | :- |
| `/memories` | GET | List all memories | [List Memories](https://docs.tess.im/en/list-memories.md) |
| `/memories` | POST | Create a memory | [Create Memory](https://docs.tess.im/en/create-memory.md) |
| `/memories/{memoryId}` | PATCH | Update a memory | [Update Memory](https://docs.tess.im/en/update-memory.md) |
| `/memories/{memoryId}` | DELETE | Delete a memory | [Delete Memory](https://docs.tess.im/en/delete-memory.md) |

#### **Memory Collections**

| **Endpoint** | **Method** | **Description** | **Documentation** |
| :- | :- | :- | :- |
| `/memory-collections` | GET | List all collections | [List Collections](https://docs.tess.im/en/list-collections.md) |
| `/memory-collections` | POST | Create a collection | [Create Collection](https://docs.tess.im/en/create-collection.md) |
| `/memory-collections/{collection_id}` | PUT | Update a collection | [Update Collection](https://docs.tess.im/en/update-collection.md) |
| `/memory-collections/{collection_id}` | DELETE | Delete a collection | [Delete Collection](https://docs.tess.im/en/delete-collection.md) |

#### **Files**

| **Endpoint** | **Method** | **Description** | **Documentation** |
| :- | :- | :- | :- |
| `/files` | GET | List all files | [List Files](https://docs.tess.im/en/list-files.md) |
| `/files` | POST | Upload a file | [Upload File](https://docs.tess.im/en/upload-file.md) |
| `/files/{fileId}` | GET | Get file details | [Get File](https://docs.tess.im/en/get-file.md) |
| `/files/{fileId}` | DELETE | Delete a file | [Delete File](https://docs.tess.im/en/delete-file.md) |
| `/files/{fileId}/process` | POST | Process a file | [Process File](https://docs.tess.im/en/process-file.md) |

#### **Webhooks**

| **Endpoint** | **Method** | **Description** | **Documentation** |
| :- | :- | :- | :- |
| `/webhooks` | GET | List all webhooks | [List Webhooks](https://docs.tess.im/en/list-webhooks.md) |
| `/webhooks/{id}` | DELETE | Delete a webhook | [Delete Webhook](https://docs.tess.im/en/delete-webhook.md) |

#### **Agent Versions**

| **Endpoint** | **Method** | **Description** | **Documentation** |
| :- | :- | :- | :- |
| `/agents/{id}/versions` | GET | List Agent Versions | [List Agent Versions](https://docs.tess.im/en/list-agent-versions.md) |
| `/agents/{id}/versions/{version_number}` | GET | Get Agent Version | [Get Agent Version](https://docs.tess.im/en/get-agent-version.md) |
| `/agents/{id}/versions/{version_number}/rollback` | POST | Rollback Agent Version | [Rollback Agent Version](https://docs.tess.im/en/rollback-agent-version.md) |

#### **Agent Schedulers**

| **Endpoint** | **Method** | **Description** | **Documentation** |
| :- | :- | :- | :- |
| `/schedulers` | GET | List All Schedulers | [List All Schedulers](https://docs.tess.im/en/list-schedulers.md) |
| `/agents/{agentId}/schedulers` | GET | List Agent Schedulers | [List Agent Schedulers](https://docs.tess.im/en/list-agent-schedulers.md) |
| `/agents/{agentId}/schedulers` | POST | Create Scheduler | [Create Scheduler](https://docs.tess.im/en/create-scheduler.md) |
| `/agents/{agentId}/schedulers/{schedulerId}` | GET | Get Scheduler | [Get Scheduler](https://docs.tess.im/en/get-scheduler.md) |
| `/agents/{agentId}/schedulers/{schedulerId}` | PUT | Update Scheduler | [Update Scheduler](https://docs.tess.im/en/update-scheduler.md) |
| `/agents/{agentId}/schedulers/{schedulerId}` | DELETE | Delete Scheduler | [Delete Scheduler](https://docs.tess.im/en/delete-scheduler.md) |
| `/agents/{agentId}/schedulers/by-root-execution/{agentRootIdExecution}` | DELETE | Delete Schedulers by Root Execution | [Delete Schedulers by Root Execution](https://docs.tess.im/en/delete-schedulers-by-root-execution.md) |

#### **Artifacts**

| **Endpoint** | **Method** | **Description** | **Documentation** |
| :- | :- | :- | :- |
| `/artifacts` | GET | List Artifacts | [List Artifacts](https://docs.tess.im/en/list-artifacts.md) |
| `/artifacts` | POST | Create Artifact | [Create Artifact](https://docs.tess.im/en/create-artifact.md) |
| `/artifacts/{universal_id}` | GET | Get Artifact | [Get Artifact](https://docs.tess.im/en/get-artifact.md) |
| `/artifacts/{universal_id}` | PATCH | Rename Artifact | [Rename Artifact](https://docs.tess.im/en/rename-artifact.md) |
| `/artifacts/{universal_id}` | DELETE | Delete Artifact | [Delete Artifact](https://docs.tess.im/en/delete-artifact.md) |
| `/artifacts/{universal_id}/edit` | POST | Edit Artifact | [Edit Artifact](https://docs.tess.im/en/edit-artifact.md) |
| `/artifacts/{universal_id}/publish` | POST | Publish Artifact Version | [Publish Artifact Version](https://docs.tess.im/en/publish-artifact.md) |
| `/artifacts/{universal_id}/publish` | DELETE | Unpublish Artifact | [Unpublish Artifact](https://docs.tess.im/en/unpublish-artifact.md) |
| `/artifacts/{universal_id}/restore` | POST | Restore Artifact Version | [Restore Artifact Version](https://docs.tess.im/en/restore-artifact-version.md) |
| `/artifacts/{universal_id}/share` | POST | Share or Unshare Artifact | [Share or Unshare Artifact](https://docs.tess.im/en/share-artifact.md) |
| `/artifacts/{universal_id}/versions` | GET | List Artifact Versions | [List Artifact Versions](https://docs.tess.im/en/list-artifact-versions.md) |
| `/artifacts/{universal_id}/versions/{version}` | DELETE | Delete Artifact Version | [Delete Artifact Version](https://docs.tess.im/en/delete-artifact-version.md) |
| `/artifact-templates` | GET | List Artifact Templates | [List Artifact Templates](https://docs.tess.im/en/list-artifact-templates.md) |

#### **Memory Import**

| **Endpoint** | **Method** | **Description** | **Documentation** |
| :- | :- | :- | :- |
| `/memory-import` | POST | Import Memories from Text | [Import Memories from Text](https://docs.tess.im/en/import-memories.md) |
| `/memory-import/{id}` | GET | Get Memory Import Status | [Get Memory Import Status](https://docs.tess.im/en/get-memory-import.md) |

#### **Account**

| **Endpoint** | **Method** | **Description** | **Documentation** |
| :- | :- | :- | :- |
| `/me` | GET | Get Current User | [Get Current User](https://docs.tess.im/en/get-me.md) |

#### **Agent Responses**

| **Endpoint** | **Method** | **Description** | **Documentation** |
| :- | :- | :- | :- |
| `/agent-responses` | GET | List Agent Responses | [List Agent Responses](https://docs.tess.im/en/list-agent-responses.md) |

#### **File References and Visibility**

| **Endpoint** | **Method** | **Description** | **Documentation** |
| :- | :- | :- | :- |
| `/files/resolve` | POST | Resolve File Reference | [Resolve File Reference](https://docs.tess.im/en/resolve-file-reference.md) |
| `/files/{fileId}/visibility` | PATCH | Update File Visibility | [Update File Visibility](https://docs.tess.im/en/update-file-visibility.md) |

#### **Memory Collection IDs**

| **Endpoint** | **Method** | **Description** | **Documentation** |
| :- | :- | :- | :- |
| `/memory-collections/ids` | GET | List Collection IDs | [List Collection IDs](https://docs.tess.im/en/list-collection-ids.md) |

#### **Digital Employees**

| **Endpoint** | **Method** | **Description** | **Documentation** |
| :- | :- | :- | :- |
| `/digital-employees/capabilities` | GET | Get Capabilities | [Get Capabilities](https://docs.tess.im/en/de-capabilities.md) |
| `/digital-employees` | GET | List Digital Employees | [List Digital Employees](https://docs.tess.im/en/de-list.md) |
| `/digital-employees/standalone` | POST | Create Standalone Employee | [Create Standalone Employee](https://docs.tess.im/en/de-create-standalone.md) |
| `/digital-employees/agents/{agentId}` | POST | Create Employee from Agent | [Create Employee from Agent](https://docs.tess.im/en/de-create-from-agent.md) |
| `/digital-employees/{employeeId}` | GET | Get Digital Employee | [Get Digital Employee](https://docs.tess.im/en/de-get.md) |
| `/digital-employees/{employeeId}` | PUT | Update Digital Employee | [Update Digital Employee](https://docs.tess.im/en/de-update.md) |
| `/digital-employees/{employeeId}/duplicate` | POST | Duplicate Digital Employee | [Duplicate Digital Employee](https://docs.tess.im/en/de-duplicate.md) |
| `/digital-employees/{employeeId}` | DELETE | Delete Digital Employee | [Delete Digital Employee](https://docs.tess.im/en/de-delete.md) |
| `/digital-employees/schedule-preview` | POST | Preview Schedule | [Preview Schedule](https://docs.tess.im/en/de-schedule-preview.md) |
| `/digital-employees/{employeeId}/invoke` | POST | Invoke Digital Employee | [Invoke Digital Employee](https://docs.tess.im/en/de-invoke.md) |
| `/digital-employees/{employeeId}/runs/{runId}/retry` | POST | Retry Run | [Retry Run](https://docs.tess.im/en/de-retry-run.md) |
| `/digital-employees/{employeeId}/runs` | GET | List Runs | [List Runs](https://docs.tess.im/en/de-list-runs.md) |
| `/digital-employees/{employeeId}/runs/{runId}` | GET | Get Run | [Get Run](https://docs.tess.im/en/de-get-run.md) |
| `/digital-employees/{employeeId}/runs/{runId}/output` | GET | Get Run Output | [Get Run Output](https://docs.tess.im/en/de-run-output.md) |
| `/digital-employees/{employeeId}/runs/{runId}/stream` | GET | Stream Run | [Stream Run](https://docs.tess.im/en/de-run-stream.md) |
| `/digital-employees/{employeeId}/pause` | POST | Pause Digital Employee | [Pause Digital Employee](https://docs.tess.im/en/de-pause.md) |
| `/digital-employees/{employeeId}/resume` | POST | Resume Digital Employee | [Resume Digital Employee](https://docs.tess.im/en/de-resume.md) |
| `/digital-employees/{employeeId}/rollback-options` | GET | Get Rollback Options | [Get Rollback Options](https://docs.tess.im/en/de-rollback-options.md) |
| `/digital-employees/{employeeId}/rollback` | POST | Rollback Digital Employee | [Rollback Digital Employee](https://docs.tess.im/en/de-rollback.md) |
| `/digital-employees/{employeeId}/reparent` | POST | Reparent Digital Employee | [Reparent Digital Employee](https://docs.tess.im/en/de-reparent.md) |
| `/digital-employees/{employeeId}/detach` | POST | Detach Digital Employee | [Detach Digital Employee](https://docs.tess.im/en/de-detach.md) |
| `/digital-employees/{employeeId}/runs/summary` | GET | Get Runs Summary | [Get Runs Summary](https://docs.tess.im/en/de-runs-summary.md) |
| `/digital-employees/{employeeId}/activity` | GET | Get Activity Log | [Get Activity Log](https://docs.tess.im/en/de-activity.md) |
| `/digital-employees/{employeeId}/files` | GET | Get Employee Files | [Get Employee Files](https://docs.tess.im/en/de-files.md) |
| `/digital-employees/{employeeId}/goal` | PUT | Update Goal | [Update Goal](https://docs.tess.im/en/de-update-goal.md) |
| `/digital-employees/{employeeId}/approve` | POST | Approve Hire Request | [Approve Hire Request](https://docs.tess.im/en/de-approve.md) |
| `/digital-employees/{employeeId}/reject` | POST | Reject Hire Request | [Reject Hire Request](https://docs.tess.im/en/de-reject.md) |
| `/digital-employees/avatar-upload` | POST | Upload Avatar | [Upload Avatar](https://docs.tess.im/en/de-avatar-upload.md) |
| `/digital-employees/template-packs/agents/{agentId}` | GET | Export Template Pack | [Export Template Pack](https://docs.tess.im/en/de-export-template.md) |
| `/digital-employees/template-packs/preview-import` | POST | Preview Template Import | [Preview Template Import](https://docs.tess.im/en/de-preview-import.md) |
| `/digital-employees/template-packs/import` | POST | Import Template Pack | [Import Template Pack](https://docs.tess.im/en/de-import-template.md) |

## **Request Format**

Most API endpoints accept JSON-encoded request bodies. Make sure to include the following header in your requests:

```text theme={null}
Content-Type: application/json
```

## **Response Format**

All API responses are returned in JSON format. A successful response will typically have a `2xx` HTTP status code and contain the requested data. Error responses will have a `4xx` or `5xx` status code and include an error message.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.