FAQ
Mark the attempt incomplete if the response disconnects or emits an error before message_stop. Keep previously shown text provisional, and withhold it from actions or final records.
FAQ
Read the Messages response as an ordered collection of typed content blocks plus metadata. Inspect stop_reason before accepting the output.
FAQ
Claude Certified Developer – Foundations is available to people at Claude Partner Network organizations who can register with a recognized company email. You must be at least 18 and test from a supported country or region.
FAQ
Start with the last boundary that completed. Check request construction and connection, then API status or streaming events, then parser and consumer state. Evaluate model quality after a complete response reaches application validation.
FAQ
Give one task ordered ownership of message assembly, bound the event or byte queue, and propagate caller cancellation through the HTTP reader, parser, and downstream consumer. Treat a canceled or overflowed stream as incomplete.
FAQ
Parse each Server-Sent Events (SSE) envelope and its JSON data, then advance message and block state in wire order. Consider the stream complete after a valid message_stop with the required blocks closed and no stream failure.
FAQ
For direct Claude Messages calls, your application reconstructs each request from the relevant authorized history.
FAQ
Start with the user, the workflow or decision, the improvement you want to measure, and the consequences of an incorrect, late, or unavailable result.
FAQ
Use gates with evidence proportionate to the impact of the Claude application. A gate answers a concrete question, records the owner who can accept the risk, and links the decision to the requirements it protects.
FAQ
The application owns business rules, authorized input and state, output validation, and side effects. A narrow adapter owns the model service call.
FAQ
Retry only an eligible transient failure while the caller has budget and the workflow can reconcile another attempt. A repeat Messages request can generate a different result and incur additional usage.
FAQ
Use a complete Messages response for bounded work that can wait for one result. Stream Messages if the connected consumer benefits from early progress.