{ "$schema": "http://json-schema.org/draft-07/schema#", "title": "QueryMsg", "description": "Agent request response", "oneOf": [ { "description": "Get an agent by specified account_id, returns AgentInfo if found", "type": "object", "required": [ "get_agent" ], "properties": { "get_agent": { "type": "object", "required": [ "account_id" ], "properties": { "account_id": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, { "description": "Gets the id list of agents, pagination is supported", "type": "object", "required": [ "get_agent_ids" ], "properties": { "get_agent_ids": { "type": "object", "properties": { "from_index": { "type": [ "integer", "null" ], "format": "uint64", "minimum": 0.0 }, "limit": { "type": [ "integer", "null" ], "format": "uint64", "minimum": 0.0 } }, "additionalProperties": false } }, "additionalProperties": false }, { "description": "Gets the approved agents' addresses, pagination is supported This only applies when Config's `public_registration` is false", "type": "object", "required": [ "get_approved_agent_addresses" ], "properties": { "get_approved_agent_addresses": { "type": "object", "properties": { "from_index": { "type": [ "integer", "null" ], "format": "uint64", "minimum": 0.0 }, "limit": { "type": [ "integer", "null" ], "format": "uint64", "minimum": 0.0 } }, "additionalProperties": false } }, "additionalProperties": false }, { "description": "Gets the specified agent tasks", "type": "object", "required": [ "get_agent_tasks" ], "properties": { "get_agent_tasks": { "type": "object", "required": [ "account_id" ], "properties": { "account_id": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, { "description": "Gets the agent contract configuration", "type": "object", "required": [ "config" ], "properties": { "config": { "type": "object", "additionalProperties": false } }, "additionalProperties": false }, { "description": "Helper for query responses on versioned contracts", "type": "object", "required": [ "paused" ], "properties": { "paused": { "type": "object", "additionalProperties": false } }, "additionalProperties": false } ] }