EdgazeDocsEdgaze Docs
BuilderBilling & RunsAPI ReferenceMCPLegal & TrustChangelog
DocumentationAPI Reference
Home
Core
Ask for InputResultMerge
AI
Generate TextGenerate Image
Logic & utilities
Call an APIGet ContentDecideWaitRepeatRemixed Workflow
Integrations
AviatoGitHubGmailGoogle CalendarGoogle DocsGoogle DriveGoogle SheetsSlack

Platform status

Checking platform status
Block reference

Call an API

Make HTTP requests with explicit host and credential controls.

Audience

Workflow creators.

Overview#

Make HTTP requests with explicit host and credential controls.

Use this block when its responsibility is clear in the graph. Give it a name that describes the work it performs, then test it with representative input before publishing.

Working examples#

These are complete starting points, not decorative diagrams. Every graph is also available in the main template library and is checked by the workflow compiler.

1. Read a public JSON API#

You will build: A parsed response from an allowlisted host.

Connects live public data to a workflow. GET requests are retry-safe; keep the host allowlist narrow.

Read a public JSON API
A parsed response from an allowlisted host
Use template
Press enter or space to select a node. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.

Open this template and adapt the labels, prompts, or credentials to your own workflow.

2. Create an idempotent webhook event#

You will build: One externally visible event per workflow run.

Supports controlled write integrations. A stable idempotency key prevents duplicate writes during retries.

Create an idempotent webhook event
One externally visible event per workflow run
Use template
Press enter or space to select a node. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.

Open this template and adapt the labels, prompts, or credentials to your own workflow.

3. Check service health#

You will build: Current service status payload.

Makes an upstream dependency check visible. A short timeout prevents the workflow from waiting indefinitely.

Check service health
Current service status payload
Use template
Press enter or space to select a node. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.

Open this template and adapt the labels, prompts, or credentials to your own workflow.

Ports#

  • Input: Request (in): any, optional, single.
  • Output: Success (success): object, optional, single.
  • Output: Error (error): object, optional, single.

Inspector#

  • URL: key url; text; default: ""; Example: https://api.example.com/endpoint.
  • Method: key method; select; options: GET, POST, PUT, PATCH, DELETE; default: "GET".
  • Credentials: key credentialMode; select; options: none, runner, creator_shared; default: "none".
  • Allowed Hosts (comma-separated): key allowOnly; text; default: [].
  • Denied Hosts (comma-separated): key denyHosts; text; default: ["127.0.0.1","localhost","0.0.0.0"].
  • Require idempotency (POST/PUT/PATCH): key hasSideEffects; switch; default: false.
  • Idempotency key: key idempotencyKey; text.
  • Timeout (ms): key timeout; number; range: 1000 to 120000; default: 30000.
  • Follow Redirects: key followRedirects; inline switch; default: true.
  • http-request editor: manages headers, query, body, credentialRequirements with edit, validate, preview support.

Behavior#

  • Input requirement: Provide one of ports in or config fields url.
  • Execution: Handled by the handler using http-request.
  • Timeout: 30000 ms by default (1000 to 120000 ms).

Cost#

Uses outbound HTTP transport and may contribute to the run's compute cost.

Security#

  • Credentials may be runner-provided or creator-shared according to the node configuration. Network destination policy is enforced at runtime.
  • The configured operation may write externally. Mutating requests require explicit idempotency configuration for safe retries.

Retry#

Automatic retries are allowed only when the operation is retry-safe; mutating requests require a stable run-scoped idempotency key.

Production checklist#

  • Test the happy path and one malformed or empty input.
  • Keep credentials out of prompts and published graph configuration.
  • Set a timeout and retry policy that matches the operation's side effects.
  • Name the final result so a runner can tell what success looks like.

Was this useful?

Your response helps us improve the documentation.

More blocks

Ask for Input

Ask one question or collect several related answers when the workflow starts.

Generate Text

Generate text with GPT, Claude, or Gemini.

Generate Image

Generate images with Gemini or OpenAI.

On this page
OverviewWorking examples1. Read a public JSON API2. Create an idempotent webhook event3. Check service healthPortsInspectorBehaviorCostSecurityRetryProduction checklist
© 2026 Edge Platforms, Inc. All rights reserved.