Skip to main content
PATCH
TypeScript SDK

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

organizationId
string
required

Body

application/json
ampApiKey
string

API key for Amp agent access.

Maximum string length: 64000
anthropicApiKey
string

Anthropic API key for organization-provided inference.

Maximum string length: 64000
awsBedrockAccessKeyId
string

AWS access key ID for Bedrock inference.

Maximum string length: 64000
awsBedrockRegion
string

AWS region for Bedrock inference.

Maximum string length: 64000
awsBedrockSecretAccessKey
string

AWS secret access key for Bedrock inference.

Maximum string length: 64000
cloneDepth
integer

Git clone history depth used for repositories.

commitInstructions
string

Organization instructions for agent commit messages.

Maximum string length: 64000
cursorApiKey
string

API key for Cursor agent access.

Maximum string length: 64000
customSystemPrompt
string

Custom system instructions supplied to organization agents.

Maximum string length: 64000
defaultAgent
string

Default coding agent and model key for the organization.

Maximum string length: 64000
defaultKeepAliveMinutes
integer

Default VM keep-alive duration in minutes. 0 preserves built-in per-source durations.

Required range: 0 <= x <= 10080
defaultSandboxSize
enum<string>

Default VM size for organization sessions.

Available options:
nano,
micro,
small,
medium,
large,
xl,
xxl,
ultra
deleteBranchWhenPrClosed
boolean

Delete agent-created branches when their pull requests close.

draftPrs
boolean

Create agent pull requests as drafts by default.

enableCoderabbitBot
boolean

Enable handling of CodeRabbit bot feedback.

enableCursorBot
boolean

Enable handling of Cursor bot feedback.

enableGeminiCodeAssistBot
boolean

Enable handling of Gemini Code Assist bot feedback.

enableGithubActionsBot
boolean

Enable handling of GitHub Actions bot feedback.

enableGraphiteBot
boolean

Enable handling of Graphite bot feedback.

enableGreptileBot
boolean

Enable handling of Greptile bot feedback.

experimentalMcp
boolean

Enable experimental MCP features for the organization.

featureMentionAuthor
boolean

Enable mentioning the author in supported integration responses.

gcpVertexAiLocation
string

Google Cloud location for Vertex AI inference.

Maximum string length: 64000
gcpVertexAiProject
string

Google Cloud project for Vertex AI inference.

Maximum string length: 64000
gcpVertexAiServiceAccountJson
string

Service-account JSON credentials for Vertex AI inference.

Maximum string length: 64000
kernelApiKey
string

API key for Kernel browser access.

Maximum string length: 64000
maxBotReviews
integer

Maximum number of bot review iterations.

Required range: x >= 0
maxSolutions
integer

Maximum number of generated solutions.

Required range: x >= 0
openaiApiKey
string

OpenAI API key for organization-provided inference.

Maximum string length: 64000
xaiApiKey
string

xAI API key for organization-provided inference.

Maximum string length: 64000
openrouterApiKey
string

OpenRouter API key for organization-provided inference.

Maximum string length: 64000
pgStatStatementsResetFrequency
string

Reset frequency for PostgreSQL pg_stat_statements collection.

Maximum string length: 64000
pmSystemPrompt
string

Custom system instructions for the project-management agent.

Maximum string length: 64000
prTitleInstructions
string

Organization instructions for agent pull request titles.

Maximum string length: 64000
pullRequestInsightsEnabled
boolean

Enable or disable pull request contribution insight collection.

shouldSignCommits
boolean

Sign agent-created commits when signing credentials are configured.

slackReviewOnTembo
boolean

Use Tembo review links in Slack review notifications.

slowQueryThresholdMs
number

Threshold in milliseconds for identifying slow database queries.

Required range: x >= 0
sshPublicKeys
string

SSH public keys authorized for organization workspace access.

Maximum string length: 64000
weeklyReportEnabled
boolean

Enable or disable the organization weekly report.

Response

Update organization settings

organizationId
string
required
settings
object
required