You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit c8d70e3
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/enterprise/outbound-access.json
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -30,10 +30,10 @@
30
30
{
31
31
"host": "api.openai.com",
32
32
"kind": "fetched",
33
-
"components": ["renderer", "server"],
34
-
"purpose": "Direct OpenAI Realtime voice, image generation, and native model requests when an OpenAI provider is configured.",
33
+
"components": ["renderer", "server", "den"],
34
+
"purpose": "Direct OpenAI Realtime voice, image generation, and native model requests when an OpenAI provider is configured. Den retrieves safety case metadata when safety notice handling is configured.",
35
35
"requirement": "opt-in",
36
-
"blockedEffect": "Direct OpenAI voice, image, or native model requests fail for users who configured OpenAI.",
36
+
"blockedEffect": "Direct OpenAI voice, image, or native model requests fail for users who configured OpenAI. Den cannot verify or import safety cases.",
This workflow covers Free Auto requests paid for by OpenWork through Chat Completions and Responses. Platform admins can review provider cases, identify a matching signed-in user, inspect recent request IDs, and stop future free model requests. Warnings open for review. A verified deactivation creates a durable block for the supplied Free Auto identifier. A block applies in every organization where that identity uses Free Auto.
4
+
5
+
## Set up the receiving endpoint
6
+
7
+
1. Apply the safety-case database migration and upgrade Den and every gateway replica.
8
+
2. In the OpenAI organization that owns the inference credential, register the Den endpoint `/v1/webhooks/openai/safety` for `safety.warning_issued` and `safety.deactivation_issued`. Set `OPENAI_SAFETY_WEBHOOK_SECRET` in Den and configure `OPENAI_SAFETY_READ_KEY` with only the organization's Safety Read permission. Use the documented organization-level setup. [OpenAI safety enforcement notifications](https://developers.openai.com/api/docs/guides/safety-enforcement)
9
+
3. Verify delivery and import a known case. The receiver verifies the signature and timestamp over the raw event, looks up the case on the fixed OpenAI API host, and acknowledges supported notices after committing them. Monitor non-success webhook deliveries. A failed lookup returns 503 so OpenAI retries. After the delivery window, import missed cases by ID. Repeated delivery preserves prior decisions. [OpenAI webhooks](https://developers.openai.com/api/docs/guides/webhooks)
10
+
4. Enable `freeAutoSafetyCases` for everyone on this deployment. Check `enforcementEnabled` through the admin API. With this rollout active, the gateway records the signed-in user mapping before dispatch and checks for any open block on the primary database. An in-flight request can finish. Older usage can be matched if its original membership still identifies the same user.
11
+
12
+
## Work a case
13
+
14
+
The following paths require a platform administrator's authenticated Den session. Keep the case ID, assignee, due time, incident timestamp, evidence references and disposition in an access-controlled incident record. Keep prompt contents, credentials, and personal details out of tickets by default.
15
+
16
+
| Situation | Operator action |
17
+
| --- | --- |
18
+
| An email or webhook names a case | For an email, send `POST /v1/admin/free-auto/safety-cases/import` with `{"caseId":"C-example"}`. Den verifies the case with OpenAI. Review waiting cases with `GET /v1/admin/free-auto/safety-cases?state=review` and provider or local blocks with `state=blocked`. Pass `nextCursor` as `cursor` for the next page. |
19
+
| A warning names an identifier | Open `GET /v1/admin/free-auto/safety-cases/C-example`. Check the member match, request IDs and times against the notice and authorized request logs. The provider's case creation time can differ from the activity time. Guest evidence can represent a shared machine or network. A count of other accounts on shared desktops is a lead for review. |
20
+
| An organization-level warning gives no identifier | Confirm the notice and affected OpenAI organization, project, credentials, endpoints and time window. Find specific request evidence, including failed upstream requests where available. For a matching ledger request send `POST /v1/admin/free-auto/safety-cases/from-request` with `{"requestId":"<OpenWork request ID>"}`. Follow the returned local case. If attribution is inconclusive, escalate for provider details and contain the affected credential or route under the incident procedure. |
21
+
| Review is in progress | Assign an owner. If containment is warranted, use the existing time-limited safety pause and set a review deadline before expiry. Check its separate rollout. An isolated request refusal or an ordinary spend alert alone does not establish misconduct. |
22
+
| Review confirms misuse | Send `POST /v1/admin/free-auto/safety-cases/{caseId}/decision` with `{"decision":"confirmed_misuse"}`. Verify effective enforcement. Review later attempts and any other OpenWork-funded routes using the same provider account. An explicit provider account-suspension request also requires prompt action at the account scope specified in the notice. |
23
+
| Investigation clears a warning, or a local appeal succeeds | Record `no_violation` on an open warning or local review, or `appeal_upheld` on its local block. The case keeps each reviewer, decision and time. Other cases and temporary pauses keep their own state. Use the provider appeal path for a disputed deactivation. Ordinary local review cannot lift provider deactivations. |
24
+
25
+
A different OpenWork account has a different safety identifier. Review corroborated evidence before restricting additional identities. Never issue a replacement identifier or switch a restricted request to a different credential or model to get around a provider block. Use account or credential containment separately when needed, including for suspected compromise. This feature leaves organization creation and other provider routes under their existing controls.
26
+
27
+
## Policy references
28
+
29
+
The published Services Agreement assigns responsibility for end-user use to the customer and describes suspension requests in section 8.1. Check the agreement governing the deployment and the actual notice when deciding scope. [OpenAI Services Agreement](https://openai.com/policies/services-agreement/) · [Usage Policies](https://openai.com/policies/usage-policies/)
30
+
31
+
OpenAI recommends a stable, pseudonymous end-user identifier and controls against repeat access after a block. OpenWork assigns the identifier server-side. Keep an internal support path for disputed findings and use the appeal instructions in provider notices. [Safety best practices](https://developers.openai.com/api/docs/guides/safety-best-practices) · [Safety checks](https://developers.openai.com/api/docs/guides/safety-checks)
platform("GET","/v1/admin/opportunities/outreach","platform.opportunities.outreach.read","platform.admin","platform_report",null,`${ADMIN} Internal sales list: names the person to write to at each listed organization from existing member records. Platform evidence only; sends no message.`),
155
155
platform("POST","/v1/admin/opportunities/accounts/:organizationId/actions","platform.opportunities.account.follow_up.record","platform.admin","organization","organizationId",`${ADMIN} Records an internal follow-up step in account_follow_up tables. Platform evidence only: sales notes are not tenant activity and never reach the organization's audit log. Sends no message.`),
platform("POST","/v1/webhooks/openai/safety","platform.free_auto_safety_case.receive","platform.webhook","free_auto_safety_case",null,"Verified organization-level provider notice, with authoritative case details retrieved before recording. No tenant attribution."),
0 commit comments