twexapi-io · Schema

GrokConversationResponse

Response for Grok conversation detail

SocialDataXCreditArtificial Intelligence

Properties

Name Type Description
code integer Response code
msg string Response message
data object Grok conversation detail
View JSON Schema on GitHub

JSON Schema

twexapi-io-grok-conversation-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/twexapi-io/json-schema/twexapi-io-grok-conversation-response-schema.json",
  "title": "GrokConversationResponse",
  "description": "Response for Grok conversation detail",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/twexapi-io-grok-endpoints-api-openapi.yml#/components/schemas/GrokConversationResponse",
  "properties": {
    "code": {
      "type": "integer",
      "title": "Code",
      "description": "Response code"
    },
    "msg": {
      "type": "string",
      "title": "Msg",
      "description": "Response message"
    },
    "data": {
      "anyOf": [
        {
          "$ref": "#/$defs/GrokConversationData"
        },
        {
          "type": "null"
        }
      ],
      "description": "Grok conversation detail"
    }
  },
  "type": "object",
  "required": [
    "code",
    "msg"
  ],
  "$defs": {
    "GrokConversationData": {
      "properties": {
        "conversation_id": {
          "type": "string",
          "title": "Conversation Id",
          "description": "Grok conversation rest id"
        },
        "is_pinned": {
          "type": "boolean",
          "title": "Is Pinned",
          "description": "Whether the conversation is pinned",
          "default": false
        },
        "cursor": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Cursor",
          "description": "Pagination cursor"
        },
        "items": {
          "items": {
            "$ref": "#/$defs/GrokConversationItem"
          },
          "type": "array",
          "title": "Items",
          "description": "Conversation items"
        }
      },
      "type": "object",
      "required": [
        "conversation_id"
      ],
      "title": "GrokConversationData",
      "description": "Grok conversation detail payload"
    },
    "GrokConversationItem": {
      "properties": {
        "chat_item_id": {
          "type": "string",
          "title": "Chat Item Id",
          "description": "Chat item id"
        },
        "message": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Message",
          "description": "Message content"
        },
        "sender_type": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Sender Type",
          "description": "Sender type: User or Agent"
        },
        "created_at_ms": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Created At Ms",
          "description": "Created at timestamp in ms"
        },
        "grok_mode": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Grok Mode",
          "description": "Grok mode"
        },
        "thinking_trace": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Thinking Trace",
          "description": "Thinking trace text"
        },
        "image_urls": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "title": "Image Urls",
          "description": "Generated image urls from card attachments"
        }
      },
      "type": "object",
      "required": [
        "chat_item_id"
      ],
      "title": "GrokConversationItem",
      "description": "Grok conversation message item"
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/twexapi-io-grok-conversation-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.