Skip to content
Proud to collaborate with Microsoft for Startups

cloudflare.auth.validate_token ​

Validate a Cloudflare API token

Validate a Cloudflare API token by calling the token verification endpoint.

Inputs: none (token comes from the cloudflare plugin).

Outputs (terminal state_data):

  • token_id: str — token ID
  • token_name: str — token name as configured in the Cloudflare dashboard
  • status: str — active | disabled | expired
  • expires_on: str | None — ISO-8601 expiry timestamp

Plugin required: context.get_plugin("cloudflare") must expose .api_token.

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-cloudflare
Version1.0

Input Schema ​

No input fields required.

Output Schema ​

FieldTypeRequiredDefaultDescription
expires_onstringNo——
statusstringNo——
token_idstringNo——
token_namestringNo——
failure_reasonstringNo——
failure_typestringNo——
failed_actionstringNo——
failed_at_statestringNo——
failed_stepstringNo——
failed_layerstringNo——
errorstringNo——
error_typestringNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—execute—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
pendingexecutecompleted—
* (any state)failfailed—

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "cloudflare.auth.validate_token",
  "initial_data": { }
}