Skip to content
Docs
GitHub

Mark the org's onboarding wizard as finished (or skipped)

Preview

Authz mirrors the org-scoped mutations above (admin+), but resolves membership/role from the DB rather than the auth token — a brand-new org may not yet appear in the caller’s token, and onboarding completion is exactly that just-created case.

Public APIEverruns Cloud and self-hosted Platform

POST/v1/orgs/{org}/onboarding/complete
org
required
string

Organization public ID

Responses

200Onboarding marked complete

Onboarding marked complete

Media typeapplication/json

Response for organization operations

object
agentid_agents_per_owner

How many agents one AgentID owner may sign in; null means the platform default.

integer | null format: int32
background_limits
required

Limits on unattended background work (Settings → Limits): schedule lifetime and run cap for agent-created schedules, the default and largest schedule budget, and the daily unattended spend cap. Code defaults when the organization never set any.

object
org_unattended_daily_usd

Daily cap on unattended work across the org, in USD. None is no cap.

number | null format: double
default: 20
schedule_budget_usd

Budget a schedule gets when the agent does not pass one, in USD.

number format: double
default: 2
schedule_max_budget_usd

Largest budget an agent may give a schedule, in USD.

number format: double
default: 10
schedule_max_lifetime_days

Longest an agent-created recurring schedule may run, in days (1-7).

integer format: int32
default: 7
schedule_max_runs

Most runs an agent-created recurring schedule may have (1-96).

integer format: int32
default: 96
base_harness_id

Base harness used when session creation omits harness_id.

string | null
chat_model_id

Default for the built-in Everruns Chat. None inherits the agents/sessions default.

string | null
created_at
required

When the organization was created

string format: date-time
default_harness_id

Default harness to preselect in the UI.

string | null
default_model_id

Default LLM model for the organization.

string | null
default_provider_per_service
required

Org-level default provider per service (EVE-569), keyed by service kind. Empty when no org defaults are configured.

object
key
additional properties
string
effective_research_model_id

The model the research model resolves to now: the selection, else the Automatic pick (Anthropic’s recommended research model, then OpenAI’s, then another provider’s), else the default model.

string | null
id
required

External identifier (org_<32-hex-chars>)

string
name
required

Display name

string
onboarding_completed_at

When the org’s creator finished or skipped the setup wizard. null means onboarding is still incomplete, which the UI uses to resume the user at /orgs/{id}/setup. Seeded/default and externally-synced orgs are complete.

string | null format: date-time
research_model_id

Research model: the org’s strongest model for hard reasoning and long research. None means Automatic.

string | null
self_healing
required

What Everruns does on its own when a finding opens (Settings → Limits): pause a repeating schedule automatically, and whether the Inspector suggests changes to agents. Code defaults when the organization never set any.

object
agent_fixes

The Inspector’s suggested changes to an agent’s instructions: suggest (default) or off. A person always approves them.

string
default: suggest
Allowed values: auto suggest off
runaway_schedules

Pausing a schedule whose runs keep ending the same way, at the warning count rather than the hard stop. Default auto.

string
default: auto
Allowed values: auto suggest off
small_model_id

Optional small chat model, independent of the main chat and decision defaults.

string | null
system_decisions
required

Who answers deployment-owned decision checks: deployment (default) or organization (the org’s default decision model).

string
Allowed values: deployment organization
updated_at
required

When the organization was last updated

string format: date-time
web_search_defaults
required

Web search defaults: the provider agents on “Organization default” use, the Automatic order, whether model provider search is allowed, the fallback, results per search and blocked domains. Built-in defaults (Automatic) when the organization never set any.

object
account_id

The search account when provider is account.

string | null format: uuid
allow_native

Whether agents may use the model provider’s own search (billed by the model provider).

boolean
automatic_order

Automatic order: native, search account ids, hosted (the deployment’s own search, when it offers one) and free, which is always last. Entries left out keep their natural place.

Array<string>
blocked_domains

Sites no search in this organization returns, on top of each agent’s.

Array<string>
fallback

When a provider cannot answer: next falls back (free search last), none stops. An agent’s own fallback wins.

string
Allowed values: next none
provider

Provider for agents set to the organization default: auto, native, brave, account (with account_id) or free.

string
Allowed values: org_default auto native brave parallel account free
results_per_search

Results per search when neither the model nor the agent asks (1 to 20).

integer format: int32

Example

{
"background_limits": {
"org_unattended_daily_usd": 20,
"schedule_budget_usd": 2,
"schedule_max_budget_usd": 10,
"schedule_max_lifetime_days": 7,
"schedule_max_runs": 96
},
"self_healing": {
"agent_fixes": "auto",
"runaway_schedules": "auto"
},
"system_decisions": "deployment",
"web_search_defaults": {
"fallback": "next",
"provider": "org_default"
}
}
403Not an admin of the organization

Not an admin of the organization

Media typeapplication/json

Standard error response.

Wire shape is RFC 9457 Problem Details: every error response includes title and status, and may include detail, code, allowed_actions, retry_after_seconds, instance, and type. The content type is rewritten to application/problem+json with the application/problem+json content type.

object
allowed_actions

Recovery actions the caller can take next.

Array<object>

Agent-actionable link describing a follow-up the caller can take. Used in two contexts:

  • Error recovery — ErrorResponse.allowed_actions carries rels like retry, retry-later, unarchive, get-existing so the agent knows the right next call after a 4xx/429.
  • Entity hypermedia — WithUrls<T>.allowed_actions carries state-aware rels like cancel, events, self, update on the entity itself so the agent can follow links instead of reconstructing routes from prose.

The shape is intentionally identical across both contexts; the closed rel vocabulary distinguishes them.

object
hint

Short, agent-readable hint (e.g. “Shorten ‘name’ to <= 200 chars.”, “Cancel the active turn for this session.”).

string | null
href

Absolute (preferred) or relative URL the caller may invoke directly. Always present on entity hypermedia actions (WithUrls<T>.allowed_actions); optional on error-recovery actions (ErrorResponse.allowed_actions) where the matching operation_id is enough and the URI is implicit from the failed call.

string | null
method

HTTP method to use against href. Required for entity hypermedia actions; usually omitted on error-recovery actions where the same operation is retried with its original method.

string | null
operation_id

OpenAPI operationId the caller should invoke. Lets an MCP client resolve the call without parsing href.

string | null
rel
required

Link relation describing the action. Examples: self, cancel, pause, resume, events, retry, retry-later, unarchive, get-existing, delete, update.

string
schema_ref

OpenAPI $ref to the request-body schema, when the action takes one (e.g. #/components/schemas/UpdateSessionRequest). Lets a tool-calling agent fetch the input shape without scanning the whole spec.

string | null
code

Stable, machine-readable error code (snake_case).

string | null
detail

Human-readable explanation specific to this occurrence.

string | null
instance

Request URI for this occurrence.

string | null
retry_after_seconds

Seconds the caller should wait before retrying (429 / transient 503).

integer | null format: int32
status
required

HTTP status code; mirrors the response status line.

integer format: int32
title
required

Short, human-readable summary of the problem (e.g. “Not Found”).

string
type

RFC 9457 problem type URI. Optional; identifies the problem class.

string | null

Example

{
"allowed_actions": [
{
"method": "POST"
}
],
"code": "session_not_found",
"detail": "Session session_01933b5a000070008000000000000001 not found in org org_01933b5a000070008000000000000001.",
"instance": "/v1/sessions/session_01933b5a000070008000000000000001",
"retry_after_seconds": 30,
"status": 404,
"title": "Session not found",
"type": "https://everruns.com/docs/errors/session_not_found"
}
404Organization not found

Organization not found

Media typeapplication/json

Standard error response.

Wire shape is RFC 9457 Problem Details: every error response includes title and status, and may include detail, code, allowed_actions, retry_after_seconds, instance, and type. The content type is rewritten to application/problem+json with the application/problem+json content type.

object
allowed_actions

Recovery actions the caller can take next.

Array<object>

Agent-actionable link describing a follow-up the caller can take. Used in two contexts:

  • Error recovery — ErrorResponse.allowed_actions carries rels like retry, retry-later, unarchive, get-existing so the agent knows the right next call after a 4xx/429.
  • Entity hypermedia — WithUrls<T>.allowed_actions carries state-aware rels like cancel, events, self, update on the entity itself so the agent can follow links instead of reconstructing routes from prose.

The shape is intentionally identical across both contexts; the closed rel vocabulary distinguishes them.

object
hint

Short, agent-readable hint (e.g. “Shorten ‘name’ to <= 200 chars.”, “Cancel the active turn for this session.”).

string | null
href

Absolute (preferred) or relative URL the caller may invoke directly. Always present on entity hypermedia actions (WithUrls<T>.allowed_actions); optional on error-recovery actions (ErrorResponse.allowed_actions) where the matching operation_id is enough and the URI is implicit from the failed call.

string | null
method

HTTP method to use against href. Required for entity hypermedia actions; usually omitted on error-recovery actions where the same operation is retried with its original method.

string | null
operation_id

OpenAPI operationId the caller should invoke. Lets an MCP client resolve the call without parsing href.

string | null
rel
required

Link relation describing the action. Examples: self, cancel, pause, resume, events, retry, retry-later, unarchive, get-existing, delete, update.

string
schema_ref

OpenAPI $ref to the request-body schema, when the action takes one (e.g. #/components/schemas/UpdateSessionRequest). Lets a tool-calling agent fetch the input shape without scanning the whole spec.

string | null
code

Stable, machine-readable error code (snake_case).

string | null
detail

Human-readable explanation specific to this occurrence.

string | null
instance

Request URI for this occurrence.

string | null
retry_after_seconds

Seconds the caller should wait before retrying (429 / transient 503).

integer | null format: int32
status
required

HTTP status code; mirrors the response status line.

integer format: int32
title
required

Short, human-readable summary of the problem (e.g. “Not Found”).

string
type

RFC 9457 problem type URI. Optional; identifies the problem class.

string | null

Example

{
"allowed_actions": [
{
"method": "POST"
}
],
"code": "session_not_found",
"detail": "Session session_01933b5a000070008000000000000001 not found in org org_01933b5a000070008000000000000001.",
"instance": "/v1/sessions/session_01933b5a000070008000000000000001",
"retry_after_seconds": 30,
"status": 404,
"title": "Session not found",
"type": "https://everruns.com/docs/errors/session_not_found"
}