# llm-api

Version: 1.0.0

## Servers

```
https://llm-api.treasuredata.com
```

```
https://llm-api.eu01.treasuredata.com
```

```
https://llm-api.ap02.treasuredata.com
```

```
https://llm-api.treasuredata.co.jp
```

## Security

### ApiKeyAuth

Type: http
Scheme: TD1

## Download OpenAPI description

[llm-api](https://docs.treasure.ai/_bundle/apis/llm_api-public.yaml)

## Action

### index

 - [GET /api/actions](https://docs.treasure.ai/apis/llm_api-public/action/paths/~1api~1actions/get.md)

### slack

 - [POST /api/actions/{id}/slack](https://docs.treasure.ai/apis/llm_api-public/action/paths/~1api~1actions~1%7Bid%7D~1slack/post.md)

## AgentSchedule

### index

 - [GET /api/agent_schedules](https://docs.treasure.ai/apis/llm_api-public/agentschedule/paths/~1api~1agent_schedules/get.md)

### create

 - [POST /api/agent_schedules](https://docs.treasure.ai/apis/llm_api-public/agentschedule/paths/~1api~1agent_schedules/post.md)

### destroy

 - [DELETE /api/agent_schedules/{id}](https://docs.treasure.ai/apis/llm_api-public/agentschedule/paths/~1api~1agent_schedules~1%7Bid%7D/delete.md)

### show

 - [GET /api/agent_schedules/{id}](https://docs.treasure.ai/apis/llm_api-public/agentschedule/paths/~1api~1agent_schedules~1%7Bid%7D/get.md)

### update

 - [PATCH /api/agent_schedules/{id}](https://docs.treasure.ai/apis/llm_api-public/agentschedule/paths/~1api~1agent_schedules~1%7Bid%7D/patch.md)

### callback

 - [POST /api/agent_schedules/{id}/callback](https://docs.treasure.ai/apis/llm_api-public/agentschedule/paths/~1api~1agent_schedules~1%7Bid%7D~1callback/post.md)

### Execute agent schedule - returns workflow YAML

 - [POST /api/agent_schedules/{id}/execute](https://docs.treasure.ai/apis/llm_api-public/agentschedule/paths/~1api~1agent_schedules~1%7Bid%7D~1execute/post.md)

## Agent

### index

 - [GET /api/agents](https://docs.treasure.ai/apis/llm_api-public/agent/paths/~1api~1agents/get.md)

### create

 - [POST /api/agents](https://docs.treasure.ai/apis/llm_api-public/agent/paths/~1api~1agents/post.md)

### destroy

 - [DELETE /api/agents/{id}](https://docs.treasure.ai/apis/llm_api-public/agent/paths/~1api~1agents~1%7Bid%7D/delete.md)

### show

 - [GET /api/agents/{id}](https://docs.treasure.ai/apis/llm_api-public/agent/paths/~1api~1agents~1%7Bid%7D/get.md)

### update

 - [PATCH /api/agents/{id}](https://docs.treasure.ai/apis/llm_api-public/agent/paths/~1api~1agents~1%7Bid%7D/patch.md)

## Artifact

### index

 - [GET /api/artifacts](https://docs.treasure.ai/apis/llm_api-public/artifact/paths/~1api~1artifacts/get.md)

## ChatAttachment

### index

 - [GET /api/chat_attachments](https://docs.treasure.ai/apis/llm_api-public/chatattachment/paths/~1api~1chat_attachments/get.md)

### create

 - [POST /api/chat_attachments](https://docs.treasure.ai/apis/llm_api-public/chatattachment/paths/~1api~1chat_attachments/post.md)

### destroy

 - [DELETE /api/chat_attachments/{id}](https://docs.treasure.ai/apis/llm_api-public/chatattachment/paths/~1api~1chat_attachments~1%7Bid%7D/delete.md)

### show

 - [GET /api/chat_attachments/{id}](https://docs.treasure.ai/apis/llm_api-public/chatattachment/paths/~1api~1chat_attachments~1%7Bid%7D/get.md)

## ChatInterface

### index

 - [GET /api/chat_interfaces](https://docs.treasure.ai/apis/llm_api-public/chatinterface/paths/~1api~1chat_interfaces/get.md)

### create

 - [POST /api/chat_interfaces](https://docs.treasure.ai/apis/llm_api-public/chatinterface/paths/~1api~1chat_interfaces/post.md)

### destroy

 - [DELETE /api/chat_interfaces/{id}](https://docs.treasure.ai/apis/llm_api-public/chatinterface/paths/~1api~1chat_interfaces~1%7Bid%7D/delete.md)

### show

 - [GET /api/chat_interfaces/{id}](https://docs.treasure.ai/apis/llm_api-public/chatinterface/paths/~1api~1chat_interfaces~1%7Bid%7D/get.md)

### update

 - [PATCH /api/chat_interfaces/{id}](https://docs.treasure.ai/apis/llm_api-public/chatinterface/paths/~1api~1chat_interfaces~1%7Bid%7D/patch.md)

## Chat

### index

 - [GET /api/chats](https://docs.treasure.ai/apis/llm_api-public/chat/paths/~1api~1chats/get.md)

### create

 - [POST /api/chats](https://docs.treasure.ai/apis/llm_api-public/chat/paths/~1api~1chats/post.md)

### show

 - [GET /api/chats/{id}](https://docs.treasure.ai/apis/llm_api-public/chat/paths/~1api~1chats~1%7Bid%7D/get.md)

### continue

 - [POST /api/chats/{id}/continue](https://docs.treasure.ai/apis/llm_api-public/chat/paths/~1api~1chats~1%7Bid%7D~1continue/post.md)

### download_files

 - [POST /api/chats/{id}/download_files](https://docs.treasure.ai/apis/llm_api-public/chat/paths/~1api~1chats~1%7Bid%7D~1download_files/post.md)

### history

 - [GET /api/chats/{id}/history](https://docs.treasure.ai/apis/llm_api-public/chat/paths/~1api~1chats~1%7Bid%7D~1history/get.md)

## FormInterface

### index

 - [GET /api/form_interfaces](https://docs.treasure.ai/apis/llm_api-public/forminterface/paths/~1api~1form_interfaces/get.md)

### create

 - [POST /api/form_interfaces](https://docs.treasure.ai/apis/llm_api-public/forminterface/paths/~1api~1form_interfaces/post.md)

### destroy

 - [DELETE /api/form_interfaces/{id}](https://docs.treasure.ai/apis/llm_api-public/forminterface/paths/~1api~1form_interfaces~1%7Bid%7D/delete.md)

### show

 - [GET /api/form_interfaces/{id}](https://docs.treasure.ai/apis/llm_api-public/forminterface/paths/~1api~1form_interfaces~1%7Bid%7D/get.md)

### update

 - [PATCH /api/form_interfaces/{id}](https://docs.treasure.ai/apis/llm_api-public/forminterface/paths/~1api~1form_interfaces~1%7Bid%7D/patch.md)

## ImageGenerator

### create

 - [POST /api/image_generators](https://docs.treasure.ai/apis/llm_api-public/imagegenerator/paths/~1api~1image_generators/post.md)

### destroy

 - [DELETE /api/image_generators/{id}](https://docs.treasure.ai/apis/llm_api-public/imagegenerator/paths/~1api~1image_generators~1%7Bid%7D/delete.md)

### show

 - [GET /api/image_generators/{id}](https://docs.treasure.ai/apis/llm_api-public/imagegenerator/paths/~1api~1image_generators~1%7Bid%7D/get.md)

### update

 - [PATCH /api/image_generators/{id}](https://docs.treasure.ai/apis/llm_api-public/imagegenerator/paths/~1api~1image_generators~1%7Bid%7D/patch.md)

## Integration

### index

 - [GET /api/integrations](https://docs.treasure.ai/apis/llm_api-public/integration/paths/~1api~1integrations/get.md)

### create

 - [POST /api/integrations](https://docs.treasure.ai/apis/llm_api-public/integration/paths/~1api~1integrations/post.md)

### destroy

 - [DELETE /api/integrations/{id}](https://docs.treasure.ai/apis/llm_api-public/integration/paths/~1api~1integrations~1%7Bid%7D/delete.md)

### show

 - [GET /api/integrations/{id}](https://docs.treasure.ai/apis/llm_api-public/integration/paths/~1api~1integrations~1%7Bid%7D/get.md)

### update

 - [PATCH /api/integrations/{id}](https://docs.treasure.ai/apis/llm_api-public/integration/paths/~1api~1integrations~1%7Bid%7D/patch.md)

## KnowledgeBase

### index

 - [GET /api/knowledge_bases](https://docs.treasure.ai/apis/llm_api-public/knowledgebase/paths/~1api~1knowledge_bases/get.md)

### create

 - [POST /api/knowledge_bases](https://docs.treasure.ai/apis/llm_api-public/knowledgebase/paths/~1api~1knowledge_bases/post.md)

### destroy

 - [DELETE /api/knowledge_bases/{id}](https://docs.treasure.ai/apis/llm_api-public/knowledgebase/paths/~1api~1knowledge_bases~1%7Bid%7D/delete.md)

### show

 - [GET /api/knowledge_bases/{id}](https://docs.treasure.ai/apis/llm_api-public/knowledgebase/paths/~1api~1knowledge_bases~1%7Bid%7D/get.md)

### update

 - [PATCH /api/knowledge_bases/{id}](https://docs.treasure.ai/apis/llm_api-public/knowledgebase/paths/~1api~1knowledge_bases~1%7Bid%7D/patch.md)

### query

 - [POST /api/knowledge_bases/{id}/query](https://docs.treasure.ai/apis/llm_api-public/knowledgebase/paths/~1api~1knowledge_bases~1%7Bid%7D~1query/post.md)

## PlazmaQueryTool

### create

 - [POST /api/plazma_query_tools](https://docs.treasure.ai/apis/llm_api-public/plazmaquerytool/paths/~1api~1plazma_query_tools/post.md)

### destroy

 - [DELETE /api/plazma_query_tools/{id}](https://docs.treasure.ai/apis/llm_api-public/plazmaquerytool/paths/~1api~1plazma_query_tools~1%7Bid%7D/delete.md)

### show

 - [GET /api/plazma_query_tools/{id}](https://docs.treasure.ai/apis/llm_api-public/plazmaquerytool/paths/~1api~1plazma_query_tools~1%7Bid%7D/get.md)

### update

 - [PATCH /api/plazma_query_tools/{id}](https://docs.treasure.ai/apis/llm_api-public/plazmaquerytool/paths/~1api~1plazma_query_tools~1%7Bid%7D/patch.md)

## PresentationArtifactTool

### create

 - [POST /api/presentation_artifact_tools](https://docs.treasure.ai/apis/llm_api-public/presentationartifacttool/paths/~1api~1presentation_artifact_tools/post.md)

### destroy

 - [DELETE /api/presentation_artifact_tools/{id}](https://docs.treasure.ai/apis/llm_api-public/presentationartifacttool/paths/~1api~1presentation_artifact_tools~1%7Bid%7D/delete.md)

### show

 - [GET /api/presentation_artifact_tools/{id}](https://docs.treasure.ai/apis/llm_api-public/presentationartifacttool/paths/~1api~1presentation_artifact_tools~1%7Bid%7D/get.md)

### update

 - [PATCH /api/presentation_artifact_tools/{id}](https://docs.treasure.ai/apis/llm_api-public/presentationartifacttool/paths/~1api~1presentation_artifact_tools~1%7Bid%7D/patch.md)

## Project

### index

 - [GET /api/projects](https://docs.treasure.ai/apis/llm_api-public/project/paths/~1api~1projects/get.md)

### create

 - [POST /api/projects](https://docs.treasure.ai/apis/llm_api-public/project/paths/~1api~1projects/post.md)

### destroy

 - [DELETE /api/projects/{id}](https://docs.treasure.ai/apis/llm_api-public/project/paths/~1api~1projects~1%7Bid%7D/delete.md)

### show

 - [GET /api/projects/{id}](https://docs.treasure.ai/apis/llm_api-public/project/paths/~1api~1projects~1%7Bid%7D/get.md)

### update

 - [PATCH /api/projects/{id}](https://docs.treasure.ai/apis/llm_api-public/project/paths/~1api~1projects~1%7Bid%7D/patch.md)

## Prompt

### index

 - [GET /api/prompts](https://docs.treasure.ai/apis/llm_api-public/prompt/paths/~1api~1prompts/get.md)

### create

 - [POST /api/prompts](https://docs.treasure.ai/apis/llm_api-public/prompt/paths/~1api~1prompts/post.md)

### destroy

 - [DELETE /api/prompts/{id}](https://docs.treasure.ai/apis/llm_api-public/prompt/paths/~1api~1prompts~1%7Bid%7D/delete.md)

### show

 - [GET /api/prompts/{id}](https://docs.treasure.ai/apis/llm_api-public/prompt/paths/~1api~1prompts~1%7Bid%7D/get.md)

### update

 - [PATCH /api/prompts/{id}](https://docs.treasure.ai/apis/llm_api-public/prompt/paths/~1api~1prompts~1%7Bid%7D/patch.md)

## TextKnowledgeBase

### create

 - [POST /api/text_knowledge_bases](https://docs.treasure.ai/apis/llm_api-public/textknowledgebase/paths/~1api~1text_knowledge_bases/post.md)

### destroy

 - [DELETE /api/text_knowledge_bases/{id}](https://docs.treasure.ai/apis/llm_api-public/textknowledgebase/paths/~1api~1text_knowledge_bases~1%7Bid%7D/delete.md)

### show

 - [GET /api/text_knowledge_bases/{id}](https://docs.treasure.ai/apis/llm_api-public/textknowledgebase/paths/~1api~1text_knowledge_bases~1%7Bid%7D/get.md)

### update

 - [PATCH /api/text_knowledge_bases/{id}](https://docs.treasure.ai/apis/llm_api-public/textknowledgebase/paths/~1api~1text_knowledge_bases~1%7Bid%7D/patch.md)

## TextResource

### index

 - [GET /api/text_resources](https://docs.treasure.ai/apis/llm_api-public/textresource/paths/~1api~1text_resources/get.md)

### create

 - [POST /api/text_resources](https://docs.treasure.ai/apis/llm_api-public/textresource/paths/~1api~1text_resources/post.md)

### destroy

 - [DELETE /api/text_resources/{id}](https://docs.treasure.ai/apis/llm_api-public/textresource/paths/~1api~1text_resources~1%7Bid%7D/delete.md)

### show

 - [GET /api/text_resources/{id}](https://docs.treasure.ai/apis/llm_api-public/textresource/paths/~1api~1text_resources~1%7Bid%7D/get.md)

### update

 - [PATCH /api/text_resources/{id}](https://docs.treasure.ai/apis/llm_api-public/textresource/paths/~1api~1text_resources~1%7Bid%7D/patch.md)

## ToolTarget

### index

 - [GET /api/tool_targets](https://docs.treasure.ai/apis/llm_api-public/tooltarget/paths/~1api~1tool_targets/get.md)

### show

 - [GET /api/tool_targets/{id}](https://docs.treasure.ai/apis/llm_api-public/tooltarget/paths/~1api~1tool_targets~1%7Bid%7D/get.md)

## User

### current

 - [GET /api/users/current](https://docs.treasure.ai/apis/llm_api-public/user/paths/~1api~1users~1current/get.md)

### current_settings

 - [GET /api/users/current_settings](https://docs.treasure.ai/apis/llm_api-public/user/paths/~1api~1users~1current_settings/get.md)

## Util

### convert_segment_rule

 - [POST /api/util/convert_segment_rule](https://docs.treasure.ai/apis/llm_api-public/util/paths/~1api~1util~1convert_segment_rule/post.md)

## WebSearchTool

### create

 - [POST /api/web_search_tools](https://docs.treasure.ai/apis/llm_api-public/websearchtool/paths/~1api~1web_search_tools/post.md)

### destroy

 - [DELETE /api/web_search_tools/{id}](https://docs.treasure.ai/apis/llm_api-public/websearchtool/paths/~1api~1web_search_tools~1%7Bid%7D/delete.md)

### show

 - [GET /api/web_search_tools/{id}](https://docs.treasure.ai/apis/llm_api-public/websearchtool/paths/~1api~1web_search_tools~1%7Bid%7D/get.md)

### update

 - [PATCH /api/web_search_tools/{id}](https://docs.treasure.ai/apis/llm_api-public/websearchtool/paths/~1api~1web_search_tools~1%7Bid%7D/patch.md)

## WorkflowExecutor

### show

 - [GET /api/workflow_executors/{id}](https://docs.treasure.ai/apis/llm_api-public/workflowexecutor/paths/~1api~1workflow_executors~1%7Bid%7D/get.md)

