These resources describe the API and this documentation. Any request an agent
makes to the HalfPage API itself still needs your API key
(
Authorization: Bearer hp_live_…) — see Authentication.
Treat the key as a secret when handing it to an agent.OpenAPI specification
The entire API surface — all 16 endpoints, their parameters, request/response schemas, and examples — is described by a single OpenAPI 3.1 document. The API reference is generated directly from it.- Committed snapshot:
/api-reference/openapi.json - Live spec (once the API is deployed):
https://api.halfpagetechnologies.com/backend/openapi.json
llms.txt
Mintlify automatically generates and hostsllms.txt
files for this site — no configuration required. They give an LLM a structured
index of every page so it can navigate the docs efficiently.
Paste either URL into a chat with an LLM, or add it to your agent’s context, to
give it grounding in the HalfPage API.
MCP server
Mintlify also hosts a Model Context Protocol server for this site automatically, at the/mcp path. It lets an MCP-capable
agent search these docs as a tool:
- Claude Code
- Cursor / VS Code
Putting it together
A typical agent setup:- Load
llms-full.txt(or connect the MCP server) so the agent understands the API and this workflow. - Generate a client from the OpenAPI spec.
- Give the agent an
hp_live_…API key and let it run the upload → predict → export loop.