Apply changes from big models into your files. Find your API key.
<instruction>: Optional but recommended. Use first-person, clear descriptions<code>: The complete original code that needs modification<update>: Show only what changes, using // ... existing code ... for unchanged sectionsBearer authentication header of the form Bearer <token>, where <token> is your auth token.
Chat completion request for Apply or Warp Grep (OpenAI-compatible)
ID of the model to use
morph-v3-fast, morph-v3-large, auto "morph-v3-fast"
Array containing a single user message with structured content using instruction-guided format
Enable streaming response
false
Maximum number of tokens to generate
150
Sampling temperature (0.0 for deterministic output)
0
Chat completion response
Unique identifier for the completion
"chatcmpl-123"
Object type
"chat.completion"
Unix timestamp of when the completion was created
1677652288
List of completion choices
Usage statistics for the completion request