twexapi-io · Schema
GrokAskResponse
Response for asking Grok
SocialDataXCreditArtificial Intelligence
Properties
| Name | Type | Description |
|---|---|---|
| code | integer | Response code |
| msg | string | Response message |
| data | object | Grok result |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/twexapi-io/json-schema/twexapi-io-grok-ask-response-schema.json",
"title": "GrokAskResponse",
"description": "Response for asking Grok",
"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/GrokAskResponse",
"properties": {
"code": {
"type": "integer",
"title": "Code",
"description": "Response code"
},
"msg": {
"type": "string",
"title": "Msg",
"description": "Response message"
},
"data": {
"anyOf": [
{
"$ref": "#/$defs/GrokAskResult"
},
{
"type": "null"
}
],
"description": "Grok result"
}
},
"type": "object",
"required": [
"code",
"msg"
],
"$defs": {
"GrokAskResult": {
"properties": {
"conversation_id": {
"type": "string",
"title": "Conversation Id",
"description": "Grok conversation id"
},
"user_chat_item_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "User Chat Item Id",
"description": "User chat item id"
},
"agent_chat_item_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Agent Chat Item Id",
"description": "Agent chat item id"
},
"message": {
"type": "string",
"title": "Message",
"description": "Final assistant message"
},
"reasoning": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Reasoning",
"description": "Reasoning text"
},
"soft_stop": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Soft Stop",
"description": "Whether response soft-stopped"
},
"follow_up_suggestions": {
"items": {
"$ref": "#/$defs/GrokFollowUpSuggestion"
},
"type": "array",
"title": "Follow Up Suggestions",
"description": "Follow-up suggestions"
}
},
"type": "object",
"required": [
"conversation_id",
"message"
],
"title": "GrokAskResult",
"description": "Grok ask result"
},
"GrokFollowUpSuggestion": {
"properties": {
"label": {
"type": "string",
"title": "Label",
"description": "Suggestion label"
},
"properties": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"title": "Properties",
"description": "Suggestion properties"
},
"tools_overrides": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"title": "Tools Overrides",
"description": "Tools overrides"
}
},
"type": "object",
"required": [
"label"
],
"title": "GrokFollowUpSuggestion",
"description": "Grok follow-up suggestion"
}
}
}
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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/twexapi-io-grok-ask-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.