> ## Documentation Index
> Fetch the complete documentation index at: https://docs.clavata.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# API Reference

> Which Moonbounce API endpoints work with policy-first accounts, label-first accounts, or both.

Every request authenticates with an API key for your account, sent as a bearer
token in the `Authorization` header. See
[API Key Management](/integrations_and_developer_tools/api-docs-sdks/api_key_management)
to create a key.

## Endpoints by account type

Moonbounce accounts are either **policy-first** or **label-first**. Some
endpoints belong to one workflow; the job read and feedback endpoints work with
both.

| Endpoints | Account |
| - | - |
| `POST /v1/jobs`, `POST /v1/jobs/stream` | Policy-first: requires a `policy_id`. |
| `POST /v1/batch-jobs`, `GET /v1/batch-jobs`, `POST /v1/batch-jobs/{batchJobId}/cancel` | Policy-first: batch jobs are created from a `policy_id`. |
| `/v1/labels`, `/v1/labels/{labelId}`, `/v1/labels/{labelId}/versions`, `POST /v1/labels/evaluate` | Label-first only. Other accounts receive `FAILED_PRECONDITION`. |
| `GET /v1/jobs`, `GET /v1/jobs/{jobUuid}`, `GET /v1/jobs/{jobUuid}/labels`, `POST /v1/jobs/{jobUuid}/feedback`, `GET /v1/jobs/{jobUuid}/feedback` | Both. Works on any job in the account, including the jobs `POST /v1/labels/evaluate` creates (it returns a `job_uuid` for each label version it evaluates). |

## Which account do you have?

If your workspace has you crafting **labels** rather than writing policies,
you're on a label-first account; new accounts start label-first. Use the
version selector at the top of these docs to switch between the policy-first and
label-first API Reference.

To enable label-first endpoints on an existing account, contact
[support@moonbounce.io](mailto:support@moonbounce.io).

***

## We'd Love to Hear From You

Whether you have a suggestion, feedback, or a bug to report, here are the best ways to get in touch:

* **In the App:** Use the **Feedback button** for direct suggestions.
* **On Slack:** Reach out to the team in your shared channel.
* **With your AM:** Talk to your dedicated account manager.
* **Via Email:** Send a message to [**support@moonbounce.io**](mailto:support@moonbounce.io).
* **Security, availability, or other incidents:** Use the in-app **Feedback button** or email [**support@moonbounce.io**](mailto:support@moonbounce.io). See [Customer Feedback](/feedback/customer_feedback) for what to include.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.