Change the workspace settings.
PUT
/admin/settings
const url = 'https://example.com/api/v1/admin/settings';const options = { method: 'PUT', headers: {'Content-Type': 'application/json'}, body: '{"max_file_mb":1,"max_bundle_mb":1,"invite_ttl_days":1,"resolve_sources":true,"parallel_calls":1}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PUT \ --url https://example.com/api/v1/admin/settings \ --header 'Content-Type: application/json' \ --data '{ "max_file_mb": 1, "max_bundle_mb": 1, "invite_ttl_days": 1, "resolve_sources": true, "parallel_calls": 1 }'Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
max_file_mb
required
REQ-009. Default 10.
integer
max_bundle_mb
required
REQ-009. Default 50.
integer
invite_ttl_days
required
REQ-081. Default 7.
integer
resolve_sources
Read the metadata of each grounding source. Default true. With it off, a source carries no redirect chain and no retrieval date.
boolean
parallel_calls
required
REQ-105. Model calls at a time per run. Default 4.
integer
Examplegenerated
{ "max_file_mb": 1, "max_bundle_mb": 1, "invite_ttl_days": 1, "resolve_sources": true, "parallel_calls": 1}Responses
Section titled “ Responses ”The settings.
Media typeapplication/json
object
max_file_mb
required
REQ-009. Default 10.
integer
max_bundle_mb
required
REQ-009. Default 50.
integer
invite_ttl_days
required
REQ-081. Default 7.
integer
resolve_sources
Read the metadata of each grounding source. Default true. With it off, a source carries no redirect chain and no retrieval date.
boolean
parallel_calls
required
REQ-105. Model calls at a time per run. Default 4.
integer
Examplegenerated
{ "max_file_mb": 1, "max_bundle_mb": 1, "invite_ttl_days": 1, "resolve_sources": true, "parallel_calls": 1}default
Section titled “default”An error.
Media typeapplication/problem+json
RFC 9457 problem details with a stable code.
object
type
required
string
title
required
string
status
required
integer
detail
string
instance
string
code
required
A stable machine-readable error code.
string
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example", "code": "example"}