The SDK is agent-native. An autonomous agent — Claude, Cursor, an MCP client (coming soon), or a custom LangChain/LangGraph workflow — can start from a single root URL and discover everything it needs without prior knowledge. No README required. JustDocumentation Index
Fetch the complete documentation index at: https://docs.sdk.anghami.com/llms.txt
Use this file to discover all available pages before exploring further.
GET https://docs.sdk.anghami.com/.
The discovery surface
| Endpoint | Standard | What it returns |
|---|---|---|
/api/anghami-sdk.openapi.yaml | OpenAPI 3.1 | Single bundled spec covering every service — feed it to any code-generator. |
/api/anghami-sdk.openapi.json | OpenAPI 3.1 | Same, JSON. Postman imports this directly. |
/.well-known/llms.txt | llmstxt.org | LLM-friendly markdown briefing — overview, services, auth, links. |
https://sdk.anghami.com/.well-known/oauth-authorization-server | RFC 8414 | OAuth 2.1 authorization-server metadata (PKCE, token endpoints). Coming soon — the metadata document will be served once the OAuth surface is publicly available. |
MCP coming soon. A native MCP server with/.well-known/mcp/server-card.jsonand anapi-cataloglinkset will land alongside the server implementation. Until then, OpenAPI +llms.txtcover the discovery surface.
Codegen a typed REST client
Brief an LLM in one fetch
Authenticate without us telling you
Coming soon — until the metadata document is publicly served, configure clients manually using the endpoints documented in Authentication.
x-api-key header is simpler — see API Keys.
Why this matters
The point isn’t novelty — RFC 8414 and OpenAPI are old. The point is that every SDK surface (REST, OAuth, eventually MCP) is reachable from one root URL via well-known conventions. An agent can:- Discover the API without reading our docs.
- Authenticate without us telling it which OAuth flow we use.
- Stay current — when we ship a new service, the bundled OpenAPI and
llms.txtreflect it on the next deploy.
Related
llms.txt— what’s in our briefing file and how to consume it.- AI Features — what AI surfaces the SDK currently exposes.
- Authentication — full OAuth + PKCE walkthrough.