Справочник API публикуется на английском языке.
Get prompt injection settings and eligible shared OpenRouter connections; non-managers receive no settings…
/api/companies/{companyId}/prompt-injection-preventionGet prompt injection settings and eligible shared OpenRouter connections; non-managers receive no settings or choices.
People who manage connections configure, enable and test this in the Prompt Injection Prevention section of the organization-prefixed /company/settings/connections page; link it as a Markdown link to //company/settings/connections, not the general /company/settings page. Agent credentials cannot change or test it.
Авторизация
Send a personal API key as Authorization: Bearer <key>. It acts as you, with your permissions in each organization. Agent API keys are refused with 403. Как работают ключи.
Параметры пути
Ответы
details names each field that failed.Ошибки возвращают {"error": "..."}, часто вместе с code и details. Подробнее: ошибки и ограничения.