generate

Generate a generic value

Parameterised types use a colon: int:1,100, enum:a,b,c, date:2020,2025.

get/any/{type}

Request

  • Base URL: https://sampuli.site/api/v1
  • URL: https://sampuli.site/api/v1/any/{type}
  • Auth: none declared

Path parameters

typestring required

A generic type, optionally with :params.

Query parameters

ninteger

How many rows (omit for one). Capped at 1000 on the free API.

fieldsstring

Comma-separated field keys, or "all". Applies to person/full records.

seedstring

Reproducible output — same seed, same data.

format'json' | 'csv' | 'ndjson' | 'xml'

Response format.

pretty'1'

Pretty-print JSON.

Response

Generated data (JSON array/object/scalar; text for csv/ndjson).

Changes

No recorded changes to this operation across all 1 revision of this API.