Generate text response
Generates plain text response from Claude CLI.
Request body
Response
Successful text generation
Changes
Changed in 5 of the 7 revisions of this API.477
- ●
added the new
NO_TOOLS_AVAILABLEenum value to thecoderesponse property for the response status400response-property-enum-value-added
- ●
added the new
NO_TOOLS_AVAILABLEenum value to thecoderesponse property for the response status500response-property-enum-value-added
- ○
added the new optional request property
allowedToolsnew-optional-request-property
- ●
- ●
removed the request property
userEmailrequest-property-removed
- ●
- ▲
the
maxTokensrequest property type/format changed fromnumber/tointeger/request-property-type-changed
- ●
the
maxTokensrequest property's exclusiveMinimum was set to0.00request-property-exclusive-min-set
- ▲
- ●
added the new
CONCURRENCY_LIMIT_ERRORenum value to thecoderesponse property for the response status400response-property-enum-value-added
- ●
added the new
CONCURRENCY_LIMIT_ERRORenum value to thecoderesponse property for the response status500response-property-enum-value-added
- ●
- ▲
the
usage/inputTokensresponse's property type/format changed frominteger/tonumber/for status200response-property-type-changed
- ▲
the
usage/outputTokensresponse's property type/format changed frominteger/tonumber/for status200response-property-type-changed
- ▲
the
usage/totalTokensresponse's property type/format changed frominteger/tonumber/for status200response-property-type-changed
- ●
removed the request property
allowedToolsrequest-property-removed
- ○
added the new optional request property
userEmailnew-optional-request-property
- ○
the
maxTokensrequest property type/format was generalized frominteger/tonumber/request-property-type-generalized
- ○
removed the
CONCURRENCY_LIMIT_ERRORenum value from thecoderesponse property for the response status400response-property-enum-value-removed
- ○
removed the
CONCURRENCY_LIMIT_ERRORenum value from thecoderesponse property for the response status500response-property-enum-value-removed
- ○
removed the
NO_TOOLS_AVAILABLEenum value from thecoderesponse property for the response status400response-property-enum-value-removed
- ○
removed the
NO_TOOLS_AVAILABLEenum value from thecoderesponse property for the response status500response-property-enum-value-removed
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲