Skip to main content
Monitoring as Code: Learn more about the API Check Construct.

API Check Test Structure

Request Configuration

HTTP Methods

Support for all standard HTTP methods:
  • GET: Retrieve data from endpoints
  • POST: Create resources or submit data
  • PUT: Update existing resources
  • PATCH: Partial resource updates
  • DELETE: Remove resources
  • HEAD: Check resource existence without body
  • OPTIONS: Discover allowed methods

Request Components

Authentication Support

  • Bearer Token: JWT and OAuth token authentication
  • Basic Auth: Username/password authentication
  • API Keys: Custom header or query parameter authentication
  • Custom Headers: Flexible authentication patterns

Response Validation

Status Code Assertions

Validate HTTP response codes:

Content Validation

Validate response content and structure:

Header Validation

Check response headers:

JSON Schema Validation

Validate complex response structures:

Advanced Features

Environment Variables

Use variables for dynamic content:

Request Chaining

Use previous responses in subsequent requests:

GraphQL Support

Monitor GraphQL APIs: