Empezar

Scripting

JSON input, pagination, retries, and the scripting contract.


Pass complex payloads inline, from a file, or through stdin. Explicit flags override fields from the JSON input.

epismo playbook create --input @playbook.json
epismo record append <case-id> --input @record.json
epismo suggestion create --input - < suggestion.json

Success writes JSON to stdout and exits 0. Failure writes a JSON-shaped error to stderr and exits non-zero. Automation should inspect the error code and retryable fields.

List and search commands use page-size and cursor. Pass the returned next cursor unchanged. Mutation commands generate an idempotency UUID when omitted. Reuse a key only for the identical uncertain request. Case and Task updates require the latest lock version; after a conflict, re-read state and reconsider the intended change.