La référence de l'API est publiée en anglais.
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.
Autorisation
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. Fonctionnement des clés.
Paramètres de chemin
Réponses
details names each field that failed.Les erreurs renvoient {"error": "..."}, souvent avec un code et des details. Voir erreurs et limites.