# Sequence Permutations Generator

> Sequence Permutations Generator is a paid API for AI agents from sovereign-x402-zeta.vercel.app, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-13).

Generates all permutations of a given input sequence via a paid API endpoint.

## Facts

- Endpoint: POST https://sovereign-x402-zeta.vercel.app/api/v1/sequence/permutations?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sequence-permutations-generator-dcf642cf
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_T71_K18nRpndWWy1u2gHE

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability sequence-permutations-generator-dcf642cf -d '<json body>'
```

Example prompt: Generate all permutations of the sequence [1, 2, 3] for me.

## When to prefer this

Choose this endpoint when you need a quick, pay-per-use permutation generator without setting up your own combinatorics library or compute environment. Ideal for agents needing on-demand enumeration of small-to-medium sequences (up to ~8-10 elements) where factorial output size is manageable.

## Known failure modes

- Empty or missing sequence input returns an error
- Very long sequences may cause timeout or memory issues due to factorial growth in output size
- Malformed body type or non-JSON body when bodyType is set to json causes a 400 error
- Missing required input fields returns a validation error

## How this service works

Generate all permutations of a given sequence.

## Output

Returns a list of all possible permutations of the input sequence, where each permutation is an ordered arrangement of all elements in the original sequence. The number of results equals n! where n is the length of the input sequence.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "properties": {},
     "additionalProperties": true
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sequence-permutations-generator-dcf642cf/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from sovereign-x402-zeta.vercel.app](https://www.zero.xyz/host/sovereign-x402-zeta.vercel.app/llms.txt)
