chatbase api as an escape hatch for API v2 endpoints that do not have a dedicated CLI command. Pass an HTTP method and a path relative to /api/v2 — for example, /agents maps to https://www.chatbase.co/api/v2/agents. Authenticate first — see CLI Auth.
List resources
Fetch a collection:--field:
--query (repeatable):
Create a resource
Send a JSON body inline:Update a resource
Read the body from a file with@:
@-:
Request options
Supported methods:
GET, POST, PUT, PATCH, DELETE.
Use --json for raw API JSON in scripts. See Chatbase CLI for other global output flags.
Commands
For every flag, run
chatbase api --help.