# Develop

> Call your realm from scripts, apps, services and agents, with one address for every product and the conventions every call shares.

Everything your realm does, it does through APIs, all served on your realm's own host, `https://foobar.cvyuh.com`.
There are two kinds of caller. A **script** that administers the realm signs in as a realm administrator and sends
the session with every call. An **app, service or agent** calls the realm as an OAuth 2.0 authorization server and an
OpenID Connect provider, with credentials of its own.

## Start here

<CardGrid>
  <LinkCard title="Call the API" description="Get a session, find every product's base address, and the paging, revisions and errors every call shares." href="./api/" />
  <LinkCard title="Apps and agents" description="The OAuth 2.0 and OpenID Connect endpoints, the discovery documents, and the decision endpoints for enforcement points." href="./apps-and-agents/" />
</CardGrid>

## API references

Each product's API reference lists every endpoint it serves, one table per area, each linked to the page that
explains it.

<CardGrid>
  <LinkCard title="Workforce Identity API" description="Applications and OAuth 2.0, sign-in, agents and workloads, authorization and shared signals." href="../workforce-identity/api/" />
  <LinkCard title="Customer Identity API" description="Customer realms, registration, customer sign-in, consent and self-service." href="../customer-identity/api/" />
  <LinkCard title="Directory & Lifecycle API" description="Users, groups and agents, attributes and types, self-service and lifecycle." href="../directory/api/" />
  <LinkCard title="Secrets Store API" description="Secrets, sharing, emergency access, keys and protection, and sealed vaults." href="../secrets-store/api/" />
  <LinkCard title="Endpoint Management API" description="Enrollment, devices, and revoking and removing them." href="../endpoint-management/api/" />
  <LinkCard title="Detection & Response API" description="Detection, the security log, response and sensors." href="../detection-response/api/" />
  <LinkCard title="AI Governance API" description="Discovery, the AI fleet, configuration and models." href="../ai-governance/api/" />
  <LinkCard title="Gateway API" description="Policies and revocations, decisions, tokens, and the gateway's settings." href="../gateway/api/" />
  <LinkCard title="Audit & Reports API" description="The trail of a user or agent, change history, and what is recorded." href="../audit-reports/api/" />
  <LinkCard title="Platform API" description="Realms, delegated administration, keys, host names, data and cross-origin calls." href="../platform/api/" />
</CardGrid>

## Good to know

- **One host.** Every call, administrative or not, goes to your realm's host. Put it in place of `foobar.cvyuh.com`
  in every example on this site.
- **One session variable.** Every administrative call on this site sends `Cookie: x-cvyuh-token=$CVYUH_SESSION`.
  [Call the API](./api/#get-a-session) shows how to get it.
- **No rate limit yet, but back off anyway.** The admin APIs refuse nothing for coming too often today; write scripts
  to wait and retry on `429` and `503`. See [Rate limits](./api/#rate-limits), and every limit in
  [Limits](../reference/limits/).
- **Standard names where there's a standard.** The OAuth 2.0 and OpenID Connect endpoints use the standards'
  snake_case names; every other API uses camelCase.
