Skip to content

Get Org Settings

GET
/v1/settings
curl --request GET \
--url https://api.supposing.app/v1/settings

Successful Response

Media typeapplication/json
Settings
object
has_openrouter_key
required
Has Openrouter Key
boolean
platform_key_available
required
Platform Key Available
boolean
providers
required
Providers
Array<string>
webhook_url
required
Webhook Url

Where run.done, run.failed and run.canceled events are POSTed.

Any of:
string
zero_data_retention
required
Zero Data Retention

Own-key runs route only to providers that keep no data. Runs on our key always do.

boolean
default: true

Example

{
"zero_data_retention": true
}

Client error. Branch on code; show message and hint.

Media typeapplication/json
Error

The body of every non-2xx response.

object
code
required
Code

Stable machine-readable code, e.g. dataset_not_found.

string
message
required
Message
string
hint
Hint

What to do next.

Any of:
string
details
Details

Per-field problems, for invalid_request.

Any of:
Array<object>
ErrorDetail
object
field
required
Field

Dotted path to the field, e.g. ranking.rubric.

string
message
required
Message
string

Example generated

{
"code": "example",
"message": "example",
"hint": "example",
"details": [
{
"field": "example",
"message": "example"
}
]
}

Server error.

Media typeapplication/json
Error

The body of every non-2xx response.

object
code
required
Code

Stable machine-readable code, e.g. dataset_not_found.

string
message
required
Message
string
hint
Hint

What to do next.

Any of:
string
details
Details

Per-field problems, for invalid_request.

Any of:
Array<object>
ErrorDetail
object
field
required
Field

Dotted path to the field, e.g. ranking.rubric.

string
message
required
Message
string

Example generated

{
"code": "example",
"message": "example",
"hint": "example",
"details": [
{
"field": "example",
"message": "example"
}
]
}