Authentication
Include your API token in theAuthorization header:
cor_ prefix and have the same access as the user who created them.
API tokens cannot perform admin operations. Those require a standard user session.
Base URL
Findings
Retrieve and manage security findings across your projects.Search findings
Get finding
Update finding
All fields are optional. Include only the fields you want to update.
Delete finding
Guardrails
Guardrails are security rules that Corridor enforces during code reviews and real-time analysis. They are managed per-project as “reports.”List guardrails for a project
Create a guardrail
Generate a guardrail with AI
Returns a
taskId you can use to track generation progress.
Update a guardrail
Delete a guardrail
List guardrail packs
PR Reviews
Access pull request review results and AI analysis.List PR reviews
Get PR review
Get PR review by PR number
Default (most recent review):
fullHistory=true):
publish_status = SUCCEEDED or SKIPPED are returned. Results are ordered newest first.
Response codes
The response body includes a status field on every non-success outcome so callers can branch without parsing error strings.
List PR review findings
Team Settings
Manage team configuration, members, and preferences.List teams
Get team
Get team permissions
Invite a user
Remove a user
Dashboard & Analytics
Access dashboard metrics and AI usage data.Get dashboard data
List LLM requests
Get guardrail invocations
Returns data on which guardrails were triggered during real-time code analysis (hook events and security checks).
Get stop hook invocations
Log extension data
type field that determines processing:
Projects
List projects
Returns all projects for the specified team.
Get project
Get project findings
Error handling
All endpoints return standard HTTP status codes:
Error responses include a JSON body:
Rate limits
API tokens are subject to rate limiting. If you receive a429 response, wait before retrying.
Next steps
Corridor MCP
Use Corridor tools directly from your AI assistant
Findings
Learn more about findings management
Guardrails
Configure security guardrails
PR Reviews
Automated pull request reviews