Runtime config exposed to authenticated callers
GET
/config
const url = 'https://your-org.evershell.ai/v1/config';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://your-org.evershell.ai/v1/config \ --header 'Authorization: Bearer <token>'Permissions: any signed-in caller.
Returns the server-side defaults the console / CLI needs to render forms correctly — task / idle timeout defaults, and the absolute OAuth callback URL every BYO OAuth app must register in its Authorized redirect URIs list.
Authorizations
Section titled “Authorizations ”Responses
Section titled “ Responses ”OK
Media type application/json
object
defaults
required
object
task_timeout_seconds
required
Default per-task timeout for new agent roles.
integer
idle_timeout_seconds
required
Default workspace idle timeout for new agent roles.
integer
oauth_redirect_uri
required
Absolute callback URL to register in BYO OAuth apps.
string format: uri
Example generated
{ "defaults": { "task_timeout_seconds": 1, "idle_timeout_seconds": 1, "oauth_redirect_uri": "https://example.com" }}