Models and templates
List agent templates
Lelemon's templates plus the ones your organization created. Use an id as fromTemplate in POST /v2/agents; variables lists what its instructions ask for.
Required scope: agents:read.
query Parameters
limitcursorThe nextCursor of the previous page, with the same filters.
Headers
Lelemon-Subaccount^sub_[0-9A-Za-z]{22}…The subaccount (sub_…) this request acts on. Only for the keys of a platform account; without it the request acts on the account itself.
List agent templates › Responses
objecthasMorenextCursorList models
Lists the models you can put in an agent's llmConfig.model. Use it before creating or updating an agent to pick a valid id; do not guess ids. Each model has a stable public id such as anthropic/claude-sonnet-4.6, the context window in tokens, whether thinking can be turned off, and deprecated, the date the model stops being accepted or null. The id does not change when Lelemon changes the provider or the region behind it. Read only and idempotent.
Required scope: agents:read.
query Parameters
limitcursorThe nextCursor of the previous page, with the same filters.
Headers
Lelemon-Subaccount^sub_[0-9A-Za-z]{22}…The subaccount (sub_…) this request acts on. Only for the keys of a platform account; without it the request acts on the account itself.
List models › Responses
objecthasMorenextCursor