Query endpoints by entity

Version: 1.0.0
Purpose: Query endpoints split from endpoints.md for context window efficiency


Overview

This directory contains query endpoints organized by entity type. This allows AI agents to load only the endpoints they need, reducing context window usage.

Use Case: Load specific entity query endpoints when working with that entity, instead of loading the entire endpoints.md (1153 lines).

Queries are reads. They do not spend charge the way transactions do, but they still hit the node and they still return string numerics — see integration notes before you parse amounts as JSON numbers. If you need a live, sub-second view of the same entities, that is Guild Stack / PostgreSQL, not these REST routes.


Available Query Files

Core Entity Queries

Resource Entity Queries

Economic Entity Queries

System Queries

Other Queries


Context Window Savings

Before (Loading endpoints.md)

To get Player endpoints:

After (Loading entity query file)

To get Player endpoints:


Usage

Loading Entity Queries

{
  "load": "api/queries/player.md"
}

Loading Multiple Entities

{
  "load": [
    "api/queries/player.md",
    "api/queries/planet.md"
  ]
}


Last Updated: January 2025