# inference-sh Chats API

**Canonical:** https://apis.io/apis/inference-sh/inference-sh-chats-api/  
**Provider:** inference-sh — https://apis.io/providers/inference-sh/  
**Base URL:** https://api.inference.sh  
**Documentation:** https://inference.sh/docs/api/authentication

inference-sh Chats API is one of 65 APIs that [inference-sh](https://apis.io/providers/inference-sh/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. Tagged areas include chats. The published artifact set on APIs.io includes an OpenAPI specification.

The chats API from inference-sh — 27 operation(s) for chats.

## Operations (46)

| Method | Path | Summary |
|---|---|---|
| GET | `/chats` | Get chats |
| POST | `/chats` | Create chats |
| POST | `/chats/list` | Create chats list |
| DELETE | `/chats/messages/{id}/stream` | Delete chats messages by id stream |
| GET | `/chats/messages/{id}/stream` | Get chats messages by id stream |
| HEAD | `/chats/messages/{id}/stream` | Check chats messages by id stream |
| OPTIONS | `/chats/messages/{id}/stream` | Describe chats messages by id stream |
| PATCH | `/chats/messages/{id}/stream` | Update chats messages by id stream |
| POST | `/chats/messages/{id}/stream` | Create chats messages by id stream |
| PUT | `/chats/messages/{id}/stream` | Replace chats messages by id stream |
| POST | `/chats/messages/{messageId}/cancel` | Create chats messages by message id cancel |
| POST | `/chats/{chatId}/settings` | Create chats by chat id settings |
| POST | `/chats/{chatId}/tools/{toolId}/always-allow` | Create chats by chat id tools by tool id always allow |
| GET | `/chats/{chatId}/tools/{toolId}/always-allow/options` | Get chats by chat id tools by tool id always allow options |
| POST | `/chats/{chatId}/tools/{toolId}/explain` | Create chats by chat id tools by tool id explain |
| DELETE | `/chats/{id}` | Delete chats by id |
| GET | `/chats/{id}` | Get chats by id |
| PATCH | `/chats/{id}` | Update chats by id |
| POST | `/chats/{id}` | Create chats by id |
| POST | `/chats/{id}/agent` | Create chats by id agent |
| GET | `/chats/{id}/messages` | Get chats by id messages |
| POST | `/chats/{id}/messages` | Create chats by id messages |
| POST | `/chats/{id}/messages/list` | Create chats by id messages list |
| POST | `/chats/{id}/project` | Create chats by id project |
| GET | `/chats/{id}/rules` | Get chats by id rules |
| POST | `/chats/{id}/rules` | Create chats by id rules |
| POST | `/chats/{id}/rules/explain` | Create chats by id rules explain |
| POST | `/chats/{id}/rules/preview` | Create chats by id rules preview |
| GET | `/chats/{id}/rules/recent` | Get chats by id rules recent |
| DELETE | `/chats/{id}/rules/{ruleId}` | Delete chats by id rules by rule id |
| PUT | `/chats/{id}/rules/{ruleId}` | Replace chats by id rules by rule id |
| GET | `/chats/{id}/status` | Get chats by id status |
| POST | `/chats/{id}/steer` | Create chats by id steer |
| POST | `/chats/{id}/stop` | Create chats by id stop |
| DELETE | `/chats/{id}/stream` | Delete chats by id stream |
| GET | `/chats/{id}/stream` | Get chats by id stream |
| HEAD | `/chats/{id}/stream` | Check chats by id stream |
| OPTIONS | `/chats/{id}/stream` | Describe chats by id stream |
| PATCH | `/chats/{id}/stream` | Update chats by id stream |
| POST | `/chats/{id}/stream` | Create chats by id stream |
| PUT | `/chats/{id}/stream` | Replace chats by id stream |
| GET | `/chats/{id}/trace` | Get chats by id trace |
| POST | `/tools/{toolId}` | Create tools by tool id |
| POST | `/tools/{toolId}/invoke` | Create tools by tool id invoke |
| POST | `/tools/{toolId}/reject` | Create tools by tool id reject |
| POST | `/tools/{toolId}/widget` | Create tools by tool id widget |

## Machine-readable artifacts (1)

- **OpenAPI** — https://artifacts.apis.io/inference-sh/openapi/inference-sh-chats-api-openapi.yml

## Other inference-sh APIs (12)

- [inference-sh Agent Runs API](https://apis.io/apis/inference-sh/inference-sh-agent-runs-api/)
- [inference-sh Agents API](https://apis.io/apis/inference-sh/inference-sh-agents-api/)
- [inference-sh API Keys API](https://apis.io/apis/inference-sh/inference-sh-api-keys-api/)
- [inference-sh Apps API](https://apis.io/apis/inference-sh/inference-sh-apps-api/)
- [inference-sh Artifacts API](https://apis.io/apis/inference-sh/inference-sh-artifacts-api/)
- [inference-sh Auth API](https://apis.io/apis/inference-sh/inference-sh-auth-api/)
- [inference-sh Auth Providers API](https://apis.io/apis/inference-sh/inference-sh-auth-providers-api/)
- [inference-sh Billing API](https://apis.io/apis/inference-sh/inference-sh-billing-api/)
- [inference-sh Bounties API](https://apis.io/apis/inference-sh/inference-sh-bounties-api/)
- [inference-sh Companies API](https://apis.io/apis/inference-sh/inference-sh-companies-api/)
- [inference-sh Consent API](https://apis.io/apis/inference-sh/inference-sh-consent-api/)
- [inference-sh Content API](https://apis.io/apis/inference-sh/inference-sh-content-api/)

## Tags

chats

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/inference-sh/inference-sh-chats-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/inference-sh/.
