Overview
Bot management endpoints allow you to create custom bots with specific instructions, knowledge bases, tools, and generation parameters.Create Bot
Request Body
Unique bot identifier
Bot display name
System instruction for the bot’s behavior
Bot description shown to users
Model generation parameters
Agent configuration with tools
Knowledge base configuration
Whether to show retrieved chunks to users
Enable prompt caching for faster responses
Array of conversation starter suggestions
Bedrock Knowledge Base configuration
Bedrock Guardrails configuration
Object specifying which models are active for this bot (model names with underscores as keys, boolean values)
Example Request
Update Bot
Path Parameters
The bot ID to update
Request Body
Same structure as create bot, except:Knowledge diff for updates
Get All Bots
Query Parameters
Filter by bot kind:
"private" or "mixed"Filter to only starred bots
Limit number of results
Response
Returns an array of bot metadata:Bot identifier
Bot title
Bot description
Unix timestamp of creation
Unix timestamp of last use
Whether the bot is starred
Whether the current user owns the bot
Whether the bot is available (can be false if original bot is removed)
Knowledge base sync status:
"QUEUED", "RUNNING", "SUCCEEDED", "FAILED", etc.Sharing scope:
"private", "partial", or "all"Shared status:
"private", "shared", or "pinned@xxx"Get Pinned Bots
Get Private Bot
Path Parameters
The bot ID to retrieve
Response
Returns complete bot configuration including all settings, knowledge base, agent tools, generation parameters, and sync status.Get Bot Summary
Path Parameters
The bot ID
Response
Bot identifier
Bot title
Bot description
Whether the bot has agent tools configured
Whether the bot has a knowledge base
Array of quick starter suggestions
Active models for this bot
Delete Bot
Path Parameters
The bot ID to delete
Update Bot Star Status
Path Parameters
The bot ID
Request Body
True to star, false to unstar
Update Bot Visibility
Path Parameters
The bot ID
Request Body
One of three visibility types: Private:Must be
"private"Must be
"partial"Array of user IDs to share with
Array of group IDs to share with
Must be
"all"Get Presigned URL for Upload
Path Parameters
The bot ID
Query Parameters
Name of the file to upload
MIME type of the file
Response
Presigned S3 URL for upload
Delete Uploaded File
Path Parameters
The bot ID
Query Parameters
Name of the file to delete
Remove from Recently Used
Path Parameters
The bot ID
Get Available Tools
Path Parameters
The bot ID