Ostrich Birdseye API (1.0.0)
The Birdseye API gives you programmatic access to your cyber risk program: business units, qualitative assessments, and the FAIR scenarios and simulations built on top of them.
| Environment | Base URL |
|---|---|
| Production | https://api.ostrichcyber-risk.com |
| Preview | https://api.ostrichsecure.com |
Every endpoint except POST /v1/auth/token requires a bearer token. Exchange your API key for one, then send it on each request. Tokens are short lived, so fetch a new one rather than caching it for long periods.
curl -X POST https://api.ostrichcyber-risk.com/v1/auth/token \
-H 'Content-Type: application/json' \
-d '{"apiKey": "YOUR_API_KEY"}'
curl https://api.ostrichcyber-risk.com/v1/businessUnits \ -H 'Authorization: Bearer YOUR_TOKEN'
Successful responses share one envelope: a human readable message and a response object holding the payload. Create endpoints return the ID of the object they created.
{
"message": "Created scenario successfully",
"response": { "scenarioId": "8f2c1d9e4b7a" }
}
Birdseye uses conventional HTTP status codes. 401 means the token is missing or expired, 403 means the token is valid but lacks a role on the business unit in the path, and 404 means the object does not exist or is not visible to you.