Changes

Asks the agent to change a lambda

The change is queued and runs in the background; GET …/agent follows it. The prompt is logged in full, so the operator knows what people ask for, and cut past 2000 characters. A request that is not about changing the application is declined, and the result says why.

post/lambdas/{privateKey}/agent/start

Request

  • Base URL: https://genhttp.dev/api/v1
  • URL: https://genhttp.dev/api/v1/lambdas/{privateKey}/agent/start
  • Auth: none declared

Path parameters

privateKeystring required

The editor key of the lambda. Holding it is what allows the call.

Request body

Promptstring nullable

What to change, in the words of whoever wants it, in any language - at least three characters, cut past 2000

Deployboolean

Whether to merge the change and put it online once it works (the default), rather than leave it in its feature for the owner to try first

Modelstring nullable

Which of the offered models makes it: left out or opus for the default one, fable for the second, where one is offered

Passwordstring nullable

The password for the second model

Languagestring nullable

The language of whoever asks, as a code like de or pt-pt, for the agent to answer in where the prompt does not tell

Featurestring nullable

The key of a feature to go on with; left out, the agent starts a new one

Response

The change was taken on.

Availableboolean

Whether changes can be asked for: there is an agent, and the operator has not switched the box off

PerDayinteger

How many builds and changes one address may ask for in a day

Leftinteger

How many of those this caller has left today

SecondModelboolean

Whether a second model is on offer, behind a password

Changes

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