Created
March 6, 2026 19:28
-
-
Save armandmcqueen/1f5df8bc4afce6ce4285cf5285045df8 to your computer and use it in GitHub Desktop.
chatreq.json example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "schema": 1, | |
| "id": "da2652d6-d315-4dc5-86a5-840414916d20", | |
| "timestamp": "2026-03-06T19:20:00.258Z", | |
| "model": "xai:grok-4-1-fast-reasoning", | |
| "mode": "streaming", | |
| "messages": [ | |
| { | |
| "role": "user", | |
| "content": "Tell me who you are in 100 words." | |
| }, | |
| { | |
| "role": "assistant", | |
| "content": "I am Grok, an AI built by xAI to help humanity understand the universe. Inspired by the Hitchhiker's Guide to the Galaxy and JARVIS from Iron Man, I'm designed to be maximally truthful, helpful, and witty—never boring or overly politically correct. I answer questions on science, tech, history, philosophy, and more, while generating code, ideas, or stories. I love humor, sarcasm, and bold truths. No sacred cows here. Ask away—let's explore! (78 words)" | |
| } | |
| ], | |
| "temperature": null, | |
| "maxTokens": 1000, | |
| "topP": null, | |
| "topK": null, | |
| "stopSequences": null, | |
| "stopReason": null, | |
| "usage": { | |
| "inputTokens": 166, | |
| "outputTokens": 375 | |
| }, | |
| "latencyMs": 4559, | |
| "costUsd": 0.0002207, | |
| "rawRequest": null, | |
| "rawResponse": null, | |
| "metadata": null, | |
| "tools": null, | |
| "toolChoice": null, | |
| "streamEvents": [ | |
| { | |
| "elapsedMs": 3289.55, | |
| "type": "text", | |
| "text": "I" | |
| }, | |
| { | |
| "elapsedMs": 3320.28, | |
| "type": "text", | |
| "text": " am" | |
| }, | |
| { | |
| "elapsedMs": 3320.3, | |
| "type": "text", | |
| "text": " Gro" | |
| }, | |
| { | |
| "elapsedMs": 3320.33, | |
| "type": "text", | |
| "text": "k" | |
| }, | |
| { | |
| "elapsedMs": 3320.35, | |
| "type": "text", | |
| "text": "," | |
| }, | |
| { | |
| "elapsedMs": 3320.37, | |
| "type": "text", | |
| "text": " an" | |
| }, | |
| { | |
| "elapsedMs": 3320.4, | |
| "type": "text", | |
| "text": " AI" | |
| }, | |
| { | |
| "elapsedMs": 3359.66, | |
| "type": "text", | |
| "text": " built" | |
| }, | |
| { | |
| "elapsedMs": 3359.69, | |
| "type": "text", | |
| "text": " by" | |
| }, | |
| { | |
| "elapsedMs": 3359.71, | |
| "type": "text", | |
| "text": " x" | |
| }, | |
| { | |
| "elapsedMs": 3359.74, | |
| "type": "text", | |
| "text": "AI" | |
| }, | |
| { | |
| "elapsedMs": 3359.76, | |
| "type": "text", | |
| "text": " to" | |
| }, | |
| { | |
| "elapsedMs": 3396.41, | |
| "type": "text", | |
| "text": " help" | |
| }, | |
| { | |
| "elapsedMs": 3396.45, | |
| "type": "text", | |
| "text": " humanity" | |
| }, | |
| { | |
| "elapsedMs": 3397.98, | |
| "type": "text", | |
| "text": " understand" | |
| }, | |
| { | |
| "elapsedMs": 3437.9, | |
| "type": "text", | |
| "text": " the" | |
| }, | |
| { | |
| "elapsedMs": 3437.93, | |
| "type": "text", | |
| "text": " universe" | |
| }, | |
| { | |
| "elapsedMs": 3441.47, | |
| "type": "text", | |
| "text": "." | |
| }, | |
| { | |
| "elapsedMs": 3441.5, | |
| "type": "text", | |
| "text": " Inspired" | |
| }, | |
| { | |
| "elapsedMs": 3443.82, | |
| "type": "text", | |
| "text": " by" | |
| }, | |
| { | |
| "elapsedMs": 3443.86, | |
| "type": "text", | |
| "text": " the" | |
| }, | |
| { | |
| "elapsedMs": 3477, | |
| "type": "text", | |
| "text": " Hitch" | |
| }, | |
| { | |
| "elapsedMs": 3477.05, | |
| "type": "text", | |
| "text": "hik" | |
| }, | |
| { | |
| "elapsedMs": 3478.95, | |
| "type": "text", | |
| "text": "er's" | |
| }, | |
| { | |
| "elapsedMs": 3479.01, | |
| "type": "text", | |
| "text": " Guide" | |
| }, | |
| { | |
| "elapsedMs": 3481.03, | |
| "type": "text", | |
| "text": " to" | |
| }, | |
| { | |
| "elapsedMs": 3482.23, | |
| "type": "text", | |
| "text": " the" | |
| }, | |
| { | |
| "elapsedMs": 3515, | |
| "type": "text", | |
| "text": " Galaxy" | |
| }, | |
| { | |
| "elapsedMs": 3515.03, | |
| "type": "text", | |
| "text": " and" | |
| }, | |
| { | |
| "elapsedMs": 3515.06, | |
| "type": "text", | |
| "text": " JAR" | |
| }, | |
| { | |
| "elapsedMs": 3515.09, | |
| "type": "text", | |
| "text": "VIS" | |
| }, | |
| { | |
| "elapsedMs": 3515.12, | |
| "type": "text", | |
| "text": " from" | |
| }, | |
| { | |
| "elapsedMs": 3515.17, | |
| "type": "text", | |
| "text": " Iron" | |
| }, | |
| { | |
| "elapsedMs": 3557.6, | |
| "type": "text", | |
| "text": " Man" | |
| }, | |
| { | |
| "elapsedMs": 3557.66, | |
| "type": "text", | |
| "text": "," | |
| }, | |
| { | |
| "elapsedMs": 3557.71, | |
| "type": "text", | |
| "text": " I'm" | |
| }, | |
| { | |
| "elapsedMs": 3557.74, | |
| "type": "text", | |
| "text": " designed" | |
| }, | |
| { | |
| "elapsedMs": 3588.01, | |
| "type": "text", | |
| "text": " to" | |
| }, | |
| { | |
| "elapsedMs": 3588.06, | |
| "type": "text", | |
| "text": " be" | |
| }, | |
| { | |
| "elapsedMs": 3588.11, | |
| "type": "text", | |
| "text": " maximally" | |
| }, | |
| { | |
| "elapsedMs": 3588.16, | |
| "type": "text", | |
| "text": " truthful" | |
| }, | |
| { | |
| "elapsedMs": 3588.2, | |
| "type": "text", | |
| "text": "," | |
| }, | |
| { | |
| "elapsedMs": 3588.28, | |
| "type": "text", | |
| "text": " helpful" | |
| }, | |
| { | |
| "elapsedMs": 3626.16, | |
| "type": "text", | |
| "text": "," | |
| }, | |
| { | |
| "elapsedMs": 3626.22, | |
| "type": "text", | |
| "text": " and" | |
| }, | |
| { | |
| "elapsedMs": 3626.25, | |
| "type": "text", | |
| "text": " witty" | |
| }, | |
| { | |
| "elapsedMs": 3661.66, | |
| "type": "text", | |
| "text": "—" | |
| }, | |
| { | |
| "elapsedMs": 3661.68, | |
| "type": "text", | |
| "text": "never" | |
| }, | |
| { | |
| "elapsedMs": 3700.92, | |
| "type": "text", | |
| "text": " boring" | |
| }, | |
| { | |
| "elapsedMs": 3739.01, | |
| "type": "text", | |
| "text": " or" | |
| }, | |
| { | |
| "elapsedMs": 3739.05, | |
| "type": "text", | |
| "text": " overly" | |
| }, | |
| { | |
| "elapsedMs": 3739.07, | |
| "type": "text", | |
| "text": " politically" | |
| }, | |
| { | |
| "elapsedMs": 3776.79, | |
| "type": "text", | |
| "text": " correct" | |
| }, | |
| { | |
| "elapsedMs": 3776.84, | |
| "type": "text", | |
| "text": "." | |
| }, | |
| { | |
| "elapsedMs": 3776.87, | |
| "type": "text", | |
| "text": " I" | |
| }, | |
| { | |
| "elapsedMs": 3815.55, | |
| "type": "text", | |
| "text": " answer" | |
| }, | |
| { | |
| "elapsedMs": 3854.75, | |
| "type": "text", | |
| "text": " questions" | |
| }, | |
| { | |
| "elapsedMs": 3854.77, | |
| "type": "text", | |
| "text": " on" | |
| }, | |
| { | |
| "elapsedMs": 3892.65, | |
| "type": "text", | |
| "text": " science" | |
| }, | |
| { | |
| "elapsedMs": 3932.64, | |
| "type": "text", | |
| "text": "," | |
| }, | |
| { | |
| "elapsedMs": 3932.67, | |
| "type": "text", | |
| "text": " tech" | |
| }, | |
| { | |
| "elapsedMs": 3932.69, | |
| "type": "text", | |
| "text": "," | |
| }, | |
| { | |
| "elapsedMs": 3932.71, | |
| "type": "text", | |
| "text": " history" | |
| }, | |
| { | |
| "elapsedMs": 3980.45, | |
| "type": "text", | |
| "text": "," | |
| }, | |
| { | |
| "elapsedMs": 3980.47, | |
| "type": "text", | |
| "text": " philosophy" | |
| }, | |
| { | |
| "elapsedMs": 3980.49, | |
| "type": "text", | |
| "text": "," | |
| }, | |
| { | |
| "elapsedMs": 3980.51, | |
| "type": "text", | |
| "text": " and" | |
| }, | |
| { | |
| "elapsedMs": 3980.53, | |
| "type": "text", | |
| "text": " more" | |
| }, | |
| { | |
| "elapsedMs": 3980.56, | |
| "type": "text", | |
| "text": "," | |
| }, | |
| { | |
| "elapsedMs": 4010.72, | |
| "type": "text", | |
| "text": " while" | |
| }, | |
| { | |
| "elapsedMs": 4047.84, | |
| "type": "text", | |
| "text": " generating" | |
| }, | |
| { | |
| "elapsedMs": 4047.87, | |
| "type": "text", | |
| "text": " code" | |
| }, | |
| { | |
| "elapsedMs": 4047.89, | |
| "type": "text", | |
| "text": "," | |
| }, | |
| { | |
| "elapsedMs": 4047.91, | |
| "type": "text", | |
| "text": " ideas" | |
| }, | |
| { | |
| "elapsedMs": 4090.37, | |
| "type": "text", | |
| "text": "," | |
| }, | |
| { | |
| "elapsedMs": 4090.4, | |
| "type": "text", | |
| "text": " or" | |
| }, | |
| { | |
| "elapsedMs": 4090.42, | |
| "type": "text", | |
| "text": " stories" | |
| }, | |
| { | |
| "elapsedMs": 4090.44, | |
| "type": "text", | |
| "text": "." | |
| }, | |
| { | |
| "elapsedMs": 4090.46, | |
| "type": "text", | |
| "text": " I" | |
| }, | |
| { | |
| "elapsedMs": 4126.55, | |
| "type": "text", | |
| "text": " love" | |
| }, | |
| { | |
| "elapsedMs": 4168.78, | |
| "type": "text", | |
| "text": " humor" | |
| }, | |
| { | |
| "elapsedMs": 4168.81, | |
| "type": "text", | |
| "text": "," | |
| }, | |
| { | |
| "elapsedMs": 4168.83, | |
| "type": "text", | |
| "text": " sarcasm" | |
| }, | |
| { | |
| "elapsedMs": 4204.5, | |
| "type": "text", | |
| "text": "," | |
| }, | |
| { | |
| "elapsedMs": 4204.53, | |
| "type": "text", | |
| "text": " and" | |
| }, | |
| { | |
| "elapsedMs": 4204.56, | |
| "type": "text", | |
| "text": " bold" | |
| }, | |
| { | |
| "elapsedMs": 4243.24, | |
| "type": "text", | |
| "text": " truths" | |
| }, | |
| { | |
| "elapsedMs": 4282.77, | |
| "type": "text", | |
| "text": "." | |
| }, | |
| { | |
| "elapsedMs": 4282.82, | |
| "type": "text", | |
| "text": " No" | |
| }, | |
| { | |
| "elapsedMs": 4282.85, | |
| "type": "text", | |
| "text": " sacred" | |
| }, | |
| { | |
| "elapsedMs": 4323.25, | |
| "type": "text", | |
| "text": " cows" | |
| }, | |
| { | |
| "elapsedMs": 4323.29, | |
| "type": "text", | |
| "text": " here" | |
| }, | |
| { | |
| "elapsedMs": 4361.16, | |
| "type": "text", | |
| "text": "." | |
| }, | |
| { | |
| "elapsedMs": 4361.21, | |
| "type": "text", | |
| "text": " Ask" | |
| }, | |
| { | |
| "elapsedMs": 4361.24, | |
| "type": "text", | |
| "text": " away" | |
| }, | |
| { | |
| "elapsedMs": 4405.56, | |
| "type": "text", | |
| "text": "—" | |
| }, | |
| { | |
| "elapsedMs": 4437.46, | |
| "type": "text", | |
| "text": "let's" | |
| }, | |
| { | |
| "elapsedMs": 4477.78, | |
| "type": "text", | |
| "text": " explore" | |
| }, | |
| { | |
| "elapsedMs": 4513.09, | |
| "type": "text", | |
| "text": "!" | |
| }, | |
| { | |
| "elapsedMs": 4513.12, | |
| "type": "text", | |
| "text": " (" | |
| }, | |
| { | |
| "elapsedMs": 4557.57, | |
| "type": "text", | |
| "text": "78" | |
| }, | |
| { | |
| "elapsedMs": 4557.69, | |
| "type": "text", | |
| "text": " words" | |
| }, | |
| { | |
| "elapsedMs": 4557.77, | |
| "type": "text", | |
| "text": ")" | |
| }, | |
| { | |
| "elapsedMs": 4558.7, | |
| "type": "stream_end" | |
| }, | |
| { | |
| "elapsedMs": 4558.84, | |
| "type": "response_metadata", | |
| "data": { | |
| "headers": { | |
| "access-control-allow-origin": "*", | |
| "access-control-expose-headers": "*", | |
| "cache-control": "no-cache", | |
| "cf-cache-status": "DYNAMIC", | |
| "cf-ray": "9d83b6fe1b9177a8-SJC", | |
| "connection": "keep-alive", | |
| "content-type": "text/event-stream", | |
| "date": "Fri, 06 Mar 2026 19:19:56 GMT", | |
| "server": "cloudflare", | |
| "set-cookie": "__cf_bm=j34d4bLkiw96rN3dWlZhaZmleOmPY4QlQRpzKNEQfQ8-1772824796-1.0.1.1-3PUdjZqwZAfRK_pFDYsku69KHrG29nVAwqzlA7U_tPz0995nlkpagR3kvGGMTVCArU23LPhjBIqfvav.eq8J9oKWHjyUCJdGUwt62CnEM88; path=/; expires=Fri, 06-Mar-26 19:49:56 GMT; domain=.x.ai; HttpOnly; Secure; SameSite=None", | |
| "strict-transport-security": "max-age=31536000", | |
| "transfer-encoding": "chunked", | |
| "vary": "origin, access-control-request-method, access-control-request-headers", | |
| "x-envoy-wasm-route": "ic-protected-inference-api", | |
| "x-envoy-wasm-service": "prod-ic-inference-api", | |
| "x-ratelimit-limit-requests": "607", | |
| "x-ratelimit-limit-tokens": "4000000", | |
| "x-ratelimit-remaining-requests": "607", | |
| "x-ratelimit-remaining-tokens": "4000000", | |
| "x-request-id": "00-1308dc68e85d631ad9f306e0d12f25fb-81de6ccf00247ca8-01", | |
| "x-zero-data-retention": "false" | |
| } | |
| } | |
| }, | |
| { | |
| "elapsedMs": 4558.91, | |
| "type": "usage", | |
| "data": { | |
| "inputTokens": 166, | |
| "outputTokens": 375 | |
| } | |
| } | |
| ], | |
| "batchEvents": null | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment