Quick Reference
Quick reference tables for Kodey API endpoints by key type
Publishable Key (pk_live_*) - Chat Only
| Method | Endpoint | Description |
|---|
| POST | /chat | Create chat |
| GET | /chat | List chats |
| GET | /chat/:chatId | Get chat |
| DELETE | /chat/:chatId | Delete chat |
| POST | /chat/:chatId/message | Send message |
| GET | /chat/:chatId/message | List messages |
Secret Key (sk_live_*) - Full Access
All endpoints from publishable key access, plus the following:
Agent Endpoints
| Method | Endpoint | Description |
|---|
| POST | /agent | Create agent |
| GET | /agent | List agents |
| GET | /agent/:id | Get agent |
| PUT | /agent/:id | Update agent |
| DELETE | /agent/:id | Delete agent |
| PUT | /agent/:id/rollback | Rollback agent |
Workflow Endpoints
| Method | Endpoint | Description |
|---|
| POST | /workflow | Create workflow |
| GET | /workflow | List workflows |
| GET | /workflow/:id | Get workflow |
| PUT | /workflow/:id | Update workflow |
| DELETE | /workflow/:id | Delete workflow |
MCP Endpoints
| Method | Endpoint | Description |
|---|
| POST | /mcp | Create MCP config |
| GET | /mcp | List MCP configs |
| GET | /mcp/:id | Get MCP config |
| PUT | /mcp/:id | Update MCP config |
| DELETE | /mcp/:id | Delete MCP config |
| GET | /mcp-apps | List MCP apps |
File Endpoints
| Method | Endpoint | Description |
|---|
| GET | /file | List files |
| PUT | /file | Update file |
| GET | /file/presigned-url | Get download URL |
| POST | /upload-url | Get upload URL |
| POST | /confirm-upload | Confirm upload |
Webhook Endpoints
| Method | Endpoint | Description |
|---|
| GET | /team/webhook | List webhooks |
| POST | /team/webhook | Create webhook |
| GET | /team/webhook/:webhookId | Get webhook |
| DELETE | /team/webhook/:webhookId | Delete webhook |
| POST | /team/webhook/:webhookId | Execute webhook |