import { NoResponse } from "@noresponse/node";
const noResponse = new NoResponse({
apiKey: process.env["NORESPONSE_API_KEY"] ?? "",
});
async function run() {
const result = await noResponse.settings.get({
workspaceId: "tnt_01JA2Z8K6Q4V7W9XBCDEFGHJKM",
environment: "live",
});
console.log(result);
}
run();
from noresponse import NoResponse
import os
with NoResponse(
api_key=os.getenv("NORESPONSE_API_KEY", ""),
) as no_response:
res = no_response.settings.get(workspace_id="tnt_01JA2Z8K6Q4V7W9XBCDEFGHJKM", environment="live")
# Handle response
print(res)
package main
import(
"context"
"os"
noresponse "github.com/noresponsehq/go/v7"
"github.com/noresponsehq/go/v7/models/components"
"log"
)
func main() {
ctx := context.Background()
s := noresponse.New(
noresponse.WithSecurity(os.Getenv("NORESPONSE_API_KEY")),
)
res, err := s.Settings.Get(ctx, "tnt_01JA2Z8K6Q4V7W9XBCDEFGHJKM", components.KeyEnvironmentLive)
if err != nil {
log.Fatal(err)
}
if res != nil {
// handle response
}
}
using NoResponse;
using NoResponse.Models.Shared;
using System;
var sdk = new NoResponseClient(apiKey: Environment.GetEnvironmentVariable("NORESPONSE_API_KEY"));
var res = await sdk.Settings.GetAsync(
workspaceId: "tnt_01JA2Z8K6Q4V7W9XBCDEFGHJKM",
environment: KeyEnvironment.Live
);
// handle response
Reads the environment’s settings: retention in days; per flow (account_creation, login, purchase) the step_up, review and block thresholds, the default depth and the admission; and the sources it refuses. A flow without thresholds of its own shows account_creation’s with inherits_account_creation: true. policy_version counts the policy changes and updated_by names who made the last one. Requires the management scope, and acts only in the signing key’s own workspace and environment: another workspace and the other environment answer 404.
import { NoResponse } from "@noresponse/node";
const noResponse = new NoResponse({
apiKey: process.env["NORESPONSE_API_KEY"] ?? "",
});
async function run() {
const result = await noResponse.settings.get({
workspaceId: "tnt_01JA2Z8K6Q4V7W9XBCDEFGHJKM",
environment: "live",
});
console.log(result);
}
run();
from noresponse import NoResponse
import os
with NoResponse(
api_key=os.getenv("NORESPONSE_API_KEY", ""),
) as no_response:
res = no_response.settings.get(workspace_id="tnt_01JA2Z8K6Q4V7W9XBCDEFGHJKM", environment="live")
# Handle response
print(res)
package main
import(
"context"
"os"
noresponse "github.com/noresponsehq/go/v7"
"github.com/noresponsehq/go/v7/models/components"
"log"
)
func main() {
ctx := context.Background()
s := noresponse.New(
noresponse.WithSecurity(os.Getenv("NORESPONSE_API_KEY")),
)
res, err := s.Settings.Get(ctx, "tnt_01JA2Z8K6Q4V7W9XBCDEFGHJKM", components.KeyEnvironmentLive)
if err != nil {
log.Fatal(err)
}
if res != nil {
// handle response
}
}
using NoResponse;
using NoResponse.Models.Shared;
using System;
var sdk = new NoResponseClient(apiKey: Environment.GetEnvironmentVariable("NORESPONSE_API_KEY"));
var res = await sdk.Settings.GetAsync(
workspaceId: "tnt_01JA2Z8K6Q4V7W9XBCDEFGHJKM",
environment: KeyEnvironment.Live
);
// handle response
Your API key, sent as Authorization: Bearer <key>. A key is nrk_live_ or nrk_test_, a 26-character key id, _ and a 43-character secret. A key sees only its own environment's data.
Each key has one or more scopes: assess creates and reads assessments, records outcomes and reports key usage; history reads assessments, an account's current risk, the accounts whose risk changed and an account's history, records enforcements and erases an account; detailed adds the detailed view; webhooks registers, tests, rotates and deletes webhook endpoints; integrations registers and manages hosted provider integrations; management creates, lists and revokes the keys of its own environment and reads and changes that environment's settings. A missing, unknown, revoked or expired key answers 401. A valid key without the scope an operation needs answers 403.
The workspace id. A workspace the acting user is not an active member of answers 404, as do another workspace than an API key's own, a malformed id and a test environment's id.
The workspace id, which is also its live environment's workspace id; the test environment's is the same id with:test appended. A workspace created through the API is tnt_ and a 26-character ULID.
The environment: live or test. Each has its own settings. Any other value answers 400. An API key reads and changes only its own environment's; the other answers 404.
The environment the key belongs to. A live key assesses with live sources; a test key answers from the deterministic simulator.
Available options:
live,
test
Response
The environment's settings in force.
One environment's settings: how long its assessments are kept, and for each flow the risk thresholds that decide it and the depth a request that names none is served at, and the sources it refuses. Live and test each have their own. A flow without thresholds of its own uses account_creation's (inherits_account_creation). Every change is recorded in the audit log as settings.updated, with who made it.
The workspace id, which is also its live environment's workspace id; the test environment's is the same id with:test appended. A workspace created through the API is tnt_ and a 26-character ULID.
How many times this environment's policy has changed; 0 while the defaults apply. A served risk.policy_version ends in +t<policy_version> once it is above 0.
The sources this environment refuses, sorted; empty, the default, refuses none. An assessment never contacts a refused source: its coverage is missing (an identifier with no other source lists coverage-unavailable as unavailable), never not_found, and a stored result of a refused source is not reused.
Maximum array length: 6
A NoResponse source: github (GitHub accounts), phone (the phone lookup), breach (breach exposure), rdap (the email domain's registration), mx (the email domain's mail servers) or ipintel (IP intelligence).
When the policy last changed. Absent while the defaults apply.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"NoResponse docs","description":"Developer docs for the NoResponse API: one current risk score, decision and reasons for every account.","colors":{"primary":"#2c38d4","light":"#8d95ff","dark":"#6a4de0"},"logo":{"light":"https://mintcdn.com/no-response/Wvj477r0d6oKHPB0/logo/light.svg?fit=max\u0026auto=format\u0026n=Wvj477r0d6oKHPB0\u0026q=85\u0026s=71c49eae03789201280dc175d672a9af","dark":"https://mintcdn.com/no-response/Wvj477r0d6oKHPB0/logo/dark.svg?fit=max\u0026auto=format\u0026n=Wvj477r0d6oKHPB0\u0026q=85\u0026s=98832e074a26eaea5af1cc027afba09b","href":"https://docs.noresponse.org"},"favicon":"https://mintcdn.com/no-response/5W6mRom2UXSxqqQG/favicon.svg?fit=max\u0026auto=format\u0026n=5W6mRom2UXSxqqQG\u0026q=85\u0026s=7bf9d7629b3f760b9c07ac491176b847","api":{"playground":{"display":"interactive","proxy":true},"examples":{"prefill":true,"autogenerate":false}},"appearance":{"default":"dark"},"background":{"color":{"light":"#f2f0e6","dark":"#0e1038"}},"navbar":{"links":[{"href":"https://noresponse.org","label":"noresponse.org"}],"primary":{"type":"button","label":"Book a demo","href":"https://noresponse.org/demo/"}},"footer":{"socials":{"website":"https://noresponse.org","github":"https://github.com/noresponsehq"}},"seo":{"indexing":"all"},"fonts":{"heading":{"family":"Schibsted Grotesk","weight":600,"source":"fonts/SchibstedGrotesk-Variable.woff2","format":"woff2"},"body":{"family":"Schibsted Grotesk","weight":400,"source":"fonts/SchibstedGrotesk-Variable.woff2","format":"woff2"}},"icons":{"library":"lucide"},"styling":{"codeblocks":{"theme":{"light":"github-light-default","dark":"github-dark-default"}},"latex":false},"errors":{"404":{"redirect":false,"title":"Page not found","description":"This page does not exist. The address may have changed when the docs moved. Go to the [overview](/) or open the [API reference](/api-reference)."}},"contextual":{"options":["copy","view","download-spec","chatgpt","claude"],"display":"header"},"thumbnails":{"preset":"classic","appearance":"dark","surface":"brand","fonts":{"family":"Schibsted Grotesk","source":"fonts/SchibstedGrotesk-600.ttf","format":"ttf"},"eyebrow":{"source":"tab","style":"plain"}},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"no-response","hasAudioNarration":false,"actualSubdomain":"no-response","customDomains":["docs.noresponse.org"],"gitSource":{"type":"github","owner":"noresponsehq","repo":"noresponse","deployBranch":"main","contentDirectory":"apps/docs","isPrivate":true,"mountPath":"","label":"","_id":"6adb8358cea73fcb111d0b4e"},"chroma":{"latestBuiltDeploymentHistoryId":"6ade4d128dc007203f17dd0a","collectionId":"11751fd1-4e66-4afc-ab5a-d5bcc988bf41","liveDeploymentHistoryId":"6ade4d128dc007203f17dd0a","schemaVersion":"v3"},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ade4e2f018724cf90803b83","clientVersion":"0.0.3966","searchFilterCounts":[{"language":"default","tag":"API reference","count":67},{"language":"default","tag":"Endpoints","count":34},{"language":"default","tag":"Guides","count":26},{"language":"default","tag":"Errors","count":24},{"language":"default","tag":"Problem types","count":23},{"language":"default","tag":"Webhooks","count":13},{"language":"default","tag":"Using the API","count":8},{"language":"default","tag":"SDKs","count":7},{"language":"default","tag":"Get started","count":5},{"language":"default","tag":"Accounts","count":5}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-v7-file-tree","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"per-site-search-delta","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-private-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-nav-generations","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"isAtlas":false,"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"@font-face{font-family:\"Azeret Mono\";src:url(/fonts/AzeretMono-Variable.woff2) format(\"woff2\");font-weight:100 900;font-style:normal;font-display:swap}@font-face{font-family:\"Schibsted Grotesk\";src:url(/fonts/SchibstedGrotesk-Variable-Italic.woff2) format(\"woff2\");font-weight:400 900;font-style:italic;font-display:swap}code,kbd,pre,samp{font-family:\"Azeret Mono\",ui-monospace,Menlo,monospace!important}:root.dark{--gray-50:242 240 230;--gray-100:236 234 246;--gray-200:236 234 246;--gray-300:188 191 226;--gray-400:159 162 202;--gray-500:147 150 191;--gray-600:108 112 156;--gray-700:58 63 128;--gray-800:32 35 77;--gray-900:15 18 54;--gray-950:8 10 34}html.dark .code-block,html.dark [data-component-part=code-block-root],html.dark pre.shiki{background-color:#0f1236!important;border-color:#3a3f80}html.dark ::selection{background:#6a4de0;color:#f2f0e6}"}],"page":{"pagePath":"api-reference/settings/get-your-settings","slug":"/api-reference/settings/get-your-settings","pageMetadata":{"title":"Get your settings","description":"Reads the environment's settings: retention in days; per flow (`account_creation`, `login`, `purchase`) the `step_up`, `review` and `block` thresholds, the default depth and the admission; and the sources it refuses. A flow without thresholds of its own shows `account_creation`'s with `inherits_account_creation: true`. `policy_version` counts the policy changes and `updated_by` names who made the last one. Requires the `management` scope, and acts only in the signing key's own workspace and environment: another workspace and the other environment answer 404.","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/workspaces/{workspace_id}/settings/{environment}","href":"/api-reference/settings/get-your-settings","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Reads the environment’s settings: retention in days; per flow (\", _jsx(_components.code, {\n children: \"account_creation\"\n }), \", \", _jsx(_components.code, {\n children: \"login\"\n }), \", \", _jsx(_components.code, {\n children: \"purchase\"\n }), \") the \", _jsx(_components.code, {\n children: \"step_up\"\n }), \", \", _jsx(_components.code, {\n children: \"review\"\n }), \" and \", _jsx(_components.code, {\n children: \"block\"\n }), \" thresholds, the default depth and the admission; and the sources it refuses. A flow without thresholds of its own shows \", _jsx(_components.code, {\n children: \"account_creation\"\n }), \"’s with \", _jsx(_components.code, {\n children: \"inherits_account_creation: true\"\n }), \". \", _jsx(_components.code, {\n children: \"policy_version\"\n }), \" counts the policy changes and \", _jsx(_components.code, {\n children: \"updated_by\"\n }), \" names who made the last one. Requires the \", _jsx(_components.code, {\n children: \"management\"\n }), \" scope, and acts only in the signing key’s own workspace and environment: another workspace and the other environment answer 404.\"]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"codeStyling":{"theme":{"light":"github-light-default","dark":"github-dark-default"}},"config":{},"pageMetadata":{"title":"Get your settings","description":"Reads the environment's settings: retention in days; per flow (`account_creation`, `login`, `purchase`) the `step_up`, `review` and `block` thresholds, the default depth and the admission; and the sources it refuses. A flow without thresholds of its own shows `account_creation`'s with `inherits_account_creation: true`. `policy_version` counts the policy changes and `updated_by` names who made the last one. Requires the `management` scope, and acts only in the signing key's own workspace and environment: another workspace and the other environment answer 404.","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/workspaces/{workspace_id}/settings/{environment}","href":"/api-reference/settings/get-your-settings","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"getSettings","tags":["settings"],"summary":"Get your settings","description":"Reads the environment's settings: retention in days; per flow (`account_creation`, `login`, `purchase`) the `step_up`, `review` and `block` thresholds, the default depth and the admission; and the sources it refuses. A flow without thresholds of its own shows `account_creation`'s with `inherits_account_creation: true`. `policy_version` counts the policy changes and `updated_by` names who made the last one. Requires the `management` scope, and acts only in the signing key's own workspace and environment: another workspace and the other environment answer 404.","parameters":["f344bca4-de26-4139-8e46-35ebc3dc0612","be320742-5f88-4593-ba30-d0d1d06ac562"],"responses":{"200":"c372deb8-6f0a-4796-9b2e-dba8dd926ced","400":"60d56556-2774-4d0e-b272-0fd7651b3dcd","401":"cdd9888c-149f-41c8-bea2-312f4745905b","403":"3b1e3a3b-dd58-4478-91a8-895f942b9c15","404":"87f8d8e3-9337-4781-b02a-a97a5ea401fe","503":"75285d95-59f4-4cc4-8ccf-a2d0f3f0b70f"},"security":["a50d2f93-4d27-46f4-89bc-b2ee8fb26a0b"],"x-codeSamples":[{"lang":"curl","label":"cURL","source":"curl --request GET \\\n --url 'https://api.noresponse.org/v1/workspaces/tnt_01JA2Z8K6Q4V7W9XBCDEFGHJKM/settings/live' \\\n --header \"Authorization: Bearer $NORESPONSE_API_KEY\"\n"},{"lang":"typescript","label":"TypeScript","source":"import { NoResponse } from \"@noresponse/node\";\n\nconst noResponse = new NoResponse({\n apiKey: process.env[\"NORESPONSE_API_KEY\"] ?? \"\",\n});\n\nasync function run() {\n const result = await noResponse.settings.get({\n workspaceId: \"tnt_01JA2Z8K6Q4V7W9XBCDEFGHJKM\",\n environment: \"live\",\n });\n\n console.log(result);\n}\n\nrun();\n"},{"lang":"python","label":"Python","source":"from noresponse import NoResponse\nimport os\n\n\nwith NoResponse(\n api_key=os.getenv(\"NORESPONSE_API_KEY\", \"\"),\n) as no_response:\n\n res = no_response.settings.get(workspace_id=\"tnt_01JA2Z8K6Q4V7W9XBCDEFGHJKM\", environment=\"live\")\n\n # Handle response\n print(res)\n"},{"lang":"go","label":"Go","source":"package main\n\nimport(\n\t\"context\"\n\t\"os\"\n\tnoresponse \"github.com/noresponsehq/go/v7\"\n\t\"github.com/noresponsehq/go/v7/models/components\"\n\t\"log\"\n)\n\nfunc main() {\n ctx := context.Background()\n\n s := noresponse.New(\n noresponse.WithSecurity(os.Getenv(\"NORESPONSE_API_KEY\")),\n )\n\n res, err := s.Settings.Get(ctx, \"tnt_01JA2Z8K6Q4V7W9XBCDEFGHJKM\", components.KeyEnvironmentLive)\n if err != nil {\n log.Fatal(err)\n }\n if res != nil {\n // handle response\n }\n}\n"},{"lang":"java","label":"Java","source":"package hello.world;\n\nimport java.lang.Exception;\nimport org.noresponse.NoResponse;\nimport org.noresponse.models.errors.AuthenticationException;\nimport org.noresponse.models.errors.BadRequestException;\nimport org.noresponse.models.errors.ConflictException;\nimport org.noresponse.models.errors.NotFoundException;\nimport org.noresponse.models.errors.PermissionDeniedException;\nimport org.noresponse.models.errors.RateLimitException;\nimport org.noresponse.models.operations.GetSettingsResponse;\nimport org.noresponse.models.shared.KeyEnvironment;\n\npublic class Application {\n\n public static void main(String[] args) throws Exception {\n\n NoResponse sdk = NoResponse.builder()\n .apiKey(System.getenv().getOrDefault(\"NORESPONSE_API_KEY\", \"\"))\n .build();\n\n GetSettingsResponse res = sdk.settings().get()\n .workspaceId(\"tnt_01JA2Z8K6Q4V7W9XBCDEFGHJKM\")\n .environment(KeyEnvironment.LIVE)\n .call();\n\n if (res.settings().isPresent()) {\n System.out.println(res.settings().get());\n }\n }\n}\n"},{"lang":"csharp","label":"C#","source":"using NoResponse;\nusing NoResponse.Models.Shared;\nusing System;\n\nvar sdk = new NoResponseClient(apiKey: Environment.GetEnvironmentVariable(\"NORESPONSE_API_KEY\"));\n\nvar res = await sdk.Settings.GetAsync(\n workspaceId: \"tnt_01JA2Z8K6Q4V7W9XBCDEFGHJKM\",\n environment: KeyEnvironment.Live\n);\n\n// handle response\n"},{"lang":"php","label":"PHP","source":"\u003c?php\n\ndeclare(strict_types=1);\n\nrequire 'vendor/autoload.php';\n\nuse NoResponse;\nuse NoResponse\\Models\\Shared;\n\n$sdk = NoResponse\\NoResponseClient::builder()\n ->setSecurity(\n getenv('NORESPONSE_API_KEY') ?: ''\n )\n ->build();\n\n\n\n$response = $sdk->settings->get(\n workspaceId: 'tnt_01JA2Z8K6Q4V7W9XBCDEFGHJKM',\n environment: Shared\\KeyEnvironment::Live\n\n);\n\nif ($response->settings !== null) {\n // handle response\n}\n"},{"lang":"ruby","label":"Ruby","source":"require 'noresponse'\n\nModels = ::NoResponse::Models\ns = ::NoResponse::NoResponseClient.new(\n api_key: ENV.fetch('NORESPONSE_API_KEY', '')\n)\nres = s.settings.get(workspace_id: 'tnt_01JA2Z8K6Q4V7W9XBCDEFGHJKM', environment: Models::Shared::KeyEnvironment::LIVE)\n\nunless res.nil?\n # handle response\nend\n"}],"method":"get","type":"path","servers":["fe8e8125-d0ce-440b-a7b8-faa3fa70e571"],"path":"/v1/workspaces/{workspace_id}/settings/{environment}","baseUrlOptions":["https://api.noresponse.org"],"title":"Get your settings","codeSamples":[{"label":"cURL","lang":"curl","source":"curl --request GET \\\n --url 'https://api.noresponse.org/v1/workspaces/tnt_01JA2Z8K6Q4V7W9XBCDEFGHJKM/settings/live' \\\n --header \"Authorization: Bearer $NORESPONSE_API_KEY\"\n"},{"label":"TypeScript","lang":"typescript","source":"import { NoResponse } from \"@noresponse/node\";\n\nconst noResponse = new NoResponse({\n apiKey: process.env[\"NORESPONSE_API_KEY\"] ?? \"\",\n});\n\nasync function run() {\n const result = await noResponse.settings.get({\n workspaceId: \"tnt_01JA2Z8K6Q4V7W9XBCDEFGHJKM\",\n environment: \"live\",\n });\n\n console.log(result);\n}\n\nrun();\n"},{"label":"Python","lang":"python","source":"from noresponse import NoResponse\nimport os\n\n\nwith NoResponse(\n api_key=os.getenv(\"NORESPONSE_API_KEY\", \"\"),\n) as no_response:\n\n res = no_response.settings.get(workspace_id=\"tnt_01JA2Z8K6Q4V7W9XBCDEFGHJKM\", environment=\"live\")\n\n # Handle response\n print(res)\n"},{"label":"Go","lang":"go","source":"package main\n\nimport(\n\t\"context\"\n\t\"os\"\n\tnoresponse \"github.com/noresponsehq/go/v7\"\n\t\"github.com/noresponsehq/go/v7/models/components\"\n\t\"log\"\n)\n\nfunc main() {\n ctx := context.Background()\n\n s := noresponse.New(\n noresponse.WithSecurity(os.Getenv(\"NORESPONSE_API_KEY\")),\n )\n\n res, err := s.Settings.Get(ctx, \"tnt_01JA2Z8K6Q4V7W9XBCDEFGHJKM\", components.KeyEnvironmentLive)\n if err != nil {\n log.Fatal(err)\n }\n if res != nil {\n // handle response\n }\n}\n"},{"label":"Java","lang":"java","source":"package hello.world;\n\nimport java.lang.Exception;\nimport org.noresponse.NoResponse;\nimport org.noresponse.models.errors.AuthenticationException;\nimport org.noresponse.models.errors.BadRequestException;\nimport org.noresponse.models.errors.ConflictException;\nimport org.noresponse.models.errors.NotFoundException;\nimport org.noresponse.models.errors.PermissionDeniedException;\nimport org.noresponse.models.errors.RateLimitException;\nimport org.noresponse.models.operations.GetSettingsResponse;\nimport org.noresponse.models.shared.KeyEnvironment;\n\npublic class Application {\n\n public static void main(String[] args) throws Exception {\n\n NoResponse sdk = NoResponse.builder()\n .apiKey(System.getenv().getOrDefault(\"NORESPONSE_API_KEY\", \"\"))\n .build();\n\n GetSettingsResponse res = sdk.settings().get()\n .workspaceId(\"tnt_01JA2Z8K6Q4V7W9XBCDEFGHJKM\")\n .environment(KeyEnvironment.LIVE)\n .call();\n\n if (res.settings().isPresent()) {\n System.out.println(res.settings().get());\n }\n }\n}\n"},{"label":"C#","lang":"csharp","source":"using NoResponse;\nusing NoResponse.Models.Shared;\nusing System;\n\nvar sdk = new NoResponseClient(apiKey: Environment.GetEnvironmentVariable(\"NORESPONSE_API_KEY\"));\n\nvar res = await sdk.Settings.GetAsync(\n workspaceId: \"tnt_01JA2Z8K6Q4V7W9XBCDEFGHJKM\",\n environment: KeyEnvironment.Live\n);\n\n// handle response\n"},{"label":"PHP","lang":"php","source":"\u003c?php\n\ndeclare(strict_types=1);\n\nrequire 'vendor/autoload.php';\n\nuse NoResponse;\nuse NoResponse\\Models\\Shared;\n\n$sdk = NoResponse\\NoResponseClient::builder()\n ->setSecurity(\n getenv('NORESPONSE_API_KEY') ?: ''\n )\n ->build();\n\n\n\n$response = $sdk->settings->get(\n workspaceId: 'tnt_01JA2Z8K6Q4V7W9XBCDEFGHJKM',\n environment: Shared\\KeyEnvironment::Live\n\n);\n\nif ($response->settings !== null) {\n // handle response\n}\n"},{"label":"Ruby","lang":"ruby","source":"require 'noresponse'\n\nModels = ::NoResponse::Models\ns = ::NoResponse::NoResponseClient.new(\n api_key: ENV.fetch('NORESPONSE_API_KEY', '')\n)\nres = s.settings.get(workspace_id: 'tnt_01JA2Z8K6Q4V7W9XBCDEFGHJKM', environment: Models::Shared::KeyEnvironment::LIVE)\n\nunless res.nil?\n # handle response\nend\n"}],"requiredOnlyExamples":false,"disableCodeSampleGeneration":true,"requestExampleType":"codeSamples","responseExampleType":"generated","prefillPlaygroundWithExample":true,"prefillPlaygroundExamples":[]},"dependencies":{"parameters":{"f344bca4-de26-4139-8e46-35ebc3dc0612":{"name":"workspace_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9_.-]{0,122}$","description":"The workspace id. A workspace the acting user is not an active member of answers 404, as do another workspace than an API key's own, a malformed id and a test environment's id.\nThe workspace id, which is also its live environment's workspace id; the test environment's is the same id with:test appended. A workspace created through the API is tnt_ and a 26-character ULID.","isRequired":true,"uniqueKey":"","typeLabel":"string"},"description":"The workspace id. A workspace the acting user is not an active member of answers 404, as do another workspace than an API key's own, a malformed id and a test environment's id."},"be320742-5f88-4593-ba30-d0d1d06ac562":{"name":"environment","in":"path","required":true,"schema":{"enum":["live","test"],"description":"The environment: live or test. Each has its own settings. Any other value answers 400. An API key reads and changes only its own environment's; the other answers 404.\nThe environment the key belongs to. A live key assesses with live sources; a test key answers from the deterministic simulator.","type":"string","isRequired":true,"uniqueKey":"","typeLabel":"enum\u003cstring>"},"description":"The environment: live or test. Each has its own settings. Any other value answers 400. An API key reads and changes only its own environment's; the other answers 404."}},"responses":{"c372deb8-6f0a-4796-9b2e-dba8dd926ced":{"description":"The environment's settings in force.","headers":{"Cache-Control":{"schema":{"type":"string","const":"no-store"},"required":true},"X-Request-ID":{"description":"The request correlation id, 32 lowercase hexadecimal characters.","schema":{"type":"string","pattern":"^[0-9a-f]{32}$","not":{"pattern":"\\n"}},"required":true}},"content":{"application/json":{"schema":{"title":"Environment settings","description":"One environment's settings: how long its assessments are kept, and for each flow the risk thresholds that decide it and the depth a request that names none is served at, and the sources it refuses. Live and test each have their own. A flow without thresholds of its own uses account_creation's (inherits_account_creation). Every change is recorded in the audit log as settings.updated, with who made it.","type":"object","additionalProperties":false,"required":["workspace_id","environment","retention_days","policy_version","flows","refused_sources"],"properties":{"workspace_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9_.-]{0,122}$","description":"The workspace id, which is also its live environment's workspace id; the test environment's is the same id with:test appended. A workspace created through the API is tnt_ and a 26-character ULID.","isRequired":true,"uniqueKey":"workspace_id","typeLabel":"string"},"environment":{"enum":["live","test"],"description":"The environment the key belongs to. A live key assesses with live sources; a test key answers from the deterministic simulator.","type":"string","isRequired":true,"uniqueKey":"environment","typeLabel":"enum\u003cstring>"},"retention_days":{"type":"integer","minimum":1,"maximum":365,"description":"Days an assessment is kept after it is created, 1 to 365 (default 365). Shortening hides older assessments at once.","isRequired":true,"uniqueKey":"retention_days","typeLabel":"integer"},"policy_version":{"type":"integer","minimum":0,"description":"How many times this environment's policy has changed; 0 while the defaults apply. A served risk.policy_version ends in +t\u003cpolicy_version> once it is above 0.","isRequired":true,"uniqueKey":"policy_version","typeLabel":"integer"},"flows":{"type":"object","additionalProperties":false,"required":["account_creation","login","purchase"],"properties":{"account_creation":{"type":"object","additionalProperties":false,"required":["step_up","review","default_depth","inherits_account_creation","admission","hold_seconds","on_expiry"],"description":"One flow's policy in force. A score below step_up is allow, below review step_up, and from review review; from block, when present, the decision is block. admission says when the flow's decision is final.","properties":{"step_up":{"type":"integer","minimum":1,"maximum":99,"isRequired":true,"uniqueKey":"flows.account_creation.step_up","typeLabel":"integer"},"review":{"type":"integer","minimum":2,"maximum":100,"isRequired":true,"uniqueKey":"flows.account_creation.review","typeLabel":"integer"},"default_depth":{"enum":["quick","full"],"description":"The depth a request for this flow that names none is served at. Defaults: full for account_creation and purchase, quick for login.","type":"string","isRequired":true,"uniqueKey":"flows.account_creation.default_depth","typeLabel":"enum\u003cstring>"},"inherits_account_creation":{"type":"boolean","description":"true while this flow has no thresholds of its own and uses account_creation's, the default for login and purchase. Always false for signup.","isRequired":true,"uniqueKey":"flows.account_creation.inherits_account_creation","typeLabel":"boolean"},"admission":{"enum":["immediate","held"],"description":"immediate (the default): an assessment of this flow is decided from the evidence its answer has, and later evidence may change the decision. held: while the account's current assessment of this flow has not completed, the account's decision for the flow is held, and the final decision arrives as account.risk_changed when the investigation completes or hold_seconds pass, whichever is first. Each flow has its own admission.","type":"string","isRequired":true,"uniqueKey":"flows.account_creation.admission","typeLabel":"enum\u003cstring>"},"hold_seconds":{"type":"integer","minimum":30,"maximum":86400,"description":"How long a held flow's assessment is held after it was created, 30 to 86400 seconds (default 300). Kept while the flow is immediate.","isRequired":true,"uniqueKey":"flows.account_creation.hold_seconds","typeLabel":"integer"},"on_expiry":{"enum":["allow","review","block"],"description":"The decision a held assessment takes when hold_seconds pass before its investigation completes, unless the evidence so far gives a stricter one (default review). It is announced as account.risk_changed like any other change, so an expired hold is always announced. A hosted provider hook, which cannot wait, answers a held account by it at once: deny for block, allow otherwise. Kept while the flow is immediate.","type":"string","isRequired":true,"uniqueKey":"flows.account_creation.on_expiry","typeLabel":"enum\u003cstring>"},"block":{"type":"integer","minimum":1,"maximum":100,"description":"The score from which the decision is block. Absent while blocking is off, the default.","uniqueKey":"flows.account_creation.block","typeLabel":"integer"}},"isRequired":true,"uniqueKey":"flows.account_creation","typeLabel":"object"},"login":{"type":"object","additionalProperties":false,"required":["step_up","review","default_depth","inherits_account_creation","admission","hold_seconds","on_expiry"],"description":"One flow's policy in force. A score below step_up is allow, below review step_up, and from review review; from block, when present, the decision is block. admission says when the flow's decision is final.","properties":{"step_up":{"type":"integer","minimum":1,"maximum":99,"isRequired":true,"uniqueKey":"flows.login.step_up","typeLabel":"integer"},"review":{"type":"integer","minimum":2,"maximum":100,"isRequired":true,"uniqueKey":"flows.login.review","typeLabel":"integer"},"default_depth":{"enum":["quick","full"],"description":"The depth a request for this flow that names none is served at. Defaults: full for account_creation and purchase, quick for login.","type":"string","isRequired":true,"uniqueKey":"flows.login.default_depth","typeLabel":"enum\u003cstring>"},"inherits_account_creation":{"type":"boolean","description":"true while this flow has no thresholds of its own and uses account_creation's, the default for login and purchase. Always false for signup.","isRequired":true,"uniqueKey":"flows.login.inherits_account_creation","typeLabel":"boolean"},"admission":{"enum":["immediate","held"],"description":"immediate (the default): an assessment of this flow is decided from the evidence its answer has, and later evidence may change the decision. held: while the account's current assessment of this flow has not completed, the account's decision for the flow is held, and the final decision arrives as account.risk_changed when the investigation completes or hold_seconds pass, whichever is first. Each flow has its own admission.","type":"string","isRequired":true,"uniqueKey":"flows.login.admission","typeLabel":"enum\u003cstring>"},"hold_seconds":{"type":"integer","minimum":30,"maximum":86400,"description":"How long a held flow's assessment is held after it was created, 30 to 86400 seconds (default 300). Kept while the flow is immediate.","isRequired":true,"uniqueKey":"flows.login.hold_seconds","typeLabel":"integer"},"on_expiry":{"enum":["allow","review","block"],"description":"The decision a held assessment takes when hold_seconds pass before its investigation completes, unless the evidence so far gives a stricter one (default review). It is announced as account.risk_changed like any other change, so an expired hold is always announced. A hosted provider hook, which cannot wait, answers a held account by it at once: deny for block, allow otherwise. Kept while the flow is immediate.","type":"string","isRequired":true,"uniqueKey":"flows.login.on_expiry","typeLabel":"enum\u003cstring>"},"block":{"type":"integer","minimum":1,"maximum":100,"description":"The score from which the decision is block. Absent while blocking is off, the default.","uniqueKey":"flows.login.block","typeLabel":"integer"}},"isRequired":true,"uniqueKey":"flows.login","typeLabel":"object"},"purchase":{"type":"object","additionalProperties":false,"required":["step_up","review","default_depth","inherits_account_creation","admission","hold_seconds","on_expiry"],"description":"One flow's policy in force. A score below step_up is allow, below review step_up, and from review review; from block, when present, the decision is block. admission says when the flow's decision is final.","properties":{"step_up":{"type":"integer","minimum":1,"maximum":99,"isRequired":true,"uniqueKey":"flows.purchase.step_up","typeLabel":"integer"},"review":{"type":"integer","minimum":2,"maximum":100,"isRequired":true,"uniqueKey":"flows.purchase.review","typeLabel":"integer"},"default_depth":{"enum":["quick","full"],"description":"The depth a request for this flow that names none is served at. Defaults: full for account_creation and purchase, quick for login.","type":"string","isRequired":true,"uniqueKey":"flows.purchase.default_depth","typeLabel":"enum\u003cstring>"},"inherits_account_creation":{"type":"boolean","description":"true while this flow has no thresholds of its own and uses account_creation's, the default for login and purchase. Always false for signup.","isRequired":true,"uniqueKey":"flows.purchase.inherits_account_creation","typeLabel":"boolean"},"admission":{"enum":["immediate","held"],"description":"immediate (the default): an assessment of this flow is decided from the evidence its answer has, and later evidence may change the decision. held: while the account's current assessment of this flow has not completed, the account's decision for the flow is held, and the final decision arrives as account.risk_changed when the investigation completes or hold_seconds pass, whichever is first. Each flow has its own admission.","type":"string","isRequired":true,"uniqueKey":"flows.purchase.admission","typeLabel":"enum\u003cstring>"},"hold_seconds":{"type":"integer","minimum":30,"maximum":86400,"description":"How long a held flow's assessment is held after it was created, 30 to 86400 seconds (default 300). Kept while the flow is immediate.","isRequired":true,"uniqueKey":"flows.purchase.hold_seconds","typeLabel":"integer"},"on_expiry":{"enum":["allow","review","block"],"description":"The decision a held assessment takes when hold_seconds pass before its investigation completes, unless the evidence so far gives a stricter one (default review). It is announced as account.risk_changed like any other change, so an expired hold is always announced. A hosted provider hook, which cannot wait, answers a held account by it at once: deny for block, allow otherwise. Kept while the flow is immediate.","type":"string","isRequired":true,"uniqueKey":"flows.purchase.on_expiry","typeLabel":"enum\u003cstring>"},"block":{"type":"integer","minimum":1,"maximum":100,"description":"The score from which the decision is block. Absent while blocking is off, the default.","uniqueKey":"flows.purchase.block","typeLabel":"integer"}},"isRequired":true,"uniqueKey":"flows.purchase","typeLabel":"object"}},"isRequired":true,"uniqueKey":"flows","typeLabel":"object"},"refused_sources":{"type":"array","uniqueItems":true,"maxItems":6,"items":{"enum":["github","phone","breach","rdap","mx","ipintel"],"description":"A NoResponse source: github (GitHub accounts), phone (the phone lookup), breach (breach exposure), rdap (the email domain's registration), mx (the email domain's mail servers) or ipintel (IP intelligence).","type":"string","uniqueKey":"refused_sources.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"The sources this environment refuses, sorted; empty, the default, refuses none. An assessment never contacts a refused source: its coverage is missing (an identifier with no other source lists coverage-unavailable as unavailable), never not_found, and a stored result of a refused source is not reused.","isRequired":true,"uniqueKey":"refused_sources","typeLabel":"enum\u003cstring>[]"},"updated_by":{"type":"string","minLength":1,"maxLength":256,"pattern":"^[^\\x00-\\x1f\\x7f]+$","description":"Absent while the defaults apply.","uniqueKey":"updated_by","typeLabel":"string"},"updated_at":{"type":"string","format":"date-time","description":"When the policy last changed. Absent while the defaults apply.","uniqueKey":"updated_at","typeLabel":"string\u003cdate-time>"}},"$defs":{"flow_settings":{"type":"object","additionalProperties":false,"required":["step_up","review","default_depth","inherits_account_creation","admission","hold_seconds","on_expiry"],"description":"One flow's policy in force. A score below step_up is allow, below review step_up, and from review review; from block, when present, the decision is block. admission says when the flow's decision is final.","properties":{"step_up":{"type":"integer","minimum":1,"maximum":99},"review":{"type":"integer","minimum":2,"maximum":100},"block":{"type":"integer","minimum":1,"maximum":100,"description":"The score from which the decision is block. Absent while blocking is off, the default."},"default_depth":{"enum":["quick","full"],"description":"The depth a request for this flow that names none is served at. Defaults: full for account_creation and purchase, quick for login."},"inherits_account_creation":{"type":"boolean","description":"true while this flow has no thresholds of its own and uses account_creation's, the default for login and purchase. Always false for signup."},"admission":{"enum":["immediate","held"],"description":"immediate (the default): an assessment of this flow is decided from the evidence its answer has, and later evidence may change the decision. held: while the account's current assessment of this flow has not completed, the account's decision for the flow is held, and the final decision arrives as account.risk_changed when the investigation completes or hold_seconds pass, whichever is first. Each flow has its own admission."},"hold_seconds":{"type":"integer","minimum":30,"maximum":86400,"description":"How long a held flow's assessment is held after it was created, 30 to 86400 seconds (default 300). Kept while the flow is immediate."},"on_expiry":{"enum":["allow","review","block"],"description":"The decision a held assessment takes when hold_seconds pass before its investigation completes, unless the evidence so far gives a stricter one (default review). It is announced as account.risk_changed like any other change, so an expired hold is always announced. A hosted provider hook, which cannot wait, answers a held account by it at once: deny for block, allow otherwise. Kept while the flow is immediate."}}},"admission":{"enum":["immediate","held"],"description":"immediate (the default): an assessment of this flow is decided from the evidence its answer has, and later evidence may change the decision. held: while the account's current assessment of this flow has not completed, the account's decision for the flow is held, and the final decision arrives as account.risk_changed when the investigation completes or hold_seconds pass, whichever is first. Each flow has its own admission."},"hold_seconds":{"type":"integer","minimum":30,"maximum":86400,"description":"How long a held flow's assessment is held after it was created, 30 to 86400 seconds (default 300). Kept while the flow is immediate."},"on_expiry":{"enum":["allow","review","block"],"description":"The decision a held assessment takes when hold_seconds pass before its investigation completes, unless the evidence so far gives a stricter one (default review). It is announced as account.risk_changed like any other change, so an expired hold is always announced. A hosted provider hook, which cannot wait, answers a held account by it at once: deny for block, allow otherwise. Kept while the flow is immediate."},"flow_change":{"type":"object","additionalProperties":false,"minProperties":1,"description":"A change to one flow. A field left out keeps the value in force. Thresholds set on login or purchase start from the values in force, account_creation's while it inherits them. After the change, 0 \u003c step_up \u003c review \u003c= 100 and block is off or review \u003c= block \u003c= 100.","properties":{"step_up":{"type":"integer","minimum":1,"maximum":100},"review":{"type":"integer","minimum":1,"maximum":100},"block":{"type":["integer","null"],"minimum":1,"maximum":100,"description":"The score from which the decision is block; null turns blocking off."},"default_depth":{"enum":["quick","full"]},"inherits_account_creation":{"const":true,"description":"Login or purchase only: drop the flow's own thresholds so it uses account_creation's again. Not combined with step_up, review or block."},"inherits_signup":{"const":true,"deprecated":true,"description":"Alias of inherits_account_creation, still accepted."},"admission":{"enum":["immediate","held"],"description":"immediate (the default): an assessment of this flow is decided from the evidence its answer has, and later evidence may change the decision. held: while the account's current assessment of this flow has not completed, the account's decision for the flow is held, and the final decision arrives as account.risk_changed when the investigation completes or hold_seconds pass, whichever is first. Each flow has its own admission."},"hold_seconds":{"type":"integer","minimum":30,"maximum":86400,"description":"How long a held flow's assessment is held after it was created, 30 to 86400 seconds (default 300). Kept while the flow is immediate."},"on_expiry":{"enum":["allow","review","block"],"description":"The decision a held assessment takes when hold_seconds pass before its investigation completes, unless the evidence so far gives a stricter one (default review). It is announced as account.risk_changed like any other change, so an expired hold is always announced. A hosted provider hook, which cannot wait, answers a held account by it at once: deny for block, allow otherwise. Kept while the flow is immediate."}},"if":{"anyOf":[{"required":["inherits_account_creation"]},{"required":["inherits_signup"]}]},"then":{"not":{"anyOf":[{"required":["step_up"]},{"required":["review"]},{"required":["block"]}]}}},"updated_by":{"type":"string","minLength":1,"maxLength":256,"pattern":"^[^\\x00-\\x1f\\x7f]+$"},"source_id":{"enum":["github","phone","breach","rdap","mx","ipintel"],"description":"A NoResponse source: github (GitHub accounts), phone (the phone lookup), breach (breach exposure), rdap (the email domain's registration), mx (the email domain's mail servers) or ipintel (IP intelligence)."},"refused_sources":{"type":"array","uniqueItems":true,"maxItems":6,"items":{"enum":["github","phone","breach","rdap","mx","ipintel"],"description":"A NoResponse source: github (GitHub accounts), phone (the phone lookup), breach (breach exposure), rdap (the email domain's registration), mx (the email domain's mail servers) or ipintel (IP intelligence)."},"description":"The sources this environment refuses, sorted; empty, the default, refuses none. An assessment never contacts a refused source: its coverage is missing (an identifier with no other source lists coverage-unavailable as unavailable), never not_found, and a stored result of a refused source is not reused."}},"uniqueKey":"","typeLabel":"Environment settings · object"},"examples":{"default":{"title":"default","value":{"workspace_id":"tnt_01JA2Z8K6Q4V7W9XBCDEFGHJKM","environment":"test","retention_days":365,"policy_version":0,"flows":{"account_creation":{"step_up":40,"review":75,"default_depth":"full","inherits_account_creation":false,"admission":"immediate","hold_seconds":300,"on_expiry":"review"},"login":{"step_up":40,"review":75,"default_depth":"quick","inherits_account_creation":true,"admission":"immediate","hold_seconds":300,"on_expiry":"review"},"purchase":{"step_up":40,"review":75,"default_depth":"full","inherits_account_creation":true,"admission":"immediate","hold_seconds":300,"on_expiry":"review"}},"refused_sources":[]}}},"exampleType":"examples"}},"exampleType":"examples"},"60d56556-2774-4d0e-b272-0fd7651b3dcd":{"description":"The body breaks its schema, or a console credential named no valid NR-Acting-User.","headers":{"Cache-Control":{"schema":{"type":"string","const":"no-store"},"required":true},"X-Request-ID":{"description":"The request correlation id, 32 lowercase hexadecimal characters.","schema":{"type":"string","pattern":"^[0-9a-f]{32}$","not":{"pattern":"\\n"}},"required":true}},"content":{"application/problem+json":{"schema":{"type":"object","title":"Problem details error","description":"RFC 9457 problem-details error body returned by every non-2xx API response, extended with a stable machine code and request id.","required":["type","title","status","detail","code","request_id"],"properties":{"type":{"type":"string","format":"uri-reference","isRequired":true,"uniqueKey":"type","typeLabel":"string\u003curi-reference>"},"title":{"type":"string","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"type":"integer","maximum":599,"minimum":400,"const":400,"isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"detail":{"type":"string","isRequired":true,"uniqueKey":"detail","typeLabel":"string"},"code":{"type":"string","enum":["invalid_request"],"isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"request_id":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"instance":{"type":"string","format":"uri-reference","uniqueKey":"instance","typeLabel":"string\u003curi-reference>"},"invalid_params":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["field","reason"],"properties":{"field":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"invalid_params.items.[INDEX].field","typeLabel":"string"},"reason":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"invalid_params.items.[INDEX].reason","typeLabel":"string"},"example":{"type":"string","minLength":1,"uniqueKey":"invalid_params.items.[INDEX].example","typeLabel":"string"}},"uniqueKey":"invalid_params.items.[INDEX]","typeLabel":"object"},"uniqueKey":"invalid_params","typeLabel":"object[]"}},"additionalProperties":false,"uniqueKey":"","typeLabel":"Problem details error · object"},"examples":{"Example":{"title":"Example","value":{"type":"\u003cstring>","title":"\u003cstring>","status":400,"detail":"\u003cstring>","code":"invalid_request","request_id":"\u003cstring>","instance":"\u003cstring>","invalid_params":[{"field":"\u003cstring>","reason":"\u003cstring>","example":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"cdd9888c-149f-41c8-bea2-312f4745905b":{"description":"No API key, or one that is malformed, unknown, revoked or expired.","headers":{"Cache-Control":{"schema":{"type":"string","const":"no-store"},"required":true},"WWW-Authenticate":{"schema":{"type":"string","const":"Bearer realm=\"noresponse-assessments\""},"required":true},"X-Request-ID":{"description":"The request correlation id, 32 lowercase hexadecimal characters.","schema":{"type":"string","pattern":"^[0-9a-f]{32}$","not":{"pattern":"\\n"}},"required":true}},"content":{"application/problem+json":{"schema":{"type":"object","title":"Problem details error","description":"RFC 9457 problem-details error body returned by every non-2xx API response, extended with a stable machine code and request id.","required":["type","title","status","detail","code","request_id"],"properties":{"type":{"type":"string","format":"uri-reference","isRequired":true,"uniqueKey":"type","typeLabel":"string\u003curi-reference>"},"title":{"type":"string","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"type":"integer","maximum":599,"minimum":400,"const":401,"isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"detail":{"type":"string","isRequired":true,"uniqueKey":"detail","typeLabel":"string"},"code":{"type":"string","enum":["unauthorized"],"isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"request_id":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"instance":{"type":"string","format":"uri-reference","uniqueKey":"instance","typeLabel":"string\u003curi-reference>"},"invalid_params":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["field","reason"],"properties":{"field":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"invalid_params.items.[INDEX].field","typeLabel":"string"},"reason":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"invalid_params.items.[INDEX].reason","typeLabel":"string"},"example":{"type":"string","minLength":1,"uniqueKey":"invalid_params.items.[INDEX].example","typeLabel":"string"}},"uniqueKey":"invalid_params.items.[INDEX]","typeLabel":"object"},"uniqueKey":"invalid_params","typeLabel":"object[]"}},"additionalProperties":false,"uniqueKey":"","typeLabel":"Problem details error · object"},"examples":{"Example":{"title":"Example","value":{"type":"\u003cstring>","title":"\u003cstring>","status":401,"detail":"\u003cstring>","code":"unauthorized","request_id":"\u003cstring>","instance":"\u003cstring>","invalid_params":[{"field":"\u003cstring>","reason":"\u003cstring>","example":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"3b1e3a3b-dd58-4478-91a8-895f942b9c15":{"description":"workspace_forbidden: an API key without the management scope, or any API key on a route other than the key and settings routes. role_forbidden: a console credential's acting user is an active member whose role does not grant the operation.","headers":{"Cache-Control":{"schema":{"type":"string","const":"no-store"},"required":true},"X-Request-ID":{"description":"The request correlation id, 32 lowercase hexadecimal characters.","schema":{"type":"string","pattern":"^[0-9a-f]{32}$","not":{"pattern":"\\n"}},"required":true}},"content":{"application/problem+json":{"schema":{"type":"object","title":"Problem details error","description":"RFC 9457 problem-details error body returned by every non-2xx API response, extended with a stable machine code and request id.","required":["type","title","status","detail","code","request_id"],"properties":{"type":{"type":"string","format":"uri-reference","isRequired":true,"uniqueKey":"type","typeLabel":"string\u003curi-reference>"},"title":{"type":"string","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"type":"integer","maximum":599,"minimum":400,"const":403,"isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"detail":{"type":"string","isRequired":true,"uniqueKey":"detail","typeLabel":"string"},"code":{"type":"string","enum":["workspace_forbidden","role_forbidden"],"isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"request_id":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"instance":{"type":"string","format":"uri-reference","uniqueKey":"instance","typeLabel":"string\u003curi-reference>"},"invalid_params":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["field","reason"],"properties":{"field":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"invalid_params.items.[INDEX].field","typeLabel":"string"},"reason":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"invalid_params.items.[INDEX].reason","typeLabel":"string"},"example":{"type":"string","minLength":1,"uniqueKey":"invalid_params.items.[INDEX].example","typeLabel":"string"}},"uniqueKey":"invalid_params.items.[INDEX]","typeLabel":"object"},"uniqueKey":"invalid_params","typeLabel":"object[]"}},"additionalProperties":false,"uniqueKey":"","typeLabel":"Problem details error · object"},"examples":{"Example":{"title":"Example","value":{"type":"\u003cstring>","title":"\u003cstring>","status":403,"detail":"\u003cstring>","code":"workspace_forbidden","request_id":"\u003cstring>","instance":"\u003cstring>","invalid_params":[{"field":"\u003cstring>","reason":"\u003cstring>","example":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"87f8d8e3-9337-4781-b02a-a97a5ea401fe":{"description":"No such workspace, member, invite, key or environment for the caller. A workspace the acting user is not an active member of answers this too, as do another workspace and the other environment to an API key, so no answer shows which workspaces exist.","headers":{"Cache-Control":{"schema":{"type":"string","const":"no-store"},"required":true},"X-Request-ID":{"description":"The request correlation id, 32 lowercase hexadecimal characters.","schema":{"type":"string","pattern":"^[0-9a-f]{32}$","not":{"pattern":"\\n"}},"required":true}},"content":{"application/problem+json":{"schema":{"type":"object","title":"Problem details error","description":"RFC 9457 problem-details error body returned by every non-2xx API response, extended with a stable machine code and request id.","required":["type","title","status","detail","code","request_id"],"properties":{"type":{"type":"string","format":"uri-reference","isRequired":true,"uniqueKey":"type","typeLabel":"string\u003curi-reference>"},"title":{"type":"string","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"type":"integer","maximum":599,"minimum":400,"const":404,"isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"detail":{"type":"string","isRequired":true,"uniqueKey":"detail","typeLabel":"string"},"code":{"type":"string","enum":["not_found"],"isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"request_id":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"instance":{"type":"string","format":"uri-reference","uniqueKey":"instance","typeLabel":"string\u003curi-reference>"},"invalid_params":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["field","reason"],"properties":{"field":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"invalid_params.items.[INDEX].field","typeLabel":"string"},"reason":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"invalid_params.items.[INDEX].reason","typeLabel":"string"},"example":{"type":"string","minLength":1,"uniqueKey":"invalid_params.items.[INDEX].example","typeLabel":"string"}},"uniqueKey":"invalid_params.items.[INDEX]","typeLabel":"object"},"uniqueKey":"invalid_params","typeLabel":"object[]"}},"additionalProperties":false,"uniqueKey":"","typeLabel":"Problem details error · object"},"examples":{"Example":{"title":"Example","value":{"type":"\u003cstring>","title":"\u003cstring>","status":404,"detail":"\u003cstring>","code":"not_found","request_id":"\u003cstring>","instance":"\u003cstring>","invalid_params":[{"field":"\u003cstring>","reason":"\u003cstring>","example":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"75285d95-59f4-4cc4-8ccf-a2d0f3f0b70f":{"description":"The assessment could not be admitted at all (overload, shutdown or a dependency down). An assessment that was admitted answers partial or pending instead of 503.","headers":{"Cache-Control":{"schema":{"type":"string","const":"no-store"},"required":true},"Retry-After":{"description":"Whole seconds to wait before polling or retrying. Required on 202, 429 and 503.","schema":{"type":"string","pattern":"^(?:[1-9]|[1-9][0-9]|[1-9][0-9]{2}|[12][0-9]{3}|3[0-5][0-9]{2}|3600)$","description":"Whole decimal seconds; wait at least this long."},"required":true},"X-Request-ID":{"description":"The request correlation id, 32 lowercase hexadecimal characters.","schema":{"type":"string","pattern":"^[0-9a-f]{32}$","not":{"pattern":"\\n"}},"required":true}},"content":{"application/problem+json":{"schema":{"type":"object","title":"Problem details error","description":"RFC 9457 problem-details error body returned by every non-2xx API response, extended with a stable machine code and request id.","required":["type","title","status","detail","code","request_id"],"properties":{"type":{"type":"string","format":"uri-reference","isRequired":true,"uniqueKey":"type","typeLabel":"string\u003curi-reference>"},"title":{"type":"string","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"type":"integer","maximum":599,"minimum":400,"const":503,"isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"detail":{"type":"string","isRequired":true,"uniqueKey":"detail","typeLabel":"string"},"code":{"type":"string","enum":["service_unavailable"],"isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"request_id":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"instance":{"type":"string","format":"uri-reference","uniqueKey":"instance","typeLabel":"string\u003curi-reference>"},"invalid_params":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["field","reason"],"properties":{"field":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"invalid_params.items.[INDEX].field","typeLabel":"string"},"reason":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"invalid_params.items.[INDEX].reason","typeLabel":"string"},"example":{"type":"string","minLength":1,"uniqueKey":"invalid_params.items.[INDEX].example","typeLabel":"string"}},"uniqueKey":"invalid_params.items.[INDEX]","typeLabel":"object"},"uniqueKey":"invalid_params","typeLabel":"object[]"}},"additionalProperties":false,"uniqueKey":"","typeLabel":"Problem details error · object"},"examples":{"Example":{"title":"Example","value":{"type":"\u003cstring>","title":"\u003cstring>","status":503,"detail":"\u003cstring>","code":"service_unavailable","request_id":"\u003cstring>","instance":"\u003cstring>","invalid_params":[{"field":"\u003cstring>","reason":"\u003cstring>","example":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"a50d2f93-4d27-46f4-89bc-b2ee8fb26a0b":{"tenantBearer":{"type":"http","scheme":"bearer","description":"Your API key, sent as `Authorization: Bearer \u003ckey>`. A key is `nrk_live_` or `nrk_test_`, a 26-character key id, `_` and a 43-character secret. A key sees only its own environment's data.\n\nEach key has one or more scopes: `assess` creates and reads assessments, records outcomes and reports key usage; `history` reads assessments, an account's current risk, the accounts whose risk changed and an account's history, records enforcements and erases an account; `detailed` adds the detailed view; `webhooks` registers, tests, rotates and deletes webhook endpoints; `integrations` registers and manages hosted provider integrations; `management` creates, lists and revokes the keys of its own environment and reads and changes that environment's settings. A missing, unknown, revoked or expired key answers 401. A valid key without the scope an operation needs answers 403.","scopes":[],"schemeName":"tenantBearer"}}},"servers":{"fe8e8125-d0ce-440b-a7b8-faa3fa70e571":{"url":"https://api.noresponse.org","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"Your API key, sent as `Authorization: Bearer \u003ckey>`. A key is `nrk_live_` or `nrk_test_`, a 26-character key id, `_` and a 43-character secret. A key sees only its own environment's data.\n\nEach key has one or more scopes: `assess` creates and reads assessments, records outcomes and reports key usage; `history` reads assessments, an account's current risk, the accounts whose risk changed and an account's history, records enforcements and erases an account; `detailed` adds the detailed view; `webhooks` registers, tests, rotates and deletes webhook endpoints; `integrations` registers and manages hosted provider integrations; `management` creates, lists and revokes the keys of its own environment and reads and changes that environment's settings. A missing, unknown, revoked or expired key answers 401. A valid key without the scope an operation needs answers 403.","scopes":[],"schemeName":"tenantBearer"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Your API key, sent as `Authorization: Bearer \u003ckey>`. A key is `nrk_live_` or `nrk_test_`, a 26-character key id, `_` and a 43-character secret. A key sees only its own environment's data.\n\nEach key has one or more scopes: `assess` creates and reads assessments, records outcomes and reports key usage; `history` reads assessments, an account's current risk, the accounts whose risk changed and an account's history, records enforcements and erases an account; `detailed` adds the detailed view; `webhooks` registers, tests, rotates and deletes webhook endpoints; `integrations` registers and manages hosted provider integrations; `management` creates, lists and revokes the keys of its own environment and reads and changes that environment's settings. A missing, unknown, revoked or expired key answers 401. A valid key without the scope an operation needs answers 403.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"tenantBearer","name":"Authorization"}],"title":"tenantBearer"}]},"originalFileLocation":"openapi.json"},"subdomain":"no-response","siteName":"NoResponse docs","title":"Get your settings - NoResponse docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-25T16:59:46.190Z","originalFileLocation":"api-reference/settings/get-your-settings.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Reads the environment\u0026#x27;s settings: retention in days; per flow (account_creation, login, purchase) the step_up, review and block thresholds, the default depth and the admission; and the sources it refuses. A flow without thresholds of its own shows account_creation\u0026#x27;s with inherits_account_creation: true. policy_version counts the policy changes and updated_by names who made the last one. Requires the management scope, and acts only in the signing key\u0026#x27;s own workspace and environment: another workspace and the other environment answer 404.\">\u003cmeta data-mint-head name=\"application-name\" content=\"NoResponse docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/no-response/QuYJA8AlAyvACi4k/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/no-response/QuYJA8AlAyvACi4k/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/no-response/QuYJA8AlAyvACi4k/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/no-response/QuYJA8AlAyvACi4k/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/no-response/QuYJA8AlAyvACi4k/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/no-response/QuYJA8AlAyvACi4k/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/no-response/QuYJA8AlAyvACi4k/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/no-response/QuYJA8AlAyvACi4k/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/no-response/QuYJA8AlAyvACi4k/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get your settings - NoResponse docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Reads the environment\u0026#x27;s settings: retention in days; per flow (account_creation, login, purchase) the step_up, review and block thresholds, the default depth and the admission; and the sources it refuses. A flow without thresholds of its own shows account_creation\u0026#x27;s with inherits_account_creation: true. policy_version counts the policy changes and updated_by names who made the last one. Requires the management scope, and acts only in the signing key\u0026#x27;s own workspace and environment: another workspace and the other environment answer 404.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"NoResponse docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.noresponse.org/api-reference/settings/get-your-settings\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://no-response.mintlify.app/_mintlify/api/og/v2?division=API+reference\u0026amp;title=Get+your+settings\u0026amp;description=Reads+the+environment%27s+settings%3A+retention+in+days%3B+per+flow+%28%60account_creation%60%2C+%60login%60%2C+%60purchase%60%29+the+%60step_up%60%2C+%60review%60+and+%60block%60+thresholds%2C+the+defa\u0026amp;theme=48c71d5654354b621b66322c\u0026amp;signature=869fb16f387bb4bf57c6b79afc14f37cda36c09dcb01f1be4ab338b27a7745c5\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Get your settings - NoResponse docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Reads the environment\u0026#x27;s settings: retention in days; per flow (account_creation, login, purchase) the step_up, review and block thresholds, the default depth and the admission; and the sources it refuses. A flow without thresholds of its own shows account_creation\u0026#x27;s with inherits_account_creation: true. policy_version counts the policy changes and updated_by names who made the last one. Requires the management scope, and acts only in the signing key\u0026#x27;s own workspace and environment: another workspace and the other environment answer 404.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://no-response.mintlify.app/_mintlify/api/og/v2?division=API+reference\u0026amp;title=Get+your+settings\u0026amp;description=Reads+the+environment%27s+settings%3A+retention+in+days%3B+per+flow+%28%60account_creation%60%2C+%60login%60%2C+%60purchase%60%29+the+%60step_up%60%2C+%60review%60+and+%60block%60+thresholds%2C+the+defa\u0026amp;theme=48c71d5654354b621b66322c\u0026amp;signature=869fb16f387bb4bf57c6b79afc14f37cda36c09dcb01f1be4ab338b27a7745c5\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/no-response/QuYJA8AlAyvACi4k/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"NoResponse docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#2c38d4\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.noresponse.org/api-reference/settings/get-your-settings\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/settings/get-your-settings.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.noresponse.org/#organization\",\"name\":\"NoResponse docs\",\"url\":\"https://docs.noresponse.org\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/no-response/Wvj477r0d6oKHPB0/logo/light.svg?fit=max\u0026auto=format\u0026n=Wvj477r0d6oKHPB0\u0026q=85\u0026s=71c49eae03789201280dc175d672a9af\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.noresponse.org#website\",\"name\":\"NoResponse docs\",\"url\":\"https://docs.noresponse.org\",\"publisher\":{\"@id\":\"https://docs.noresponse.org/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.noresponse.org/api-reference/settings/get-your-settings#webpage\",\"url\":\"https://docs.noresponse.org/api-reference/settings/get-your-settings\",\"name\":\"Get your settings\",\"description\":\"Reads the environment's settings: retention in days; per flow (account_creation, login, purchase) the step_up, review and block thresholds, the default depth and the admission; and the sources it refuses. A flow without thresholds of its own shows account_creation's with inherits_account_creation: true. policy_version counts the policy changes and updated_by names who made the last one. Requires the management scope, and acts only in the signing key's own workspace and environment: another workspace and the other environment answer 404.\",\"dateModified\":\"2026-10-25T16:59:46.190Z\",\"isPartOf\":{\"@id\":\"https://docs.noresponse.org#website\"},\"breadcrumb\":{\"@id\":\"https://docs.noresponse.org/api-reference/settings/get-your-settings#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.noresponse.org/api-reference/settings/get-your-settings#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Endpoints\",\"item\":\"https://docs.noresponse.org/api-reference/assess/create-an-assessment\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Get your settings\",\"item\":\"https://docs.noresponse.org/api-reference/settings/get-your-settings\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.noresponse.org/api-reference/settings/get-your-settings#apireference\",\"headline\":\"Get your settings\",\"name\":\"Get your settings\",\"description\":\"Reads the environment's settings: retention in days; per flow (account_creation, login, purchase) the step_up, review and block thresholds, the default depth and the admission; and the sources it refuses. A flow without thresholds of its own shows account_creation's with inherits_account_creation: true. policy_version counts the policy changes and updated_by names who made the last one. Requires the management scope, and acts only in the signing key's own workspace and environment: another workspace and the other environment answer 404.\",\"url\":\"https://docs.noresponse.org/api-reference/settings/get-your-settings\",\"mainEntityOfPage\":{\"@id\":\"https://docs.noresponse.org/api-reference/settings/get-your-settings#webpage\"},\"dateModified\":\"2026-10-25T16:59:46.190Z\",\"publisher\":{\"@id\":\"https://docs.noresponse.org/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.noresponse.org#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"NoResponse docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"NoResponse docs","nav":{"global":null,"tabs":[{"tab":"Guides","icon":"book-open","pages":[{"title":"Guides","href":""}]},{"tab":"API reference","icon":"square-terminal","groups":[{"group":"Overview","icon":"compass","pages":[{"title":"API reference","sidebarTitle":"Overview","icon":"square-terminal","href":"/api-reference"}]},{"group":"Using the API","icon":"book-marked","pages":[{"title":"Create an assessment","icon":"square-plus","href":"/reference/create-assessment"},{"title":"The assessment object","sidebarTitle":"Assessment object","icon":"file-search","href":"/reference/assessment"},{"title":"Reason codes","icon":"list-checks","href":"/reference/reason-codes"},{"title":"Get and query assessments","sidebarTitle":"Read assessments","icon":"search","href":"/reference/get-and-query"},{"title":"Accounts","icon":"user-round","href":"/reference/accounts"},{"title":"Workspace settings","icon":"sliders-horizontal","href":"/reference/settings"},{"title":"Key usage batches","icon":"key-round","href":"/reference/key-usage"},{"title":"Data retention","icon":"archive","href":"/reference/data-retention"}]},{"group":"Endpoints","icon":"braces","pages":[{"group":"Assessments","pages":[{"title":"Create an assessment","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/assessments","href":"/api-reference/assess/create-an-assessment"},{"title":"Retrieve an assessment","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/assessments/{assessment_id}","href":"/api-reference/assess/retrieve-an-assessment"},{"title":"Delete an assessment","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/assessments/{assessment_id}","href":"/api-reference/assess/delete-an-assessment"},{"title":"Report an outcome","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/assessments/{assessment_id}/outcomes","href":"/api-reference/assess/report-an-outcome"},{"title":"List an account's assessments","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/assessments/query","href":"/api-reference/assess/list-an-accounts-assessments"}]},{"group":"Accounts","pages":[{"title":"List changed accounts","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/accounts","href":"/api-reference/accounts/list-changed-accounts"},{"title":"Retrieve an account","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/accounts/{account_id}","href":"/api-reference/accounts/retrieve-an-account"},{"title":"Erase an account","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/accounts/{account_id}","href":"/api-reference/accounts/erase-an-account"},{"title":"List an account's assessments by URL","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/accounts/{account_id}/assessments","href":"/api-reference/accounts/list-an-accounts-assessments-by-url"},{"title":"Record an enforcement","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/accounts/{account_id}/enforcements","href":"/api-reference/accounts/record-an-enforcement"}]},{"group":"Key usage","pages":[{"title":"Report key usage","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/key_usage/batches","href":"/api-reference/usage/report-key-usage"}]},{"group":"API keys","pages":[{"title":"Rotate your API key","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/keys/rotate","href":"/api-reference/keys/rotate-your-api-key"},{"title":"List API keys","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/workspaces/{workspace_id}/keys","href":"/api-reference/keys/list-api-keys"},{"title":"Create an API key","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/workspaces/{workspace_id}/keys","href":"/api-reference/keys/create-an-api-key"},{"title":"Revoke an API key","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/workspaces/{workspace_id}/keys/{key_id}","href":"/api-reference/keys/revoke-an-api-key"}]},{"group":"Integrations","pages":[{"title":"List integrations","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/integrations","href":"/api-reference/integrations/list-integrations"},{"title":"Register an integration","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/integrations","href":"/api-reference/integrations/register-an-integration"},{"title":"Delete an integration","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/integrations/{integration_id}","href":"/api-reference/integrations/delete-an-integration"},{"title":"Rotate an integration's secret","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/integrations/{integration_id}/rotate","href":"/api-reference/integrations/rotate-an-integrations-secret"}]},{"group":"Webhooks","pages":[{"title":"List your webhook endpoints","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/webhooks","href":"/api-reference/webhooks/list-your-webhook-endpoints"},{"title":"Register a webhook endpoint","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/webhooks","href":"/api-reference/webhooks/register-a-webhook-endpoint"},{"title":"Delete a webhook endpoint","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/webhooks/{endpoint_id}","href":"/api-reference/webhooks/delete-a-webhook-endpoint"},{"title":"Rotate a webhook signing key","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/webhooks/{endpoint_id}/rotate","href":"/api-reference/webhooks/rotate-a-webhook-signing-key"},{"title":"Send a test event","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/webhooks/{endpoint_id}/test","href":"/api-reference/webhooks/send-a-test-event"},{"title":"List delivery attempts","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/webhooks/{endpoint_id}/deliveries","href":"/api-reference/webhooks/list-delivery-attempts"},{"title":"Replay a delivery","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/webhooks/{endpoint_id}/deliveries/{event_id}/replay","href":"/api-reference/webhooks/replay-a-delivery"},{"title":"Assessment updated","version":null,"deprecated":null,"openapi":"/openapi.json webhook assessment.updated","href":"/api-reference/webhooks/assessment-updated"},{"title":"Endpoint verification","version":null,"deprecated":null,"openapi":"/openapi.json webhook endpoint.verification","href":"/api-reference/webhooks/endpoint-verification"},{"title":"Account erased","version":null,"deprecated":null,"openapi":"/openapi.json webhook account.deleted","href":"/api-reference/webhooks/account-erased"},{"title":"Workspace deleted","version":null,"deprecated":null,"openapi":"/openapi.json webhook workspace.deleted","href":"/api-reference/webhooks/workspace-deleted"},{"title":"Webhook endpoint disabled","version":null,"deprecated":null,"openapi":"/openapi.json webhook webhook_endpoint.disabled","href":"/api-reference/webhooks/webhook-endpoint-disabled"},{"title":"Account decision changed","description":"Sent once to your verified endpoints, in the account's environment, when the account's decision for at least one flow (`account_creation`, `login` or `purchase`) changes. `data.account` is the account as `GET /v1/accounts/{account_id}` answers it for the assessment version that made the change, with the new score, decision, reasons and `decisions_by_flow`. `data.previous_decisions_by_flow` holds the decisions it replaced.\n\nA score that moves without changing any flow's decision sends no event, and nor does an account's first risk. Events of one account can arrive in any order: when the order matters, read `GET /v1/accounts/{account_id}`. Delivery, retries and signatures are as for `assessment.updated`. See [Webhooks](https://docs.noresponse.org/guides/webhooks/#accountrisk_changed).","version":null,"deprecated":null,"openapi":"/openapi.json webhook account.risk_changed","href":"/api-reference/webhooks/account-decision-changed"}]},{"group":"Settings","pages":[{"title":"Get your settings","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/workspaces/{workspace_id}/settings/{environment}","href":"/api-reference/settings/get-your-settings"},{"title":"Change your settings","description":"Changes only what the body names, in one transaction: `retention_days`, `refused_sources`, and per flow `step_up`, `review`, `block` (`null` turns blocking off), `default_depth`, `admission`, `hold_seconds`, `on_expiry`, or `inherits_account_creation` to return `login` or `purchase` to `account_creation`'s thresholds.\n\nAfter the change each flow keeps 0 \u003c `step_up` \u003c `review` \u003c= 100, and `block` off or `review` \u003c= `block` \u003c= 100; a change that breaks it answers 400 naming the flow. A policy change is one new `policy_version` with the signing key's prefix as `updated_by`, and every change is recorded in your workspace's audit log with the key as its actor. A change reaches assessments within a minute. Requires the `management` scope, and acts only in the signing key's own workspace and environment: another workspace and the other environment answer 404.","deprecated":null,"version":null,"openapi":"/openapi.json patch /v1/workspaces/{workspace_id}/settings/{environment}","href":"/api-reference/settings/change-your-settings"}]}]},{"group":"Errors","icon":"triangle-alert","pages":[{"title":"Errors and limits","icon":"triangle-alert","href":"/reference/errors"},{"group":"Problem types","expanded":false,"pages":[{"title":"400 invalid_request","sidebarTitle":"invalid_request","href":"/problems/invalid-request"},{"title":"400 invalid_idempotency_key","sidebarTitle":"invalid_idempotency_key","href":"/problems/invalid-idempotency-key"},{"title":"400 invalid_cursor","sidebarTitle":"invalid_cursor","href":"/problems/invalid-cursor"},{"title":"401 unauthorized","sidebarTitle":"unauthorized","href":"/problems/unauthorized"},{"title":"403 workspace_forbidden","sidebarTitle":"workspace_forbidden","href":"/problems/workspace-forbidden"},{"title":"404 not_found","sidebarTitle":"not_found","href":"/problems/not-found"},{"title":"405 method_not_allowed","sidebarTitle":"method_not_allowed","href":"/problems/method-not-allowed"},{"title":"409 idempotency_key_reused","sidebarTitle":"idempotency_key_reused","href":"/problems/idempotency-key-reused"},{"title":"409 key_rotation_in_progress","sidebarTitle":"key_rotation_in_progress","href":"/problems/key-rotation-in-progress"},{"title":"403 role_forbidden","sidebarTitle":"role_forbidden","href":"/problems/role-forbidden"},{"title":"409 key_limit_reached","sidebarTitle":"key_limit_reached","href":"/problems/key-limit-reached"},{"title":"409 self_revocation","sidebarTitle":"self_revocation","href":"/problems/self-revocation"},{"title":"400 webhook_url_refused","sidebarTitle":"webhook_url_refused","href":"/problems/webhook-url-refused"},{"title":"409 webhook_endpoint_limit_reached","sidebarTitle":"webhook_endpoint_limit_reached","href":"/problems/webhook-endpoint-limit-reached"},{"title":"409 webhook_endpoint_unverified","sidebarTitle":"webhook_endpoint_unverified","href":"/problems/webhook-endpoint-unverified"},{"title":"409 too_many_integrations","sidebarTitle":"too_many_integrations","href":"/problems/too-many-integrations"},{"title":"409 risk_version_ahead","sidebarTitle":"risk_version_ahead","href":"/problems/risk-version-ahead"},{"title":"401 invalid_hook_signature","sidebarTitle":"invalid_hook_signature","href":"/problems/invalid-hook-signature"},{"title":"413 payload_too_large","sidebarTitle":"payload_too_large","href":"/problems/payload-too-large"},{"title":"415 unsupported_media_type","sidebarTitle":"unsupported_media_type","href":"/problems/unsupported-media-type"},{"title":"429 rate_limited","sidebarTitle":"rate_limited","href":"/problems/rate-limited"},{"title":"500 internal_error","sidebarTitle":"internal_error","href":"/problems/internal-error"},{"title":"503 service_unavailable","sidebarTitle":"service_unavailable","href":"/problems/service-unavailable"}]}]}]}]},"title":"Get your settings - NoResponse docs","buildId":"dpl_cadrRc5H9XQiJQbDFN5mcYRs2PAj","deploymentId":"dpl_cadrRc5H9XQiJQbDFN5mcYRs2PAj","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DKJwRUt2.js","utils-CWD_VS3u.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-oFjciODD.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-C76WsxC3.js","snippetPresets-DvPMxpX_.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-CuNQfndH.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BVFpVUoF.js","shallow-t59Jg5Kr.js","getApiPlaygroundDisplay-C_JZ4amX.js","CodeSnippet-CLRDnx_h.js","CodeSnippets-C2myU4kc.js","Page-7TwLLapg.js","getPastedJson-B-JaVXw7.js","icon-BA-iDhH3.js","MethodPill-D4qZABFp.js","DuplicateIcon-THIDKO1O.js","createIcon-CYYJwgFd.js","DynamicMarkdown-UGQuxDKp.js","SectionHeading-jYELb23h.js","axios-vUo_bRtp.js","Markdown-DKsLa3wy.js","clsx-CefdjKz2.js","lib--scc4DXi.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BaREnp3o.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-sgx_0XzF.js"]}