# Vulnify Machine API

**Canonical:** https://apis.io/apis/vulnify-io/vulnify-io-machine-api-api/  
**Provider:** Vulnify — https://apis.io/providers/vulnify-io/  
**Base URL:** https://api.vulnify.io  
**Documentation:** https://docs.vulnify.io/api/

Vulnify Machine API is one of 4 APIs that [Vulnify](https://apis.io/providers/vulnify-io/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. This API exposes 3 JSON Schema definitions. Tagged areas include Machine API. The published artifact set on APIs.io includes an OpenAPI specification and 3 JSON Schemas.

Called by agents with an API key (Bearer vln_live_... / vln_test_... or X-API-Key), except /v1/mcp which requires an OAuth access token (Bearer vln_oat_...). Contract v1.

## Operations (17)

| Method | Path | Summary |
|---|---|---|
| GET | `/v1/policies` | List organization policies for policies as code |
| POST | `/v1/policies/apply` | Create, update and optionally delete policies in one transaction |
| POST | `/v1/policies/test` | Evaluate policy test cases without recording an event |
| POST | `/v1/events` | Decide an agent action before it runs |
| GET | `/v1/events/{id}` | Read a decision and its review status (poll a REVIEW) |
| POST | `/v1/gateway/http` | Decide an HTTP call and, when ALLOWed, forward it to a registered route |
| POST | `/v1/gateway/mcp` | Decide an MCP tool call (the tool name is mapped to an action) |
| GET | `/v1/mcp/events` | List security events (decisions:read) |
| POST | `/v1/mcp/events` | Record an agent action (decisions:write) |
| GET | `/v1/mcp/events/{id}` | Read one decision (decisions:read) |
| GET | `/v1/mcp/policies` | List policies (policies:read) |
| POST | `/v1/mcp/policies/test` | Test policies without saving (policies:test) |
| GET | `/v1/mcp/reviews` | List reviews (reviews:read) |
| POST | `/v1/mcp/reviews/{id}/approve` | Approve a review (reviews:decide) |
| POST | `/v1/mcp/reviews/{id}/deny` | Deny a review (reviews:decide) |
| GET | `/v1/mcp/audit-logs` | List the audit log (audit:read) |
| GET | `/v1/mcp/audit-logs/verify` | Verify the audit hash chain (audit:read) |

## Machine-readable artifacts (4)

- **OpenAPI** — https://artifacts.apis.io/vulnify-io/openapi/vulnify-io-machine-api-api-openapi.yml
- **JSONSchema** — https://artifacts.apis.io/vulnify-io/json-schema/vulnify-io-policy-spec-schema.json
- **JSONSchema** — https://artifacts.apis.io/vulnify-io/json-schema/vulnify-io-policy-test-case-schema.json
- **JSONSchema** — https://artifacts.apis.io/vulnify-io/json-schema/vulnify-io-policy-record-schema.json

## Other Vulnify APIs (3)

- [Vulnify Email API](https://apis.io/apis/vulnify-io/vulnify-io-email-api/)
- [Vulnify OAuth API](https://apis.io/apis/vulnify-io/vulnify-io-oauth-api/)
- [Vulnify Public API](https://apis.io/apis/vulnify-io/vulnify-io-public-api/)

## Tags

Machine API

## Use this from code or an agent

- **REST, no key:** `GET https://apis.io/api/v1/providers/vulnify-io` returns the provider's full profile as JSON.
- **MCP:** `https://apis.io/mcp` (Streamable HTTP) — search the catalog, read any provider, compare providers, check agent readiness.
- **Free API key** for catalog-wide search, ratings and comparisons: sign in with GitHub, Google or LinkedIn at https://apis.io/developer/account/ (plans: https://apis.io/developer/plans/).

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/vulnify-io/vulnify-io-machine-api-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/vulnify-io/.
