75trust / 100

Openapi Endpoint Inventory Diff

by OpenAPI Inventory Diff in Documents & files

x402 APIPassing, checked 2 h ago

See which operations were added, removed, deprecated or renamed between two OpenAPI documents. Flags a removal that was never preceded by a deprecation, an operationId change that renames the method in every generated client, and a duplicated operationId that no generator can resolve.

POST https://api.zfinia.com/x402/v1/openapi-endpoint-inventory-diff

Last 30 days

All checks passedSome failedAll failedNot checked

Status and outage history · Atom feed

Uptime
100%
Response time
730 ms typical, 1.1 s slowest 5%
Last check
2 h ago
Next check
any minute now

How to call it

POST https://api.zfinia.com/x402/v1/openapi-endpoint-inventory-diff

Each call costs $0.1 in USDC on Base, paid with the request over x402.

Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.

Example request

From the listing.

POST https://api.zfinia.com/x402/v1/openapi-endpoint-inventory-diff
content-type: application/json

{
  "after": {
    "components": {
      "schemas": {
        "Order": {
          "properties": {
            "id": {
              "type": "string"
            },
            "status": {
              "enum": [
                "open",
                "shipped",
                "disputed"
              ],
              "type": "string"
            },
            "tenant_id": {
              "type": "string"
            },
            "total": {
              "type": "number"
            }
          },
          "required": [
            "id",
            "total",
            "tenant_id"
          ],
          "type": "object"
        }
      },
      "securitySchemes": {
        "apiKey": {
          "in": "query",
          "name": "api_key",
          "type": "apiKey"
        }
      }
    },
    "info": {
      "title": "Orders API",
      "version": "2.0.0"
    },
    "openapi": "3.1.0",
    "paths": {
      "/orders": {
        "get": {
          "operationId": "listOrdersV2",
          "parameters": [
            {
              "in": "query",
              "name": "tenant",
              "required": true,
              "schema": {
                "type": "string"
              }
            }
          ],
          "responses": {
            "200": {
              "content": {
                "application/json": {
                  "schema": {
                    "items": {
                      "$ref": "#/components/schemas/Order"
                    },
                    "type": "array"
                  }
                }
              },
              "description": "A page of orders"
            }
          },
          "summary": "List orders"
        },
        "parameters": [
          {
            "in": "query",
            "name": "page",
            "schema": {
              "minimum": 1,
              "type": "integer"
            }
          }
        ],
        "post": {
          "operationId": "createOrder",
          "requestBody": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Order"
                }
              }
            },
            "required": true
          },
          "responses": {
            "201": {
              "content": {
                "application/json": {
                  "schema": {
                    "$ref": "#/components/schemas/Order"
                  }
                }
              },
              "description": "Created"
            }
          },
          "summary": "Create an order"
        }
      },
      "/orders/{id}": {
        "get": {
          "deprecated": true,
          "operationId": "getOrder",
          "parameters": [
            {
              "in": "path",
              "name": "id",
              "schema": {
                "type": "string"
              }
            }
          ],
          "responses": {
            "200": {
              "content": {
                "application/json": {
                  "schema": {
                    "$ref": "#/components/schemas/Order"
                  }
                }
              },
              "description": "The order"
            },
            "404": {
              "description": "Not found"
            }
          },
          "summary": "Fetch one order"
        }
      }
    },
    "security": [
      {
        "apiKey": []
      }
    ]
  },
  "before": {
    "components": {
      "schemas": {
        "Order": {
          "properties": {
            "id": {
              "type": "string"
            },
            "legacy_ref": {
              "type": "string"
            },
            "status": {
              "enum": [
                "open",
                "shipped"
              ],
              "type": "string"
            },
            "total": {
              "type": "number"
            }
          },
          "required": [
            "id",
            "total"
          ],
          "type": "object"
        }
      },
      "securitySchemes": {
        "apiKey": {
          "in": "header",
          "name": "X-Api-Key",
          "type": "apiKey"
        }
      }
    },
    "info": {
      "title": "Orders API",
      "version": "1.4.0"
    },
    "openapi": "3.1.0",
    "paths": {
      "/legacy/export": {
        "get": {
          "operationId": "legacyExport",
          "responses": {
            "200": {
              "description": "A CSV export"
            }
          },
          "summary": "Legacy export"
        }
      },
      "/orders": {
        "get": {
          "operationId": "listOrders",
          "responses": {
            "200": {
              "content": {
                "application/json": {
                  "schema": {
                    "items": {
                      "$ref": "#/components/schemas/Order"
                    },
                    "type": "array"
                  }
                }
              },
              "description": "A page of orders"
            },
            "429": {
              "description": "Rate limited"
            }
          },
          "summary": "List orders"
        },
        "parameters": [
          {
            "in": "query",
            "name": "page",
            "schema": {
              "minimum": 1,
              "type": "integer"
            }
          }
        ],
        "post": {
          "operationId": "createOrder",
          "requestBody": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Order"
                }
              }
            }
          },
          "responses": {
            "201": {
              "content": {
                "application/json": {
                  "schema": {
                    "$ref": "#/components/schemas/Order"
                  }
                }
              },
              "description": "Created"
            }
          },
          "summary": "Create an order"
        }
      },
      "/orders/{id}": {
        "get": {
          "operationId": "getOrder",
          "parameters": [
            {
              "in": "path",
              "name": "id",
              "schema": {
                "type": "string"
              }
            }
          ],
          "responses": {
            "200": {
              "content": {
                "application/json": {
                  "schema": {
                    "$ref": "#/components/schemas/Order"
                  }
                }
              },
              "description": "The order"
            },
            "404": {
              "description": "Not found"
            }
          },
          "summary": "Fetch one order"
        }
      }
    },
    "security": [
      {
        "apiKey": []
      }
    ]
  }
}

Parameters

ParameterTypeRequiredDescription
afterobjectYes
beforeobjectYes

Example response

The provider's example. We can't check it without paying.

Example response, 71 lines
{
  "added": [],
  "added_count": 0,
  "after_operation_count": 3,
  "assumptions": [
    "An operation is identified by method and path template, so moving an operation to a new path reads as a removal and an addition, which is what it is for a caller.",
    "operationId is treated as part of the contract because client generators name methods from it."
  ],
  "before_operation_count": 4,
  "complete": true,
  "deprecated": [
    "GET /orders/{id}"
  ],
  "finding_count": 3,
  "findings": [
    {
      "code": "OPERATION_ID_CHANGED",
      "detail": "GET /orders: operationId changed from listOrders to listOrdersV2, which renames the method in a generated client.",
      "operation": "GET /orders"
    },
    {
      "code": "OPERATION_DEPRECATED",
      "detail": "GET /orders/{id} is now deprecated.",
      "operation": "GET /orders/{id}"
    },
    {
      "code": "OPERATION_REMOVED_WITHOUT_DEPRECATION",
      "detail": "GET /legacy/export was removed and had never been marked deprecated.",
      "operation": "GET /legacy/export"
    }
  ],
  "findings_by_code": {
    "OPERATION_DEPRECATED": 1,
    "OPERATION_ID_CHANGED": 1,
    "OPERATION_REMOVED_WITHOUT_DEPRECATION": 1
  },
  "limitations": [
    "Inventory and lifecycle only. Whether a removed operation had callers is not knowable here, and schema-level compatibility is openapi_breaking_change_audit.",
    "unchanged is true only when both documents were read in full and nothing was added, removed, deprecated or renamed."
  ],
  "limits": {
    "maxClientOperations": 200,
    "maxFindings": 500,
    "maxOperations": 500,
    "maxRequestBodyBytes": 262144
  },
  "not_examined": [],
  "observed_at": "2026-10-02T00:00:00.000Z",
  "removed": [
    {
      "operation": "GET /legacy/export",
      "operation_id": "legacyExport",
      "tags": [],
      "was_deprecated": false
    }
  ],
  "removed_count": 1,
  "renamed_operation_ids": [
    {
      "after": "listOrdersV2",
      "before": "listOrders",
      "operation": "GET /orders"
    }
  ],
  "request_id": "example-request",
  "retagged": [],
  "service_id": "openapi_endpoint_inventory_diff",
  "service_version": "1.0.0",
  "unchanged": false,
  "undeprecated": []
}

Call it from code

The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.1.

curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i -X POST 'https://api.zfinia.com/x402/v1/openapi-endpoint-inventory-diff' \
  -H 'content-type: application/json' \
  --data-raw '{"after":{"components":{"schemas":{"Order":{"properties":{"id":{"type":"string"},"status":{"enum":["open","shipped","disputed"],"type":"string"},"tenant_id":{"type":"string"},"total":{"type":"number"}},"required":["id","total","tenant_id"],"type":"object"}},"securitySchemes":{"apiKey":{"in":"query","name":"api_key","type":"apiKey"}}},"info":{"title":"Orders API","version":"2.0.0"},"openapi":"3.1.0","paths":{"/orders":{"get":{"operationId":"listOrdersV2","parameters":[{"in":"query","name":"tenant","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Order"},"type":"array"}}},"description":"A page of orders"}},"summary":"List orders"},"parameters":[{"in":"query","name":"page","schema":{"minimum":1,"type":"integer"}}],"post":{"operationId":"createOrder","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Order"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Order"}}},"description":"Created"}},"summary":"Create an order"}},"/orders/{id}":{"get":{"deprecated":true,"operationId":"getOrder","parameters":[{"in":"path","name":"id","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Order"}}},"description":"The order"},"404":{"description":"Not found"}},"summary":"Fetch one order"}}},"security":[{"apiKey":[]}]},"before":{"components":{"schemas":{"Order":{"properties":{"id":{"type":"string"},"legacy_ref":{"type":"string"},"status":{"enum":["open","shipped"],"type":"string"},"total":{"type":"number"}},"required":["id","total"],"type":"object"}},"securitySchemes":{"apiKey":{"in":"header","name":"X-Api-Key","type":"apiKey"}}},"info":{"title":"Orders API","version":"1.4.0"},"openapi":"3.1.0","paths":{"/legacy/export":{"get":{"operationId":"legacyExport","responses":{"200":{"description":"A CSV export"}},"summary":"Legacy export"}},"/orders":{"get":{"operationId":"listOrders","responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Order"},"type":"array"}}},"description":"A page of orders"},"429":{"description":"Rate limited"}},"summary":"List orders"},"parameters":[{"in":"query","name":"page","schema":{"minimum":1,"type":"integer"}}],"post":{"operationId":"createOrder","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Order"}}}},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Order"}}},"description":"Created"}},"summary":"Create an order"}},"/orders/{id}":{"get":{"operationId":"getOrder","parameters":[{"in":"path","name":"id","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Order"}}},"description":"The order"},"404":{"description":"Not found"}},"summary":"Fetch one order"}}},"security":[{"apiKey":[]}]}}'

# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - -X POST 'https://api.zfinia.com/x402/v1/openapi-endpoint-inventory-diff' \
  -H 'content-type: application/json' \
  --data-raw '{"after":{"components":{"schemas":{"Order":{"properties":{"id":{"type":"string"},"status":{"enum":["open","shipped","disputed"],"type":"string"},"tenant_id":{"type":"string"},"total":{"type":"number"}},"required":["id","total","tenant_id"],"type":"object"}},"securitySchemes":{"apiKey":{"in":"query","name":"api_key","type":"apiKey"}}},"info":{"title":"Orders API","version":"2.0.0"},"openapi":"3.1.0","paths":{"/orders":{"get":{"operationId":"listOrdersV2","parameters":[{"in":"query","name":"tenant","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Order"},"type":"array"}}},"description":"A page of orders"}},"summary":"List orders"},"parameters":[{"in":"query","name":"page","schema":{"minimum":1,"type":"integer"}}],"post":{"operationId":"createOrder","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Order"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Order"}}},"description":"Created"}},"summary":"Create an order"}},"/orders/{id}":{"get":{"deprecated":true,"operationId":"getOrder","parameters":[{"in":"path","name":"id","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Order"}}},"description":"The order"},"404":{"description":"Not found"}},"summary":"Fetch one order"}}},"security":[{"apiKey":[]}]},"before":{"components":{"schemas":{"Order":{"properties":{"id":{"type":"string"},"legacy_ref":{"type":"string"},"status":{"enum":["open","shipped"],"type":"string"},"total":{"type":"number"}},"required":["id","total"],"type":"object"}},"securitySchemes":{"apiKey":{"in":"header","name":"X-Api-Key","type":"apiKey"}}},"info":{"title":"Orders API","version":"1.4.0"},"openapi":"3.1.0","paths":{"/legacy/export":{"get":{"operationId":"legacyExport","responses":{"200":{"description":"A CSV export"}},"summary":"Legacy export"}},"/orders":{"get":{"operationId":"listOrders","responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Order"},"type":"array"}}},"description":"A page of orders"},"429":{"description":"Rate limited"}},"summary":"List orders"},"parameters":[{"in":"query","name":"page","schema":{"minimum":1,"type":"integer"}}],"post":{"operationId":"createOrder","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Order"}}}},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Order"}}},"description":"Created"}},"summary":"Create an order"}},"/orders/{id}":{"get":{"operationId":"getOrder","parameters":[{"in":"path","name":"id","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Order"}}},"description":"The order"},"404":{"description":"Not found"}},"summary":"Fetch one order"}}},"security":[{"apiKey":[]}]}}' \
  | grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decode
JavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

// Pays at most $0.1 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.1" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.1 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.zfinia.com%2Fx402%2Fv1%2Fopenapi-endpoint-inventory-diff&method=POST
const res = await pay("https://api.zfinia.com/x402/v1/openapi-endpoint-inventory-diff", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({
    "after": {
      "components": {
        "schemas": {
          "Order": {
            "properties": {
              "id": {
                "type": "string"
              },
              "status": {
                "enum": [
                  "open",
                  "shipped",
                  "disputed"
                ],
                "type": "string"
              },
              "tenant_id": {
                "type": "string"
              },
              "total": {
                "type": "number"
              }
            },
            "required": [
              "id",
              "total",
              "tenant_id"
            ],
            "type": "object"
          }
        },
        "securitySchemes": {
          "apiKey": {
            "in": "query",
            "name": "api_key",
            "type": "apiKey"
          }
        }
      },
      "info": {
        "title": "Orders API",
        "version": "2.0.0"
      },
      "openapi": "3.1.0",
      "paths": {
        "/orders": {
          "get": {
            "operationId": "listOrdersV2",
            "parameters": [
              {
                "in": "query",
                "name": "tenant",
                "required": true,
                "schema": {
                  "type": "string"
                }
              }
            ],
            "responses": {
              "200": {
                "content": {
                  "application/json": {
                    "schema": {
                      "items": {
                        "$ref": "#/components/schemas/Order"
                      },
                      "type": "array"
                    }
                  }
                },
                "description": "A page of orders"
              }
            },
            "summary": "List orders"
          },
          "parameters": [
            {
              "in": "query",
              "name": "page",
              "schema": {
                "minimum": 1,
                "type": "integer"
              }
            }
          ],
          "post": {
            "operationId": "createOrder",
            "requestBody": {
              "content": {
                "application/json": {
                  "schema": {
                    "$ref": "#/components/schemas/Order"
                  }
                }
              },
              "required": true
            },
            "responses": {
              "201": {
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/Order"
                    }
                  }
                },
                "description": "Created"
              }
            },
            "summary": "Create an order"
          }
        },
        "/orders/{id}": {
          "get": {
            "deprecated": true,
            "operationId": "getOrder",
            "parameters": [
              {
                "in": "path",
                "name": "id",
                "schema": {
                  "type": "string"
                }
              }
            ],
            "responses": {
              "200": {
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/Order"
                    }
                  }
                },
                "description": "The order"
              },
              "404": {
                "description": "Not found"
              }
            },
            "summary": "Fetch one order"
          }
        }
      },
      "security": [
        {
          "apiKey": []
        }
      ]
    },
    "before": {
      "components": {
        "schemas": {
          "Order": {
            "properties": {
              "id": {
                "type": "string"
              },
              "legacy_ref": {
                "type": "string"
              },
              "status": {
                "enum": [
                  "open",
                  "shipped"
                ],
                "type": "string"
              },
              "total": {
                "type": "number"
              }
            },
            "required": [
              "id",
              "total"
            ],
            "type": "object"
          }
        },
        "securitySchemes": {
          "apiKey": {
            "in": "header",
            "name": "X-Api-Key",
            "type": "apiKey"
          }
        }
      },
      "info": {
        "title": "Orders API",
        "version": "1.4.0"
      },
      "openapi": "3.1.0",
      "paths": {
        "/legacy/export": {
          "get": {
            "operationId": "legacyExport",
            "responses": {
              "200": {
                "description": "A CSV export"
              }
            },
            "summary": "Legacy export"
          }
        },
        "/orders": {
          "get": {
            "operationId": "listOrders",
            "responses": {
              "200": {
                "content": {
                  "application/json": {
                    "schema": {
                      "items": {
                        "$ref": "#/components/schemas/Order"
                      },
                      "type": "array"
                    }
                  }
                },
                "description": "A page of orders"
              },
              "429": {
                "description": "Rate limited"
              }
            },
            "summary": "List orders"
          },
          "parameters": [
            {
              "in": "query",
              "name": "page",
              "schema": {
                "minimum": 1,
                "type": "integer"
              }
            }
          ],
          "post": {
            "operationId": "createOrder",
            "requestBody": {
              "content": {
                "application/json": {
                  "schema": {
                    "$ref": "#/components/schemas/Order"
                  }
                }
              }
            },
            "responses": {
              "201": {
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/Order"
                    }
                  }
                },
                "description": "Created"
              }
            },
            "summary": "Create an order"
          }
        },
        "/orders/{id}": {
          "get": {
            "operationId": "getOrder",
            "parameters": [
              {
                "in": "path",
                "name": "id",
                "schema": {
                  "type": "string"
                }
              }
            ],
            "responses": {
              "200": {
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/Order"
                    }
                  }
                },
                "description": "The order"
              },
              "404": {
                "description": "Not found"
              }
            },
            "summary": "Fetch one order"
          }
        }
      },
      "security": [
        {
          "apiKey": []
        }
      ]
    }
  }),
});
console.log(res.status, await res.text());
Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client

# Pays at most $0.1 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.1"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))

with x402_requests(client) as session:
    res = session.post(
        "https://api.zfinia.com/x402/v1/openapi-endpoint-inventory-diff",
        json={
            "after": {
                "components": {
                    "schemas": {
                        "Order": {
                            "properties": {
                                "id": {
                                    "type": "string",
                                },
                                "status": {
                                    "enum": [
                                        "open",
                                        "shipped",
                                        "disputed",
                                    ],
                                    "type": "string",
                                },
                                "tenant_id": {
                                    "type": "string",
                                },
                                "total": {
                                    "type": "number",
                                },
                            },
                            "required": [
                                "id",
                                "total",
                                "tenant_id",
                            ],
                            "type": "object",
                        },
                    },
                    "securitySchemes": {
                        "apiKey": {
                            "in": "query",
                            "name": "api_key",
                            "type": "apiKey",
                        },
                    },
                },
                "info": {
                    "title": "Orders API",
                    "version": "2.0.0",
                },
                "openapi": "3.1.0",
                "paths": {
                    "/orders": {
                        "get": {
                            "operationId": "listOrdersV2",
                            "parameters": [
                                {
                                    "in": "query",
                                    "name": "tenant",
                                    "required": True,
                                    "schema": {
                                        "type": "string",
                                    },
                                },
                            ],
                            "responses": {
                                "200": {
                                    "content": {
                                        "application/json": {
                                            "schema": {
                                                "items": {
                                                    "$ref": "#/components/schemas/Order",
                                                },
                                                "type": "array",
                                            },
                                        },
                                    },
                                    "description": "A page of orders",
                                },
                            },
                            "summary": "List orders",
                        },
                        "parameters": [
                            {
                                "in": "query",
                                "name": "page",
                                "schema": {
                                    "minimum": 1,
                                    "type": "integer",
                                },
                            },
                        ],
                        "post": {
                            "operationId": "createOrder",
                            "requestBody": {
                                "content": {
                                    "application/json": {
                                        "schema": {
                                            "$ref": "#/components/schemas/Order",
                                        },
                                    },
                                },
                                "required": True,
                            },
                            "responses": {
                                "201": {
                                    "content": {
                                        "application/json": {
                                            "schema": {
                                                "$ref": "#/components/schemas/Order",
                                            },
                                        },
                                    },
                                    "description": "Created",
                                },
                            },
                            "summary": "Create an order",
                        },
                    },
                    "/orders/{id}": {
                        "get": {
                            "deprecated": True,
                            "operationId": "getOrder",
                            "parameters": [
                                {
                                    "in": "path",
                                    "name": "id",
                                    "schema": {
                                        "type": "string",
                                    },
                                },
                            ],
                            "responses": {
                                "200": {
                                    "content": {
                                        "application/json": {
                                            "schema": {
                                                "$ref": "#/components/schemas/Order",
                                            },
                                        },
                                    },
                                    "description": "The order",
                                },
                                "404": {
                                    "description": "Not found",
                                },
                            },
                            "summary": "Fetch one order",
                        },
                    },
                },
                "security": [
                    {
                        "apiKey": [],
                    },
                ],
            },
            "before": {
                "components": {
                    "schemas": {
                        "Order": {
                            "properties": {
                                "id": {
                                    "type": "string",
                                },
                                "legacy_ref": {
                                    "type": "string",
                                },
                                "status": {
                                    "enum": [
                                        "open",
                                        "shipped",
                                    ],
                                    "type": "string",
                                },
                                "total": {
                                    "type": "number",
                                },
                            },
                            "required": [
                                "id",
                                "total",
                            ],
                            "type": "object",
                        },
                    },
                    "securitySchemes": {
                        "apiKey": {
                            "in": "header",
                            "name": "X-Api-Key",
                            "type": "apiKey",
                        },
                    },
                },
                "info": {
                    "title": "Orders API",
                    "version": "1.4.0",
                },
                "openapi": "3.1.0",
                "paths": {
                    "/legacy/export": {
                        "get": {
                            "operationId": "legacyExport",
                            "responses": {
                                "200": {
                                    "description": "A CSV export",
                                },
                            },
                            "summary": "Legacy export",
                        },
                    },
                    "/orders": {
                        "get": {
                            "operationId": "listOrders",
                            "responses": {
                                "200": {
                                    "content": {
                                        "application/json": {
                                            "schema": {
                                                "items": {
                                                    "$ref": "#/components/schemas/Order",
                                                },
                                                "type": "array",
                                            },
                                        },
                                    },
                                    "description": "A page of orders",
                                },
                                "429": {
                                    "description": "Rate limited",
                                },
                            },
                            "summary": "List orders",
                        },
                        "parameters": [
                            {
                                "in": "query",
                                "name": "page",
                                "schema": {
                                    "minimum": 1,
                                    "type": "integer",
                                },
                            },
                        ],
                        "post": {
                            "operationId": "createOrder",
                            "requestBody": {
                                "content": {
                                    "application/json": {
                                        "schema": {
                                            "$ref": "#/components/schemas/Order",
                                        },
                                    },
                                },
                            },
                            "responses": {
                                "201": {
                                    "content": {
                                        "application/json": {
                                            "schema": {
                                                "$ref": "#/components/schemas/Order",
                                            },
                                        },
                                    },
                                    "description": "Created",
                                },
                            },
                            "summary": "Create an order",
                        },
                    },
                    "/orders/{id}": {
                        "get": {
                            "operationId": "getOrder",
                            "parameters": [
                                {
                                    "in": "path",
                                    "name": "id",
                                    "schema": {
                                        "type": "string",
                                    },
                                },
                            ],
                            "responses": {
                                "200": {
                                    "content": {
                                        "application/json": {
                                            "schema": {
                                                "$ref": "#/components/schemas/Order",
                                            },
                                        },
                                    },
                                    "description": "The order",
                                },
                                "404": {
                                    "description": "Not found",
                                },
                            },
                            "summary": "Fetch one order",
                        },
                    },
                },
                "security": [
                    {
                        "apiKey": [],
                    },
                ],
            },
        },
    )
    print(res.status_code, res.text)

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed402723 ms$0.1
6 h agoPassed402662 ms$0.1
10 h agoPassed402799 ms$0.1
14 h agoPassed4021.6 s$0.1
17 h agoPassed402790 ms$0.1
21 h agoPassed402685 ms$0.1
25 h agoPassed402884 ms$0.1
29 h agoPassed402730 ms$0.1
32 h agoPassed402768 ms$0.1
36 h agoPassed402775 ms$0.1
39 h agoPassed402791 ms$0.1
43 h agoPassed402515 ms$0.1
46 h agoPassed402855 ms$0.1
2 days agoPassed4021.1 s$0.1
2 days agoPassed402654 ms$0.1