---
title: "API and SDKs | Grafana Cloud documentation"
description: "Find SDK setup guides and API contracts for generation ingest, evaluation, guards, and experiments."
---

> For a curated documentation index, see [llms.txt](/llms.txt). For the complete documentation index, see [llms-full.txt](/llms-full.txt).

# API and SDKs

Use the SDK guides to install and configure instrumentation for your language. Use the API references to export generations, configure evaluations and guards, and manage experiments.

- [Generation ingest API](/docs/grafana-cloud/observe-and-act/agent-observability/reference/generation-ingest-api/)  
  Export generation and workflow step data through HTTP or gRPC.
- [Evaluation API](/docs/grafana-cloud/observe-and-act/agent-observability/reference/evaluation/)  
  Configure evaluators, rules, and templates, discover judge providers, and export scores.
- [Guards API](/docs/grafana-cloud/observe-and-act/agent-observability/reference/guards/)  
  Evaluate requests against guards and manage guard rules.
- [Experiments API](/docs/grafana-cloud/observe-and-act/agent-observability/reference/experiments/)  
  Manage saved conversations, collections, and test suites, submit experiment runs, and read results.
- [Agent Observability SDKs](/docs/grafana-cloud/observe-and-act/agent-observability/reference/sdks/)  
  Install and configure the Python, Node.js, Go, Java, and .NET SDKs to send agent data.

## Choose credentials

The credentials you use depend on what you change.

- **Configuration**, such as evaluators, rules, templates, guards, saved conversations, collections, and test suites, changes only through Grafana. Use the Agent Observability app or [gcx](https://github.com/grafana/gcx). The SDK’s `TestSuitesClient` also goes through Grafana, with a Grafana service account token. Each acts as a Grafana user or service account, so the app’s role-based access control (RBAC) permissions apply. A request that calls the API directly with a Grafana Cloud Access Policy Token can’t change configuration.
- **Experiment runs and exported scores** that SDKs, CI jobs, and benchmark processes send use a Grafana Cloud Access Policy Token with the `sigil:write` scope. Refer to [Collect credentials from Grafana Cloud](/docs/grafana-cloud/observe-and-act/agent-observability/get-started/grafana-cloud/#collect-credentials-from-grafana-cloud).

## Next steps

- [Instrument agents with framework integrations](/docs/grafana-cloud/observe-and-act/agent-observability/instrumentation/instrument-agents)
- [Set up and monitor online evaluation](/docs/grafana-cloud/observe-and-act/agent-observability/evaluate-and-improve/evaluation)
- [Run an experiment with the SDK](/docs/grafana-cloud/observe-and-act/agent-observability/evaluate-and-improve/run-an-experiment)
