Skip to main content

Variable.missionEndpointString

const missionEndpointString: ZodPipe<ZodString, ZodTransform<string, string>>;

x402 endpoint of a mission: METHOD host/path, optionally with an http(s):// scheme in front of the host. Normalized to the canonical form (POST api.exa.ai/search): method upper-cased, host lower-cased, scheme, query and fragment removed, trailing slash removed except on the root /. Ambiguous forms are rejected, not normalized: a method outside MISSION_ENDPOINT_METHODS, a % in the path, a . or .. segment, an empty segment (//).