Skip to content

Runtime config exposed to authenticated callers

GET
/config
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.

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"
}
}