La referencia de la API se publica en inglés.
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.
Autorización
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. Cómo funcionan las claves.
Parámetros de ruta
Respuestas
details names each field that failed.Los errores devuelven {"error": "..."}, a menudo con un code y unos details. Consulta errores y límites.