Skip to main content
The API Gateway API provides comprehensive API security and management features including API discovery, schema validation, operation management, and user-defined schemas.

Initialize the API Gateway resource

Configurations

Manage API Gateway configurations for your zone.

Get configuration

Retrieve the current API Gateway configuration.

Update configuration

Update API Gateway configuration settings.

Discovery

Automatically discover API operations from your traffic.

Get discovery status

Retrieve the status of API discovery for your zone.

Discovery operations

List discovered API operations.

Operations

Manage API operations and endpoints.

Create operation

Add a new API operation.
string
required
Zone identifier
string
required
API endpoint path
string
required
API host
string
required
HTTP method (GET, POST, PUT, DELETE, etc.)

List operations

List all API operations for your zone.
string
Direction to order operations. Options: asc, desc
string
Filter by endpoint path
string[]
Filter by features
string[]
Filter by hosts
string[]
Filter by HTTP methods
string
Field to order by. Options: method, host, endpoint, thresholds.$key
number
Page number of paginated results
number
Number of items per page (default: 25)

Get operation

Retrieve details about a specific operation.

Delete operation

Remove an API operation.

Bulk create operations

Create multiple operations at once.

Bulk delete operations

Delete multiple operations at once.

Schemas

Manage OpenAPI schemas for your APIs.

List schemas

List all schemas for your zone.
boolean
Omit the source data of schemas in the response
number
Page number
number
Number of items per page
boolean
Filter by validation enabled status

User schemas

Manage user-defined API schemas.

Create user schema

Upload a user-defined OpenAPI schema.
string
required
Schema kind. Currently only openapi_v3 is supported.
string
required
Schema name
string
required
OpenAPI schema content
boolean
Enable schema validation

List user schemas

List all user-defined schemas.

Get user schema

Retrieve a specific user schema.

Edit user schema

Update a user-defined schema.

Delete user schema

Remove a user-defined schema.

Settings

Manage API Gateway settings including schema validation.

Expression templates

Manage expression templates for API routing and filtering.

Response types

APIShield (Operation)

Represents an API operation.
string
required
Operation identifier
string
required
HTTP method
string
required
API endpoint path
string
required
API host

DiscoveryOperation

Represents a discovered API operation.
string
Operation identifier
string
HTTP method
string
API endpoint path
string
API host
string
How the operation was discovered

Configuration

API Gateway configuration settings.
array
Characteristics used to identify authenticated requests

OldPublicSchema (User Schema)

User-defined API schema.
string
Schema identifier
string
Schema name
string
Schema kind (openapi_v3)
string
OpenAPI schema content
boolean
Whether validation is enabled
string
When the schema was created